Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 09-12-2014, 07:20 AM   #1
ravenazrael
Confirmed User
 
Industry Role:
Join Date: Nov 2011
Location: montreal
Posts: 583
Showing links only in Homepage page 1

Hi guys. I want to show some links only on the Homepage of my blog boobsrealm.com

I am using the plug-in Display Widgets to show it only on front page, however, when you click on Older Posts you go to page 2 and still see the Links. The guys that asked me for those links only want them featured on Home Page page One... nothing more.Anyone has an idea how to fix that in wordpress? I used also Logic Widget and put is_front_page and is_home, but still shows the links on page 2, 3 and so on.
ravenazrael is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-12-2014, 07:43 AM   #2
Denny
Too lazy to set a custom title
 
Denny's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 17,060
I use this code on some of my WP blogs:

PHP Code:
<?php if(is_home() && !is_paged()):?><a href="http://www.homepagelinkonly.com">homepage link only</a><?php endif;?>
Denny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-12-2014, 07:54 AM   #3
ravenazrael
Confirmed User
 
Industry Role:
Join Date: Nov 2011
Location: montreal
Posts: 583
Quote:
Originally Posted by Denny View Post
I use this code on some of my WP blogs:

PHP Code:
<?php if(is_home() && !is_paged()):?><a href="http://www.homepagelinkonly.com">homepage link only</a><?php endif;?>
It worked!! thank!!

Last edited by ravenazrael; 09-12-2014 at 08:05 AM..
ravenazrael is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-12-2014, 08:01 AM   #4
Denny
Too lazy to set a custom title
 
Denny's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 17,060
Quote:
Originally Posted by ravenazrael View Post
thanks... well I am not good at managing my cpanel, i always do everything from WP... which file I should modify?
Insert that code to sidebar.php file (for sidebar links).
Denny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-12-2014, 08:21 AM   #5
ravenazrael
Confirmed User
 
Industry Role:
Join Date: Nov 2011
Location: montreal
Posts: 583
Quote:
Originally Posted by Denny View Post
Insert that code to sidebar.php file (for sidebar links).
thanks Denny!
ravenazrael is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-12-2014, 02:36 PM   #6
bluebook18
Confirmed User
 
bluebook18's Avatar
 
Industry Role:
Join Date: Mar 2012
Location: Soon On Mars
Posts: 4,082
i'm using widget context..
bluebook18 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-15-2014, 04:03 AM   #7
ravenazrael
Confirmed User
 
Industry Role:
Join Date: Nov 2011
Location: montreal
Posts: 583
Quote:
Originally Posted by bluebook18 View Post
i'm using widget context..
thanks man.
BTW I was told that when the links are shown on everypage is not good for that URL.. do you know if that is true and why? thanks
ravenazrael is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.