Pagination with in WP 3.0 (6 posts)

  1. ibrahimd
    Posted 5 years ago #

    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?


  2. 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.

  3. ibrahimd
    Posted 5 years ago #

    I've done it yesterday. It's not HTMLized.

  4. 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? :)

  5. ibrahimd
    Posted 5 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 :)

  6. ibrahimd
    Posted 5 years ago #

    It's my mistake. It only doesn't work when the post starts with <!--nextpage--> :)

Topic Closed

This topic has been closed to new replies.

About this Topic