Same result with all plugins disabled. I’m new to WP coding, but looking at the front-page.php of the theme I’m using it doesn’t seem to have anything that would display a specific pages content in it. It seems to load some widget areas if they’re active, check for layout to see if it needs columns and then load recent posts with no handling for content when a static front page is used. Is that normal? Here’s the code:
<?php
/**
* Template to show the front page.
*
* @package ThemeGrill
* @subpackage ColorMag
* @since ColorMag 1.0
*/
?>
<?php get_header(); ?>
<div class="front-page-top-section clearfix">
<div class="widget_slider_area">
<?php
if( is_active_sidebar( 'colormag_front_page_slider_area' ) ) {
if ( !dynamic_sidebar( 'colormag_front_page_slider_area' ) ):
endif;
}
?>
</div>
<div class="widget_beside_slider">
<?php
if( is_active_sidebar( 'colormag_front_page_area_beside_slider' ) ) {
if ( !dynamic_sidebar( 'colormag_front_page_area_beside_slider' ) ):
endif;
}
?>
</div>
</div>
<div class="main-content-section clearfix">
<div id="primary">
<div id="content" class="clearfix">
<?php
if( is_active_sidebar( 'colormag_front_page_content_top_section' ) ) {
if ( !dynamic_sidebar( 'colormag_front_page_content_top_section' ) ):
endif;
}
if( is_active_sidebar( 'colormag_front_page_content_middle_left_section' ) || is_active_sidebar( 'colormag_front_page_content_middle_right_section' )) {
?>
<div class="tg-one-half">
<?php
if ( !dynamic_sidebar( 'colormag_front_page_content_middle_left_section' ) ):
endif;
?>
</div>
<div class="tg-one-half tg-one-half-last">
<?php
if ( !dynamic_sidebar( 'colormag_front_page_content_middle_right_section' ) ):
endif;
?>
</div>
<div class="clearfix"></div>
<?php
}
if( is_active_sidebar( 'colormag_front_page_content_bottom_section' ) ) {
if ( !dynamic_sidebar( 'colormag_front_page_content_bottom_section' ) ):
endif;
}
if (get_theme_mod('colormag_hide_blog_front', 0) == 0): ?>
<div class="article-container">
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php
if ( is_front_page() && is_home() ) {
get_template_part( 'content', '' );
} elseif ( is_front_page() ) {
get_template_part( 'content', 'page' );
}
?>
<?php endwhile; ?>
<?php get_template_part( 'navigation', 'none' ); ?>
<?php else : ?>
<?php get_template_part( 'no-results', 'none' ); ?>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
</div>
<?php colormag_sidebar_select(); ?>
</div>
<?php get_footer(); ?>
I’m trying the folder renaming suggested in the other thread as well, but that file seemed suspicious to me? Thanks for linking that thread, I tried searching for stuff related to this issue, but most of the threads I found were more than seven years old. >.<