Get custom side bar on custom post archive page
I have a custom post type called “bibliographies” and the corresponding archive-bibliographies.php file to show a list of posts. On this page I … Read more
I have a custom post type called “bibliographies” and the corresponding archive-bibliographies.php file to show a list of posts. On this page I … Read more
I have the following code // in functions.php register_sidebar(array( ‘before_widget’ => ‘<section>’, ‘after_widget’ => ‘</section>’, ‘before_title’ => ‘<h3>’, ‘after_title’ => ‘</h3>’, )); // … Read more
I am using the following to register a widget area: if ( function_exists(‘register_sidebar’) ) register_sidebar( array( ‘name’ => __( ‘Footer Widgets’, ‘hex’), ‘id’ … Read more
How do you register a sidebar in a plugin without screwing up the pre-existing registered sidebars? (The ordering of the sidebar registrations, rather … Read more
Is it possible to dynamically get sidebar parameters from within a widget? That is, I am trying to access the before_widget/after_widget/before_title/after_title/name parameters of … Read more
Is there a way to get the widget title outside of the widget area like this: <ul> <li> <h2 class=”widgettitle”>The title here</h2> <div … Read more
The newest version of Bootstrap (v3.0) adds a new List Group component which has the following structure: <ul class=”list-group”> <li class=”list-group-item”>Cras justo odio</li> … Read more
I’ve got a basic text widget and, outside the standard <div class=”textwidget”> wrapper there is a <li id=”text-5″ class=”widget widget_text”> (which I have … Read more
I want to register a sidebar but I am a little confused about the uses of the id argument in register_sidebar function. Codex … Read more
I’m listing all sidebars like that: global $wp_registered_sidebars; echo ‘<pre>’; print_r($wp_registered_sidebars); echo ‘</pre>’ So I’m getting something like: Array ( [sidebar-1] => Array … Read more