bse00
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Excluding asides from Recent PostsAnything after the last excluded aside is left off. I’m assuming it needs that rewind code but could it be that I could modify the continue code so that it carried on after excluding the asides?
Forum: Fixing WordPress
In reply to: Excluding asides from Recent PostsOr even if it ought to be in the sidebar or index phps instead.
Oh this is miserable. I thought I had it 🙁
It now excludes my asides from the recent posts list but also loses the oldest proper posts.
Forum: Fixing WordPress
In reply to: Excluding asides from Recent Postsah no, that hasn’t worked quite because I need to reload the ‘have posts’ thingy again.
I need to insert
<?php rewind_posts(); ?>but I can’t work out where in default-widgets.php would be the right place.eek.
Forum: Fixing WordPress
In reply to: Excluding asides from Recent PostsWorked it out.
Inspired by http://codex.wordpress.org/Adding_Asides#Displaying_Asides_on_the_Sidebar
where it tells you how to exclude categorys from the loop I managed to add<?php if ( has_post_format( 'aside' )) continue; ?>to the default-widgets.php file, just after
<?php while ($r->have_posts()) : $r->the_post(); ?>and it worked. Super pleased. I love wordpress.