phil.rose
Forum Replies Created
-
Hi guys,
I’m really new to this but you all seem like legends so thought you may be able to help me out.
I tried following the steps here:
http://www.carriedils.com/add-widget-area-below-nav/
to add a widget area abouve the nav menu for my site (www.removalistservicessydney.com.au)
As I wanted to add the widget above and not below as in the tutorial, I modified the instructions to use the genesis_before_header hook and ended up adding the following code to my functions.php file:
genesis_register_sidebar( array(
‘id’ => ‘cta-1’,
‘name’ => __( ‘Phone number’, ‘executive’ ),
‘description’ => __( ‘Phone number near nav menu.’, ‘executive’ ),
) );add_action( ‘genesis_before_header’, ‘executive_cta_genesis’ );
The result being I now have this error! (you can see this on my site…)
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘executive_cta_genesis’ not found or invalid function name in /home/technover/public_html/wp-includes/plugin.php on line 496
Does anyone have any idea how i can remove this error so I can have my widgets display freely in this area?
thanks in advance