Remove breadcrumb from homepage

Support forum dedicated to GavickPro free and premium WordPress themes.
GK User
Wed Apr 16, 2014 2:33 am
Please what is the code I need to use in the conditional rule for breadcrumbs so they do not appear on the homepage.

I want breadcrumbs on all the other pages but I don't want them on the homepage.

Thanking you in advance
Sharlene
User avatar
Senior Boarder

GK User
Wed Apr 16, 2014 7:01 am
Could You please post an url to your site?
User avatar
Moderator

GK User
Thu Apr 17, 2014 1:42 pm
The url is http://development.fourier.com.au/f2/ and the theme is CloudHost.
In the settings there is an option for Conditional Breadcrumbs Display but I don't know how to write the condition.

Thanks
User avatar
Senior Boarder

GK User
Thu Apr 17, 2014 3:28 pm
Please edit: wp-content/themes/CloudHost/css/override.css
Code: Select all
#gk-breadcrumb-area {display: none;}

Remember to enable "Use the override.css file" in theme settings (item in admin menu, under comments section, advanced tab).
User avatar
Moderator

GK User
Fri Apr 18, 2014 9:14 pm
Hello,

@Chapman, you can use this condition in your "Conditional Breadcrumbs Display" template option:
!is_home() - to display on all pages except homepage.

Other conditional tags you can find here:
https://codex.wordpress.org/Conditional_Tags
User avatar
Moderator

GK User
Thu May 01, 2014 4:54 am
Perfect... thanks
S
User avatar
Senior Boarder


cron