I'm currently writing my first wordpress design and have some problems with the start page.
I want a static page to be the homepage. For this i made some changes to the page.php file to restructure it for the "home" page.
However when the specific page is set as start page the function
the_post()
Seems to output different results than when it's not the home page.
Used code:
while ( have_posts() ) : the_post();
get_template_part( 'template-parts/content', 'page' );
endwhile;
This part of the code loops through my poosts instead of outputting the content of my current static page - which I actually want. It somehow works when the page is not the home / start page...