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.

pre_get_post Practical Uses

Fred Meyer / July 5, 2016 Posted In: Back-End Development Tags: hooks, pre_get_posts, Up and Running, WordPress APIs, WordPress functions Difficulty: Advanced, Intermediate In WordPress, pre_get_posts is an action that…

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…

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.

Show Buttons
Hide Buttons