For each external link in the sidebar, I'd like the link description to be shown before the actual hyperlink instead of after. Is this complex to do, or is there a simple way? (I'm using get_linksbyname in WP 2.0.1)
For each external link in the sidebar, I'd like the link description to be shown before the actual hyperlink instead of after. Is this complex to do, or is there a simple way? (I'm using get_linksbyname in WP 2.0.1)
You'll likely need to 'roll your own' so to speak.
Here's some help in that direction:
Template_Tags/wp_get_links#Include_Before_and_After_Text
Thanks. That's what I suspected... will have a go.
You might also take a gander at your wp-includes/links.php file for how the links functions work...
Thanks again, and yes, I've been looking at that file most of the day. That's an option, but I would prefer a solution that doesn't mean changing the core files (if possible).
Actually, that was quite straightforward (edit wp-includes/links.php). If anyone happens to want to place the external link description before each external hyperlink, let me know (via the contact page on the site in my profile).
I don't think it can be done within the theme itself.
This topic has been closed to new replies.