增加WordPress文章字体大小的选择-WordPress主题

摘要:很多企业站的文章页面都有一个文章内容字体大小大中小调整的功能;功能虽然不太常用,但是对于正常的浏览用户体验还是很好的;

很多企业站的文章页面都有一个文章内容字体大小大中小调整的功能;功能虽然不太常用,但是对于正常的浏览用户体验还是很好的;

这个功能的设置方法很简单:

打开single.php文件,在下面插入以下Js代码:.

.

在需要添加字体大小代码的位置复制以下的代码;

来源:http://www.wazhuti.com/478.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_12972.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?