Posts by butterflymedia

118 posts
  • Has been part of the Envato Community for over 4 years
  • Made it to the Authors' Hall of Fame
  • Has sold $40,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+5 more
butterflymedia says

Any chance for an Android version?

118 posts
  • Has been part of the Envato Community for over 4 years
  • Made it to the Authors' Hall of Fame
  • Has sold $40,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+5 more
butterflymedia says

Could the theme used for http://nyfdublin.com/ be sold on ThemeForest? What do you think of it design-wise?

Currently, the theme has a custom homepage template, category template, single post template, and two custom templates for news and static pages.

The theme requires 2 plugins, which could be either bundled or installed separately (using the TGM plugin).

118 posts
  • Has been part of the Envato Community for over 4 years
  • Made it to the Authors' Hall of Fame
  • Has sold $40,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+5 more
butterflymedia says
118 posts
  • Has been part of the Envato Community for over 4 years
  • Made it to the Authors' Hall of Fame
  • Has sold $40,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+5 more
butterflymedia says

A 5-star WordPress plugin – http://codecanyon.net/item/personal-livescore/5218575 – newly updated for WordPress 3.9 and above. Tested with WordPress 4.0-beta3.

118 posts
  • Has been part of the Envato Community for over 4 years
  • Made it to the Authors' Hall of Fame
  • Has sold $40,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+5 more
butterflymedia says

Well, actually I revisited the first function and replaced “post” with ”’post’”. It seems that it was an old function and WordPress updated the query in the mean time. So, ‘post’ should be quoted.

It works, check out the page – http://cghubs.com/our-artists/

118 posts
  • Has been part of the Envato Community for over 4 years
  • Made it to the Authors' Hall of Fame
  • Has sold $40,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+5 more
butterflymedia says

Hi,

I am a little unclear as to what you are trying to achieve – Are you asking for the query to be ordered by total posts including custom post types, or total posts of a certain custom post type?

You can try to replace the where clause of the query by hooking to pre_user_query.

function user_query_count_post_type($args){ $args->query_from = str_replace(“post_type = post AND”, “post_type IN (‘post’,’cpt’) AND ”, $args->query_from); } Usage ex:

add_action(‘pre_user_query’,’user_query_count_post_type’); $users = get_users(‘orderby=post_count’); remove_action(‘pre_user_query’,’user_query_count_post_type’);

I have already tried that and it’s not working.

I have this page – http://cghubs.com/our-artists/ – and I want to sort users by the number of custom post types they published.

118 posts
  • Has been part of the Envato Community for over 4 years
  • Made it to the Authors' Hall of Fame
  • Has sold $40,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+5 more
butterflymedia says

I’m also interested in this, if anyone knows a solution.

118 posts
  • Has been part of the Envato Community for over 4 years
  • Made it to the Authors' Hall of Fame
  • Has sold $40,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+5 more
butterflymedia says

Thank you for your kind words!

I just updated one of the plugins, doing some KickStarter.com campaign work. Check out ImagePress.

Getting ready for the next one!

118 posts
  • Has been part of the Envato Community for over 4 years
  • Made it to the Authors' Hall of Fame
  • Has sold $40,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+5 more
butterflymedia says

Thank you guys and girls!

I’ll work harder now! ;) :asleep:

118 posts
  • Has been part of the Envato Community for over 4 years
  • Made it to the Authors' Hall of Fame
  • Has sold $40,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+5 more
butterflymedia says

I’m a daddy now, my baby is 19 days old!

\\

I had to stop from working on my CodeCanyon projects for a while, but now I’m back! I have released two new versions of my plugins, and I’m enjoying my newfound fatherhood.

by
by
by
by
by
by