Accessing full post for split content
-
Dear All,
I have written a plugin that builds a table of content from the data in my blog posts using content filters. Unfortunately, it does not play well with posts that are split in pages (using <!–nextpage–>) because the filter does not see the full content of the post, but only the page being currently served. As a result, I get a different (crippled) table of content on each page of the article, matching only the displayed content.
How can my filter access the full content of the post (I guess WordPress has to load it in full?). If that’s not possible, how can I load it from the database from my plugin ?
Thanks for your help.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Accessing full post for split content’ is closed to new replies.