Tag Info

New answers tagged

-1

So, after messing around with my entire functions.php, I figured out where the actual problem was. The function for displaying the meta box was incorrect BEFORE function kk_custom_meta_box2( $object, $box ) { ?> <?php wp_nonce_field( 'location_map_nonce_action', 'location_map_nonce' ); ?> <p> <label for="location-map"><?php ...


0

I tried your code and it works: I changed the wp_verify_nonce function, because that wasn't working for me. I added an action instead of what it had. Now, for this to work, you have to create a nonce field with a code like this, of course that you can change the names if you want. //this goes in the function that generates the metabox wp_nonce_field( ...



Top 50 recent answers are included