php – Populate Elementor page dynamically by fetching data from database
Basically my page involved a list of entries like the one below:
The style/position are quite easy to manage using Elementor. Now I want to display the list dynamically i.e. I want to store my entries in the database and only fetch e.g. the future records out (i.e. > today’s records). I saw from many tutorials that this could be done by using simple PHP code with SQL. However, I realise that in these solutions they construct the HTML as well.
I would like to ask if it is possible to return an array of objects (each entry/record) only and populate my page designed with Elementor dynamically?
Leave an answer