WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP-CodeBox] WP-Codebox permits WordPress to execute <!--nextpage--> (1 post)

  1. aldolat
    Member
    Posted 4 years ago #

    Hi,

    WP-Codebox works well for me.
    But today I saw that if I use this chunk of code in a post:

    <pre lang="php">global $page;
    $pages = count( explode( '<!--nextpage-->', $wp_query->post->post_content ) );
    if ($page) { echo ' | Pagina '.$page.' di '.$pages; }</pre>

    WordPress executes the nextpage intead of being blocked from doing it.

    http://wordpress.org/extend/plugins/wp-codebox/

Topic Closed

This topic has been closed to new replies.

About this Topic