reatlat/wp-campaign-url-builder

Create Short URL for Current Page - Popup for Admins

davidbitton opened this issue · 7 comments

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!

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.

@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 :)

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

@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.

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

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

same here.