Custom query not working in plugin admin page
Custom query not working in plugin admin page
Custom query not working in plugin admin page
You could provide your editors textarea’s ID to get the content of the tinyMCE, also you should get the contents of the saved post meta and set it as the text of your editor element to display the value saved before. You could use the following code as a reference, <?php function taggr_meta_function($post){ $my_editor = … Read more
it’s a little difficult to debug something when no errors are being displayed. i’d first check your php error logs, which normally appear in ….\logs\php_error.log or ….\logs\apache_erroe.log depending on your php.ini settings. chances of getting an immediate answer to your question will be difficult unless you can provide the actual error that’s popping up.
Well…. you could use the correct Field in the $_POST, which would be $_POST[‘post_id’], not $_POST[‘post-id’] 😉 Replace update_post_meta($_POST[‘post-id’], ‘whole_avg’,$whole_avg); with update_post_meta($_POST[‘post_id’], ‘whole_avg’,$whole_avg); etc. 😉 Happy Coding, Kuchenundkakao
So I found out the problem was in the database. If I deleted the page, then re-created it then it functioned as it should. I couldn’t narrow down what exactly was wrong with the data, but something was. That page did have a lot of revisions, not that it should matter?
I think similar question is answered here: Send user activation email when programmatically creating user Please have a look. Let me know if that solves the issue.
Please check the callback function name for example add_action( ‘woocommerce_process_product_meta’, ‘new_metabox_save’,35 ); Function definiton function new_metabox_save(){ $post = get_post( $post_id ); }
How to add jquery to my custom post type wp plugin
From what I get in you question, I think you should create 3 taxonomies within the Custom Post Type UI plugin. Call these FOOD, MUSIC and CRAFTS, and attach them to the custom post type you created. Then you’ll proceed to adding the specific items to each taxonomy. And these will automagically appear in your … Read more
I solved it. This line: “if (!isset($pd_plugin_instance)) $pd_plugin_instance = new Products();” Was causing all the error. I removed the Widget section from the plugin but forgot to remove it. After removing it, the error was gone.