|
|
|
|
|
|
|
![]() |
#1 |
Wheither you think you can or you think you can't, Your right.
|
Oh, okay, boy I missed that one. Actually probably would'nt be hard to do with php and mysql. If you could just grab a variable then you could pull all the links you want from what ever catagory.
ronnie Last edited by ronnie; 2006-07-24 at 06:06 PM.. |
![]() |
![]() |
![]() |
#2 |
Madness is like gravity. All it takes is a little... push.
Join Date: Feb 2006
Location: California
Posts: 1,679
|
I don't use WP, but is this the kind of thing you're looking for?
http://rudd-o.com/projects/wp-list-main-cats/ EDIT: For future reference, I found it here: http://wp-plugins.net/
__________________
~Warm and Fuzzy. ![]() |
![]() |
![]() |
![]() |
#3 |
Are you sure this is the Sci-Fi Convention? It's full of nerds!
|
gracias amigo
![]() I seem to be technically challenged to say the least, I'm still trying to figure out what a tag is|shocking|
__________________
Become part of the future of pornography....promote the first stages of VIRTUAL REALITY|shocking| |
![]() |
![]() |
![]() |
#4 | |
Madness is like gravity. All it takes is a little... push.
Join Date: Feb 2006
Location: California
Posts: 1,679
|
Quote:
I should've been born a hunting dog. ![]()
__________________
~Warm and Fuzzy. ![]() |
|
![]() |
![]() |
![]() |
#5 |
Oh no, I'm sweating like Roger Ebert
|
I was checking around in the WP template tags today for somthing I want to do on one of my blogs and ran across your solution.
Lets say you have a site http://www.yoursite.com and you want to have different links on your home page than a couple of your category pages. Say you have a cams category and a teen category. Make 3 link categories...one well call blogroll and it is your main index page links. One call cams and the other lets call teens. Where you want the links to appear on your sidebar, add this: Code:
<?php if (is_category(cams)) { echo "<ul>"; wp_get_linksbyname('cams'); echo "</ul>"; } elseif (is_category(teens)) { echo "<ul>"; wp_get_linksbyname('teens'); echo "</ul>"; } else { echo "<ul>"; wp_get_linksbyname('blogroll'); echo "</ul>"; } ?> Disclaimer: I haven't tested it and usually I fuck it up the first dozen or so times before I get it right so be prepared for a little trial and error. |
![]() |
![]() |
![]() |
#6 |
Are you sure this is the Sci-Fi Convention? It's full of nerds!
|
Thanks for the help walrus
![]() Although, I think I'll probably fuck up 50 times before I get it right. ![]()
__________________
Become part of the future of pornography....promote the first stages of VIRTUAL REALITY|shocking| |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|