StudioPress Community Forums

StudioPress Community Forums (http://www.studiopress.com/support/index.php)
-   General Discussion (http://www.studiopress.com/support/forumdisplay.php?f=7)
-   -   Featured Blog Post On Home Page (http://www.studiopress.com/support/showthread.php?t=17716)

mooredb 11-30-2009 07:45 PM

Featured Blog Post On Home Page
 
I want to be able to have a blog posting stay on the home page as a featured content until we change it. I don't want it be rolled away when a new blog post is posted. Does anyone know of a plugin that will allow me to control the contect in the bottom section of the home page?

here is my test site http://www.questyx.com/wdc

Thank you.

Rebecca Diamond 12-01-2009 06:40 AM

There are a couple of different ways you could do it. Where do you want it to appear/stay? in the first section?

mooredb 12-02-2009 06:24 AM

1 Attachment(s)
I would like to be able to allow all 4 of the sections to be controlled and allow me to select which post to feature manually. I've zipped and attached 2 php files that some in the forum sent me that works GREAT for selecting static pages, but not individual blog posts. Which I need.

Thanks.

october-29 12-02-2009 07:46 AM

Create 4 categories (featured_01, featured_02... Etc) then assign those where appropriate to be shown. So you can write a post of ex. Cat News and featured_02, and it'll show in the 2 place, when you have another newer just deselect cat featured_02.
Simpler to do than to explain. Sorry.

mooredb 12-04-2009 07:35 AM

Yes that makes sense, but my issue is that the way the file is setup it doesn't allow me to select the blog postings, just page links from the nav. I can't figure how to create it so that it will allow me to select the blog postings as well as the static pages in the file to do this.

rePete 02-11-2010 03:54 PM

help with hpbottom1 etc
 
I have a similar request, I have created four categories Featured_01 thru 04. I have tried to change the home.php file to reflect those categories, in my case 5,6,7and 8 respectively. I cannot get any posts to show up in hpbottom1-4. Where exactly do I place the category numbers in the home.php file? Am I missing something here?

below is where I have changed home.php to reflect category 5.

PHP Code:

<div class="hpbottom1">
        
            <?php $recent = new WP_Query("cat=5".get_theme_mod('hp_bottom')."&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>

my url is:http://petehanratty.com

Thanks,
Pete


All times are GMT -5. The time now is 10:40 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.