PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
wilcity-shortcodes
/
default-sc
<?php add_shortcode('wilcity_sidebar_claim', 'wilcitySidebarClaim'); function wilcitySidebarClaim($aArgs){ global $post; $status = \WilokeListingTools\Framework\Helpers\GetSettings::getPostMeta($post->ID, 'claim_status'); $aSupportedPostTypes = \WilokeListingTools\Framework\Helpers\GetSettings::getFrontendPostTypes(true); if ( !in_array($post->post_type, $aSupportedPostTypes) ){ return ''; } if ( $status == 'claimed' ){ return ''; } $aAtts = \WILCITY_SC\SCHelpers::decodeAtts($aArgs['atts']); $aAtts = wp_parse_args( $aAtts, array( 'name' => esc_html__('Claim Listing', 'wilcity-shortcodes'), 'boxTitle' => esc_html__('Is this your business?', 'wilcity-shortcodes'), 'boxDesc' => esc_html__('Claim listing is the best way to manage and protect your business.', 'wilcity-shortcodes'), 'icon' => 'la la-qq', 'desc' => '', 'currencyIcon' => 'la la-dollar' ) ); if ( isset($aAtts['isMobile']) ){ return apply_filters('wilcity/mobile/sidebar/claim', $post, $aAtts); } ob_start(); ?> <div class="<?php echo esc_attr(apply_filters('wilcity/filter/class-prefix', 'wilcity-sidebar-item-claim')); ?> content-box_module__333d9"> <?php wilcityRenderSidebarHeader($aAtts['name'], $aAtts['icon']); ?> <div class="content-box_body__3tSRB"> <div class="promo-item_module__24ZhT"> <div class="promo-item_group__2ZJhC"> <h3 class="promo-item_title__3hfHG"><?php echo esc_html($aAtts['boxTitle']); ?></h3> <p class="promo-item_description__2nc26"><?php Wiloke::ksesHTML($aAtts['boxDesc'], false); ?></p> </div> <div class="promo-item_action__pd8hZ"> <wil-claim-btn :post-id="<?php echo abs($post->ID); ?>"></wil-claim-btn> </div> </div> </div> </div> <?php $content = ob_get_contents(); ob_end_clean(); return $content; }
[+]
..
[-] wilcity-sidebar-single-price.php
[edit]
[-] wilcity-sidebar-list.php
[edit]
[-] wilcity-sidebar-business-hours.php
[edit]
[-] wilcity-header-slider.php
[edit]
[-] wilcity-author-profile.php
[edit]
[-] wilcity-sidebar-bookingcombannercreator.php
[edit]
[-] wilcity-sidebar-grid.php
[edit]
[-] wilcity-sidebar-categories.php
[edit]
[-] wilcity-sidebar-woocommerce-booking.php
[edit]
[-] wilcity-sidebar-slider.php
[edit]
[-] wilcity-thankyou-addlisting-pending.php
[edit]
[-] wilcity-gallery.php
[edit]
[-] wilcity-list-features.php
[edit]
[-] wilcity-group-properties.php
[edit]
[-] wilcity-sidebar-coupon.php
[edit]
[-] wilcity-listing-social-networks.php
[edit]
[-] wilcity-sidebar-header.php
[edit]
[-] wilcity-sidebar-taxonomy.php
[edit]
[-] wilcity-sidebar-statistics.php
[edit]
[-] wilcity-thankyou-promotion.php
[edit]
[-] wilcity-googlemap.php
[edit]
[-] wilcity-sidebar-terms-box.php
[edit]
[-] wilcity-sidebar-custom.php
[edit]
[-] wilcity-sharing-posts.php
[edit]
[-] wilcity-get-coupon.php
[edit]
[-] wilcity-google-adsense-in-article.php
[edit]
[-] wilcity-google-adsense.php
[edit]
[-] wilcity-sidebar-business-info.php
[edit]
[-] wilcity-pricing.php
[edit]
[-] wilcity-sidebar-price-range.php
[edit]
[-] wilcity-sidebar-related-listings.php
[edit]
[-] wilcity-sidebar-claim.php
[edit]
[-] wilcity-sidebar-my-products.php
[edit]
[-] wilcity-custom-login.php
[edit]
[-] wilcity-my-bank-account.php
[edit]
[-] wilcity-render-box-icon1.php
[edit]
[-] wilcity-sidebar-tags.php
[edit]
[-] wilcity-sidebar-google-adsense.php
[edit]
[-] wilcity-thankyou-addlisting-approved.php
[edit]