Title: [Plugin: WP-CodeBox] WP-Codebox permits WordPress to execute nextpage
Last modified: August 19, 2016

---

# [Plugin: WP-CodeBox] WP-Codebox permits WordPress to execute nextpage

 *  [Aldo Latino](https://wordpress.org/support/users/aldolat/)
 * (@aldolat)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-codebox-wp-codebox-permits-wordpress-to-execute-nextpage/)
 * 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/](http://wordpress.org/extend/plugins/wp-codebox/)

The topic ‘[Plugin: WP-CodeBox] WP-Codebox permits WordPress to execute nextpage’
is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [Aldo Latino](https://wordpress.org/support/users/aldolat/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-codebox-wp-codebox-permits-wordpress-to-execute-nextpage/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
