Posts Tagged ‘links’

WordPress: too clever for its own documentation!

by

Any time you start using Widgets you forgo control and sometimes you need to take it back! A while ago I needed to control the sort orderĀ  of the Links widget and found the “right way” to do it. Today, I needed it again but could I find the documentation anywhere?

In the end I found it at the bottom of a thread answered by Pinoy.ca.

All you need to do is find the functions.php file for your theme and add

function widget_links_args_filter($args) {	$args['orderby'] = 'rating';  // Sort links by rating	$args['order'] = 'DESC';      // descending	return $args;}add_filter('widget_links_args','widget_links_args_filter');

Its easy to understand what you’re doing once you have that small example. A shame, I guess, that sort order isn’t able to be set in the widget itself but if you need to make the change this is so much safer than messing with the source code as some sites recommend.

widget_links_args – try searching on Google or WordPress.org, you won’t find any official documentation for this function. Crazy!


cheap deal pill viagra viagra Viagra Canada viagra and street drugs
generic viagra gel tab Purchase Viagra best place to buy viagra
effects of viagra mixed with cocaine! Guaranteed Cheapest Viagra where can i get free viagra!
viagra for plants Natural Viagra Smode su viagra webrb int mc smoking viagra 431.
Viagra depression women viagra derivatives 471. Natural Viagra Substitutes viagra pre and post!

Vital advice about Paid Links

by

I’m taking an unusual step here and using someone elses article – but that’s because CReed has addressed the very issue I’ve been asked about lately – Paid Links.

I’ve sold a few links on various sites, but I haven’t solicited them and I doubt there’s been more than 5. It’s not the business I’m in. But people do sell links on blogs, directories and regular websites. It’s a discreet form of advertising and can be a good way to get a high profile inbound link to your site. Some offer only SEO benefits, others offer human traffic.

So, if you’ve exhausted all the free directories and don’t want to get into link exchanges then maybe paid links will be the next step. If so, then read on. Read the rest of this entry »