Posts by butterflymedia

121 posts
  • Has been part of the Envato Community for over 5 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

your pictures don’t load.

I am in the process of adding placeholder images, they will be live tomorrow.

121 posts
  • Has been part of the Envato Community for over 5 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 there. I’m trying to get a new theme published, and I need some quick feedback.

The theme is here – http://getbutterfly.com/orangebox/ – built for WordPress. No bloated code, no options framework, just pure WordPress.

121 posts
  • Has been part of the Envato Community for over 5 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

We will develop the Android version as well, but bugfixing, performance optimization and push notifications are our priority right now.

Thanks guys! Looking forward to an Android version.

121 posts
  • Has been part of the Envato Community for over 5 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?

121 posts
  • Has been part of the Envato Community for over 5 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).

121 posts
  • Has been part of the Envato Community for over 5 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
121 posts
  • Has been part of the Envato Community for over 5 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.

121 posts
  • Has been part of the Envato Community for over 5 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/

121 posts
  • Has been part of the Envato Community for over 5 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.

121 posts
  • Has been part of the Envato Community for over 5 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.

by
by
by
by
by
by