Skip to content
This repository has been archived by the owner on May 18, 2022. It is now read-only.

wordpress:plugin where are you going?! #175

Open
mortensassi opened this issue Oct 5, 2015 · 3 comments
Open

wordpress:plugin where are you going?! #175

mortensassi opened this issue Oct 5, 2015 · 3 comments

Comments

@mortensassi
Copy link

When i hit

yo wordpress:plugin

yeopress seems to install regardless where i am (pwd) into > wp-content/plugins/

When i take a look in the wp-backend/plugins no plugins appears. Even then when i copy the plugin in content/plugins/ - What am i doing wrong?

thanks anyways... This is just one of the greatest things i've found for myself 👍

@webjazznl
Copy link

Having the same issue here. Using Wordpress 4.4.1 which got installed fine using yeopress. Then did
yo wordpress:plugins wordpress-seo. It installed the plug-in but it does not get listed. When I try installing the same plug-in through the wordpress back-end it tells me the plug-in is already installed. However there is no trace of it anywhere in the plug-in list or anywhere else in wp-admin.

Thank you for your time!

@webjazznl
Copy link

I now know what is going wrong here. the generator unpacks the plugin in the wrong place. In the case of wordpress-seo plugin, it unpacks in:

/wp-content/plugins/wordpress-seo/wordpress-seo.

This leads to the issue described by me in my previous post. Moving everything one directory up made everything work.

Would it be possible for you to fix this? My knowledge of yeoman plugins is non existent....

@wesleytodd
Copy link
Owner

I probably cannot get to it any time soon. Recently took over a bunch more responsibility at work. But if you take a look here you might be able to easily figure it out: https://github.com/wesleytodd/YeoPress/blob/master/plugin/index.js

Try just logging out the paths it uses :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants