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 03-15-2017, 10:44 AM   #1
ravenazrael
Confirmed User
 
Industry Role:
Join Date: Nov 2011
Location: montreal
Posts: 583
Link on Menu only on Homepage question

I want to add a link on my top menu, but I want it only on the Homepage, what should I add to the Title Attribute or where to make that possible?
site is boobsrealm.com
ravenazrael is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-15-2017, 05:24 PM   #2
TitanWM
Confirmed User
 
TitanWM's Avatar
 
Industry Role:
Join Date: Dec 2015
Posts: 111
There are different ways to do this. You can do that with few lines php code. Need more infos about your site (is it coustom theme or do you use cms like wordpress).

If you use wordpress, you need 2 different menus. 1 specifically menu for your homepage with the link(s). Then you can define it in functions.php for each Page. It seems that you have no experience with php-coding? In that case I recommend you to use an existing plugin like:

https://de.wordpress.org/plugins/pag...ic-menu-items/

or

https://themify.me/conditional-menus

Search for plugins "different menus for each site"
__________________
CamSoda invite link - promote an unsatisfied cam site!
TitanWM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-15-2017, 08:10 PM   #3
ravenazrael
Confirmed User
 
Industry Role:
Join Date: Nov 2011
Location: montreal
Posts: 583
thank you very much. yeah I suck at coding
ravenazrael is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-15-2017, 08:26 PM   #4
Zeiss
Confirmed User
 
Industry Role:
Join Date: May 2012
Location: With your mom
Posts: 5,189
A good recommendation here! Thanks, TitanWM!
__________________


Adult Webmasters Guides
Zeiss is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-16-2017, 09:23 AM   #5
EN1GMA
Confirmed User
 
EN1GMA's Avatar
 
Industry Role:
Join Date: Nov 2005
Posts: 1,236
Hey ravenazrael, long time we don't talk. We did business in the past.
There is a easy way to do this. Let me try to help you.

Install this plugin: Menu Item Visibility Control
Now go to your menu, and add this to "Visibility" field in the link that you want to show in your homepage only:

Code:
is_home()
And you're done! Let me know if worked for you
EN1GMA 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

Tags
link, add, menu, homepage, attribute, site, boobsrealm.com, question, top, title



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.