How to show top selling items on EDD

By In Others — October 12, 2016

Use this query for showing top selling items.   <?php $popular_items = new WP_Query (array( ‘post_type’ => ‘download’, ‘orderby’ => ‘meta_value_num’, ‘meta_query’ => array( ‘relation’ => ‘AND’, array( ‘key’ => ‘_edd_download_sales’, ‘compare’ => ‘>’, ‘value’ => 0, ‘order’ => ‘DESC’, ), ), ‘posts_per_page’ => 3 )); ?>



How to limit letter of WordPress post title

By In Code, Resource — October 14, 2015

How to limit letter of WordPress post title? Just replace this code <?php the_title(); ?>  with the following code. <?php if (strlen($post->post_title) > 35) { echo substr(the_title($before = ”, $after = ”, FALSE), 0, 35) . ‘…’; } else { the_title(); } ?> This code is very helpful to limit WordPress post title.


How to show total Downloads in Easy Digital Downloads (EDD)

By In Code, Resource — October 13, 2015

Follow the below instruction to show total Downloads in Easy Digital Downloads (EDD). Go to functions.php and paste this code: function edd_count_total_file_downloads() { global $edd_logs; return $edd_logs->get_log_count( null, ‘file_download’ ); } Then to bring it all together, you can get the total number of customers, products, and file downloads with the following PHP: if…


20+ Best Free WordPress Blog Themes 2015

By In Free Themes — September 08, 2015

Best Free WordPress Blog Themes may help you awesome to build stunning WordPress blog website within short time just by few minutes installing. There are many Best Free WordPress Blog Themes, But I’ve collected most impressive free WordPress blog themes list. So choose one of best WordPress free theme from my list.


Shaped – Personal Responsive WordPress Blog Theme

By In Theme — June 18, 2015

Shaped is a Personal Responsive WordPress Blog Theme and will certainly take your fashion blog to the higher level. We spent many times in researching to form the best layout and how a fashion blog should look like and we believe this WordPress blog theme will be the right choice for your blog. 


Aitasi – Responsive WordPress Coming Soon Theme

By In Theme — June 17, 2015

Aitasi is a wordpress coming soon theme and stylish and well-designed theme apt for creating an Under Construction Page for your website. This simple and functional theme is built based on the latest Bootstrap technology. This theme is especially made for building landing pages, under construction, coming soon or small businesses sites. The…