WooCommerce
-
I want to use woocommerce with your theme, but it said it is not supported by your theme. Now I’ve changed some settings as shown on there documentation page (http://docs.woothemes.com/document/third-party-custom-theme-compatibility/), but I doubt if I done it the right way. Can you tell me what I’m doing wrong, because the message that woocommerce isn’t supported by Techozoic is still shown in my admin area.
<?php get_header(); $tech_sidebar = get_post_meta( $post->ID, "Sidebar_value", $single = true ); if ( empty( $tech_sidebar ) ) { $tech_sidebar = "unset"; } if ( (of_get_option( 'single_sidebar', '0' ) == "1" && $tech_sidebar == "unset") || $tech_sidebar == "on" ) { tech_show_sidebar( "l" ); } ?> <div id="content" class="<?php echo ( (of_get_option( 'single_sidebar', '0' ) == "1" && $tech_sidebar == "unset") || $tech_sidebar == "on" ) ? "narrow" : "wide"; ?>column"> <?php if ( get_the_title() ) { ?> <h1 class="post_title"> <?php the_title(); ?> </h1> <?php woocommerce_content(); ?> <div <?php post_class( 'post clear' ); ?> id="post-<?php the_ID(); ?>"> <div class="singlepost entry"> <?php if ( function_exists( 'the_post_thumbnail' ) ) the_post_thumbnail(); the_content( '<p class="serif">' . __( 'Lees de rest van deze pagina.', 'techozoic' ) . '»</p>' ); wp_link_pages( '<p><strong>' . __( 'Pagina:', 'techozoic' ) . '</strong> ', '</p>', 'number' ); ?> </div> </div> <?php } //End While Loop } //End If have_posts edit_post_link( __( 'Bewerk deze pagina.', 'techozoic' ), '<p>', '</p>' ); ?> <br /> <?php comments_template(); ?> </div> <?php if ( (of_get_option( 'single_sidebar', '0' ) == "1" && $tech_sidebar == "unset") || $tech_sidebar == "on" ) { tech_show_sidebar( "r" ); } get_footer(); ?>
The topic ‘WooCommerce’ is closed to new replies.
