when does <!--nextpage--> get processed by wordpress filtering. i am adding multiple paged posts in post content on the content_save_pre and this is good for rendering my shortcodes, but <!--nextpage--> doesnt get processed and shows up as an html comment
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
I am not sure what you mean by rendering shortcodes at that stage, they are usually rendered when content is retrieved for display. nextpage tag is processed in |
|||||
|
|
As an update. content_save_pre does process <!--nextpage--> i had the <!--nextpage--> tag inside the shortcode function, once i moved them outside, all was good. |
|||
|
|
content_save_preshould be a good place to insert it. Does it show in the editor if you edit the post again? Can you see a difference in the database between a break entered in the editor and one by your code? Are you sure you used<!--nextpage-->and no spaces in that code? – Jan Fabry Dec 31 '10 at 10:27