daily pastebin goal
32%
SHARE
TWEET

WooCommerce - Add text after shop content

lorro Nov 19th, 2017 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.   // WooCommerce - Add text after shop content
  3.   add_action( 'woocommerce_after_main_content', 'my_text', 20 );
  4.   function my_text() {
  5.     if( is_shop() ) {
  6.       print '<p>My text here</p>';
  7.     }
  8.   }
RAW Paste Data
Top