How to paged a custom field

Problem

I have a custom field called “week” with values like 1, 2, 3 created with ACF would like to know how to be able to create a paged. I would like to put in a template a system that appears the week beginning with the last one. And a link for people to go back to the previous one.

Solution Attempt

At the beginning of the attempt to solve this, I failed. I can not get the custom field values and display the page via template. From what I understand custom field only appears in posts.

I tried with get_field() and get_fields() in my template and it did not work. I think it’s the wrong way to do what I want.

Read more here:: How to paged a custom field

Leave a Reply

Your email address will not be published. Required fields are marked *