WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Jigoshop shop page loaded without headers…

[Resolved] Jigoshop shop page loaded without headers…

  • Hi!
    I have set up Jigoshop at http://newtynell.dalnix.se/product/ and as you can see it loads without headers.

    My function.php file looks like the following:

    function mytheme_open_jigoshop_content_wrappers()
    {
        echo '<div id="content" class="mainbar entry-content clearfix">
    		<div class="content">';
    }
    
    function mytheme_close_jigoshop_content_wrappers()
    {
        echo '</div></div>';
    }
    
    function mytheme_prepare_jigoshop_wrappers()
    {
        remove_action( 'jigoshop_before_main_content', 'jigoshop_output_content_wrapper', 10 );
        remove_action( 'jigoshop_after_main_content', 'jigoshop_output_content_wrapper_end', 10);
    
        add_action( 'jigoshop_before_main_content', 'mytheme_open_jigoshop_content_wrappers', 10 );
        add_action( 'jigoshop_after_main_content', 'mytheme_close_jigoshop_content_wrappers', 10 );
    }
    
    add_action( 'wp_head', 'mytheme_prepare_jigoshop_wrappers' );

    The problem seems to be that when loading shop page, the functions.php file is not even being run.

    http://wordpress.org/extend/plugins/jigoshop/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Jigoshop shop page loaded without headers…’ is closed to new replies.