plugin-icon

Pagebreak Description

Page breaks and before/after descriptions
Beoordelingen
Laatst bijgewerkt
June 27, 2024
Versie
1.09
Actieve installaties
10
  • 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 );
Gratisop Creator abonnement
Door te installeren, ga je akkoord met de Servicevoorwaarden van WordPress.com en de voorwaarden voor plugins van derden.
Actieve installaties
10
Getest tot
6.6
Deze plugin kan worden gedownload, zodat je hem op je zelf-gehoste WordPress-installatie kan gebruiken.