josantonius/extensions-for-grifus

Extensions for Grifus theme.

This package is auto-updated.

Last update: 2022-04-22 16:48:09 UTC


README

WordPress plugin WordPress WordPress License Codacy Badge Travis WP CodeCov

Versión en español

Extensions for the Grifus theme.

image

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.

thumbnail-english-video.png

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

image image

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 😉

You can contact me on Twitter or through my email.