ClassicPress / classicpress-directory-integration

Experimental ClassicPress directory integration plugin.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Draft plugin for ClassicPress Directory integrator.

Steps

  • Create plugin update system that pulls from the directory
  • Create plugin page
  • Create theme update system that pulls from the directory (may need Changeset 53933 or ClassicPress v.2)
  • Create theme page

Plugin from the directory now can update as WP.org plugins.

They have to set a proper header field:

* Update URI: https://directory.classicpress.net/wp-json/wp/v2/plugins?byslug=classicpress-directory-integration

Use this header for testing:

* Update URI: https://staging-directory.classicpress.net/wp-json/wp/v2/plugins?byslug=classicpress-directory-integration

Features

  • Only one API call is sent to the directory

  • Plugin having updates that are not compatible with current configuration are hilighted Schermata 2022-12-28 alle 14 57 37

  • View details now works
    Schermata 2023-01-02 alle 16 46 50
    Schermata 2023-01-02 alle 16 46 39

  • Images are pulled in (if they are in images/ folder)
    Schermata 2023-01-02 alle 16 46 11

Plugin from the directory now can be installed using the "Install CP plugins" menu under "Plugins" menu.

WP-CLI commands

  • Flush transients: wp cpdi flush

About

Experimental ClassicPress directory integration plugin.


Languages

Language:PHP 87.7%Language:CSS 6.9%Language:JavaScript 5.5%