Title Tags for Navigation Links

Is there a possibility to add title tags to the nav in any way please?
Didn’t find any.
Thank you

Do you mean on these forums, or in concrete5 for your site?

Yes I mean for any concrete5 installation (my one in particular is 8.5.5)

You would create a new block template for the autonav block, then code in the html title attributes to the nav links in that template.

See Block Templates in the documentation. https://documentation.concrete5.org/developers/working-with-blocks/working-with-existing-block-types/creating-additional-custom-view-templates/creating-a-template-file

Remember the title attributes will need encoding with h(). So echo h($whatever_title_code)

1 Like

thx for the quick reply.
I think it would be a good idea to add a feature to the core to be able to add a title tag to every page by default.
Do you know if that’s considered for the new cms-version of concrete?

1 Like

All pages already have name and description properties. If you want more, you can add page attributes.

So its really up to what to display with the autonav. That is really up to themes. How navigation is formatted and interacts is one of the main differences between themes. It is very rare that the core default nav template is actually used.

1 Like

Thank you for the clarification

1 Like