Рет қаралды 3,792
In this video, learn how to Add Fields to Posts Endpoint to Extend WordPress REST API the default endpoint to serve more server side rendered data to your external application.
00:00 Challenge Introduction
00:51 Explaining the challenge
01:17 Expounding REST API Endpoints
02:18 Why WordPress as Headless CMS
03:55 Coding the REST API Endpoints plugin
06:55 Register REST API fields
09:26 Add Featured Image to the Endpoint
13:24 Add Author Name to Endpoint
14:35 Add Author Description to Endpoint
Leave any questions in the comment section.
Code sample: github.com/yttechiepress/exte...
=============================================
Do you like what I am doing? You can buy me a coffee through PayPal: paypal.me/laurencebahiirwa
Or purchasing through my Plugin Affiliate links:
==== To Get a Domain and WebHosting ====
- Web Hosting with Bluehost ---- omukiguy.com/bluehost
- Web Hosting with Hostgator ---- omukiguy.com/hostgator
==== Use simple Build Website Tools ====
- Elementor Pro ------ omukiguy.com/elementor
- Crocoblock ----------- omukiguy.com/crocoblock
- Woo Feed Pro ------- omukiguy.com/webappick/
- Woo Invoice Pro ---- omukiguy.com/webappick/
I am social too:
Facebook: / techiepress-1001496550...
Twitter: / omukiguy
Blog: omukiguy.com
GitHub: github.com/Omukiguy
-------------------------------------------------------------------------------
LEARN MORE IN THE WELL CURATED PLAYLISTS BELOW
--------------------------------------------------------------------------------
Learn how to build a plugin from scratch: • Plugins Vs Functions.p...
WooCommerce E-Commerce customizations
== Build Free Custom E-commerce Online Shop using WooCommerce - • WooCommerce customizat...
== Build Free Custom Theme for E-commerce Online Shop using WooCommerce -
• Woocommerce Restaurant...
====== Build Dynamic Websites with Elementor ======
== Learn the Elementor basics - • Elementor Beginner Tut...
== Build a custom Elementor Widget from Scratch - • Build Custom Elementor...
====== How to use WordPress Gutenberg Block Editor ======
WordPress 5.4 Gutenberg Blocks Updates
== • WordPress 5.4 Gutenber...
WordPress Gutenberg blocks for Designers
== • WordPress Basics Train...
Gutenberg WordPress Block Editor tutorials for beginners
== • WordPress Basics Train...
Custom WooCommerce Gateway Development from Scratch
== • Build Custom WooCommer...
WordPress Custom REST API Namespaces, Endpoints and Examples from Scratch
== • Create Custom WordPres...
====== WordPress Plugin Development from Scratch ======
Build Most Popular & Most Commented Post Plugin
== • Build WordPress Most P...
Build SMS Plugin with External WordPress API Integration using custom WordPress Databases
== • Build SMS Plugin - Ext...
WordPress External APIs Integration Plugin Development
== • WordPress External API...
Convert WordPress to mobile App in Headless WordPress
== Convert WordPress Sports Website into Mobile Application - kzbin.info?list...
Make GraphQL API endpoints with WordPress Headless CMS WPGraphQL Plugin
== • Make GraphQL API endpo...
Customize Your WordPress & ClassicPress
== Build Custom REST API Endpoints with WordPress or ClassicPress - • Build Custom REST API ...
Custom Dashboard Widgets
== • Custom Dashboard Widge...
Build Custom Admin
== • Custom Admin for WordP...
Learn Git
== Git tutorial for writers + software developers for beginners - • Git tutorial for begin...