Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

php in footer.php - links to just show up on homepage

Prev Previous Post   Next Post Next
Old Dec 20, 2008, 08:39 AM
chris's Avatar
39 posts · Dec 2008
php in footer.php - links to just show up on homepage


I used to have some links that only show up on the "home" page -
I have had following code in my previous theme

PHP Code:
<?php if($HTTP_SERVER_VARS['REQUEST_URI']=="/") : ?>
<p>link1 ... link2</p>
<?php endif; ?>
this didn't work anymore ... no links show up on the homescreen or elsewhere ...

I placed it right over

HTML Code:
		<!-- / Footer -->
in footer.php

any idea?


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
make index.php be a "page" and blog postings go to different php page zhidoni Atahualpa 3 Wordpress theme 0 Jun 21, 2009 04:25 PM
[SOLVED] messed up header.php and footer.php monochrome Header configuration & styling 0 Jun 20, 2009 02:16 PM
request: please add "links.php" page template. dhani Atahualpa 3 Wordpress theme 0 May 22, 2009 03:36 AM
how do i get comments to show up on homepage for each post??? drewjones Comments, trackbacks & pings 2 Apr 15, 2009 07:04 PM
Post PHP on one page only, and not homepage blueprairie Plugins & Atahualpa 2 Apr 2, 2009 07:28 AM

All times are GMT -6. The time now is 03:28 AM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.