PATH:
home
/
fengshp
/
www
/
wp-content
/
plugins
/
themify-builder-pro
/
templates
<?php /** * Template Archive Cover Image * * Access original fields: $args['mod_settings'] * @author Themify */ defined('ABSPATH') || exit; // Exit if accessed directly /* spoof Image module */ $args['mod_settings']['css_image'] = 'module-' . $args['mod_name']; $args['mod_name'] = 'image'; /* disable inline editor */ if ( is_category() || is_tag() || is_tax() ) { $cat = get_queried_object(); $value = get_term_meta( $cat->term_id, 'tbp_cover', true ); if(empty($value) && themify_is_woocommerce_active() && is_product_category()){ $value=get_term_meta($cat->term_id, 'thumbnail_id', true); if(!empty($value)){ $value=wp_get_attachment_url( $value); } } $args['mod_settings']['url_image'] = $value; $args['mod_settings']['title_image'] = single_term_title( '', false ); } elseif ( Themify_Builder::$frontedit_active===true || is_singular( Tbp_Templates::SLUG ) ) { $args['mod_settings']['url_image'] = THEMIFY_BUILDER_URI . '/img/image-placeholder.png'; $args['mod_settings']['title_image'] = __( 'Archive Title', 'tbp' ); } self::retrieve_template( 'template-image.php', $args ,THEMIFY_BUILDER_TEMPLATES_DIR); $args=null;
[+]
..
[-] template-related-posts.php
[edit]
[-] template-search-form.php
[edit]
[-] template-author-info.php
[edit]
[-] template-wc-notices.php
[edit]
[-] template-checkout-shipping.php
[edit]
[-] template-taxonomy.php
[edit]
[-] template-woocommerce-hook.php
[edit]
[-] template-upsell-products.php
[edit]
[-] template-crosssell-products.php
[edit]
[-] template-comments.php
[edit]
[-] template-stats.php
[edit]
[-] template-wishlist-icon.php
[edit]
[-] template-advanced-products.php
[edit]
[-] template-advanced-posts.php
[edit]
[-] template-breadcrumbs.php
[edit]
[-] template-product-title.php
[edit]
[-] template-site-logo.php
[edit]
[-] template-cart-totals.php
[edit]
[-] template-product-description.php
[edit]
[-] template-product-reviews.php
[edit]
[-] template-archive-image.php
[edit]
[-] template-related-products.php
[edit]
[-] template-add-to-cart.php
[edit]
[-] template-cart-items.php
[edit]
[-] template-product-taxonomy.php
[edit]
[-] template-acf-repeater.php
[edit]
[-] template-post-title.php
[edit]
[-] template-readtime.php
[edit]
[-] template-archive-products.php
[edit]
[-] template-checkout-review.php
[edit]
[-] template-woocommerce-breadcrumb.php
[edit]
[-] template-checkout-billing.php
[edit]
[-] template-product-price.php
[edit]
[+]
partials
[-] template-ptb-repeater.php
[edit]
[-] template-post-meta.php
[edit]
[-] template-post-content.php
[edit]
[-] template-product-stock-status.php
[edit]
[-] template-product-meta.php
[edit]
[-] template-wishlist-link.php
[edit]
[-] template-archive-title.php
[edit]
[-] template-archive-posts.php
[edit]
[-] template-checkout-information.php
[edit]
[-] template-archive-description.php
[edit]
[-] template-product-rating.php
[edit]
[-] template-product-image.php
[edit]
[-] template-featured-image.php
[edit]
[-] template-checkout-coupon.php
[edit]
[-] template-site-tagline.php
[edit]
[-] template-checkout-payment.php
[edit]
[-] template-post-navigation.php
[edit]
[-] template-cart-icon.php
[edit]
[+]
wc