ibrahimd
Member
Posted 2 years ago #
Hello,
I'm trying to write a script which create posts. I'm trying to split content into multiple pages with <!--nextpage-->, but it doesn't work. When I go to page of post, I see the content is something like that;
"blah blah <!--nextpage--> blah <!--nextpage--> blah...".
How can I do this? Does <!--nextpage--> tag works only adding post in admin panel?
Thanks
Check if your script is putting the code in as HTMLized (that is & lt ; and & gt ; for example ... minus spaces.). You can view source of your post to (possibly) see what it is.
ibrahimd
Member
Posted 2 years ago #
I've done it yesterday. It's not HTMLized.
Can you pass through shortcodes? It may be beneficial to make a shortcode for nextpage for your script.
Mind, why are you using the script? :)
ibrahimd
Member
Posted 2 years ago #
It's not possible, I can't pass through shortcodes. I'm planning to sell it multiple times, so it would be hard to apply many changes to customer's theme.
Nope, it's a content bot :)
ibrahimd
Member
Posted 2 years ago #
Solved.
It's my mistake. It only doesn't work when the post starts with <!--nextpage--> :)