wptg-cpt

The Responsive Minimal wptg cpt shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[wptg-cpt]'); 
  1. // variable usage 
  2. $result = do_shortcode('[wptg-cpt]'); 
  3. echo $result;  

Defined (1)

The shortcode is defined in the following location(s).

/functions/shortcodes.php  
  1. $multitask .= '<div class="getPostTypeGallery">'.ob_get_clean(); 
  2. $multitask .= '</div><!-- end taxonomy_filter -->'; 
  3. $multitask .= '<div class="clear"></div></div><!-- end getPostTypeGallery container -->'; 
  4. return $multitask; 
  5. add_shortcode('wptg-cpt', 'getPostTypeGallery'); 
  6.  
  7.  
  8. add_filter( 'widget_text', 'shortcode_unautop'); 
  9. add_filter( 'widget_text', 'do_shortcode'); 
  10.