默认情况下 WordPress Page 编辑页面没有摘要(Excerpt)输入框,所以对 WordPress 进行 SEO 的时候比较麻烦。
这个时候我们就可以通过以下代码给我 WordPress Page 添加摘要输入框:
add_action( ‘admin_menu’, ‘my_page_excerpt_meta_box’ );
function my_page_excerpt_meta_box() {
add_meta_box( ‘postexcerpt’, __(‘Excerpt’), ‘post_excerpt_meta_box’, ‘page’, ‘normal’, ‘core’ );
}
将代码添加到当前主题的 functions.php 文件即可。
whoah this blog is great i like studying your posts. Stay up the great work! You know, many people are searching round for this info, you could aid them greatly.
https://www.droversointeru.com
At this time it looks like WordPress is the top blogging platform available right now. (from what I’ve read) Is that what you are using on your blog?
Only wanna say that this is very useful, Thanks for taking your time to write this.
It’s a shame you don’t have a donate button! I’d most certainly donate to this excellent blog! I suppose for now i’ll settle for book-marking and adding your RSS feed to my Google account. I look forward to fresh updates and will talk about this site with my Facebook group. Chat soon!
https://www.droversointeru.com
1k5ptr
Thanks for the auspicious writeup. It in truth used to be a enjoyment account it. Look complicated to more brought agreeable from you! By the way, how can we keep up a correspondence?
f6hrxe
Muchas gracias. ?Como puedo iniciar sesion?