Disqus Comment System
Load disqus in PAGE template with POSTS loop problem (1 post)

  1. choopale
    Posted 1 year ago #

    I have a problem to show disqus on my page. I see that the problem is two separate loops, one for page content, and one for list of posts bellow post content.

    First loop on top of page is this:

    <div class="help-head-content">
    <img src="/wp-content/themes/bigbadspanish/images/help-icon.png" />
    <?php while (have_posts()) : the_post(); ?>
    <h1><?php wp_title(''); ?></h1>
    <?php the_content(); ?>
    <?php endwhile; ?>
    that show content from page and second loop is bellow that and shows posts.

    <?php $args = array('cat' => 135); query_posts($args); ?>
    <?php while (have_posts()) : the_post(); ?>
    <div class="akordeon-heading">
    <?php the_title(); ?>
    <div class="akordeon-item-content">
    <?php the_content(); ?>
    <?php endwhile; ?>

    if I place <?php comments_template(); ?> bellow second loop, disqus not showing, if put it in middle of two loops, it shows normally, but I need disqus at the bottom of the page. Please help me.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Disqus Comment System
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic