WordPress Developer Ukraine, Kyiv
WordPress Query Loop Block: Custom Queries and Extending with PHP

WordPress Query Loop Block: Custom Queries and Extending with PHP

Custom queries for the Query Loop block with PHP The Query Loop block covers the common cases: post type, categories, tags, author, order. Many sites need one more condition: only upcoming events by a date field, products in stock, posts with a featured flag. A block variation with a namespace and two filters, one for…
Query posts by custom taxonomy term in WordPress

Query posts by custom taxonomy term in WordPress

Query posts by a custom taxonomy term in WordPress Categories and tags are the built-in taxonomies, but most projects also register their own: genre, location, brand. Sooner or later you need all posts of one term: portfolio items of one project type, products of one brand, the latest articles in a genre. The tool for…