You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User should be able to specify a custom cmb2 field prefix (defaulting back to _cmb2_ if not specified) within the WP admin
my theme manages CMB2 meta boxes with a custom prefix, so I had to edit yoast-cmb2-field-analysis.js in order to include those custom prefixes as the input names, e.g using prefix named wptheme and then changed it to input[type=text][name_=wptheme], textarea[name_=wptheme]
Although I've successfully managed to make those changes, I've just noticed the plugin does not enqueues yoast-cmb2-field-analysis.js while editing a post, so it sadly means the plugin does not seem to work for me.
I'll keep inspecting in order to see if I can get it to work.
Regards,
Adriano.
The text was updated successfully, but these errors were encountered:
Hi @monecchi, yes I started putting in an admin page for this plugin - just need to finish it off, will hopefully get a chance this weekend to put something together fully!
Thanks for replying back! I've tried to put it together with a wp plugin boilerplate but I'm a mess with programming. I got it to save the field prefix and retrieve the saved data, but I couldn't pass it to the js. I hope you get it done eventually. That's an awesome plugin by the way!
User should be able to specify a custom
cmb2
field prefix (defaulting back to_cmb2_
if not specified) within the WP adminThe text was updated successfully, but these errors were encountered: