• I am using 3.0.1 and using the theme f8-lite with a couple of templates modiforcations.

    Currently (as default) the theme shows the most recents posts on my homepage. Is there a way i could classify posts so that only posts i want to show/promote on the homepage show?

    problem i have is that the f8-lite has a image slideshow build into that uses posts to make the images… so cant change to a static page through settings.

    any ideas??

Viewing 6 replies - 1 through 6 (of 6 total)
  • two ways –

    1) Use sticky posts. These always show above all other posts.

    2) Create a category for the posts that you want to display and add the posts to this category. On the home page run a query before the loop to pick up only these posts. Something like the example below should work.

    wp_query(array('category' => 15, 'post_status' => 'publish'))

    and then add wp_reset_query() after the loop

    Thread Starter kitcorsa

    (@kitcorsa)

    cheers… where about would i added the code?? cant seems to figger WP structure yet…

    is the stickyposts a plugin?

    Sticky posts is part of WP and should be available through the Post editor.

    You would need to add the code in your source for your homepage, somewhere near the top (before if(have_posts)).

    Thread Starter kitcorsa

    (@kitcorsa)

    cant see any where that the sticky post or sticky is an option in the post editor or creator ??? hum

    Thread Starter kitcorsa

    (@kitcorsa)

    tired the code and it removed all my post from homepage alltogether..

    also still cant see the sticky option on posts page on 3.0.1

    I have set number of posts shown on home page as 10 from wp-admin, but in the home template I am using three different querypost() to show posts on the bases of different conditions as from different categories based on custom fields values.Now the problem is that is I use showpost=15 then after all querypost() show 10 posts or less but not more then 10 posts.

    Can anyone help!!!!!!!!!!!!!!!!!!!111

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Homepage Topics’ is closed to new replies.