avatar displays outside of targeted area

There is a native WordPress function to do exactly what it sounds like you’re trying to do. You need to replace userphoto_thumbnail($user_info, $before=””, $after=””, $attributes = array(width => ’40’, height => ’40’), $default_src=””) with get_avatar($user_info->ID,40) Check here for your future reference – http://codex.wordpress.org/Function_Reference/get_avatar

County Finder form/plugin?

Dadra, A bit off the WordPress topic, but you may want to consider using the US Census API to do your lookups. Integrating this into WP should be pretty simple, could be done by zipcode, city name, etc… and could be done with and AJAX callback all on one page. Example of what I think … Read more

Remove ‘Publish to Facebook’ checkbox for Facebook page publish plugin

That function is used to render button and it’s called inside fpp_post_submitbox_start_action(), which does some conditional check and is hooked into post_submitbox_start action. First you need to remove plugins original action and use your own with conditional to render button. See code example below. // Remove original action remove_action( ‘post_submitbox_start’, ‘fpp_post_submitbox_start_action’ ); /** * Renders … Read more

How do I stop out of stock items from appearing on my WooCommerce site when using the Layered Nav widget [closed]

// Out of stock for general woocommerce – might help someone function product_in_stock($post, $product) { if (!$product->is_in_stock()) { $STOCK = TRUE; return $STOCK; } else { return false; } } function check_if_out_of_stock(){ global $post,$product; $stock = product_in_stock($post,$product); $output=”<div class=””; $output .= $stock?”instock”:”outofstock”; $output .= ‘”>’; echo $output; } add_action( ‘woocommerce_before_shop_loop_item’, ‘check_if_out_of_stock’); function close_out_of_stock(){ echo “</div>”; … Read more