Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Blogging Forum


You are currently viewing our Blogging Forum as a guest. Please register to participate.
Login



Reply
Hacking the WP blogroll...?
Old 10-29-2007, 03:17 AM Hacking the WP blogroll...?
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
Does anybody know how to get into the <?php get_links_list(); ?> function? The way my blog is set up, the sidebar items ( search, tags, archives, blogroll ) were using h2 tags. Mainly for layout. I changed all of them to spans with the styling that was applied to the h2s, and everything is great.

Except the rest of these were wrapped up in h2 tags in the Wordpress theme, while the <?php get_links_list(); ?> function emits h2 tags, and the label. I'd like to get into the code it uses, and do the same thing.

Any ideas on how I might go about this?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
 
Register now for full access!
Old 10-29-2007, 03:26 AM Re: Hacking the WP blogroll...?
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
In your wp-includes folder, see if you have a file called bookmark-template.php with the get_links_list function in it. That's where I found mine.

Mind you, I hacked mine a bit differently. I found that, to hack the blogroll, I had to get into wp_list_bookmarks (same file) to get what I wanted. You may find better luck going at it this way.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 11-02-2007, 01:52 AM Re: Hacking the WP blogroll...?
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
For extra credit, do you know where I might find the read more function? It's most of what's preventing my home page from validating.

I guess I should download the whole folder and use grep...
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 11-02-2007, 02:08 AM Re: Hacking the WP blogroll...?
jamestl2's Avatar
No scale-itch here...

Latest Blog Post:
Wordpress Relative URLs Plugin
Posts: 2,389
Name: <member type="brilliant" alt="foolish">James Lewitzke</member>
Location: / public_html / Universe / Virgo_Supercluster / Local_Group / Milky_Way / Orion_Arm / Solar_System / Earth / North_America / USA / Wisconsin
Trades: 0
I believe the read more function is in the wp-includes/post-template.php file.

While I'm not as familiar with custom coding jobs, from my understanding, this plugin may help apply yours or others different CSS styles to the links (including the blogroll):
http://sw-guide.de/wordpress/plugins/link-indication/
__________________
Engipress -
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
for Wordpress Projects

Last edited by jamestl2; 11-02-2007 at 02:33 AM..
jamestl2 is offline
Reply With Quote
View Public Profile Visit jamestl2's homepage!
 
Reply     « Reply to Hacking the WP blogroll...?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13715 seconds with 12 queries