GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   AGGHH - How do I put links in my Wordpress template without making them sitewide?! (https://gfy.com/showthread.php?t=719538)

pound 03-30-2007 04:04 AM

AGGHH - How do I put links in my Wordpress template without making them sitewide?!
 
I want to put a list of links in a wordpress template, just like a blogroll but I only want those links to show up on the homepage. Doesn't matter where I seem to put them in the wordpress template they show up on EVERY page on the blog.

I was under the impression that putting the links in the "Main Index Template" that they'd only show up on the homepage.. how silly of me. :helpme

:error :helpme :error :helpme

BigBen 03-30-2007 04:23 AM

Use conditional tags. Example...

PHP Code:

<?php if ( is_home() ) { ?>

// blogroll here

<?php ?>


tehHinjew 03-30-2007 04:25 AM

click on html and change teh text

pound 03-30-2007 05:20 AM

Quote:

Originally Posted by BigBen (Post 12169246)
Use conditional tags. Example...

PHP Code:

<?php if ( is_home() ) { ?>

// blogroll here

<?php ?>


Thankyooooooooooooooou!!111 :thumbsup


All times are GMT -7. The time now is 05:02 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123