wordpress分页翻页函数代码添加教程-WordPress主题

摘要:分享一段简洁好用而且支持自适应的wordpress翻页分页代码,操作起来也非常的方便,可以功能上并不是很强大,但是足以满…

分享一段简洁好用而且支持自适应的wordpress翻页分页代码,操作起来也非常的方便,可以功能上并不是很强大,但是足以满足wordpress站长的基础需求

在wordpress主题文件根目录下functions.php内加入以下代码:

在需要添加翻页的位置加入以下代码,一般在wordpress文章文章主循环的最后添加即可

当然不要忘了最后还要加样式代码,可以添加到对应的样式表里,简单好用。

代码样式见此主题jiasu主题

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