I set thistheme up on my development site and it does not do what yous does. The default Home page template loads fine and shows the page content.
Go to Appearance > editor.
On the right list of templates (php), find one that is named “content-page.php”.
Click on it and you will see the code.
Compare it to this and see if it is the same:
<?php
/**
* Page content
*
* @package Auberge
* @copyright 2015 WebMan - Oliver Juhas
*
* @since 1.0
* @version 1.4.6
*/
$pagination_suffix = wm_paginated_suffix( 'small', 'post' );
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); echo apply_filters( 'wmhook_entry_container_atts', '' ); ?>>
<?php
/**
* Page featured image
*/
if (
has_post_thumbnail()
&& ! $pagination_suffix
&& apply_filters( 'wmhook_entry_featured_image_display', true )
) :
$image_link = array_filter( (array) apply_filters( 'wmhook_entry_image_link', wp_get_attachment_image_src( get_post_thumbnail_id(), 'full' ) ) );
?>
<div class="entry-media">
<figure class="post-thumbnail"<?php echo wm_schema_org( 'image' ); ?>>
<?php
if ( ! empty( $image_link ) ) {
echo '<a href="' . esc_url( $image_link[0] ) . '" title="' . the_title_attribute( 'echo=0' ) . '">';
}
the_post_thumbnail( apply_filters( 'wmhook_entry_featured_image_size', 'thumbnail' ) );
if ( ! empty( $image_link ) ) {
echo '</a>';
}
?>
</figure>
</div>
<?php
endif;
/**
* Page content
*/
echo '<div class="entry-inner">';
wmhook_entry_top();
echo '<div class="entry-content"' . wm_schema_org( 'entry_body' ) . '>';
the_content();
echo '</div>';
wmhook_entry_bottom();
echo '</div>';
?>
</article>
(I won’t be on for a while – gotta go to work)
Thread Starter
bvelte
(@bvelte)
Hi there,
it is absolutely the same, I also c&p’d your code into mine and updated it… still it does not change anything…. I will probably have to setup the whole wordpress again :///
Thread Starter
bvelte
(@bvelte)
hi again,
I found a bad solution… As I mentioned in an earlier post the <section class="blog-posts page-section"> loads where the posts on my static page appear. The .php that calls this class is the “loop-blog-condensed.php”. I commented out the whole content.
Now the posts don’t appear on the static page anymore, on the Posts-Page they do.
Maybe you could also post the content of your loop-blog-condensed.php.
thanks for all !
As I mentioned in an earlier post the <section class=”blog-posts page-section”> loads where the posts on my static page appear. The .php that calls this class is the “loop-blog-condensed.php”. I commented out the whole content.
Could you un-comment-out this section, please.
Go to Appearance > Customize > Static Front Page
Make sure your Static Front Page is set to “A static page” and that the “Posts page” is set to News.
Then go to Appearance > Customize > Theme > Layout.
There are two drop-downs:
1 – Condensed blog posts
2 – Food menu
Set “Condensed blog posts” to “Disable section” and press blue “Save” button.
Check the front page of your site.