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

Create Short URL for Current Page - Popup for Admins #32

Open
davidbitton opened this issue May 22, 2019 · 7 comments
Open

Create Short URL for Current Page - Popup for Admins #32

davidbitton opened this issue May 22, 2019 · 7 comments

Comments

@davidbitton
Copy link

Is there a button to create a shortened URL for the a product or product category? Can/Is that button on the product/category page or on the webpage itself in the admin toolbar? Thanks!

@davidbitton
Copy link
Author

Found it under the Product listing itself however, it's not there for a Category, but I have a Page for listing a specific Category and that has the shortener.

@reatlat
Copy link
Owner

reatlat commented May 22, 2019

@davidbitton TY for questions,
I have a task for next release to add support custom post types like Categories, Tags, etc... not sure how better made it, perhaps I will make it with function 'apply_filter()` and anyone who looking for custom post support will add it yourself :)

@davidbitton
Copy link
Author

@reatlat I like that idea. How can we add a button to the admin toolbar to create a link for the current page?

@reatlat
Copy link
Owner

reatlat commented May 22, 2019

@davidbitton using class WP_Admin_Bar()

but in this case, perhaps we have to create a popup with UTM params, or use some default params 🤔

also, ajax for create links activated only for admin area, for enable ajax_create_link on frontend you can enable shortcode option.

@davidbitton
Copy link
Author

@reatlat i was thinking of a popup. We could use defaults for regular use as well.

@reatlat reatlat reopened this May 22, 2019
@reatlat reatlat changed the title Create Short URL for Current Page Create Short URL for Current Page - Popup for Admins May 22, 2019
@reatlat
Copy link
Owner

reatlat commented May 22, 2019

@davidbitton do you want to collaborate?
not sure when I again have a time to done this ;)

@davidbitton
Copy link
Author

same here.

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