Operation of WP page generator
-
Hi there,
I have a function that essentially replaces a custom quicktag such as <!–show 50 things–> with, well, a whole lot of HTML say, a list, of 50 things.
Now…
What I want to be able to do is paginate the list of 50 things. WordPress lets you paginate normal posts with <!–nextpage–> so I figured hey, what if I echo’d out that after say, every 10 items.However, the pagination must take place before my content is generated, because all I end up with is a list of 50 items with <!–nextpage–> comments in the HTML.
Not very paginated.
My question is, is it possible to force a re-parse of quicktags somehow? Specifically the ones responsible for pagination?
My plugin returns $content as is the usual way, so being able to hit it again with a quicktag parsing function would be awesome.
Kind regards,
Denyerec
- The topic ‘Operation of WP page generator’ is closed to new replies.