I like to create a custom Menu Item, named: Documentation.
I've edit links-nav-menu.php however the result presents as a "sub menu" ( I have 2 table groups)
Code: Select all
/* Documentatie */
$navLinks[] = [
'url' => 'hooks/Gebruik-Warmtepompmonitor-applicatie.pdf',
'title' => 'Documentatie',
'groups' => ['*'], // groups allowed to see this link, use '*' if you want to show the link to all groups
'table_group' => 1, // optional index of table group, default is 0
];
And...document has to open in a new window
Ron
