Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » How do I…?
  3. » Navigation

#1 2018-04-21 16:08:18

dima
Member
Registered: 2010-11-21
Posts: 27

Navigation

Textpattern 4.7.0-beta with default template.
How to remove “Articles” from navigation bar?

Offline

#2 2018-04-21 16:32:47

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,028
Website GitHub Mastodon Twitter

Re: Navigation

Your navigation is an automatically generated list of sections. Search for <txp:section_list default_title='<txp:text item="home" />' include_default="1" wraptag="ul" break="">.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2018-04-21 16:51:17

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,609
Website

Re: Navigation

If you still want your navigation list to auto generate from your own sections, you can exclude the articles section by adding the attribute @exclude=“articles” (see the docs for txp:section_list):

<txp:section_list default_title='<txp:text item="home" />' exclude="articles" include_default="1" wraptag="ul" break="">

Alternatively write your own navigation in place of this tag.


TXP Builders – finely-crafted code, design and txp

Offline

#4 2018-04-21 16:57:44

dima
Member
Registered: 2010-11-21
Posts: 27

Re: Navigation

jakob, many thanks!

Offline

  1. Index
  2. » How do I…?
  3. » Navigation

Board footer

Powered by FluxBB