WP-HTML

Concept


Using two lines of code - a JS file and an HTML Tag to output to, we can embed both content and functionality into another website on any HTML platform.

Using the WP REST API, we can create endpoints to provide our components with the data they need. The JS file can then render the content and functionality in a number of different ways without the need for the client site to do any coding.

A web component of <my-component></my-component> will be created to output posts.

Web Components

source-code

VIEW <list-api></list-api> (new tab)

Email: craig@wpjs.co.uk