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/logicworks-stack/plugin-verona/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Plugin-VeronaLabs
Acknowledgements
This plugin was developed as part of an assignment project. Special thanks to the WordPress community for their comprehensive documentation and support. Based on Rabbit Framework
Features
- Custom Database Table: Adds a
books_infotable with the columnsID,post_id, andisbnto the WordPress database upon plugin activation. - Custom Post Type: Registers a "Book" custom post type, including taxonomies for "Publisher" and "Authors".
- Meta Box for ISBN: A custom Meta Box in the "Book" post type allows entry of an ISBN number, which is then saved to the
books_infotable. - Admin Display: The plugin provides an admin page to display the contents of the
books_infotable, using theWP_List_Tableclass for efficient data management. - Internationalization Support: The plugin is designed to support language files for easy internationalization.
- Security: All user inputs and outputs are sanitized to meet WordPress security standards.
- WordPress Coding Standards: The plugin adheres to WordPress coding standards and best practices.
- Multilingual Compatibility: The plugin is compatible with multilingual sites, following standard internationalization practices.
Requirements
- PHP 7.4 or higher.
- Composer
Usage
composer require veronalabs/plugin
Development
If you are planning to add style to your plugin, make sure you have the following requirements:
node.js: <= v14.16.0
npm: <= 6.14.11
And run these commands:
Install packages
npm install
Run the start command
npm start
// or
npm run start
Commands
"compile:scss" : Compiles scss files
"postcss:autoprefixer": Parses your CSS and adds vendor prefixes
"dev": Runs "compile:scss" and "postcss:autoprefixer" in a sequence
"watch": Watches for changes in the /assets/src/scss/ folder and run "dev" command on every change
"start": Runs "dev" and "watch" commands concurrently