Skip to content

mentosmenno2/wp-cli-my-eyes-are-up-here

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WP-CLI: My Eyes Are Up Here

Makes the My Eyes Are Up Here plugin compatible with WP-CLI

This package implements the fix created in Pull Request #22 of the My Eyes Are Up Here repository, as the original repository seems to have been abandoned.

Installation

This package is available on Packagist.

Preparation

Before installation, make sure mu-plugins required with composer are installed in the mu-plugins directory. Please add the following to the root of your composer.json file. Make sure the installer path is set to the right mu-plugins path, calculated from the location of your composer.json file.

"extra": {
    "installer-paths": {
        "../../mu-plugins/{$name}": [
            "type:wordpress-muplugin"
        ]
    }
}

As an alternative, you can also set the installer path for just this plugin.

"extra": {
    "installer-paths": {
        "../../mu-plugins/{$name}": [
            "mentosmenno2/wp-cli-my-eyes-are-up-here"
        ]
    }
}

Require the package

After making sure you're prepared for the installation, require the package using Composer.

composer require mentosmenno2/wp-cli-my-eyes-are-up-here

Usage

You can now use the WP CLI media regenrate command to regenerate your images, and have them be cropped by My Eyes Are Up Here.

wp media regenerate

About

Makes the My Eyes Are Up Here plugin compatible with WP-CLI

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages