Shrinktheweb plugin problem

It looks like you are providing the [thumb] shortcode with a string that is literally ‘http://example.com’. I am guessing, but I think you need to loose the single quotes wrapping the URL: <?php echo do_shortcode(“[thumb]”.bp_profile_field_data(‘field=2’).”[/thumb]”); ?> So that you only pass the URL and no extraneous characters.

How do I reset BackWPup?

No, deactivating is not enough. A well coded plugin will normally delete its options/files when it is uninstalled. Others, as an extra feature may offer this clean-up in its own page, but that’s not common. So, you’ll need to deactivate, delete and install again. This can be short-circuited inspecting the plugin’s register_uninstall_hook or uninstall.php file, … Read more

wpdb get_var is not returning any result (verified mysql query returns only one value)

I guess meta_key is not a number, so you shouldn’t use %d in yous SQL query. $wpdb->prepare( “SELECT meta_value FROM %s WHERE user_id = %d AND meta_key = %s”,$userMeta,$user_id,$practiceKey ); // meta_key = %s not %d PS. You don’t have to escape table name in this way. You can use $wpdb->prepare( “SELECT meta_value FROM {$wpdb->usermeta} … Read more

Custom Form only for admin

Well, it won’t be easy, but you can do this in this way: Add a Custom Post Type (you can restrict access to this CPT for admin only). Use Advanced Custom Fields plugin and create custom fields template for your Custom Post Type from 1. Create a custom page template and place custom query inside … Read more

Infinite Scroll plugin on Ebuy theme

The page that you have mentioned above has the following markup <div id=”content”> <div class=”box ” id=”post-302″></div> <div class=”box ” id=”post-298″></div> <div class=”box lastbox” id=”post-296″></div> <div class=”box ” id=”post-293″></div> <div class=”box ” id=”post-265″></div> <div class=”box lastbox” id=”post-259″> <div id=”navigation”> <div class=”alignleft”><a href=”http://soballer.com/product/accessories/page/2/”>« Older Entries</a></div> <div class=”alignright”></div> <div class=”clear”></div> </div> </div> Try these: content selector — … Read more

Link Forms on WordPress

You could create a hierarchical custom post type and create a post for each form. Child forms are then set under a parent, their slug or a post meta field connected to the answers of their parent form. When the form is submitted, you use the answer to select the best matching child and the … Read more