Forums

Front page now listing excerpts of EVERY page, yet no theme changes (3 posts)

  1. lotech
    Member
    Posted 2 years ago #

    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 -
    http://mic.org.nz/template-welcome.txt
    and of course the front page at http://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.

  2. lotech
    Member
    Posted 2 years ago #

    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: ?>

  3. lotech
    Member
    Posted 2 years ago #

    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.

    http://wordpress.org/support/topic/222306?replies=3

Topic Closed

This topic has been closed to new replies.

About this Topic