Static home page sidebar

After turning on the static homepage for my site (, I noticed that my right sidebar was somehow ‘entangled’ within the homepage (as you can see on the site). When checking the HTML code, the sidebar code has somehow nested in the article/pagetext. If I manually move the sidebar code to the right place (after <!-- #primary), the sidebar moves to the right position again.
I can’t seem to figure out what is going wrong, and what to do to fix it, since the get_sidebar() function is called only after the insertion of <!-- #primary, but the sidebar code is somehow inserted well before that. Is there any known fix for this issue?

Alrighty, I fixed it myself. For me, the solution was commenting out the following lines in the ‘content-page.php’ file

if ( is_front_page() ) :
  get_sidebar( 'home' );

This disables custom homepage sidebar widgets, and just runs the default sidebar.

Hi @afstkla,

Awesome great to see you got that resolved.

Please advise if you have more questions.

Have a fantastic day!