Filtering a sidebar
-
Great Plugin!
Sorry if this is a duplicate questions, but couldn’t find an answer. How would I go about getting the plugin to filter a sidebar (custom)?Calling the sidebar like this currently in my template file.
<?php if ( !function_exists('dynamic_sidebar') || dynamic_sidebar('sidebar-name') ) : ?> <?php endif; ?>
I tried a few things following your FAQ but nothing worked.
Would I need to add something when registering the sidebar in the function file? Adding a filter there?register_sidebar( array( 'name' => __( 'Sidebar Name', 'theme-name' ), 'id' => 'sidebar-name', 'description' => __( 'Sidebar Description', 'theme-name' ), 'before_widget' => '', 'after_widget' => '', 'before_title' => '', 'after_title' => '', ) );
Thanks for any help.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Filtering a sidebar’ is closed to new replies.