Bitcoin Forum
October 19, 2017, 02:33:17 AM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [BOUNTY] Wordpress help  (Read 470 times)
GraphicImpulse
Member
**
Offline Offline

Activity: 66


View Profile
May 09, 2013, 02:08:35 PM
 #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
1508380397
Hero Member
*
Offline Offline

Posts: 1508380397

View Profile Personal Message (Offline)

Ignore
1508380397
Reply with quote  #2

1508380397
Report to moderator
1508380397
Hero Member
*
Offline Offline

Posts: 1508380397

View Profile Personal Message (Offline)

Ignore
1508380397
Reply with quote  #2

1508380397
Report to moderator
1508380397
Hero Member
*
Offline Offline

Posts: 1508380397

View Profile Personal Message (Offline)

Ignore
1508380397
Reply with quote  #2

1508380397
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1508380397
Hero Member
*
Offline Offline

Posts: 1508380397

View Profile Personal Message (Offline)

Ignore
1508380397
Reply with quote  #2

1508380397
Report to moderator
torba
Member
**
Offline Offline

Activity: 100



View Profile
May 09, 2013, 04:07:15 PM
 #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.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!