Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
|
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
Thread Tools |
06-19-2009, 03:59 AM | #1 |
Confirmed User
Industry Role:
Join Date: Jul 2008
Location: Ye olde England
Posts: 288
|
Wordpress question [Hide/Show particular category]
So I'm fairly apt at wordpress, I can code up a decent theme from scratch but I'm having some trouble with a feature I want to include on my latest theme.
What I want to be able to have is have an option to hide or show a particular category. In much the same way that Fleshbot allows you to view all straight content or all gay content as oppose to a mix of the 2. Anyone have any idea on a plugin or some code that would allow this? Thanks in advance
__________________
25% OFF ALL DESIGN / DEVELOPMENT WORK FOR A LIMITED TIME Web designer / developer specializing in; HTML, CSS, PHP, Wordpress, Jquery |
06-19-2009, 06:52 AM | #2 |
Confirmed User
Join Date: Nov 2006
Posts: 233
|
I would script something cookie based...
put a simple "if" there with a condition checked via the cookie.
__________________
liquidizing all my adult biz |
06-20-2009, 02:14 AM | #3 |
Confirmed User
Join Date: Aug 2007
Posts: 137
|
Go check out the wordpress site. They got documentations for coders...
__________________
Freelance Web Designer [ $650 Monthly Only ] ICQ: 563947658 |
06-22-2009, 01:47 PM | #4 |
Too lazy to set a custom title
Industry Role:
Join Date: Mar 2003
Location: Homeless
Posts: 62,911
|
Im sure there is already a plugin that will do this. But as long as the theme is widget ready it wont show the category untill it has something in it.
__________________
PornGuy skype me pornguy_epic AmateurDough The Hottes Shemales online! TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME! |
07-01-2009, 01:54 PM | #5 |
Pay It Forward
Industry Role:
Join Date: Sep 2005
Location: Yo Mama House
Posts: 76,489
|
ah yeah that would be nice
__________________
TRUMP 2024 KEKAW!!! - Support The Laken Riley Act!!! END DACA - SUPPORT AZ HCR 2060 52R - email: brassballz-at-techie.com |
07-01-2009, 03:39 PM | #6 |
Confirmed User
Join Date: Dec 2006
Location: Montreal
Posts: 519
|
AJAX with If php functions / categories would be your best bet
|