FileZilla Wiki talk:Community Portal: Difference between revisions
From FileZilla Wiki
Jump to navigationJump to search
(ePmHbKWdN) |
|||
Line 1: | Line 1: | ||
I'm using query_posts for the loop along the lines of this example from sgsihingmamazane.com $sticky, 'caller_get_posts' => 1 ) );0607if (have_posts()) :08 while (have_posts()) : the_post();09 the_title();10 the_excerpt();11 endwhile;12endif;1314?>I have that display the first two sticky posts, then called your plugin for the post by category.I think I found the code I need in wordpress codex to exclude the sticky posts ( post__not_in' => $sticky,) but I'm not comfortable enough trying to edit plugin files to try to figure out on my own where to put it. Thanks in advance,Todd |
Revision as of 10:17, 27 September 2012
I'm using query_posts for the loop along the lines of this example from sgsihingmamazane.com $sticky, 'caller_get_posts' => 1 ) );0607if (have_posts()) :08 while (have_posts()) : the_post();09 the_title();10 the_excerpt();11 endwhile;12endif;1314?>I have that display the first two sticky posts, then called your plugin for the post by category.I think I found the code I need in wordpress codex to exclude the sticky posts ( post__not_in' => $sticky,) but I'm not comfortable enough trying to edit plugin files to try to figure out on my own where to put it. Thanks in advance,Todd