Page 1 of 1

Menu item as link

Posted: Thu May 25, 2023 2:56 pm
by grimblefritz
Is there a way to make a menu item that is a direct link?

For example, if I create a menu item "Search", can I have that be a link directly to lmgtfy.com?

If not, I'd like to make that a request. Please.

Re: Menu item as link

Posted: Sat Sep 02, 2023 9:37 pm
by nox
Hey grimblefritz,

I know this is a really late reply and you probably found a solution.
Here is an example of custom menu link, inside Sky theme.php:

Code: Select all

<ul class="menu">
	<!-- Menu -->
	<?= $Wcms->menu() ?>
	<li class="nav-item"><a href="https://www.custommenulink.com">Custom Link</a></li>
</ul>
After <?= $Wcms->menu() ?> add your link as list item (li) and same class that is used on menu items (nav-item).