Adding code snippet to homepage
-
Hi, where do you add code snippets to hardcode elements into the homepage?
I have the shiftnav mobile menu plugin activated, but i wish to use the custom menu instead of the default one so that i can position the menu underneath the site branding.
The code provided is either html or php (as follows), but i’m not sure where to place either of these. Where would i place either of the following to render it to the homepage? I’m using the avata theme.
<?php shiftnav_toggle( 'shiftnav-main' , 'Toggle Menu' , array( 'icon' => 'bars' , 'class' => 'shiftnav-toggle-button') ); ?> or <a><i class="fa fa-bars"></i> Toggle Menu </a>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Adding code snippet to homepage’ is closed to new replies.