Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

How to use pagination in archive

$
0
0

Replies: 0

Hello,
I want to create a pagination on a archive page.
I had already created the template inside of the pods template

<!--+++++++++++PORTFOLIO ITEM+++++++++++-->
        <div class="portfolio oceans terres atmosphere" style="display: inline-block;" data-bound="">
            <div class="item_paysage"> 
              <a class="item_link" a href="?p={@ID}">
                <div class="vignette"> 
                    <div class="substitute_img fa fa-users"></div>
                    <!--<img class="masque" src="http://wordpress.localhost/wp-content/themes/ipsltheme/ipsl/img/masque_paysage.png" alt="Masque IPSL"> -->
                    <img class="masque noprint" src='[masque name="portrait"]' alt="Marque IPSL"> 
                </div>
              </a>
              <figcaption>
                <div class="img_title">{@post_title}</div>
                <div class="propos_img">{@ezdescription} </div>
              </figcaption>
              
              <button class="btn nuance-1"><a href="?p={@ID}"><span class="btn_title">Voir l'offre</span></a></button>
              <!--<button class="btn nuance-1"><a href="#"><i class="fa ipsl_sphere"></i></a><span class="btn_action">Site dédié</span></button>-->
            </div>
          </div>
      <!--FIN PORTFOLIO ITEM-->

Then I created a new page and add the shortcode :

[pods name="emploi" pagination=”true” orderby="eznaturecontrat.post_name desc, post_date desc" template="archive_template_emploi" limit="5" where="t.post_status in('publish')" ]

But I can’t see the pagination on my page, what did I missed please ?


Viewing all articles
Browse latest Browse all 59525

Trending Articles