PluginProbe
Ultimate Store Kit / trunk
Ultimate Store Kit vtrunk
3.0.8 3.0.9 3.1.0 3.1.2 3.1.3 3.0.7 3.0.5 3.0.4 3.0.3 3.0.2 trunk 1.5.0 1.5.1 1.5.2 1.6.1 1.6.2 1.6.3 1.6.4 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 All 92 releases
ultimate-store-kit / includes / builder / templates / single-post.php

single-post.php in Ultimate Store Kit trunk, at includes/builder/templates/single-post.php

36 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * The Template for displaying product archives, including the main shop page which is a post type archive
5 *
6 * This template can be overridden by copying it to yourtheme/woocommerce/archive-product.php.
7 *
8 * HOWEVER, on occasion WooCommerce will need to update template files and you
9 * (the theme developer) will need to copy the new files to your theme to
10 * maintain compatibility. We try to do this as little as possible, but it does
11 * happen. When this occurs the version of the template file will be bumped and
12 * the readme will list any important changes.
13 *
14 * @see https://docs.woocommerce.com/document/template-structure/
15 * @package WooCommerce\Templates
16 * @version 3.4.0
17 */
18
19 defined('ABSPATH') || exit;
20
21 // phpcs:disable WordPress.NamingConventions.PrefixAllGlobals -- usk_ / BDTUSK_ / ultimate-store-kit- are this plugin's established public prefixes. Ultimate Store Kit Pro calls into these names, as does third-party integration code, so renaming them is a breaking change. Plugin Check only recognises prefixes derived verbatim from the slug and so reports them as unprefixed.
22
23 use UltimateStoreKit\Builder\Builder_Integration;
24
25 get_header();
26
27 do_action('ultimate-store-kit-builder/woocommerce/before-main-content');
28
29 if (class_exists('Elementor\Plugin')) {
30 echo Elementor\Plugin::instance()->frontend->get_builder_content(Builder_Integration::instance()->current_template_id, false); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Elementor renders and escapes the builder content itself.
31 }
32
33 do_action('ultimate-store-kit-builder/woocommerce/after-main-content');
34
35 get_footer();
36