weDocs – A free documentation theme for WordPress
A nice, clean, responsive and free documentation theme for WordPress
web application developer
A nice, clean, responsive and free documentation theme for WordPress
Update: Dokan has been released “Dokan” – an upcoming WordPress app theme for building multi-seller e-commerce store, powered by WooCommerce. Me and my team are working on this for couple of months and it’s going to be released at end of this month or in first half of February. It’s using WooCommerce as it’s backend … Continue reading Dokan – A multi-vendor e-commerce app theme is coming soon…
You can use WP_User_Query() class to fetch users by various arguments. With it’s search parameter, you can search users by these columns ‘ID’, ‘login’, ‘user_nicename’, ‘user_email’, ‘user_url’. Although you’ve to specify which columns you want perform the search. [php]$user_query = new WP_User_Query( array( ‘search’ => ‘Tareq’ ) );[/php] When searching users with the search parameter, … Continue reading Wildcard search using WP_User_Query()
Update: WP Project Manager Pro is out My team is working on the WP Project Manager plugin again for releasing a PRO version. Here are’s the proposed features:
Someone asked me in my facebook page that how could he add “Sold Out” badge in WooCommerce product. Well, here’s how: [php] add_action( ‘woocommerce_before_shop_loop_item_title’, function() { global $product; if ( !$product->is_in_stock() ) { echo ‘<span class="onsale soldout">Sold Out</span>’; } }); [/php] Paste this snippet in your themes functions.php and voila! Change the color as you … Continue reading WooCommerce sold out badge on products listing
I was thinking to build a WordPress theme based on Backbone.js for a long time and wasn’t getting enough time to do that. Yesterday I took the idea again and started quickly. Right now it’s working pretty great as expected. See it here. The theme is still in development and lots of features are left … Continue reading Backbone.js powered proof of concept WordPress theme
Your plugin broke another plugin, help me to fix it. A very common support request I get. So the problem is, something went wrong in JavaScript and it’s giving you an error. So how do you find out what error came in? Let me show you Debugging on Firefox Install firebug add-on and restart your … Continue reading Find out if there is any JavaScript error on a page
Someone asked how he could delete all the transients from a WordPress multisite, as I wrote the code for him, thought to share it here for everyone 🙂 [php] if ( is_multisite() ) { global $wpdb; $all_sites = $wpdb->get_results( "SELECT * FROM $wpdb->blogs" ); if ( $all_sites ) { foreach ($all_sites as $site) { $wpdb->set_blog_id( … Continue reading Delete all transients from your WordPress multisite
I am trying Mandrill for sending email from WordPress. It’s a nice service from Mailchimp for sending transactional mail. The best part is they allow 12,000 free mail/month 😀 The problem is, every email in WordPress is plain text. As I am using WooCommerce, the order emails of WooCommerce is HTML and Mandrill also sends … Continue reading WooCommerce order email and mandrill
Spammers are everywhere and in weDevs, every single day a lots of spammers are registering. Among of them “.pl” domains are mostly used. Enough is enough, so why not block them? Thats why wrote a function that will check the users email address and will find the country level domain (only the last part of … Continue reading Blocking user registration by country level domain in WordPress