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
function mycode_show_merchant_name_in_loop() { | |
global $product; | |
if ( !dfrpswc_is_dfrpswc_product( $product->get_id() ) ) { | |
return; | |
} | |
$dfr_product = dfrps_product( $product->get_id() ); | |
printf( ' %s ', esc_html( $dfr_product['merchant'] ) ); | |
} | |
add_action( 'rehub_vendor_show_action', 'mycode_show_merchant_name_in_loop', 5 ); |
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
// ReHUB Theme Compatibility | |
if( function_exists( 'rehub_option' ) ) { | |
$is_look_hook_defined = true; | |
if( $vendor_sold_by_position == 'bellow_title' ) { | |
remove_action( 'woocommerce_single_product_summary',array( &$this, 'wcfmmp_sold_by_single_product' ), 6 ); | |
add_action( 'rh_woo_single_product_title',array( &$this, 'wcfmmp_sold_by_single_product' ), 6 ); | |
}elseif( $vendor_sold_by_position == 'bellow_price' ) { | |
remove_action( 'woocommerce_single_product_summary', array( &$this, 'wcfmmp_sold_by_single_product' ), 15 ); | |
add_action( 'rh_woo_single_product_price', array( &$this, 'wcfmmp_sold_by_single_product' ), 15 ); | |
}elseif( $vendor_sold_by_position == 'bellow_sc' ) { |
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
[mycred_show_if balance=1 ctype="cbtrkr_approved_usd"] | |
<div class="floatright ml15"> | |
[wpsm_button_popup btn_text="Request cashback"] [contact-form-7 id="909" title="Request Payment"] [/wpsm_button_popup] | |
</div> | |
[/mycred_show_if] | |
<h3>Current approved Cashback is [mycred_total_balance types="cbtrkr_approved_usd"]</h3> | |
<div class="clearfix"></div> | |
[RH_ELEMENTOR id="871"] | |
<br /> | |
<h3>Cashback History</h3> |
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
[wpsm_is_user][RH_ELEMENTOR id="1016"][/wpsm_is_user] | |
[wpsm_is_guest]You must be <a class="act-rehub-login-popup" href="#">loggined</a> on Site to See Cashback Profile.[/wpsm_is_guest] |
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
////////////////////////////////////////////////////////////////// | |
// Offer List | |
////////////////////////////////////////////////////////////////// | |
if( !function_exists('wpsm_afflist_shortcode') ) { | |
function wpsm_afflist_shortcode( $atts, $content = null ) { | |
if(!isset($atts['show'])) { | |
$atts['show'] = 10; | |
} | |
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
add_action( 'wcfmmp_before_store_article', function( $store_id, $store_info ) { | |
?> | |
<div class="main-side clearfix<?php if (rehub_option('archive_layout') == 'gridfull' || rehub_option('archive_layout') == 'dealgridfull' || rehub_option('archive_layout') == 'compactgridfull' || rehub_option('archive_layout') == 'columngridfull' || rehub_option('archive_layout') == 'cardblogfull') : ?> full_width<?php endif ;?>"> | |
<?php if (rehub_option('archive_layout') == 'blog') : ?> | |
<div class=""> | |
<?php elseif (rehub_option('archive_layout') == 'newslist') : ?> | |
<div class=""> | |
<?php elseif (rehub_option('archive_layout') == 'communitylist') : ?> |
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
<link rel="preload" as="font" type="font/woff2" crossorigin href="https://recash.wpsoul.net/admin/fonts/webfonts/fa-brands-400.woff2" /> | |
<link rel="preload" as="font" type="font/woff2" crossorigin href="'https://recash.wpsoul.net/admin/fonts/webfonts/fa-light-300.woff2" /> | |
<link rel="preload" as="font" type="font/woff2" crossorigin href="'https://recash.wpsoul.net/admin/fonts/webfonts/fa-regular-400.woff2" /> | |
<link rel="preload" as="font" type="font/woff2" crossorigin href="https://recash.wpsoul.net/admin/fonts/webfonts/fa-solid-900.woff2" /> |
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
////////////////////////////////////////////////////////////////// | |
// Score box | |
////////////////////////////////////////////////////////////////// | |
if( !function_exists('wpsm_scorebox_shortcode') ) { | |
function wpsm_scorebox_shortcode( $atts, $content = null ) { | |
extract(shortcode_atts(array( | |
'criterias' => 'editor', | |
'simplestar' => '', | |
'offerbtn' => 'yes', |