Is this plugin safe to run?

wpdb::_insert_replace_helper() will escape the data: return $this->query( $this->prepare( $sql, $data ) ); But still … the base64 encoded string looks odd. That should have been four separate parameters, I think.

Some images on WordPress site are suddenly gone

You are using relative URLs in some places. That is, you are using this– <img src=”https://wordpress.stackexchange.com/bruce_lipton1.jpg” />— instead of this– <img src=”http://www.pureplantessentials.com/bruce_lipton1.jpg” />. Don’t do that. Relative URLs are very unreliable in most of WordPress. It has to do with the way that WordPress rewrites URLs. Your theme, for example, is at wp-content/themes/theme-name/ but those … Read more

Need to setup grid like thumbnail of recent posts on sidebar

You could use wp_get_recent_posts() to get the latest posts, like: <h2>Recent Posts</h2> <ul> <?php $args = array( ‘numberposts’ => ‘5’ ); $recent_posts = wp_get_recent_posts( $args ); foreach( $recent_posts as $recent ){ echo ‘<li><a href=”‘ . get_permalink($recent[“ID”]) . ‘” title=”Look ‘.esc_attr($recent[“post_title”]).'” >’ . $recent[“post_title”].'</a> </li> ‘; } ?> </ul> Then, use get_the_post_thumbnail() to get the Featured … Read more

Notify bar plugin not showing up

If you can’t work with code, then you probably can’t use Notify Bar, as it needs a change to the templates. Try looking for another notification plugin, there are plenty in the Plugin Repository.

Role based permission edit for plugins

I think the plugin include the possibility with one check for rights, for a capability. You see in the source of the plugin, that he include the menu items, if the user have the capability edit_theme_options. That makes not so easy for you to change this in different roles. You can create custom roles, like … Read more

Contact Form 7: Load scripts and styles only when there is shortcode? [closed]

This isn’t based on shortcode detection, but you could try // Add the Contact Form 7 scripts only on the contact page function deregister_cf7_js() { if ( !is_page(‘contact’)) { wp_deregister_script( ‘contact-form-7’); } } add_action( ‘wp_print_scripts’, ‘deregister_cf7_js’ ); function deregister_ct7_styles() { wp_deregister_style( ‘contact-form-7’); } add_action( ‘wp_print_styles’, ‘deregister_ct7_styles’); from http://wptheming.com/2009/12/optimize-plug-in-script-wordpress/ I think you could change the wp_print_styles … Read more