AutoNav not respecting 'Exclude From Nav'
PermalinkNo errors in Web Dev console
Installed Add-Ons: Block Designer
Running the latest version of C5 at time of writing (5.7.5.3)
Page caching off
foreach ($navItems as $ni) { $exclude_nav = $ni->cObj->getAttribute('exclude_nav'); if( $exclude_nav !== '0' ): // echo list items, etc endif; }
Surely there's a better way?