Advertisement
Guest User

Untitled

a guest
Dec 4th, 2015
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. <?php
  2. remove_action( 'woocommerce_before_main_content', 'woocommerce_output_content_wrapper', 10);
  3. remove_action( 'woocommerce_after_main_content', 'woocommerce_output_content_wrapper_end', 10);
  4. remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10);
  5.  
  6. add_action('woocommerce_before_main_content', 'my_theme_wrapper_start', 10);
  7. add_action('woocommerce_after_main_content', 'my_theme_wrapper_end', 10);
  8. function my_theme_wrapper_start() {
  9. if(is_shop())
  10. { ?>
  11. <div class="container">
  12. <div class="pink-container">
  13. <div class="row-fluid">
  14. <div class="span3" id="pink_strip">
  15. <dl class="pink_title">
  16. <dt><?php _e("GET YOURSELF",'sis_spa'); ?>
  17. </dt>
  18. <dt>
  19. <div class="pink-head">
  20. <?php _e("REFRESHED",'sis_spa') ?></div>
  21. </dt>
  22. <dd></dd>
  23. </dl>
  24. </div>
  25. <div class="span6" id="banner_desc">
  26. <p> <?php
  27. echo _e("Description here ",'sis_spa') ;?></p>
  28. </div>
  29. <div class="spa_tag">
  30. <span>
  31.  
  32. <p> <?php echo '1234567890'; ?></p>
  33. </span>
  34. </div>
  35. </div>
  36. </div>
  37. </div>
  38. <?php } ?>
  39. <?php echo '<div class="container"><div class="row-fluid"><div class="span12">'; }
  40. function my_theme_wrapper_end() {
  41. echo '</div></div></div>';
  42. } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement