Hi @designdrumm !
The plugin doesn’t have duplication abilities, so if you’re using a post duplicator it may cause issues.
For the name change it likely won’t update in MailChimp directly from the table view.
Cheers!
Hey Brian,
Thanks for the reply!
Yeah, it basically deletes the MailChimp post
and then when you save a draft it puts it back
but there is an error message from MailChimp
because your plugin automatically deletes and
then creates instead of using MailChimp’s update feature.
So when the post is renamed or duplicated in table view
then saved again (in edit mode), MailChimp doesn’t have
a record for that post anymore and can’t delete anything
before creating.
I really like your plugin idea, but I think you’re going
about it the wrong way with having your own custom posts
and area to edit them. This idea, in my opinion, would be
better served if you just attached to the regular WordPress
‘post’. Adding your meta_boxes to the side that lets someone
still publish the post (utilizing post functionalities like
ping-backs, categories, tags, featured image, etc) and then
send the post separately.
Maybe make an ’email’ post-format template instead? Then you
just add a ‘post-format’ when loading the editor. For now,
you’ve taken native functionality away from WordPress by
silencing the regular ‘publish’, ‘revisions’, ‘author’ and
permalink actions and replacing buttons.
Not the best approach in my opinion.
Again, no harm no foul. Just my truths and ideas. Great plugin.
Best,
designdrumm
Considering campaigns get sent out more than once by businesses,
you may want to consider adding your own duplicate feature.
Have it only duplicate drafts or make sure when it duplicates,
it doesn’t mess with any of the original campaigns MailChimp
submission stuff. Currently when the duplicate feature of my
“duplicate post” plugin does the ‘save_post’ action,
it kicks your ‘save_post’ action in which deletes and
recreates a post on MailChimp because the post duplicator doesn’t know
about your campaign id meta and does’t reset it. So two post have the same
campaign id and can overwrite each other.
Best,
designdrumm
Thanks for the suggestion! It’s not something that’s planned currently but perhaps in the future.
Cheers,
Brian