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 Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 03-15-2017, 10:44 AM   #1
ravenazrael
Confirmed User
 
Industry Role:
Join Date: Nov 2011
Location: montreal
Posts: 516
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: 108
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: 516
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: 3,943
A good recommendation here! Thanks, TitanWM!
__________________
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,034
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
Thread Tools




©2000-, AVN Media Network Inc



Powered by vBulletin
Copyright 2000- Jelsoft Enterprises Limited.