• Resolved timothy12

    (@timothy12)


    I’ve an issue and I have no clue what is causing it. I’ve a site with several posts, all using the same template (parts). Still there is a difference in how the page is displayed. On some pages, the social icons and the pagination are placed out of/under the div, while on other pages there are in it (as I want them to be).At the image you can see both situations. A is with the items outside the div, B has them inside.

    This is the source code of the page A. The div #content is the parent div in which all content should be. As you can see, the pagination is in the div, but in some occasions it’s placed outside it.


    <div id="content"> <div class="insidebox"

    <article id="post-372" class="post-372 post type-post status-publish format-standard has-post-thumbnail hentry category-docs category-klassenmanagement tag-kennismaken tag-nieuwe-klas tag-start-schooljaar tag-voorstellen tag-wennen tag-werkblad">
    <h1>Werkblad kennismaken</h1> <!-- post-label: datum & auteur --> <div class="post-label"> <div class="publication-date">5 augustus 2019</div><!-- /.publication-date --> <div class="info-divider">|</div><!-- /.info-divider --> <div class="author">Meester Erik</div><!-- /.author --> </div><!-- /.post-label -->

    <!-- inhoud post --> <div class="post-content">
    <p>Wenochtend. Stoeltjespassen. Het heeft verschillende namen, maar het moment dat je kennis gaat maken met je nieuwe klas, kent iedereen.</p>

    <span id="more-372"></span>

    <p>Het blad waarop kinderen dingen over zichzelf invullen, ontbreekt op zo’n moment natuurlijk niet. Ontelbare vriendenboekjes zijn er online te vinden, zo ook op deze pagina.</p>

    <figure class="wp-block-image"><img decoding="async" src="https://www.meestererik.nl/wp-content/uploads/2025/06/werkblad-kennismaken.jpg" alt=""/></figure>

    <h3 class="wp-block-heading">Download</h3>

    <div class="downloadbox"><div class="downloadbox-item"><div class="icon-type"><span class="icon-get_app"></span></div><div class="download-content"><a href="https://www.meestererik.nl/wp-content/uploads/2019/08/werkblad-kennismaking.pdf" target="_blank" rel="noreferrer noopener">Werkblad voorstellen</a></div></div></div><!-- /.downloadbox -->
    </div><!-- /.post-content -->

    <!-- post-label: categorieën, tags & edit --> <div class="post-label"> <div id="post-categories"><ul class="post-categories"> <li><a href="https://www.meestererik.nl/docs" rel="category tag">Docs</a></li> <li><a href="https://www.meestererik.nl/klassenmanagement" rel="category tag">Klassenmanagement</a></li></ul></div><!-- /#post-categories --><div id="post-tags"><a href="https://www.meestererik.nl/tag/kennismaken" rel="tag">kennismaken</a><a href="https://www.meestererik.nl/tag/nieuwe-klas" rel="tag">nieuwe klas</a><a href="https://www.meestererik.nl/tag/start-schooljaar" rel="tag">start schooljaar</a><a href="https://www.meestererik.nl/tag/voorstellen" rel="tag">voorstellen</a><a href="https://www.meestererik.nl/tag/wennen" rel="tag">wennen</a><a href="https://www.meestererik.nl/tag/werkblad" rel="tag">werkblad</a></div></div><!-- /#post-tags --><div id="post-edit"><a class="post-edit-link" href="https://www.meestererik.nl/wp-admin/post.php?post=372&action=edit">Bewerk post <span class="screen-reader-text">Werkblad kennismaken</span></a></div><!-- /#post-edit --> </div><!-- /.post-label -->

    <div id="post-navigation">
    <div class="post-navigation post-next"> <a href="https://www.meestererik.nl/sporen" rel="next"><div class="icon-chevron-left"></div><div class"post-title">Sporen</div></a> </div><!-- /.post-next -->
    <div class="post-navigation post-prev"> <a href="https://www.meestererik.nl/vertelpantomime-kapitein-roodbaard" rel="prev"><div class="post-title">Vertelpantomime – Kapitein Roodbaard</div><div class="icon-chevron-right"></div></a> </div><!-- /.post-prev -->

    </div><!-- /#post-navigation -->

    </article><!-- #post-372 --> </div><!-- /.insidebox --> </div><!-- /#content -->

    I don’t know if the publishing date has something to do with it, but situation A occurs on post published before February 2024.

    I hope someone can give me clue! 🙂

    Kind regards,
    Timothy

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Different post views with same template & css’ is closed to new replies.