Prev/Next code
-
I’ve been searching to see if there is a way for the pods to create a Prev and Next link specifically to a category within the same pods post-type. I’ve tried
[pods name=”PODSNAME” limit=”1″ id=”current” orderby=”previous” where=”LOCATION.slug=’CATEGORY1′.”]
Previous
[/pods]and
[pods name=”PODSNAME” limit=”1″ where=”LOCATION.slug=’CATEGORY1′”]
Next
[/pods]I am not sure if the id and orderby even accepts the command I’ve placed (amateur here). Not sure what else can be added or exclude.
The other thing I could do is use the site template’s Prev/Next but it will capture all the post created instead of the specific category.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Prev/Next code’ is closed to new replies.