WordPress

How to Create a Modern Web App Using WordPress and React

Because of the separation of the front-end and the back-end via an API, if you want to create a SPA (single-page application) using React, Angular or Vue, and control the content using a CMS like WordPress, now you can! In this article, we’re using WordPress as our CMS. That means programming our back-end in PHP and using WordPress’s REST API to deliver JSON data to our frontend.

Querying relationship fields

Documentation  Guides  Querying relationship fields Overview This tutorial will cover the techniques to query relationship fields in both directions. The example used will be “Doctors” and “Locations”. Screenshots To save time, this tutorial will not cover the setup process for the 2 post types and their custom fields. However, the screenshots bellow show the data we will …

Querying relationship fields Read More »

Query posts by custom fields

This article will demonstrate how to retrieve an array of post objects from the database using native WP functions. There are many ways to query posts in WP, however, this article will make use of the common get_posts function, WP_Query Object and pre_get_posts filter.

WordPress Taxonomies

When WordPress 3.0 introduced hierarchical taxonomies nearly a decade ago, taxonomies became an even more useful tool in the toolkit of WordPress developers. On a high level, we can think of taxonomies as ways of grouping things together. Within the WordPress platform, a taxonomy is a mechanism for grouping things like posts, custom post types, …

WordPress Taxonomies Read More »

Show Buttons
Hide Buttons