![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Theme: Lifestyle 4.0
site: www.lifeiscrappy.net (beta site) I have read several posts on how to add additional featured categories on the home page and have successfully duplicated and added four 'homepageright', 'homepageright1', etc. and also duplicated the css for each one. Now I did the step by step posted by John Flynn at: viewtopic.php?f=8&t=11697&p=57394&hilit=add+more+h ome+page+featured+boxes#p57394 and have gotten to Step 4 : Quote:
So, now of course I have 10 featured boxes and none of them work... the 'automated' ones have lost their connection to the Lifestyle theme Options page (they show that one category) and I have tried to edit home.php and manually add this line: <div id="homepageleft2"> <div class="hpfeatured"> <h3><?php echo cat_id_to_name(get_theme_mod('featured_top_left')) ; ?></h3> <?php $recent = new WP_Query("cat=22&showposts=1"); while($recent->have_posts()) : $recent->the_post();?> The red is where I called for a specific category and showposts=1 is the number of categories. Of course it does not work. So, where do I go from here. i got to Step 4 of the directions and the array in Step 4 to add to would appear to add another sidebar which I do not believe I wish to do. Thank you in advance for your advice. |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Text Boxes in place of Featured Content Boxes | IconicImagery | General Discussion | 5 | 08-05-2009 11:24 AM |
| Adding Featured Boxes | dhonig | General Discussion | 2 | 07-30-2009 09:55 PM |
| 4.0 adding additional featured boxes | nazzman | General Discussion | 4 | 07-13-2009 07:21 AM |
| adding posts in featured boxes | KPrice | General Discussion | 2 | 03-01-2009 09:20 AM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us