Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/jaredrethman/content-list/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Requires:
- Node >= 8.12.2
- WordPress >= v5.2
- PHP >= 7.2
Features:
- WebPack 4 for Module Bundling. WebPack-Dev-Server for development.
- Hot Module Replacement with react-hot-loader.
- Any post type, and associated taxonomy, content fetching.
- Sortable components.
- Component visibility toggling.
- Individual slot curation.
- Fetched content sorting.
- Dynamic content slots.
Developing:
npm i && npm run dev, or for httpsdev:s.
Deploying:
npm run deploy, which is an alias fornpm run prod && npm run build
Road-map:
- Add Jest.
Known issues:
- When
npm run dev&SCRIPT_DEBUGis set to true. There is a warning in the console relating to React Sortable HOC on this issue.