Is this correct?
-
Hi, I’ve just started with Genesis/Parallax Pro and have a multisite started successfully.
However, being a novice in the world of programming, I need to check to see what I’m doing wrong here.
I want to have a widget registered after the header (so that I can use a custom menu, like SuppaMenu or something like that)
What I’ve done:
– have added this to the functions.php in my multisite theme/copy at the bottom of the functions.php:genesis_register_sidebar( array(
‘id’ => ‘after-header’,
‘name’ => ‘After Header’,
‘description’ => ‘This is a sidebar that goes after the header.’,
) );– in your ‘Simple Hooks’plugin, I have put this in the box for the
genesis_after_header Hook:<div class=”after-header”>
<?php dynamic_sidebar( ‘after-header’ ); ?>
</div>Questions:
– is this correct so far?
– should I be placing this code in the functions.php text of the ‘genesis’ theme, or is it correct to place it in the functions.php of the child theme?When I check off both ‘Execute…’ boxes and ‘Save Changes’, I don’t see any new widget area showing up in my Dashboard/Appearance/Widgets.
Any help and guidance is most appreciated!
Thank you!
The topic ‘Is this correct?’ is closed to new replies.