How to move me Facebook Comments Box on Wordpress

0 replies
  • WEB DESIGN
  • |
Hi

I am really struggling. I have added a pugin that puts in a Facebook comments box but it as put it above my Taboola ads. I want it to appear under the taboola but cant find any reference to it in the single.php

Can anyone please let me know what I need to do?


Rich Guy Goes Undercover As A Homeless Person. What He Uncovered At This Restaurant Is CRAZY - Go Social

<?php get_header(); ?>
<?php $mts_options = get_option(MTS_THEME_NAME); ?>
<?php if ($mts_options['mts_breadcrumb'] == '1') { ?>
<div class="breadcrumb" xmlns:v="http://rdf.data-vocabulary.org/#"><?php mts_the_breadcrumb(); ?></div>
<?php } ?>
<div id="page" class="single">
<article class="<?php mts_article_class(); ?>" itemscope itemtype="http://schema.org/BlogPosting">
<div id="content_box" >
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class('g post'); ?>>
<div class="single_post">
<header>



<?php if( ! empty( $mts_options["mts_single_headline_meta_info"]['category']) ) { ?>
<div class="thecategory"><i class="fa fa-globe"></i> <?php mts_the_category(', ') ?>



</div>
<?php } ?>


<h1 class="title single-title entry-title" itemprop="headline"><?php the_title(); ?></h1>


<?php if ( ! empty( $mts_options["mts_single_headline_meta"] ) ) { ?>
<div class="post-info">
<?php if ( ! empty( $mts_options["mts_single_headline_meta_info"]['author']) ) { ?>
<span class="theauthor"><i class="fa fa-user"></i> <span itemprop="author"><?php the_author_posts_link(); ?></span></span>



<?php } ?>
<?php if( ! empty( $mts_options["mts_single_headline_meta_info"]['date']) ) { ?>
<span class="thetime updated"><i class="fa fa-calendar"></i> <span itemprop="datePublished"><?php echo human_time_diff( get_the_time('U'), current_time('timestamp') ) . __(' ago','mythemeshop'); ?></span></span>


<!-- Go to www.addthis.com/dashboard to customize your tools -->
<div class="addthis_native_toolbox"></div>
<a class="addthis_button_facebook_like" fb:like:layout="button_count" fb:like:action="like" fb:like:width="135" fb:like:height="135"></a>


<?php } ?>
<?php if( ! empty( $mts_options["mts_single_headline_meta_info"]['comment']) ) { ?>
<span class="thecomment"><i class="fa fa-comments"></i> <a rel="nofollow" href="<?php comments_link(); ?>" itemprop="interactionCount"><?php echo comments_number();?></a></span>
<?php } ?>
</div>
<?php } ?>
</header><!--.headline_area-->


<?php if ($mts_options['mts_social_button_position'] == 'top' || $mts_options['mts_social_button_position'] == 'both') mts_social_buttons(); ?>

<div class="post-single-content box mark-links entry-content">
<?php if ($mts_options['mts_posttop_adcode'] != '') { ?>
<?php $toptime = $mts_options['mts_posttop_adcode_time']; if (strcmp( date("Y-m-d", strtotime( "-$toptime day")), get_the_time("Y-m-d") ) >= 0) { ?>
<div class="topad">
<?php echo do_shortcode($mts_options['mts_posttop_adcode']); ?>
</div>
<?php } ?>
<?php } ?>
<div class="thecontent" itemprop="articleBody">
<?php the_content(); ?>
</div>
<?php wp_link_pages(array('before' => '<div class="pagination">', 'after' => '</div>', 'link_before' => '<span class="current"><span class="currenttext">', 'link_after' => '</span></span>', 'next_or_number' => 'next_and_number', 'nextpagelink' => __('Next','mythemeshop'), 'previouspagelink' => __('Previous','mythemeshop'), 'pagelink' => '%','echo' => 1 )); ?>
<?php if ($mts_options['mts_postend_adcode'] != '') { ?>
<?php $endtime = $mts_options['mts_postend_adcode_time']; if (strcmp( date("Y-m-d", strtotime( "-$endtime day")), get_the_time("Y-m-d") ) >= 0) { ?>
<div class="bottomad">
<?php echo do_shortcode($mts_options['mts_postend_adcode']); ?>
</div>
<?php } ?>
<?php } ?>
<?php if($mts_options['mts_tags'] == '1') { ?>
<div class="tags"><?php mts_the_tags('<span class="tagtext">'.__('Tags','mythemeshop').':</span>',', ') ?></div>


<?php } ?>
</div>


<?php if($mts_options['mts_social_button_position'] == 'bottom' || $mts_options['mts_social_button_position'] == 'both') mts_social_buttons(); ?>


</div><!--.post-content box mark-links-->

<p>
<div id="taboola-below-article-thumbnails"></div>
<script type="text/javascript">
window._taboola = window._taboola || [];
_taboola.push({
mode: 'thumbnails-b',
container: 'taboola-below-article-thumbnails',
placement: 'Below Article Thumbnails',
target_type: 'mix'
});
</script>



<?php mts_related_posts(); ?>

<?php if($mts_options['mts_author_box'] == '1') { ?>
<div class="postauthor">
<h4><?php _e('About The Author', 'mythemeshop'); ?></h4>
<div class="author-wrap">
<?php if(function_exists('get_avatar')) { echo get_avatar( get_the_author_meta('email'), '168' ); } ?>
<h5 class="vcard"><?php the_author_meta( 'nickname' ); ?></h5>
<span class="author-posts"><a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" rel="nofollow"><?php _e('More from this Author','mythemeshop'); ?> <i class="fa fa-angle-double-right"></i></a></span>
<p><?php the_author_meta('description') ?></p>
</div>
</div>
<?php }?>
</div><!--.g post-->
<?php comments_template( '', true ); ?>
<?php endwhile; /* end loop */ ?>
</div>
</article>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
#box #comments #facebook #move #wordpress

Trending Topics