Файловый менеджер - Редактировать - /home/digitalm/dolcelava/wp-content/plugins/-nd-shortcodes/addons/templates/page/layout/layout-6.php
Назад
<?php //get header metabox $nd_options_meta_box_page_header_img = get_post_meta( get_the_ID(), 'nd_options_meta_box_page_header_img', true ); $nd_options_meta_box_page_header_img_title = get_post_meta( get_the_ID(), 'nd_options_meta_box_page_header_img_title', true ); $nd_options_meta_box_page_header_img_position = get_post_meta( get_the_ID(), 'nd_options_meta_box_page_header_img_position', true ); if ( $nd_options_meta_box_page_header_img != '' ) { ?> <div id="nd_options_page_header_img_layout_5" class="nd_options_section nd_options_background_size_cover <?php echo esc_attr($nd_options_meta_box_page_header_img_position); ?>" style="background-image:url(<?php echo esc_url($nd_options_meta_box_page_header_img); ?>);"> <div class="nd_options_section nd_options_bg_greydark_alpha_3"> <!--start nd_options_container--> <div class="nd_options_container nd_options_clearfix"> <div id="nd_options_page_header_image_space_top" class="nd_options_section nd_options_height_110"></div> <div class="nd_options_section nd_options_padding_15 nd_options_box_sizing_border_box nd_options_text_align_center"> <h1 class="nd_options_color_white nd_options_font_weight_normal nd_options_first_font"> <span class="nd_options_display_block"><?php echo esc_html($nd_options_meta_box_page_header_img_title); ?></span> <div class="nd_options_section"><span class="nd_options_bg_white nd_options_width_80 nd_options_height_4 nd_options_display_inline_block"></span></div> </h1> </div> <div id="nd_options_page_header_image_space_bottom" class="nd_options_section nd_options_height_110"></div> </div> <!--end container--> </div> </div> <?php } ?> <!--page margin--> <?php if ( get_post_meta( get_the_ID(), 'nd_options_meta_box_page_margin', true ) != 1 ) { $nd_options_meta_box_page_margin = '<div class="nd_options_section nd_options_height_50"></div>'; }else{ $nd_options_meta_box_page_margin = ''; } $nd_options_allowed_html = [ 'div' => [ 'class' => [], ], ]; echo wp_kses( $nd_options_meta_box_page_margin, $nd_options_allowed_html ); ?> <!--start nd_options_container--> <div class="nd_options_container nd_options_padding_0_15 nd_options_box_sizing_border_box nd_options_clearfix"> <?php if(have_posts()) : while(have_posts()) : the_post(); ?> <!--post--> <div style="float:left; width:100%;" id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <!--automatic title--> <?php if ( get_post_meta( get_the_ID(), 'nd_options_meta_box_page_title', true ) != 1 ) { $nd_options_output_title = '<h1 class=""><strong>'.get_the_title().'</strong></h1><div class="nd_options_section nd_options_height_20"></div>'; $nd_options_allowed_html = [ 'h1' => [ 'class' => [], ], 'strong' => [], 'div' => [ 'class' => [], ], ]; echo wp_kses( $nd_options_output_title, $nd_options_allowed_html ); } ?> <!--start content--> <?php the_content(); ?> <!--end content--> </div> <!--post--> <?php endwhile; ?> <?php endif; ?> </div> <!--end container--> <!--page margin--> <?php echo wp_kses( $nd_options_meta_box_page_margin, $nd_options_allowed_html );
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Генерация страницы: 0.05 |
proxy
|
phpinfo
|
Настройка