Blogroll links homepage only

Reading Time: < 1 minute

If you want to setup your wordpress site so blogroll links appear on the homepage only, here’s how.

1) Login to your Word press blog admin area
2) Click Appearance
3) Click Editor
4) Click Sidebar located on the right
5) Locate the below code or similar

<?php get_links(‘-1’, ‘<li>’, ‘</li>’, ”, FALSE, ‘id’, FALSE,
FALSE, -1, FALSE); ?>

6) Replace with the below code:

<?php if(is_home()){ get_links_list(); } ?>

Done