protected function display_detail()
 {
     // Default template is the loop-all
     self::$template_part = "single-item";
     $inventory_id = self::$loop->single_id();
     return $this->get_template(self::$template_part . '.php', FALSE, 'single');
 }
Example #2
0
 public static function shortcode($args)
 {
     self::$shortcode = WPIMShortcode::getInstance();
     return self::$shortcode->get($args);
 }