No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
lib
.codacy.yml
.gitignore
CHANGELOG.md
LICENSE.md
README.md
composer.json
plugin.php

README.md

Deity Wordpress

Register required endpoints and filters for Deity Wordpress project

Getting Started

Clone Deity Wordpress to your plugin folder

Installing

Enable plugin

Currently handled features

  • fetch url method

  • get acf fields - You will need to install Advanced Custom Fields plugin

    [apiPrefix]/acf/v3
    
    [apiPrefix]/acf/v2
    
  • get posts, pages, authors, tags, video

    [apiPrefix]/v2/posts
    
    [apiPrefix]/v2/pages
    
    [apiPrefix]/v2/media
    
    [apiPrefix]/v2/types
    
    [apiPrefix]/v2/tags
    
    [apiPrefix]/v2/statuses
    
    [apiPrefix]/v2/taxonomies
    
    [apiPrefix]/v2/comments
    
    [apiPrefix]/v2/settings
    
  • get popular posts

    [apiPrefix]/v2/posts/popular
    
  • fetch languages - To support Wordpress languages use WPML plugin.

  • get logo

     [apiPrefix]/v2/blog/info
    
  • fetch categories

    [apiPrefix]/v2/categories
    
  • get menus with acf fields support in menu item

    [apiPrefix]/v2/menus/
    
  • unset users endpoint

    [apiPrefix]/v2/posts/users
    
  • 404 status

Add cdn support

To support CDN make sure that W3 Total Cache plugin is installed : https://wordpress.org/plugins/w3-total-cache/

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under Open Software License ("OSL") v. 3.0 - see the LICENSE.md file for details