[Plugin: Instapress] Pagination doesn't work for tags
-
Inserting a shortcode of the form:
[instapress tag="xxx" piccount="xxxx" paging="1"]
causes very unusual results. Regardless of whether or not there are more pages to view, a ‘next page’ link appears. After clicking this, no more pictures are loaded – but several more ‘next page’ links, so after clicking this a few times you can have 5 or more next page links at the bottom.
Have done some quick looking through the code and responses. I had 12 pictures in instagram, and wanted to show 4 per page, say. It appears that piccount is ignored when sending the request to instagram, so it was grabbing all 12 pictures, and no ‘max_id’ was being returned in the pagination variable at all. I suspect that is the cause of at least some of the problems, but perhaps there are others too.
- The topic ‘[Plugin: Instapress] Pagination doesn't work for tags’ is closed to new replies.