Plugin to add <! — nexpage –> to posts
Greetings – I created a plugin to add the nextpage tag after x number of paragraphs in a post. The plugin is inserting <! — nextpage — > (spaces added so it doesn’t become a comment!) but the tag isn’t causing a true nextpage, it’s just printing as a comment.
I added it using the add_filter(‘the_content’, ‘addNextPageBL’); hook. My guess is I need to somehow hook earlier in the processing.
Any ideas what hook I should use?
- The topic ‘Plugin to add <! — nexpage –> to posts’ is closed to new replies.