Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/generoi/wp-gutenberg-postlist
https://github.com/generoi/wp-gutenberg-postlist
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/generoi/wp-gutenberg-postlist
- Owner: generoi
- Created: 2018-05-31T18:23:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-06-28T17:53:39.000Z (over 1 year ago)
- Last Synced: 2024-04-16T22:30:13.179Z (7 months ago)
- Language: PHP
- Size: 3.84 MB
- Stars: 2
- Watchers: 6
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wp-gutenberg-postlist
> A wordpress gutenberg block for listing various post types.
## Development
Install dependencies
composer install
npm installRun the tests
npm run test
Build assets
# Minified assets which are to be committed to git
npm run production# Watch for changes and re-compile while developing the plugin
npm run watch## Translations
During compilation a `languages/javascript.pot` containing the translatable strings from JavaScript will be created. This needs to be converted to PHP which is done automatically in the next step.
Rebuild POT files (after this, copy to each language as languages/wp-gutenberg-backgrounds-.po and translate it)
npm run lang:pot
Compile MO files (requires msgfmt which is available with brew install gettext && brew link gettext --force)
npm run lang:mo
Or run all of these with:
npm run lang