Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Genesis - theme settings - navbar extras gone missing! WordPress

  • SOLVED

Hi Guys

You used to be able to do this with the Genesis child theme

Go to Genesis > Theme Settings
Go to the box titled Primary Navigation
Check the checkbox titled Enable Extras on Right Side
Select Search Form from the Display the following drop-down menu

I don't see that option anymore

Anyone know why?

Check this screenshot of me showing you one site with it and a client site without it

http://screencast.com/t/pKqFxr61SBx4

Answers (2)

2014-09-25

Arnav Joy answers:

This option is Only allow if using genesis 2.0.2 or lower , since you are using 2.1.2 hence you will not get this option . if you want to have this option then you change it in genesis file upgrade.php at following location :

genesis/lib/functions

at line no. 32 you will find

return $first_version;

change it to

return '2.0.0';

and it will work , but as soon as you update genesis it will not work again.

Let me know if you have understood.


Steve Watson comments:

Thanks Arnav, that explains it perfectly

2014-09-24

timDesain Nanang answers:

Hi Sir,

Please check your theme's functions.php file:
try to disable or delete this line:
remove_theme_support( 'genesis-menus' );
or something like this:

add_action( 'genesis_theme_settings_metaboxes', 'child_remove_metaboxes' );
function child_remove_metaboxes( $_genesis_theme_settings ) {
remove_meta_box( 'genesis-theme-settings-nav', $_genesis_theme_settings, 'main' );
}


Have you checked / <strong>thicked the Navigation</strong> on the Screen Options?


Steve Watson comments:

Hi

Navigation check box is missing from Screen options too

My menus show ok I want to put a search box on the right of the primary navigation

http://stevewatsondemos.com/tyneandwearmarine/

Neither of your proposed solutions are relevent are they?


timDesain Nanang comments:

This hook is relevant with the issue:
add_action( 'genesis_theme_settings_metaboxes, 'function_name');
and this function will remove the Navigation on theme setting metabox and Screen Options too.
remove_meta_box( 'genesis-theme-settings-nav', $variable_name, 'main' );


Steve Watson comments:

Sorry Tim

I dont understand.

These snippets make no difference to my missing Navigation meta box in the Genesis Theme settings when I add them to my custom-functions.php file


timDesain Nanang comments:

Hi Sir,

Please check your theme's functions.php file (not custom function under Dynamik menu):
- go to http://stevewatsondemos.com/tyneandwearmarine/wp-admin/theme-editor.php
- click Theme Functions on the right sidebar
- then find something like the code follow
- try to disable or delete it.

add_action( 'genesis_theme_settings_metaboxes', 'wpq_function_name' );
function wpq_function_name( $variable_name ) {
remove_meta_box( 'genesis-theme-settings-nav', $variable_name, 'main' );
}


PS. I have created Genesis child theme from scratch, I am not sure how Dynamik generate the child theme.