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
Prev Previous Post   Next Post Next
  #4  
Old 03-17-2010, 09:20 AM
sahdow's Avatar
sahdow sahdow is offline
Registered User
GenesisConnect
Pro Plus Member
 
Join Date: Mar 2009
Posts: 617
Default Thanks for the tips - figured it out

I was over thinking the issue.

All I needed to do was replace this

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

With this

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

2 where 2 is the number of the desired cat.
__________________
Your Propeller-Head
 

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
Insert recent post forum (vbulletin-wordpress) simo80 General Discussion 2 11-30-2009 01:09 PM
How to insert bullet points (image) in widget (recent posts) chenvova11 General Discussion 2 06-27-2009 08:01 AM


All times are GMT -5. The time now is 05:39 PM.

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