{"id":125441,"date":"2024-01-13T08:00:00","date_gmt":"2024-01-13T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/pagebreak-description\/"},"modified":"2025-04-04T06:54:00","modified_gmt":"2025-04-04T06:54:00","slug":"pagebreak-description","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/pagebreak-description\/","title":{"rendered":"Pagebreak Description"},"content":{"rendered":"<ul>\n<li>Enter page breaks and before\/after descriptions. Values are used in pagination.<\/li>\n<li>Do not mix this block with the Page Break block, as it may cause the comment to be misaligned.<\/li>\n<\/ul>\n<h4>How it works<\/h4>\n<p><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><iframe loading=\"lazy\" class=\"youtube-player\" width=\"750\" height=\"422\" src=\"https:\/\/www.youtube.com\/embed\/4WNGiGnnjbc?version=3&rel=1&showsearch=0&showinfo=1&iv_load_policy=1&fs=1&hl=en-US&autohide=2&wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\"><\/iframe><\/span><\/p>\n<h4>Filter hooks<\/h4>\n<pre><code>\/** ==================================================\n * Filter for CSS URL.\n * Default CSS -> \/pagebreak-description\/css\/style.css\n *\/\nadd_filter(\n    'pagebreak_description_css', \n    function() {\n\n        \/* If you put mydesign.css in wp-content\/uploads *\/\n        $wp_uploads = wp_upload_dir();\n        $upload_url = $wp_uploads['baseurl'];\n        if ( is_ssl() ) {\n            $upload_url = str_replace( 'http:', 'https:', $upload_url );\n        }\n        $upload_url = untrailingslashit( $upload_url );\n        $url = $upload_url . '\/mydesign.css';\n\n        return $url;\n    },\n    10,\n    1\n);\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Page breaks and before\/after descriptions<\/p>\n","protected":false},"author":65,"featured_media":319405,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Pagebreak Description - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Page breaks and before\/after descriptions"},"footnotes":""},"categories":[1],"tags":[288,23510,34578,4103,34579],"class_list":["post-125441","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-block","tag-next-page","tag-pagebreak","tag-pagination","tag-prev-page"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/125441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=125441"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/125441\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/319405"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=125441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=125441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=125441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}