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.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 11-02-2008, 08:36 PM
Paul Paul is offline
Registered User
Pro Plus Member
 
Join Date: Oct 2008
Location: Edinburgh, UK
Posts: 1,499
Default Re: Featured posts and excluding most current??

You can offset posts like this...

<?php $recent = new WP_Query("cat=1&showposts=1&offset=1"); while($recent->have_posts()) : $recent->the_post();?>

What that will do is tell it to skip a post and start on post two. Change it to 2 and it will show the third most recent post.
__________________
Some of the websites I've built with StudioPress:
<a href="http://www.horseracing.fm">Horse Racing</a> | <a href="http://wedding-blog.net">Wedding Blog</a> | <a href="http://www.weddingtrix.com">Wedding Planning Guide</a> | <a href="http://advance.to">Search Engine Marketing</a> | <a href="http://www.automateyourprofits.com">Betting Software</a> | <a href="http://www.bettingbots.com">Betting Bots</a> | <a href="http://www.pokerclubscotland.com">Poker Club Scotland</a>
 

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
Excluding thumbnails from posts Jonny5uk General Discussion 8 07-09-2009 06:10 AM
Excluding categories in Recent posts icono General Discussion 6 11-27-2008 06:02 PM


All times are GMT -5. The time now is 09:06 AM.

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