![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Nov 2011
Location: montreal
Posts: 588
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
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! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Nov 2011
Location: montreal
Posts: 588
|
thank you very much. yeah I suck at coding
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: May 2012
Location: With your mom
Posts: 5,189
|
A good recommendation here! Thanks, TitanWM!
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Nov 2005
Posts: 1,251
|
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() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |