How does WP generate the default $query in WP_Query based on the URL?
I understand the mechanisms of creating a custom query by instantiating a new WP_Query object when I need granular control of what posts … Read more
I understand the mechanisms of creating a custom query by instantiating a new WP_Query object when I need granular control of what posts … Read more
My site has 3 unique post types: Default Blog posts (“post”) custom type “lesson” custom type “series” When the user searches the site, … Read more
I am pretty new in PHP and I have the following problem, I am developing this WordPress problem: http://onofri.org/WP_BootStrap/ As you can see … Read more
I am iterating through an array of post IDs $ids. All is displayed correctly except for the authors. Every post shows the same … Read more
I would like to append 2 variables from page 2 onwards in my loop. This is my normal category page www.example.com/category/news/ This is … Read more
I’ve got a simple photographic site and it uses large image sizes throughout. On the archive page, however, I’ve got about 35 posts … Read more
I have a loop definition like this in functions.php: function artist_list($query) { if ( is_admin() || ! $query->is_main_query() ) { return; } // … Read more
So I am trying to add a div after every two posts in home.php and I almost followed the answer found here but … Read more
I’m using the WP-Ratings plugin which uses the Wordpress built in custom fields to save values of ratings. The name of the custom … Read more
I have created a custom post type in my wordpress theme dedicated to creating slides for a slider displayed on the homepage, It … Read more