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.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-20-2006, 05:24 PM   #1
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
WORDPRESS - anyone know how to manipulate the "get_links" code in wordpress?

I can't find any good tutorials on the web abut it, but I know that it can be manipulated to do what I want...because here is what they are giving me on one of my themes:

Code:
<ul><?php get_links(-1, '<li>', '</li>', '', FALSE, 'name', FALSE, FALSE, -1, FALSE); ?></ul>
but the problem is that this is just outputting a list of all the links without them being under categories, just a plain list all grouped together

what are the variables for this shit?
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-20-2006, 05:27 PM   #2
2HousePlague
CURATOR
 
Join Date: Jul 2004
Location: the attic
Posts: 14,572
<?php get_links(category, 'before', 'after',
'between', show_images, 'order',
show_description,show_rating, limit,
show_updated, echo); ?>

What do you want to show specifically?





2hp
__________________
tada!
2HousePlague is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-20-2006, 05:34 PM   #3
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
well, here:

check out http://www.exstasyglass.com/

check the far right side, see where it grouped all the link together? there is supposed to be categories there

scroll to the bottom of the far right sidebar, I have added the
<?php get_links_list(); ?> code there just for kicks to show people what it is doing when I add that....it is adding that little page icon to the left of "Top Friends" and fucking up the formatting
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-20-2006, 05:41 PM   #4
2HousePlague
CURATOR
 
Join Date: Jul 2004
Location: the attic
Posts: 14,572
Replace the integer ("2"), with the category ID number:

<?php get_links(2, '<span>', '</span>', '', TRUE, 'url', FALSE); ?>


2hp
__________________
tada!
2HousePlague is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-20-2006, 05:42 PM   #5
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
Quote:
Originally Posted by 2HousePlague
Replace the integer ("2"), with the category ID number:

<?php get_links(2, '<span>', '</span>', '', TRUE, 'url', FALSE); ?>


2hp
should I put one of those for each category? there are 3 categories total
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-20-2006, 05:43 PM   #6
2HousePlague
CURATOR
 
Join Date: Jul 2004
Location: the attic
Posts: 14,572
Quote:
Originally Posted by Jace
should I put one of those for each category? there are 3 categories total
Yes, one per category you wish to display. Use instead of the general one above.

2hp
__________________
tada!
2HousePlague is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-20-2006, 05:45 PM   #7
mrkris
Confirmed User
 
Join Date: May 2005
Posts: 2,737
http://codex.wordpress.org/Template_Tags
__________________

PHP-MySQL-Rails | ICQ: 342500546
mrkris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-20-2006, 05:47 PM   #8
2HousePlague
CURATOR
 
Join Date: Jul 2004
Location: the attic
Posts: 14,572
Quote:
Originally Posted by mrkris
Or more specifically:

http://codex.wordpress.org/Template_..._Sorted_by_URL




2hp
__________________
tada!
2HousePlague is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-20-2006, 05:47 PM   #9
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
woot, got it man

THANKS man...you rule
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-20-2006, 05:50 PM   #10
mrkris
Confirmed User
 
Join Date: May 2005
Posts: 2,737
Quote:
Originally Posted by 2HousePlague
Bastage!
__________________

PHP-MySQL-Rails | ICQ: 342500546
mrkris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-20-2006, 05:51 PM   #11
2HousePlague
CURATOR
 
Join Date: Jul 2004
Location: the attic
Posts: 14,572
Quote:
Originally Posted by mrkris
Bastage!




2hp
__________________
tada!
2HousePlague is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.