Skip to content

Calling a GET-API with Wordpress with the use of a PHP to Shortcode Plugin

Notifications You must be signed in to change notification settings

grumpyp/Wordpress-API-Call-with-PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Wordpress API Call with PHP

Calling a GET-API with Wordpress with the use of a PHP to Shortcode Plugin

Steps and Requirements

  1. Download the "Insert PHP Code Snippet"-Plugin and install and activate it
  2. Copy and paste the code of the PHP-file in the repo
  3. Use the shortcode on any post or page

Youtube Tutorial

Wordpress API Call with PHP on YOutube

Disclaimer

In this tutorial file I use a public API

Result

I filtered the response to get only the count object and all the API names which will be printed in a loop.

The result looks like this:

Screenshot

About

Calling a GET-API with Wordpress with the use of a PHP to Shortcode Plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages