- This topic has 5 replies, 3 voices, and was last updated 2 months ago by Tom.
November 16, 2021 at 11:31 pm #2007310Natalie
I have tried two ‘copy post’ plugins. The second one was recommended by GP here:
For both of them I’ve found that they don’t correctly copy the color that I have set e.g. for a headline block
I set the color for the headline by picking one of the defined colors e.g. var(–base-3)
After I copy the post and look at the color that the headline has, then it looks like this:
So the plugin that has copied the post has not copied the — correctly and has converted it to unicode.
It may be the plugins which are at fault and there is nothing you can do in GP, but I just wanted to let you knowNovember 17, 2021 at 3:34 am #2007520DavidStaffCustomer SupportNovember 17, 2021 at 1:40 pm #2008467TomLead DeveloperLead Developer
WordPress itself converts the characters to unicode. The issue here is that the plugin is stripping the
\which escape those unicode characters.
This is likely something that should be reported to them so they can preserve backslashes inside of escaped content.
Let us know if they have any questions 🙂November 18, 2021 at 4:29 am #2009125Natalie
Thanks for your reply.
I did suspect it may be the plugin that was at fault.
For the benefit of anyone else with the same problem I have now tested 18 plugins that duplicate posts.
Only ONE of them will work correctly to preserve backslashes when copying posts. So this is the only plugin that will work correctly if you have used the new GP ‘Global colors’ in your posts / pages
It is the ‘Yoast Duplicate Post’ plugin
Unfortunately it is also the only plugin that WON’T copy GP block elements.November 18, 2021 at 4:58 am #2009158Natalie
I have found that you can enable ‘elements’ to be able to be duplicated with the Yoast plugin.
You need to tick the ‘elements’ box in their settings:
Settings→ Duplicate Post, tab PermissionsNovember 18, 2021 at 8:50 pm #2010367
- You must be logged in to reply to this topic.