Simple infinite scroll for WordPress sites without plugin

In this article, I will give you a starting point to create an AJAX interaction with your WordPress site. Ajax has become a fury in recent years and for the cause. Ajax (Asynchronous JavaScript and XML) is a way to interact with the server and see the results without having to reload the page. In this article includes the enqueue scripts, the configuration of the of AJAX handler, create your own WordPress shortcodes, The features of WordPress and the access the database, and the Logic of Loading posts in the User Page.