• Arghh! I finally get a weeks holiday and just as I land a site I’ve worked on starts spazing out. Curses.
    For some reason the front page of a non profit gallery space now lists every single page of the site on the front page. I’m scratching my head on this one, I haven’t modified the theme in the last few weeks and other than some plugin updates little has changed. When I look at the final source it seems to be rendering all the requested bits but instead of just calling excerpts with child_of, it just pulls excerpts of everything.
    I’ve put the template here –
    https://mic.org.nz/template-welcome.txt
    and of course the front page at https://mic.org.nz/ shows the problem.
    Can someone save the rest of my holiday and see if theres something obvious that I’m missing? If you can, Karma will surely follow.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter lotech

    (@lotech)

    Following this up – it seems to list every page on where I use –
    (the front page doesn’t use the ‘.id.’ instead calls a specific page).
    As I haven’t changed any thing in this template I’m guessing I have an issue with a plugin. Time to enable/disable and see what turns up.
    Again, if anyone can gleem some light on this, I would be grateful.

    <?php query_posts(‘static=true&posts_per_page=-1&child_of=’.$id.’&order=DESC’); ?>
    <?php if(have_posts()) : while (have_posts()) : the_post(); ?>
    <div class=”listingsSML”>
    <div class=”showtitleblurbSML”>
    <h3>“>
    <?php the_title();?>
    </h3>
    <?php the_excerpt_reloaded(60, ‘‘, ‘excerpt’, TRUE, ‘&#187 Read More’, TRUE, 1, TRUE); ?>
    </div>
    <div class=”thumbSML”>
    <?php the_attached_image(); ?>
    </div>
    </div>
    <?php endwhile; else: ?>

    Thread Starter lotech

    (@lotech)

    Well it would seem the below post – and the resulting “PJW Query Child Of Plugin”. Something I haven’t had installed before but seems to fix my issues.

    https://www.ads-software.com/support/topic/222306?replies=3

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Front page now listing excerpts of EVERY page, yet no theme changes’ is closed to new replies.