內容簡介
您不必輸入摘錄。插件會從內容自動創建摘錄。
字符數在 "excerpt_length" 過濾器中設置。
"繼續閱讀" 設置在 "excerpt_more" 過濾器中。
如果有 "<!–more–>",則不創建摘錄。
如果 "va_excerpt_from_content_strip_all_tags" 過濾器為 true,則去除 HTML 內容。
// remove the html.
add_filter('va_excerpt_from_content_strip_all_tags', '__return_true');
需求
WordPress 4.5 或更高
PHP 5.6+
貢獻!
您可以從GitHub中fork這個外掛
外掛標籤
開發者團隊
原文外掛簡介
You don’t need to enter an excerpt. Plug-ins auto-create excerpt from the content.
Is the number of characters set in the “excerpt_length” filter.
“Continue reading” setting in the “excerpt_more” filter.
If there is “” does not create an excerpt.
Remove the HTML to “va_excerpt_from_content_strip_all_tags” filter is true.
// remove the html.
add_filter( ‘va_excerpt_from_content_strip_all_tags’, ‘__return_true’ );
Requires
WordPress 4.5 or higher
PHP 5.6+
Contribute!
You can fork the plugin from GitHub
