load more posts wordpress on click [closed]

…衆ロ難τιáo~ 提交于 2019-11-30 20:51:38

问题


i am working on a website with wordpress where i'm posting a post almost daily, the problem now is that the list of posts is getting a bit to long and I want to have the following: after every xx (number of) posts a button appears that gives the possibility to load the next xx (number of) posts.

I already tried to build in the infinite scroll javascript (both in code as well as the plugin itself) but I can't seem to make it work the way I want it.

I hope someone here can help me with the problem.


回答1:


I found this amazing tutorial that helped me with what I was searching for: http://www.problogdesign.com/wordpress/load-next-wordpress-posts-with-ajax/

problem solved! :)



来源:https://stackoverflow.com/questions/20167896/load-more-posts-wordpress-on-click

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!