ThemeShaper Forums » Thematic


Hide logo and access on page and all child pages

(5 posts)
  • Started 10 years ago by chris_s
  • Latest reply from helgatheviking
  • This topic is not resolved
  1. Title pretty much explains it. I need to hide the logo, access and siteinfo from certain pages and their children. Just not sure how to approach this function...

    Posted 10 years ago #
  2. if you add:
    to your child theme's function.php file, you can exclude and add stuff to individual pages and posts via your child theme's style.css for example:

    body.slug-oink-convention #access

    the access div would un-display on the page named "oink convention" only

    Posted 10 years ago #
  3. I was able to accomplish it with the following code.

    function remove_access() {
    	if(is_page(array(63, 386, 391, 405, 'forums'))) {
    	remove_action('thematic_header', 'thematic_blogdescription',5);
    	remove_action('thematic_header', 'thematic_brandingclosing',7);
    add_action('template_redirect', 'remove_access');
    Posted 10 years ago #
  4. Correction. This did not hide the areas on the child pages. Anyone have any idea how I can do this with a conditional statement? Thanks.

    Posted 10 years ago #
  5. in the codex there is a function for testing for a subpage that might help

    Snippet 2

    Posted 10 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.