Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function mySidebar() {
- if ( (is_page(activity) || is_page(members) || is_page(groups) || is_page(fourms) || is_page(register) ) )
- {
- echo "<div id=\"mySidebar\">";
- echo "<div id=\"primary\" class=\"aside main-aside\">";
- echo do_shortcode('[widgets_on_pages id="bpSidebar"]');
- echo "</div>";
- echo "</div>";
- }
- }
- add_action('thematic_belowcontainer', 'mySidebar');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement