Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #358540

    I am using the Facebook comments plugin but then it shows up above the built in social share buttons of enfold.

    I would like to add this code:
    echo do_shortcode('[fbcomments]');

    so that it shows up underneath the social share buttons.
    Any idea how to do this?

    #358700

    Hey alvinhy!

    Please go to Enfold/includes folder and open helper-social-media.php file and find

    $this->html .= 		"";
    			$this->html .= "</div>";
    			
    			return $this->html;
    		}

    and add your code right below it

    Cheers!
    Yigit

    #358789

    I added the code underneath the code at around line 245 and the page turns blank.

    echo do_shortcode(‘[fbcomments]’);

    #358877

    Hey!

    Please undo the changes above then look for this code on line 257:

    if($echo) 
    		{	
    			echo $icons->html();
    		}

    Replace it with:

    if($echo) 
    		{	
    			echo $icons->html();
    			echo do_shortcode('[fbcomments]');
    		}
    

    Please create a change log of this modifications in case you update the theme.

    Cheers!
    Ismael

    #358981

    Hello,

    The comment box shows now but somehow it is overlapping the sociial icons.
    screenshot

    #359266

    Hi!

    Can you post the link to your website please?

    Regards,
    Yigit

    #359299
    This reply has been marked as private.
    #359320

    Hey!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .fb-comments.fb_iframe_widget.fb_iframe_widget_fluid {
    position: relative;
    top: 90px;
    }

    Best regards,
    Yigit

    #359323

    Thanks Yigit! You are amazing, works like a charm.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘How do I add code underneath social share buttons’ is closed to new replies.