Author

Topic: [BOUNTY] Wordpress help (Read 588 times)

member
Activity: 100
Merit: 10
May 09, 2013, 11:07:15 AM
#2
Add this  before line 75 in pastebin to exclude categories.
Code:
query_posts('category_name=FBK News’); 
Duplicate the file, change name and change line 2 to whatever you want, like
Code:
/* Template Name: FBK News Category */
The modified page will appear in the template options when you make a page.
No need to pay me.
member
Activity: 66
Merit: 10
May 09, 2013, 09:08:35 AM
#1
I'm not the best at wordpress as the simplified layout befuddles me a bit. My template is using page-archive.php (pastebin of php here http://pastebin.com/kfY8EEJP) and loading ALL posts (see www.fbklegal.com/news)

I need a quick .php file written up ("category-FBKNews.php") that makes page-archive.php only show posts that belong to "FBK News" category. The 3 categories I have are "Slider" "Buttons" and "FBK News" I do not want Slider and Button posts to show as they currently are showing. Been trying all day to do this but simply don't understand the slugs and everything.

Since it's just a simple php file and small tweak, I'm offering .25 BTC to do it.

Skype - GraphicImpulse
Jump to: