Posts Per Page

I have a looper setup. All is good there. I added a drop-down to update the URL to something like /artist-directory/?posts_per_page=5

I am using the following, to read the URL query var, but it is not working.

{{dc:query:query_var key=“posts_per_page”}}

Am I missing something? Thank you!

Hey Michael,

Thanks for reaching out!

It would be great if you could share with us your credentials so that we can check on your setup properly. That being said, please give us the following information in a Secure Note.

  • WordPress Login URL
  • Admin level username and password
  • Page URL in question

You can find the Secure Note button at the bottom of your posts.

Thank you.

Info sent. THANK YOU!!!

Hi Michael,

You need to use {{dc:url:param key=“post_per_page”}} to get the parameter value coming through the URL.

Thanks

OK, and I added the fallback. Thank you!

Hi Michael,

Glad that we are able to help you.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.