Pagebreak Description

描述

  • 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/custom.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
);

螢幕截圖

  • Block
  • View

Blocks

This plugin provides 1 block.

  • Page breaks and before/after descriptions 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.

安裝

  1. Upload pagebreak-description directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題

none

評價

There are no reviews for this plugin.

貢獻者及開發者

“Pagebreak Description” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Pagebreak Description 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Pagebreak Description 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

[1.01] 2024/01/14

  • Tweak – Support for Glotpress.

[1.00] 2024/01/14

Initial release.