Calling Sidebars in the Admin Menu
-
Hey everyone. I’m developing a plugin and I’d like to be able to call a sidebar inside of the wordpress admin. Unfortunately, the function
get_sidebar($name);
uses some other core wordpress functions that are not included in the wp-admin. Here is a list of them and what function they have:/wp-includes/general-template.php contains the
get_sidebar
function/wp-includes/plugins.php contains the
do_action
function./wp-includes/template.php contains the
load_template
andlocate_template
functions.I’ve tried including all of these functions in the admin to attempt to get the
get_sidebar
call to work. This produced no results as I believe the function uses template files from your theme to complete the passing of widgets to a sidebar. Any ideas on how to call sidebars in the wp-admin? I can’t find info anywhere. Thanks.
- The topic ‘Calling Sidebars in the Admin Menu’ is closed to new replies.