move bottom social share plugin up

Posted in: Newspaper
Post count: 44

hi, how do i get your bottom social share plugin to appear above my facebook comments box, immediately below my post, like on the is page here: https://www.kodibox.tv/addons/install-4horsemen-kodi/

Post count: 20688

Hi,

You could modify the loop file corresponding to the post template style you are using (post template style 2 – loop-single-2.php) from the theme folder – https://www.screencast.com/t/w9ichSol If you open that file in an editor you can see the post template structure – https://www.screencast.com/t/unmMN1H28N1 The default bottom sharing is supposed to display just after the article bottom ad if used, or after the content if not. That plugin pushes it down, by inserting itself in the post content – https://www.screencast.com/t/gdNJS68rJ9J

Thanks

Post count: 44

hi, ok i moved it upto here on loop-single-2.php but its still not showing?

<div class="td-post-content">
<?php
// override the default featured image by the templates (single.php and home.php/index.php - blog loop)
if (!empty(td_global::$load_featured_img_from_template)) {
echo $td_mod_single->get_image(td_global::$load_featured_img_from_template);
} else {
echo $td_mod_single->get_image('td_696x0');
}
?>

<?php echo $td_mod_single->get_content();?>
<?php echo $td_mod_single->get_social_sharing_bottom();?>
</div>

Post count: 20688

Hi,

That affects the posts that are using post template style 2, but like I said the bottom sharing by default displays at the bottom of the post, after the via field, tags, post pagination and review – https://www.screencast.com/t/UnV13L8H4qxF If none of those are used, it displays just after the content – https://www.screencast.com/t/juSN26qOtiV or bottom ad if used – https://www.screencast.com/t/pgSO5l6Iz7L0 In the link you provided the sharing appears after your bottom article ad – https://www.screencast.com/t/Hh5wfRinKZ6r and after the comments plugin. Maybe you can configure the settings of the plugin to change the position where it appears. You could try the solution from this topic and use a custom ad instead of the article bottom ad – https://forum.tagdiv.com/topic/sourcevia-above-add/ and place the ad do_shortcode below the bottom sharing.

Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.