Server : Apache System : Linux server.lienzindia.com 4.18.0-348.7.1.el8_5.x86_64 #1 SMP Wed Dec 22 13:25:12 UTC 2021 x86_64 User : plutus ( 1007) PHP Version : 7.4.33 Disable Function : NONE Directory : /home/plutus/public_html/wp-content/themes/vrm/ |
Upload File : |
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } get_header(); $post_id = get_the_ID(); $preview_width = get_post_meta( $post_id, 'preview_width', true ); $class = get_post_meta( $post_id, 'el_class', true ); ?> <div class="wpex-card-builder wpex-p-50"> <?php if ( $preview_width ) { echo '<div class="wpex-mx-auto" style="max-width:' . esc_attr( wpex_sanitize_data( $preview_width, 'fallback_px' ) ) . '">'; } else { echo '<div class="container">'; } ?> <?php while ( have_posts() ) : the_post(); $entry_class = [ 'wpex-card', 'wpex-card-template_' . absint( $post_id ), ]; if ( $class ) { $entry_class[] = esc_attr( $class ); } ?> <div class="<?php echo esc_attr( implode( ' ', $entry_class ) ); ?>"> <div class="wpex-card-inner"> <?php the_content(); ?> </div> </div> <?php endwhile; ?> </div> </div> <?php get_footer();