Leave a Reply

58 Comments on "WordPress Pagination Tutorial (Custom Query & Template Integration)"

Notify of
avatar

Fred Hofstetter
Guest
Fred Hofstetter
9 days 20 hours ago

This was TREMENDOUSLY helpful. Thank you.

Victor Xu
Guest
Victor Xu
12 days 22 hours ago

you are a god

wawa wawar
Guest
wawa wawar
15 days 21 hours ago

être pédagogue n'est pas donné à tout le monde, c'est rare de voir des tuteurs ayant cette capacité de transmettre des connaissances de la sorte, avec peu d'exemples et qui résument le tout

Melany Alejandra Peirano
Guest
Melany Alejandra Peirano
1 month 13 days ago

Hi! I included echo paginate_links(); after the while loop in archive.php but it shows no results. After 10 entries it keeps saying "Older posts" and I really need it to be paginated. It´s a WordPress Parabola, should I use that code in a different php?I would really appreciate your help. Btw your video is very good, congratulations!

piyush sharma
Guest
piyush sharma
1 month 25 days ago
hiii i do it all the way you did it but mine doesn't workplz check my code if there is mistake let me know <?php $courrentpage = get_query_var('paged'); global $post; $args = new WP_query( array( 'posts_per_page' => 5 , 'category_name' => 'blog' , 'paged' => $currentpage )); $myposts = get_posts( $args ); ?> <div class="col-md-8"> <?php foreach( $myposts as $post ) : setup_postdata($post); ?> <div><div class=" blogpost" id="site-blog-post"><div class="box"> <div class="content-block"> <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3> <div class="dateval"><span><?php echo get_the_date(); ?></span></div> <p><?php the_excerpt(); ?></p> </div> </div> </div></div> <?php endforeach; ?> <?php paginate_links(array( 'total' => $arg->max_num_pages )); ?> </div><!-left section… Read more »
piyush sharma
Guest
piyush sharma
1 month 25 days ago

i found that i have spelling mistake i variable $currentpage but after correcting it still no working

katrin cabalida
Guest
katrin cabalida
1 month 25 days ago

Hello, I'm a beginner of WP. Thanks for this tutorial. This is very helpful. I get to learn WP theme dev one step at a time, and it's easy to follow. I like it when you give homework, I get to learn on my own. Hope to see more tutorials like this one. BTW, I followed your channel hoping to get more and learn more in easiest ways possible. THANK YOU! God Bless!

Fabio Prandoni
Guest
Fabio Prandoni
1 month 26 days ago

This is an insanaly good tutorial my friend!

Nathan Gueye
Guest
Nathan Gueye
2 months 8 hours ago

Hi Brad, I love your videos and they have helped me out so much. I just wanted to know if you were planning on making a jquery serie for wordpress?Cheers, and thanks for everything you do.

Aflam 4 All
Guest
Aflam 4 All
2 months 1 day ago

fuck you that doesn't work for me

Shailesh Thakor
Guest
Shailesh Thakor
2 months 3 days ago

thanks….

1 2 3 5
wpDiscuz