Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] shortcode memo #14

Open
mauglee opened this issue Feb 1, 2018 · 6 comments
Open

[feature request] shortcode memo #14

mauglee opened this issue Feb 1, 2018 · 6 comments

Comments

@mauglee
Copy link

mauglee commented Feb 1, 2018

In WP administration zone would be great to have some memo on shortcode. At the moment you must find explanation somewhere else (plugin page, github, etc..). Great plugin!

@tinuzz
Copy link
Owner

tinuzz commented Feb 1, 2018

Good idea, I'll see if I can find a good place for it. Sounds like a use case for a meta-box:

https://developer.wordpress.org/reference/functions/add_meta_box/

@mauglee
Copy link
Author

mauglee commented Feb 1, 2018

As of users perspective it would be better if there is some configurator: user selects the track from drop-down list; checks/unchecks some „human readable“ checkboxes, etc. And gets shortcode generated. Which then can be copy-pasted in any WP post or page.
I understand that it is about some (more) coding for you, but you know... This would make your plugin more user-friendly.

@tinuzz
Copy link
Owner

tinuzz commented Feb 1, 2018

Yes, I agree, it would be a valuable addition, but like you said, that is more work and it needs some thought too.

For example, the idea of selecting a track from a drop-down list is not going to work. An admin has access to all users' tracks. In my database, that's already something like a thousand tracks... way too many for a drop-down.

But I agree, something clever can be built. I'll give it some thought. In the next version, it will probably be just a meta box with shortcode parameter documentation.

@mauglee
Copy link
Author

mauglee commented Feb 2, 2018

I recommend to create a new menu item next to Options, Manage tracks, Your profile. This new item could be named „Shortcode“ and all configuration possibilities should be described there in a new page. And later on if some more advanced configurator will be created, we already have a place for it :)

@mauglee
Copy link
Author

mauglee commented Feb 2, 2018

Look, I started a little play with shortcode configurator. At the moment my mockup looks like this:
shortcode-configurator
If I'll find some time during this weekend, I do some programming to make it real :)

@mauglee
Copy link
Author

mauglee commented Feb 2, 2018

I quickly made it by myself :) Also pull request submitted. So you can close current "issue" now.

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

No branches or pull requests

2 participants