EASY-JS-WPAPI Client HANDLE for the WordPress REST-API

EASY-JS-WPAPI Client HANDLE for the WordPress REST-API

Wordpress plugin

Install on Wordpress

App Details

Short Description

  • Easily talk with the WordPress REST-API to access and display your WordPress (model) data without
    rest-authentication errors when creating Javascript Themes for consistent views by all users/clients accessing
    your WordPress site.

Description and Features

  • We chose the bundled node-wpapi isomorphic Javascript client, because it is the simplest way to get up and running
    quickly to display live website data in your installed WordPress website, using a Javascript-controlled Theme or Plugin

  • The WEB Landscape is changing. Today, we can use Javascript to build WordPress Themes. WordPress becomes our Model,
    which we can theme with Javascript using the WordPress REST-API.

  • This plugin was developed to make life easy for web developers who which to create full-fledged
    Javascript WordPress Themes OR Javascript-PHP WordPress Themes using a Javascript Framework/Library like:
    jQuery, React, OpenUI5, et.c. for use in a WordPress installation with the wpapi.js rest-client.

  • It relies on the node-wpapi isomorphic javascript client to access the WP REST-API. The problem with accessing
    the REST-API using javascript-clients is the headache of authentication issues and private data access, which can
    hamper fluid display of the web-page, leading to rest-errors when using Javascript to display the data.
    This plugin works under the hood and makes the javascript-client object, ‘wp’ that interfaces with the WP REST-API
    globally accessible for direct and easy use in a javascript(.js) file under the scope of a WordPress installation.

  • It handles three authentication use cases: admin user, non-admin user and for a client from inside a WP installation.
    Say your WordPress website url is e.g: http://talker-test.com or http://localhost:8080
    WordPress switches to Cookie WP Authentication for switched to when an administrator is currently logged in to
    the WordPress installation. Basic WP-Authentication is switched to when a Client accesses your WordPress website
    When an authenticated non-admin user, like an Author or Subscriber is currently logged in to your website,
    it displays data using Basic WP-Authentication.

  • We then make the WPAPI global as a globally scoped javascript object, wp,
    for use in a WordPress Installation to talk with the WP REST-API on the go.

  • So, with added ease, you can start building your next Javascript Themes for WordPress, or accessing the WP REST-API
    So start coding and talking with the WordPress REST-API and display consistent, unhindered data,
    as you permit to all your clients, and users.

  • See Demo WP Installation that shows how this plugin is used to display live website data from the WordPress REST-API
    In it we created a sample JS-controlled WordPress theme using jQuery and the ‘wp’ object provided by our bundled
    javascript client, which our plugin has made globally scoped and authenticated.

  • For more info. and examples, you can check out the documentation
    of the node-wpapi javascript client at wp-api.org/node-wpapi

Testing

  • Go to https://somefunagba.github.io/easyjs-wpapi-rest-client-handle/
  • Click on the Demo link: Download a sample zipped Javascript Theme and a .xml import file.
  • Copy the theme to your Local WordPress Themes directory and Activate it.
  • If your WP installation has no posts or a single post. Import the downloaded .xml posts
  • Go to your site-url homepage e.g: http://localhost:8080/
  • You should see a demo Blog/News themed website.[Demo Website Image]
  • Inside the Theme folder, You can play with this theme’s index.js and footer.js files.

Pricing

Starting from $0 per month.

Check Out the Bracket Maker Widget

By Common Ninja

Bracket MakerTry For Free!

App Info

Rating

Reviewers

1 reviews

Tags

basic authentication

Developed By

Oluwasegun Somefun

Quick & Easy

Find the Best Wordpress plugins for you

Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!

Testimonial

Testimonial plugins for Wordpress

Galleries

Galleries plugins for Wordpress

SEO

SEO plugins for Wordpress

Contact Form

Contact Form plugins for Wordpress

Forms

Forms plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Sliders

Sliders plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Comments

Comments plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Maps

Maps plugins for Wordpress

Security

Security plugins for Wordpress

Translation

Translation plugins for Wordpress

Ads

Ads plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Music Player

Music Player plugins for Wordpress

Backup

Backup plugins for Wordpress

Privacy

Privacy plugins for Wordpress

Optimize

Optimize plugins for Wordpress

Chat

Chat plugins for Wordpress

Countdown

Countdown plugins for Wordpress

Email Marketing

Email Marketing plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Membership

Membership plugins for Wordpress

popup

popup plugins for Wordpress

SiteMap

SiteMap plugins for Wordpress

Payment

Payment plugins for Wordpress

Coming Soon

Coming Soon plugins for Wordpress

Ecommerce

Ecommerce plugins for Wordpress

Customer Support

Customer Support plugins for Wordpress

Inventory

Inventory plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Testimonials

Testimonials plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Slider

Slider plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Membership

Membership plugins for Wordpress

Forms

Forms plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Contact

Contact plugins for Wordpress

Comments

Comments plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Common Ninja Apps

Some of the best Common Ninja plugins for Wordpress

Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.

Bracket Maker for Wordpress logo

Bracket Maker

Bracket generator for creating interactive tournaments that organize matchups, track progress, and deliver a clear and engaging competition experience.

PDF Flipbook for Wordpress logo

PDF Flipbook

Transform PDFs into interactive flipbooks with a PDF flipbook widget that improves reading and keeps visitors engaged.

Bluesky Feed for Wordpress logo

Bluesky Feed

Show Bluesky posts with a Bluesky feed that updates in real time, improves content discovery, and keeps visitors engaged with fresh activity.

Count-Up Clock for Wordpress logo

Count-Up Clock

Track time since important events with a count up clock that displays elapsed days and hours and keeps visitors engaged.

Stop Motion Player for Wordpress logo

Stop Motion Player

Create engaging stop motion displays with a stop motion player that turns image sequences into interactive animations to boost creativity and visitor engagement.

Ratio for Wordpress logo

Ratio

Create interactive infographics with a ratio widget that uses custom icons, dynamic tooltips, and clear visuals to help visitors understand data quickly.

Cookie Banner for Wordpress logo

Cookie Banner

Use a Cookie Banner to inform visitors about cookies on your site and let them manage their consent in a clear, structured way.

Mastodon Feed for Wordpress logo

Mastodon Feed

Show Mastodon posts in a live Mastodon feed that keeps content fresh, strengthens your social presence, and helps visitors engage with your updates.

Corner Button for Wordpress logo

Corner Button

Corner button that stays fixed on the screen to highlight promotions, improve navigation, and guide visitors toward important actions with clear visibility.

Job Listings for Wordpress logo

Job Listings

Create job listings with a jobs board widget that lets you post openings, manage roles easily, and help candidates find the right positions quickly.

Marketing Button for Wordpress logo

Marketing Button

Marketing button with text and an icon that highlights key offers, draws attention to promotions, and helps increase engagement and conversions.

App Store Reviews for Wordpress logo

App Store Reviews

Show Apple App Store reviews to build trust, strengthen credibility, and help visitors make confident download decisions that support app growth.

Discover Apps By Platform

Discover the best apps for your website

WordPress
Wix
Shopify
Weebly
Webflow
Joomla
PrestaShop
Shift4Shop
WebsiteX5
MODX
Opencart
NopCommerce

Common Ninja Search Engine

The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!

Multiple platforms