StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have -- and this forum will be removed on July 1st, 2013.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
  #1  
Old 06-19-2009, 10:25 AM
Balto Balto is offline
Registered User
Pro Plus Member
 
Join Date: Dec 2008
Posts: 91
Default Only the last post on the homepage

Hi everybody,

On the homepage and under the featured content gallery plugin, I would like to have only THE LAST POST. Not the category 1on the left with post 1, 2....., and the category 2 on the right with post 1, 2 .... Do you know what I mean ? How to do that ?

Thank you for your answer ;)
Balto (from France)
  #2  
Old 06-19-2009, 10:37 AM
John Flynn's Avatar
John Flynn John Flynn is offline
Registered User
Pro Plus Member
 
Join Date: Oct 2008
Location: Sherman, TX
Posts: 2,021
Default Re: Only the last post on the homepage

Go into your home.php file and delete the homepageleft and right divs.

Then go into your Church Theme Options Page and under homepage bottom # of posts choose "1"
  #3  
Old 06-19-2009, 12:07 PM
Balto Balto is offline
Registered User
Pro Plus Member
 
Join Date: Dec 2008
Posts: 91
Default Re: Only the last post on the homepage

hi John,
Ok for the first part.
But for the second part : I don't know where to find "Church Theme Options Page" ....
Could you give me a clue ?
Thanks
Balto
  #4  
Old 06-19-2009, 12:16 PM
John Flynn's Avatar
John Flynn John Flynn is offline
Registered User
Pro Plus Member
 
Join Date: Oct 2008
Location: Sherman, TX
Posts: 2,021
Default Re: Only the last post on the homepage

appearances>Church Theme options
  #5  
Old 06-19-2009, 01:19 PM
Balto Balto is offline
Registered User
Pro Plus Member
 
Join Date: Dec 2008
Posts: 91
Default Re: Only the last post on the homepage

Hum....
My theme is : Revolution Church 2.0
But when I go to appearances>.... I have no Church Theme options but Revolution Lifestyle Options :( with ID Feedburner:... Code AdSense 468x60: ......... And there is no homepage bottom # of posts......
It's strange :!:
  #6  
Old 06-22-2009, 09:31 AM
Balto Balto is offline
Registered User
Pro Plus Member
 
Join Date: Dec 2008
Posts: 91
Default Re: Only the last post on the homepage

Is there anybody to help a poor french boy ?
Thank you ;)
  #7  
Old 06-22-2009, 09:38 AM
IdleBuzz IdleBuzz is offline
Registered User
Pro Plus Member
 
Join Date: Feb 2009
Location: Innisfil Ontario Canada
Posts: 35
Default Re: Only the last post on the homepage

After you have deleted the sections above, in the "div id homepagebottom" section that remains, look for:

Code:
<?php $recent = new WP_Query("cat=63&showposts=4"); while($recent->have_posts()) : $recent->the_post();?>
Replace "cat=63" with your category number and change the "showposts=4" to "showposts=1"

Hope that helps :)
__________________
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Joanne - TotalTreasureChest
== Custom Niche Blog Design ==
http://www.TotalTreasureChest.com
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pin a post to homepage gunneradt General Discussion 4 02-12-2010 07:23 AM
Post Doesn't appear on Homepage lahun2008 General Discussion 5 01-09-2009 11:33 AM


All times are GMT -5. The time now is 08:06 PM.

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