comment_type ) : case 'pingback' : case 'trackback' : ?>
  • id="li-comment-">
    comment_approved == '0' ): _e( 'Your comment is awaiting moderation.', 'illdy' ); endif; ?>
    $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
    get_col( $wpdb->prepare( "SELECT ID FROM $wpdb->posts WHERE guid='%s';", $image_url ) ); if( $attachment ) { return $attachment[0]; } } } /** * Sections order */ if( !function_exists( 'illdy_sections_order' ) ) { function illdy_sections_order( $input ) { $about_general_show = get_theme_mod( 'illdy_about_general_show', 1 ); $projects_general_show = get_theme_mod( 'illdy_projects_general_show', 1 ); $testimonials_general_show = get_theme_mod( 'illdy_testimonials_general_show', 1 ); $services_general_show = get_theme_mod( 'illdy_services_general_show', 1 ); $latest_news_general_show = get_theme_mod( 'illdy_latest_news_general_show', 1 ); $counter_general_show = get_theme_mod( 'illdy_counter_general_show', 1 ); $team_general_show = get_theme_mod( 'illdy_team_general_show', 1 ); $contact_us_general_show = get_theme_mod( 'illdy_contact_us_general_show', 1 ); if( $input == 1 && $about_general_show == 1 ) { get_template_part( 'sections/front-page', 'about' ); } elseif( $input == 2 && $projects_general_show == 1 && illdy_is_active_jetpack_projects() ) { get_template_part( 'sections/front-page', 'projects' ); } elseif( $input == 3 && $testimonials_general_show == 1 && illdy_is_active_jetpack_testimonials() ) { get_template_part( 'sections/front-page', 'testimonials' ); } elseif( $input == 4 && $services_general_show == 1 ) { get_template_part( 'sections/front-page', 'services' ); } elseif( $input == 5 && $latest_news_general_show == 1 ) { get_template_part( 'sections/front-page', 'latest-news' ); } elseif( $input == 6 && $counter_general_show == 1 ) { get_template_part( 'sections/front-page', 'counter' ); } elseif( $input == 7 && $team_general_show == 1 ) { get_template_part( 'sections/front-page', 'team' ); } elseif( $input == 8 && $contact_us_general_show == 1 ) { get_template_part( 'sections/front-page', 'contact-us' ); } } } #Create admin notice $pixova_show_update_notice = get_option( 'illdy-remove-update-notice', false ); if ( ! $pixova_show_update_notice && 'posts' == get_option( 'show_on_front' ) && current_user_can( 'manage_options' ) ) { add_action( 'admin_enqueue_scripts', 'illdy_enqueue_notice_js' ); add_action( 'admin_notices', 'illdy_admin_notice_html' ); add_action( 'wp_ajax_illdy_remove_upate_notice', 'illdy_disable_notice_ajax' ); } function illdy_enqueue_notice_js( $hook ) { wp_enqueue_script( 'illdy-update-error-status', get_template_directory_uri() . '/layout/js/illdy_notice.js', array( 'jquery' ), '1.0', true ); } function illdy_admin_notice_html() { ?>

    ' . __( 'Settings > Readings', 'illdy' ) . ' '; _e( 'and set your front page to display a page.', 'illdy' ); ?>