Pagebreak Description

Page breaks and before/after descriptions

Author:Katsushi Kawamori (profile at wordpress.org)
WordPress version required:6.6
WordPress version tested:6.9
Plugin version:1.12
Added to WordPress repository:13-01-2024
Last updated:25-11-2025
Rating, %:100
Rated by:1
Plugin URI:https://wordpress.org/plugins/pagebreak-descr...
Total downloads:3 421
Active installs:90+
plugin download
Click to start download
  • Enter page breaks and before/after descriptions. Values are used in pagination.
  • Do not mix this block with the Page Break block, as it may cause the comment to be misaligned.

How it works

Filter hooks

/** ==================================================
 * Filter for CSS URL.
 * Default CSS -> /pagebreak-description/css/style.css
 */
add_filter(
    'pagebreak_description_css', 
    function() {

        /* If you put mydesign.css in wp-content/uploads */
        $wp_uploads = wp_upload_dir();
        $upload_url = $wp_uploads['baseurl'];
        if ( is_ssl() ) {
            $upload_url = str_replace( 'http:', 'https:', $upload_url );
        }
        $upload_url = untrailingslashit( $upload_url );
        $url = $upload_url . '/mydesign.css';

        return $url;
    },
    10,
    1
);

Screenshots
FAQ
ChangeLog