This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Elementor Function Code | |
class ElementorCustomElement | |
{ | |
private static $instance = null; | |
public static function get_instance() | |
{ | |
if (!self::$instance) | |
self::$instance = new self; | |
return self::$instance; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Elementor Function Code | |
class ElementorCustomElement | |
{ | |
private static $instance = null; | |
public static function get_instance() | |
{ | |
if (!self::$instance) | |
self::$instance = new self; | |
return self::$instance; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul class="products"> | |
<?php | |
$args = array( | |
'post_type' => 'product', | |
'posts_per_page' => 12, | |
'tax_query' => array( | |
array( | |
'taxonomy' => 'product_visibility', | |
'field' => 'name', | |
'terms' => 'featured', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'woocommerce_pagination_args', 'rocket_woo_pagination' ); | |
function rocket_woo_pagination( $args ) { | |
$args['prev_text'] = '<i class="fa fa-angle-left"></i>'; | |
$args['next_text'] = '<i class="fa fa-angle-right"></i>'; | |
return $args; | |
} |