%k25u25%fgd5n!
/home/nancmxek/ljsecuredoors.com/wp-content/themes/windoor/modules/post/helper.php
<?php

if( !function_exists('windoor_single_post_params_default') ) {
    function windoor_single_post_params_default() {
        $params = array(
            'enable_title'   		 => 0,
            'enable_image_lightbox'  => 0,
            'enable_disqus_comments' => 0,
            'post_disqus_shortname'  => '',
            'post_dynamic_elements'  => array( 'content', 'author_bio', 'comment_box', 'navigation' ),
            'post_commentlist_style' => 'rounded',
            'select_post_navigation' => 'type1',
        );

        return $params;
    }
}

if( !function_exists('windoor_single_post_misc_default') ) {
    function windoor_single_post_misc_default() {
        $params = array(
            'enable_related_article'=> 0,
            'rposts_title'   		=> esc_html__('Related Posts', 'windoor'),
            'rposts_column'         => 'one-third-column',
            'rposts_count'          => 3,
            'rposts_excerpt'        => 0,
            'rposts_excerpt_length' => 25,
            'rposts_carousel'       => 0,
            'rposts_carousel_nav'   => ''
        );

        return $params;
    }
}

if( !function_exists('windoor_single_post_params') ) {
    function windoor_single_post_params() {
        $params = windoor_single_post_params_default();
        return apply_filters( 'windoor_single_post_params', $params );
    }
}

add_action( 'windoor_after_main_css', 'post_style' );
function post_style() {
    if( is_singular('post') || is_attachment() ) {
        wp_enqueue_style( 'windoor-post', get_theme_file_uri('/modules/post/assets/css/post.css'), false, WINDOOR_THEME_VERSION, 'all');

        $post_style = windoor_get_single_post_style( get_the_ID() );
        if ( file_exists( get_theme_file_path('/modules/post/templates/'.$post_style.'/assets/css/post-'.$post_style.'.css') ) ) {
            wp_enqueue_style( 'windoor-post-'.$post_style, get_theme_file_uri('/modules/post/templates/'.$post_style.'/assets/css/post-'.$post_style.'.css'), false, WINDOOR_THEME_VERSION, 'all');
        }
    }
}

if( !function_exists('windoor_get_single_post_style') ) {
	function windoor_get_single_post_style( $post_id ) {
		return apply_filters( 'windoor_single_post_style', 'minimal', $post_id );
	}
}

if( !function_exists('windoor_breadcrumb_template_part') ) {
    function windoor_breadcrumb_template_part($args, $post_id) {
        $post_style = windoor_get_single_post_style( get_the_ID() );
        if(is_single($post_id) && $post_style == 'simple') {
           return;
        } else{
            echo windoor_html_output($args);
        }
    }
    add_filter( 'windoor_breadcrumb_get_template_part', 'windoor_breadcrumb_template_part', 10, 2 );
}

if( ! function_exists( 'windoor_breadcrumb_header_wrapper_classes' )  ) {
	function windoor_breadcrumb_header_wrapper_classes($classes) {
        $post_id = get_the_ID();
        $post_style = windoor_get_single_post_style( $post_id );
        if(is_single($post_id) && $post_style == 'simple') {
            array_push($classes, 'wdt-no-breadcrumb');
        }
        return $classes;
	}
	add_filter( 'windoor_header_wrapper_classes', 'windoor_breadcrumb_header_wrapper_classes', 10, 1 );
}

add_action( 'windoor_after_main_css', 'windoor_single_post_enqueue_css' );
if( !function_exists( 'windoor_single_post_enqueue_css' ) ) {
    function windoor_single_post_enqueue_css() {

        wp_enqueue_style( 'windoor-magnific-popup', get_theme_file_uri('/modules/post/assets/css/magnific-popup.css'), false, WINDOOR_THEME_VERSION, 'all');
    }
}

add_action( 'windoor_before_enqueue_js', 'windoor_single_post_enqueue_js' );
if( !function_exists( 'windoor_single_post_enqueue_js' ) ) {
    function windoor_single_post_enqueue_js() {

        wp_enqueue_script('jquery-magnific-popup', get_theme_file_uri('/modules/post/assets/js/jquery.magnific-popup.js'), array(), false, true);
    }
}

add_filter('post_class', 'windoor_single_set_post_class', 10, 3);
if( !function_exists('windoor_single_set_post_class') ) {
    function windoor_single_set_post_class( $classes, $class, $post_id ) {

        if( is_singular('post') || is_attachment() ) {
        	$classes[] = 'blog-single-entry';
        	$classes[] = 'post-'.windoor_get_single_post_style( $post_id );
        }

        return $classes;
    }
}

add_filter( 'comment_form_default_fields', 'windoor_custom_placeholder_comment_section', 10 );
function windoor_custom_placeholder_comment_section( $fields ) {

    $req = get_option( 'require_name_email' );
    $required_attribute = 'required="required"';
    $required_indicator = '<span class="required" aria-hidden="true">*</span>';

    $fields['author'] = sprintf(
        '<p class="comment-form-author">%s %s</p>',
        sprintf(
            '<input id="author" name="author" type="text" value="%s" size="30" maxlength="245" %s placeholder="Name *" />',
            esc_attr( isset($commenter['comment_author']) && !empty($commenter['comment_author']) ? $commenter['comment_author'] : '' ),
            ( $req ? $required_attribute : '' )
        ),
        sprintf(
            esc_html__( '', 'windoor' ),
            ( $req ? $required_indicator : '' )
        )
    );
    $fields['email'] = sprintf(
        '<p class="comment-form-email">%s %s</p>',
        sprintf(
            '<input id="email" name="email" type="email" value="%s" size="30" maxlength="100" aria-describedby="email-notes"%s placeholder="Email *" />',
            esc_attr( isset($commenter['comment_author_email']) && !empty($commenter['comment_author_email']) ? $commenter['comment_author_email'] : '' ),
            ( $req ? $required_attribute : '' )
        ),
        sprintf(
            esc_html__( '', 'windoor' ),
            ( $req ? $required_indicator : '' )
        )
    );
    $fields['url'] = sprintf(
        '<p class="comment-form-url">%s %s</p>',
        sprintf(
            '<input id="url" name="url" type="text" value="%s" size="30" maxlength="200" placeholder="Website "/>',
            esc_attr( isset($commenter['comment_author_url']) && !empty($commenter['comment_author_url']) ? $commenter['comment_author_url'] : '' )
        ),
        sprintf(
            esc_html__( '', 'windoor' )
        )
    );

    return $fields;

}

add_filter( 'comment_form_defaults', 'windoor_custom_placeholder_textarea_section', 10 );
function windoor_custom_placeholder_textarea_section( $fields ) {

    $req = get_option( 'require_name_email' );
    $required_attribute = 'required="required"';
    $required_indicator = '<span class="required" aria-hidden="true">*</span>';

    $replace_comment = esc_html__('Enter your comment', 'windoor');

    $fields['comment_field'] = sprintf(
        '<p class="comment-form-comment">%s %s</p>',
        '<textarea id="comment" name="comment" cols="45" rows="8" maxlength="65525" ' . $required_attribute . ' placeholder="Comment *"></textarea>',
        sprintf(
            esc_html__( '', 'windoor' ),
            $required_indicator
        )
    );

    return $fields;
}