I have a little problem with 2% with selectors, so that's fine, because I'm using the CMB2 plugin and a METABOX selector code, and everything is ok in the Wordpress Backend, but when I bring my METABOX for the Front End it gives an error in the AJax call.
My guess is that the code is not recognizing my call dropdowns
... that would be my value grabber. Here is the code snippet where I found the error in Get_colors
.
// ajaxurl is already defined in wp-admin, so no special stuff needed.
$.post( ajaxurl, {
action: 'get_colors',
value: new_val
}, app.handle_response, 'json' );
};
I also think that Front-End does not allow permission to access the values page to call debug
. If anyone can help me I am very grateful.