Problem for recover and save metaboxes

Your code: add_action(‘admin_menu’, ‘reaction_buttons_meta_box2’); Use ‘add_meta_boxes’ to add meta boxes. It fires in the wp-admin/edit-form-advanced.php file and passes the $post object. The ‘admin_menu’ action fires much more often. add_action( ‘add_meta_boxes’, ‘reaction_buttons_meta_box2’ ); Your code: function reaction_buttons_meta2() { global $post; echo $_POST[‘reaction_buttons_off2’]; There is nothing in $_POST when the the edit page loads. You can test … Read more

Building a simple “settings” plugin to change textstrings on the home page

As I understood you correctly you just want to rename ‘kkpo_quote’ and you have conflict. Not to have conflict try to replace all ‘kkpo_quote’ with same name, for example: if you replace ‘kkpo_quote’ with ‘new_quote’ in register_setting(KKPLUGINOPTIONS_ID.’_options’, ‘new_quote’); then make sure that you replace it with ‘new_quote’ where ever is ‘kkpo_quote’ There is 7 times … Read more

Photos do not show on SEO platform built into a wordpress plugin

Your question makes it seem like you are using relative URLs– “I used the path for the images like this: images/image.jpg …” Don’t use relative URLs in WordPress. Relative paths are not reliable, except in stylesheets. They do work in stylesheets. Use functions like admin_url and these other related functions.

Overwrite CSS of Instaemail plugin popup

This is a CSS-related question, more than a WordPress related one. In your case all the rules that apply for normal CSS overriding are usable to solve your problem: Cascade: Apply the rules with the same specificity (same number and types of selectors) after the rules written by your plugin. The way to achieve this … Read more

Enforce conditions only for draft posts using WyPiekacz, ignore pending and published posts

The check is invoked after a call to get_option( ‘wypiekacz_allow_skip_rules’ ). When you filter pre_option_wypiekacz_allow_skip_rules and returns something different than FALSE, it should stop the check early. Not tested. add_filter( ‘pre_option_wypiekacz_allow_skip_rules’, ‘wpse_100503_wypiekacz_for_drafts_only’ ); function wpse_100503_wypiekacz_for_drafts_only( $bool ) { if ( ‘draft’ === get_post_status( $GLOBALS[‘post’] ) ) return $bool; return 0; } To prevent the post … Read more