template override for slider
-
Hello, is it possible to override the template for the slider in index.php file
//shortcode public function woof_price_filter($args = array()) { $type = 'slider'; if (isset($args['type']) AND $args['type'] == 'select') { $type = 'select'; } if (isset($args['type']) AND $args['type'] == 'text') { $type = 'text'; } if (isset($args['type']) AND $args['type'] == 'radio') { $type = 'radio'; } return $this->render_html(WOOF_PATH . 'views/shortcodes/woof_price_filter_' . $type . '.php', $args); }
I need to override return $this->render_html(WOOF_PATH . ‘views/shortcodes/woof_price_filter_’ . $type . ‘.php’, $args);
Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘template override for slider’ is closed to new replies.