You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found this... Not sure if it is what is needed tho...
The first being "How do I hide a page from the navigation?"
The simplest way I can think of for this, that is also controllable through Craft, is to create a simple "Hide from navigation" Lightswitch field, and add this to your entry types.
When looping through entries for the navigation, you can check whether the lightswitch has been checked, and if it has, don't show that entry in the nav:
{% for entry in craft.entries.section('lorem').hideFromNavigation(0) %}
--
{% endfor %}
The text was updated successfully, but these errors were encountered:
djacris
changed the title
Hide help from Nav
Hide "help" from Nav
Oct 1, 2015
Found this... Not sure if it is what is needed tho...
The first being "How do I hide a page from the navigation?"
The simplest way I can think of for this, that is also controllable through Craft, is to create a simple "Hide from navigation" Lightswitch field, and add this to your entry types.
When looping through entries for the navigation, you can check whether the lightswitch has been checked, and if it has, don't show that entry in the nav:
{% for entry in craft.entries.section('lorem').hideFromNavigation(0) %}
--
{% endfor %}
The text was updated successfully, but these errors were encountered: