HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/Velosophe/dev.abloc.cc/wwwroot/app/themes/abloc/index.php
<?php
global $nm_theme_options;

$show_static_page = ( $nm_theme_options['blog_static_page'] ) ? true : false;

if ( $show_static_page ) {
	if ( function_exists( 'nm_blog_index_vc_styles' ) ) {
		// Custom vcomp styles - Must be included before "get_header()"
		add_action( 'wp_head', 'nm_blog_index_vc_styles', 1000 );
	}
}

$show_categories = ( $nm_theme_options['blog_categories'] ) ? true : false;
$categories_class = ( $show_categories ) ? '' : ' nm-blog-categories-disabled';

get_header(); ?>

<div class="nm-blog<?php echo esc_attr( $categories_class ); ?>">
    <?php
		// Note: Keep below "get_header()" (page not loading properly in some cases otherwise)
		$blog_page = ( $show_static_page ) ? get_page( $nm_theme_options['blog_static_page_id'] ) : false;
		
		if ( $blog_page ) :
	?>
    <div class="nm-page-full">
        <div class="entry-content">
            <?php echo do_shortcode( $blog_page->post_content ); ?>
        </div>
    </div>
	<?php endif; ?>
    
    <?php if ( $show_categories ) : ?>
    <div class="nm-blog-categories">
        <div class="nm-row">
            <div class="col-xs-12">
                <?php echo nm_blog_category_menu(); ?>
            </div>
        </div>
    </div>
	<?php endif; ?>
    
    <?php get_template_part( 'content' ); ?>
</div>

<?php get_footer(); ?>