Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Place the widget before the header
- add_filter ('__after_navbar', 'add_my_widget');
- function add_my_widget() {
- if (function_exists('dynamic_sidebar')) {
- dynamic_sidebar('Extra Widget Before Header');
- }
- }
- // Place the widget before the header
- add_filter ('before_navbar', 'add_my_widget');
- function add_my_widget() {
- if (function_exists('dynamic_sidebar')) {
- dynamic_sidebar('Extra Widget Before Header');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement