It is possible to modify the sidebar.php file which usually contains the blogroll in order to make links display only at the homepage using the $_SERVER['REQUEST_URI'] predefined variable.
Just wondering if there is a way of making a blogroll homepage only rather than sitewide from WP or is it encoded in the theme?
* Build a shopping cart for your business with eCommerce software UK
* BossCart.com can build you a.
Register your domain names at Velnet
::
Add Eco sites to The Green Directory free of charge.
Use LBS Free PHP Directory Script . Web Hosting Blog
It is possible to modify the sidebar.php file which usually contains the blogroll in order to make links display only at the homepage using the $_SERVER['REQUEST_URI'] predefined variable.
█Time may come when you will need a UK e-commerce software
█ecommerce testimonials keresőoptimalizálás
Yeah, it's possible. Though I'm assuming you want to make the entire blogroll homepage only, rather than just one link.
Simply put this code in the sidebar.php file
That should put a basic list in the sidebar.PHP Code:<?php if (is_home()) { ?>
<h2>Blogroll</h2>
<?php wp_list_bookmarks('');
} ?>![]()
* Build a shopping cart for your business with eCommerce software UK
* BossCart.com can build you a.
Register your domain names at Velnet
::
Add Eco sites to The Green Directory free of charge.
Use LBS Free PHP Directory Script . Web Hosting Blog
* Build a shopping cart for your business with eCommerce software UK
* BossCart.com can build you a.
Register your domain names at Velnet
::
Add Eco sites to The Green Directory free of charge.
Use LBS Free PHP Directory Script . Web Hosting Blog
Worked like a charm, thanks rhyswynne
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks