WordPress.org

Ready to get started?Download WordPress

Forums

[closed] Can i stop header from loading on single.php (2 posts)

  1. Missouriflies
    Member
    Posted 2 years ago #

    I'd really like there to be no header on single product pages. Im using wp e-commerce and i assume the header is still controlled by single.php, or page.php. is there a way to stop the header from loading on all single post pages. if e-commerce is using page post then i think i will be lost, so im hoping there is some quick, easy solution like

    get_header(display:none); ?>

    or an empty file? (not sure what that code would look like)
    Thanks

    [duplicate: http://wordpress.org/support/topic/removing-header-from-single-product-pages-wp-ecommerce?replies=1 - closed]

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    you could try and call a different header file in single.php;

    example:

    <?php get_header('single'); ?>

    http://codex.wordpress.org/Function_Reference/get_header

    and create a header-single.php file with all the neccessary declarations etc, and the essential html tags, but without any output.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags