Home page only links on a Wordpress blog

Run of the mill webmastery, if you've got questions, concerns, a vent that needs to be let off, feel free to post about it in here.

Moderators: vrocks, drocd, jdoughs

Post Reply
User avatar
vrocks
Posts: 1572
Joined: Sun May 16, 2010 2:32 pm
Location: Fantasy Island
Contact:

Home page only links on a Wordpress blog

Post by vrocks »

Google does not like sitewide linking anymore. It isn't only bad for your linking partner, it is bad for you as well.

You can add the plugin: widget logic
Then on your widgets for blogrolls you can enter in the widget logic box: is_home()

This will tell WP to only load this widget if the page is the home page.
You can also use this widget to show things like:

is_category('13') - where you want to show the widget only on the category 13 page.
is_tag('milf') - only show this widget if this is the milf tag page.
in_tag('milf') - if this page contains a post that uses that tag.
!is_single() - Don't show this extra long widget if this is a single post.

You get the idea...
Did I just do something for you? Consider making a donation to LinkSpun!
User avatar
3xpreview
Posts: 98
Joined: Sat Mar 05, 2011 1:56 pm
Location: Hungary
Contact:

Re: Home page only links on a Wordpress blog

Post by 3xpreview »

I use Display widget plug-in for the same purpose.
User avatar
vrocks
Posts: 1572
Joined: Sun May 16, 2010 2:32 pm
Location: Fantasy Island
Contact:

Re: Home page only links on a Wordpress blog

Post by vrocks »

Much easier solution than mine for the casual user.
Did I just do something for you? Consider making a donation to LinkSpun!
Post Reply