ThemeShaper Forums » Thematic

How do I remove the sidebar from all pages?

(2 posts)
  • Started 5 years ago by shelzmike
  • Latest reply from shelzmike
  • This topic is resolved
  1. shelzmike
    Member

    I cannot seem to do it correctly.. I have tried using add_filter('thematic_sidebar' , 'remove_sidebar');

    in my functions.php (child theme) which gets rid of the sidebar, but instead, it displays this error in the browser:

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'remove_sidebar' was given in /home/alpine1/public_html/brphotoschool.com/wp-includes/plugin.php on line 166

    What is the easiest way to do this with a child theme. I mean, if all else fails, I know I can just delete the code out of the page.php template, but I do not want to do that.

    Mike

    Posted 5 years ago #
  2. shelzmike
    Member

    NM..there was already a built in solution..

    http://forums.themeshaper.com/topic/no-sidebars

    Mike

    Posted 5 years ago #

RSS feed for this topic

Reply

You must log in to post.