Skip to content
This repository has been archived by the owner on May 27, 2022. It is now read-only.
/ WordpressApi Public archive

A Magento2 module for creating a link to your WordPress blog using the REST api that shipped with v5.x.

Notifications You must be signed in to change notification settings

karlsminton/WordpressApi

Repository files navigation

WordpressApi

This Magento 2 module is a connector for displaying WordPress content in Magento2. By using the REST API, Magento retrieves data from wordpress regarding pages and posts for display either as a blog, block or widget.

Safely install your WordPress in a completely separate location from your Magento install, provide credentials for connection and you can freely display WP data anywhere in your site.

Existing Features

  • Generic helper for sending API requests
  • Custom Router for setting a blog route in store configuration
  • Widgets & Blocks for displaying pages and posts

Installation

To install, add the following to the "repositories" block in your composer json;

"wpblog": {
    "type": "vcs",
    "url": "https://github.com/karlsminton/WordpressApi.git"
}

Following that add "karl/wordpress-api": "1.0" to the "require" block.

Run composer update followed by php bin/magento setup:upgrade and installation should be complete.

About

A Magento2 module for creating a link to your WordPress blog using the REST api that shipped with v5.x.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published