How does WP load post data?
-
Hi all,
I’m new here and on WP. I’m currently building a gaming website.
I’ve got a theme that I bought which I’ve been working on. It has a feature where you can like a post and it saves it onto the Database. Liked posts can be seen via a template file.
Inside this file there is code that loops through posts that have previously been loaded into WP somehow which are then called in a loop using “while (have_posts()) : the_post();”. I’ve tried for over an hour to find where and how these posts are added but can’t find the code anywhere in the temlplate.
Can someone advise me please? Maybe point me to relevant keywords I could use in the search box.
The topic ‘How does WP load post data?’ is closed to new replies.