By soraya_soch on
Hi,
Is there a way to add a link to the page.tpl.php $primary_links array?
I want to add an extra link, with a given rel attribute, but only for that one link.
As the link's url will also be rendered dynamically I can't use the admin UI.
How do I add this link?
I took a look at a great many things in the API before getting lost...
Any help appreciated!
S.
Comments
Well I dont really get what
Well I dont really get what you are asking here, but you can checkout the Menu Attributes module which allows you to add a rel tag to just one link in a menu.
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.