matt-keefe
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Recent Posts with ExcerptHi guys. I’m using this method, but I’m getting some strange results. The date is appearing only on the first entry retrieved (you can see it here – http://www.mattkeefe.com/living_static/ – second block down the sidebar). Why would this be the case? Do I need to move my
<ul>and<li>tags? My PHP is below. Cheers.<div id="recent_posts"> <h3>Recent Posts</h3> <ul class="posts"> <?php $recent = new WP_Query(); $recent->query('showposts=4'); if($recent->have_posts()) : while($recent->have_posts()): $recent->the_post(); ?><li> <a href="<?php the_permalink()?>"><?php the_title()?></a><?php the_excerpt()?><?php the_date()?></li> <?php endwhile ?> <?php else : ?> <?php endif ?> </ul> </div>Forum: Themes and Templates
In reply to: Unwanted Padding/Horiztonal Bar in Default ThemeThanks chaps – yes, the <hr /> was the problem. Seems strange the theme would include those in the .php files. Thanks for the assistance.
Forum: Fixing WordPress
In reply to: Problems after restoring databaseHi Figaro – thanks for the swift reply!
Yeah, I certainly reinstalled WP in the exact same location. I’ll discount the problem with the scheduling as something unrelated and I’ll try restoring the db tables again then editing the config.php.
Thanks,
Matt
Forum: Fixing WordPress
In reply to: Problem with Contempt Theme displaying extra pagesI’ve located the problem here – the header.php file needs the below line adding:
<?php wp_list_pages(‘sort_column=menu_order&depth=1&title_li=’)?>
Cheers!
Matt
Forum: Fixing WordPress
In reply to: Problem with Contempt Theme displaying extra pagesYeah, this appears to be the case, but I can’t locate where the setting or code is that specifies whether the pages shows parent pages only, or children as well.
Any idea where it might be?
Cheers,
Matt