Thread tagged as: Question, Problem, Blog

Paging link Issue

Hi I seem to be having a paging issue with my post in list page.

I have got replications of the page listing above every news entry. I don't need this obviously and I'm aware it will have been an error on my account. I just need the pagination to sit at the bottom below the orange line. Can anyone help i have attached my code below

<div class="row featurette">
    <div class="col-md-6">
        <ul class="no-bullet">
            <li class="no-bullet">
                <dateline><perch:blog id="postDateTime" format="%d %B %Y" /></deadline>
                    <a href="<perch:blog id="postURL" html="true"/>" rel="bookmark" class="entry-title">
                    <h2><perch:blog id="postTitle" label="NEWS TITLE"/></h2></a>

<perch:blog id="excerpt" type="textarea" html="true" /> <div class="readmore" ><img src="img/arrow.svg">  <a href="<perch:blog id="postURL" />">Read more</a></div> </li> </ul> </div> <div class="col-md-6"> <perch:if exists="image"><img class="featurette-image img-responsive" src="<perch:blog id="image" type="image" width="300" height="360" crop="true" />" alt="<perch:blog id="postTitle" />" /></perch:if> </div>


<hr class="featurette-divider">

<perch:if exists="paging">
    <div class="page">
     <perch:if exists="not_first_page">
            <a id="paging-link" href="<perch:blog id="prev_url" encode="false" />"> &lt;Previous</a>&nbsp;

        Page <perch:blog id="current_page" /> of <perch:blog id="number_of_pages" />
                   <perch:if exists="not_last_page">
           &nbsp; <a id="paging-link" href="<perch:blog id="next_url" encode="false" />"> Next &gt;</a>
Chris James

Chris James 0 points

  • 7 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Try wrapping it in <perch:after> tags.

Brilliant thank you Drew.