WordPress在编辑器中添加“下一页”分页按钮-WordPress主题

摘要:上次为大家分享了《无需插件通过代码函数来增强wordpress编辑器》的方法;

上次为大家分享了《无需插件通过代码函数来增强wordpress编辑器》的方法;
今天分享给大家另外一个功能。可能对于经常写文章的小伙伴比较适用,就是下一页分页按钮;
这个功能同样属于wordpress程序的隐藏功能;我们可以通过代码来手动添加调用分页代码 <!–nextpage–>
但是我们同样可以将按扭添加到编辑器中

下面介绍方法给大家

只要在当前主题的函数文件 functions.php 添加下面的代码,就可以显示“下一页”按钮啦:

来源:http://www.wazhuti.com/363.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_13073.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?