Not specific – where to put the short code
-
Hi, this plugin looks just like what I need.
However it is not specific enough (I do not think) on where to place the shortcode in the header. Also, the standard filename (for stock wordpress install) is ‘header.php’
Appearance >> Theme Editor >> header.php
I added it just after the head-tag:
<?php wp_head(); ?>
</head>
<?php echo do_shortcode(‘[multilevel_navigation_menu]’); ?>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>At this point the menu shows up at the very top of the page (is fine). You can place it lower in the page by putting it nearer the bottom of header.php.
<?php echo do_shortcode(‘[multilevel_navigation_menu]’); ?>
<div class=”site-content-contain”>
<div id=”content” class=”site-content”>
- The topic ‘Not specific – where to put the short code’ is closed to new replies.