Shape 5

General Category => Wordpress Talk => : kirksfp October 23, 2014, 12:57:06 PM



: Using Free Template move menu before head??
: kirksfp October 23, 2014, 12:57:06 PM
Ok so I am new to this frame work. I have used Genesis and Cherry and it is pretty basic in the function.php file to relocate the main or secondary menu before the head.  However int his frame work i have looked for the functions code to do the same but I am just not finding it.  Anyone have any ideas on this?  Thanks


: Re: Using Free Template move menu before head??
: mikenicoll October 23, 2014, 06:47:39 PM
Hello,

This type of change would require custom programming changes. If you look in the index.php file for the Template you can see the menu call there such as:

:
			<?php if ($s5_show_menu == "show" || $s5_pos_search == "published") { ?>
<div id="s5_menu_wrap">
<?php if ($s5_show_menu == "show") { ?>
<?php  include("vertex/s5flex_menu/default.php"); ?>
                        <?php  //include("vertex/responsive/responsive_mobile_menu.php"); ?>
<?php ?>
<?php if($s5_pos_search == "published") { ?>
<div id="s5_search">
<?php s5_module_call('search','notitle'); ?>
</div>
<?php ?>
<div style="clear:both; height:0px"></div>
</div>
<?php ?>


: Re: Using Free Template move menu before head??
: sturg2013 October 29, 2014, 10:23:50 AM
Hello,

This type of change would require custom programming changes. If you look in the index.php file for the Template you can see the menu call there such as:

:
			<?php if ($s5_show_menu == "show" || $s5_pos_search == "published") { ?>
<div id="s5_menu_wrap">
<?php if ($s5_show_menu == "show") { ?>
<?php  include("vertex/s5flex_menu/default.php"); ?>
                        <?php  //include("vertex/responsive/responsive_mobile_menu.php"); ?>
<?php ?>
<?php if($s5_pos_search == "published") { ?>
<div id="s5_search">
<?php s5_module_call('search','notitle'); ?>
</div>
<?php ?>
<div style="clear:both; height:0px"></div>
</div>
<?php ?>

Thanks Mike I am not used to this theme yet.  normally I use the functions.php and change the hook to set the for before the header.  So with this framework everything is a call and not a hook then?


: Re: Using Free Template move menu before head??
: mikenicoll October 29, 2014, 09:14:44 PM
Hello,

Yes you should just need to move the index block in the source higher in the output. The rest of the areas in the site are part of the Framework.