Skip to main content
A White Pixel
  • WordPress Gutenberg Developer’s Guide
  • Latest Posts
    • WordPress
    • Gutenberg
    • Themes
    • WooCommerce
    • Gravity Forms
    • Advanced Custom Fields

Tag: post query

How to Create a Custom Advanced Search Template in WordPress

This guide is for you who have a custom post type (CPT) and want an advanced search page that searches for results within this CPT. In the search form you can set up different inputs for searching within different fields; post title, post content, any type of custom meta or by custom taxonomy. In this […]

WordPress Theme Tutorial for Beginners – Part 12: Custom Post Query

In this final lesson we learn how to write your own query of posts and loop through them without interrupting the parent loop in the template. We’ll make a template part for single posts that shows related posts in the same category. What we will make in this lesson is a related posts query in […]

Guide: Modify WordPress’ global query

In some cases you might need to modify the global post query WordPress is performing on any page you are visiting – both admin and frontend. In this guide we will look at which hook to use, and how to change the query arguments to your liking. Which hook to use First you need to […]

WordPress Theme Tutorial for Beginners – Part 4: The Post Loop

In this lesson of the WordPress theme tutorial for beginners we will go into detail about the “post loop” in WordPress; what it is, how it looks like, why we use it and how to access posts. We will then go about implementing the loop in our theme. The post loop If you are familiar […]

Guide: How to Query Posts in WordPress

What methods are available for making a custom post query, and when are they best to use? This post aims to establish a solid understanding of two methods of querying posts, how to access the results, how to build arguments, and finally how to clean up after it. The two methods we’ll look at are […]

Categories

  • Advanced Custom Fields (7)
  • Gravity Forms (5)
  • Gutenberg (31)
  • Mini Tips (3)
  • Themes (30)
  • WooCommerce (9)
  • WordPress (37)

Newest Posts

  • How to Translate custom Gutenberg Blocks with block.json
  • Creating Custom Gutenberg Blocks with block.json
  • Gutenberg: Updating withSelect and withDispatch into React Hooks (useSelect and useDispatch)
  • How to Add Post Meta Fields to Gutenberg Document Sidebar
  • In-Depth Guide in Creating and Fetching Custom WP REST API Endpoints
  • How to Deprecate Gutenberg Blocks

Tags

admin (5) ajax (2) cpt (4) css (4) filters (10) hooks (12) i18n (3) javascript (28) media (1) menus (6) object-oriented (2) plugin customization (20) post query (5) rewrite url (3) scripts and styles (6) seo (3) theme (17) widgets (3) WP REST API (2)