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: Ability to hide Duplicate Post functionality #22

Open
mrwweb opened this issue May 5, 2022 · 2 comments
Open

Feature Request: Ability to hide Duplicate Post functionality #22

mrwweb opened this issue May 5, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@mrwweb
Copy link

mrwweb commented May 5, 2022

I've loved using this plugin to add new posts quickly from the block editor!!!

When it comes to duplicating posts, I usually use the Duplicate Post plugin which has a number of powerful options and controls for where and how those buttons appear. Therefore, I don't want the duplicate features of Quick Post to appear since they likely will work in subtly different ways and complicate the interface.

I'd love an option to remove the duplication functionality of Quick Post. That could be a checkbox toggle setting added to Settings > Writing or a filter like:

add_filter( 'quickpost_duplication_features', '__return_false );

Since I'm spitballing, maybe the feature even automatically detects Duplicate Post and turns that feature off itself.

Implementation details matter much less to me than hopefully gaining the ability to do it somehow! 😀 Thanks for the great plugin.

@aurooba aurooba added the enhancement New feature or request label May 6, 2022
@aurooba
Copy link
Member

aurooba commented May 6, 2022

That makes sense. Out of curiosity, what features of the Duplicate Post plugin do you use most? To start with, I wanted to just provide a simple duplication interface, but it was always the plan to make it more robust so that folks who wanted both features could get away with installing a single plugin instead of two. So I'd love your insight on what features feel the most important in a robust duplication feature!

In the meantime, I agree, there should be a way to remove the duplication functionality feature. To start with, we can add a simple filter that can be dropped into functions.php or be filtered with JS. A settings/preferences panel for this plugin is likely forthcoming as its features get more complex. :)

@mrwweb
Copy link
Author

mrwweb commented May 6, 2022

what features of the Duplicate Post plugin do you use most?

  • I greatly prefer the workflow that started from the All Posts screen rather than individual posts.
  • I always set a title prefix to ensure that it's clear which post is which. (I think your plugin does that already?)
  • I frequently make different choices for which taxonomy's terms should be duplicated and less frequently tweak what meta should be duplicated.
  • The newer Rewrite and Republish feature is pretty awesome for the sites that need it. That's a less frequent need, but this is my go-to plugin for that.
  • [This one might not be true?] At some point, it became my understanding that The Events Calendar and maybe a few other plugins were taking special precautions to make sure the Duplicate Post plugin worked. (Or maybe that's backwards and it does some special things for TEC support?) Either way, the plugins prevalence and the fact that it's a critical tool for people using Custom Post Types has increased my trust in it to a point that I'm super hesitant to use something else.

Hope that all helps!

To start with, we can add a simple filter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants