josantonius / extensions-for-grifus
Extensions for Grifus theme.
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Type:wordpress-plugin
Requires
- php: ^5.6 || ^7.0
- composer/installers: ^1.4.0
- eliasis-framework/complement: ^1.1.1
- eliasis-framework/eliasis: ^1.1.3
- eliasis-framework/wp-plugin-rating: ^1.0.1
- josantonius/hook: ^1.0.6
- josantonius/wp_image: ^1.0.3
- josantonius/wp_menu: ^1.0.3
- josantonius/wp_register: ^1.0.4
Requires (Dev)
- dealerdirect/phpcodesniffer-composer-installer: ^0.4.3
- eliasis-framework/copy-movie-grifus: ^1.0.3
- eliasis-framework/custom-images-grifus: ^1.0.4
- eliasis-framework/custom-rating-grifus: ^1.0.6
- friendsofphp/php-cs-fixer: ^2.3 || ^2.8
- phpmd/phpmd: ^2.6
- phpunit/phpunit: ^5.7 || ^6.0
- squizlabs/php_codesniffer: ^3.2.2
- wp-coding-standards/wpcs: ^0.14
README
Extensions for the Grifus theme.
This plugin contains three modules:
Copy Movie Grifus Add a new button in the film pages of the Grifus theme with which you can copy the complete information with a single click.
Custom Images Grifus Save external IMDB images to your WordPress site. Replaces IMDB rating by your own rating system in Grifus theme.
Custom Rating Grifus Replaces IMDB rating by your own rating system in Grifus theme. Replaces the static rating system of the Grifus theme by a dynamic rating system.
Requirements
This WordPress plugin is supported by PHP versions 5.6 or higher and is compatible with HHVM versions 3.0 or higher.
The plugin has been developed under version 4.8 of WordPress and under version 4.0.3 of the Grifus theme.
Installation
You can download this plugin from the official repository in WordPress.
From your WordPress dashboard:
1. Visit 'Plugins > Add New'
2. Search for 'Extensions For Grifus'
3. Activate Extensions For Grifus from your Plugins page.
From WordPress.org:
1. Download [Extensions For Grifus](https://es.wordpress.org/plugins/extensions-for-grifus/).
2. Upload the 'extensions-for-grifus' directory to your '/wp-content/plugins/' directory, using your favorite method (ftp, sftp, scp, etc...).
3. Activate Extensions For Grifus from your Plugins page.
Once Activated:
1. Go to Grifus Extensions and install and activate the modules.
2. Go to Grifus Extensions > Custom Rating and click the button to reset all ratings.
3. Go to Grifus Extensions > Custom Images and click the button to replace all images.
Images
Tests
To run tests you just need composer and to execute the following:
$ git clone https://github.com/josantonius/extensions-for-grifus.git
$ cd extensions-for-grifus
$ bash bin/install-wp-tests.sh wordpress_test root '' localhost latest
$ composer install
Run unit tests with PHPUnit:
$ composer phpunit
Run WordPress code standard tests with PHPCS:
$ composer phpcs
Run PHP Mess Detector tests to detect inconsistencies in code style:
$ composer phpmd
Run all previous tests:
$ composer tests
☑ TODO
- Add more tests.
- Add new feature.
- Improve documentation.
- Refactor code for disabled code style rules. See phpmd.xml and .php_cs.dist.
Contribute
If you would like to help, please take a look at the list of issues or the To Do checklist.
Pull requests
- Fork and clone.
- Run the command
composer install
to install the dependencies. This will also install the dev dependencies. - Run the command
composer fix
to excute code standard fixers. - Run the tests.
- Create a branch, commit, push and send me a pull request.
License
This project is licensed under GPL-2.0+ license. See the LICENSE file for more info.
Copyright
2017 - 2018 Josantonius, josantonius.com
If you find it useful, let me know 😉