In this tutorial you'll learn how to add custom links to the menu of your WHMCS Template.

Where is the menu file?

Open the following file:


As you can see the above file is well noted showing exactly what code is used for each link. The blocks of code represent a dropdown link (domains, hosting, company).

Adding a new link to the menu

In the following examples the code will be for a page named "Custom" linking to custom.php.

Main menu link

<li><a href="custom.php">Custom</a></li>

^ The middle custom.php is the link to the page (can also be full URL such as The right Custom reference is the link text that will be visible.

Main menu link (dropdown)

<li class="drop"><a href="custom.php" class="drop">Custom</a>
	<div class="subcontainer menuright">
		<div class="subcolumn">
				<ul class="sublinks">
					<li><a href="custom1.php">Custom1<br /><em>Custom1 desc</em></a></li>
					<li><a href="custom2.php">Custom2<br /><em>Custom2 desc</em></a></li>
		</div><!-- /end subcolumn -->

	</div><!-- /end subcontainer -->

^ The above code will load a dropdown menu link named Custom showing Custom1 & Custom2 when hovered over.

Sub-menu link

<li><a href="custom1.php">Custom1<br /><em>Custom1 desc</em></a></li>

^ The above code is used for the sub-menu (e.g the Bulk Domain Transfer link under the domains menu).


If you have any questions please leave a comment below or contact our support.