HEX
Server: LiteSpeed
System: Linux dal1.hostclusters.com 5.14.0-687.26.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 14 16:32:02 EDT 2026 x86_64
User: vslw (1496)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /home/vslw/public_html/wp-content/themes/soledad/inc/template-builder/archive-elements/render.php
<?php
add_filter( 'body_class', function ( $class ) {
	$class[] = 'pccustom-template-enable';

	return $class;
} );
get_header(); ?>
<div class="container-archive-page">
    <div id="main" class="penci-custom-archive-template">
		<?php
		$post_id = penci_should_render_archive_template();
		if ( $post_id ) {

			if ( class_exists( '\Elementor\Plugin' ) && did_action( 'elementor/loaded' ) && \Elementor\Plugin::$instance->documents->get( $post_id )->is_built_with_elementor() ) {

				echo penci_get_elementor_content( $post_id );

			} else {
				$builder_content = get_post( $post_id );
				echo '<div class="js-composer-content">';
				echo do_shortcode( $builder_content->post_content );

				$shortcodes_custom_css = get_post_meta( $post_id, '_wpb_shortcodes_custom_css', true );

				echo '<style data-type="vc_shortcodes-custom-css">';
				if ( ! empty( $shortcodes_custom_css ) ) {
					echo $shortcodes_custom_css;
				}
				echo '</style>';
				echo '</div>';
			}
		}
		?>
    </div>
</div>
<?php get_footer(); ?>