Help with do_action in template
-
I’m pretty new to WP functions… What am I getting wrong here? Thanks.
I’ve got the following:
`$gk_menu_params = array(
‘menu’ => ‘Footer3’,
‘start_from’ => ‘parent’,
‘depth’ => ‘1’
);<div id=”column2Menu”><?php do_action(‘gk-menu’,$gk_menu_params); ?></div>’
—————-
I get nothing from the above, yet things work properly when I use this plugin’s widget and same parameters. (in the widget I slide down to the name of the ‘start_from’ page, instead of saying ‘parent’)
- The topic ‘Help with do_action in template’ is closed to new replies.