Mat Gargano
Forum Replies Created
-
Forum: Plugins
In reply to: [Cryptocurrency Portfolio Tracker] Parse error: syntax error, unexpected:Ok I’ll take a look tomorrow and get back to you. This seems to be an issue with carbonfields which is a dependency and not my plugin directly.
Forum: Plugins
In reply to: [Cryptocurrency Portfolio Tracker] Parse error: syntax error, unexpected:What’s the error now?
Forum: Plugins
In reply to: [Cryptocurrency Portfolio Tracker] Parse error: syntax error, unexpected:Ah. I am willing to bet your host is using a version of PHP < 5.4
PHP 5.3 stopped being supported on August 14, 2014 — can you see if your host will upgrade your PHP version?
Forum: Reviews
In reply to: [Cryptocurrency Portfolio Tracker] #1 WordPress Crypto Tracker. DOWNLOAD NOW!Your words are too kind! Thank you!
Forum: Reviews
In reply to: [Easy Weather Widget] Well constructed pluginYou’re too kind!
Forum: Plugins
In reply to: [Easy Weather Widget] API Calls and CachingHowdy. I believe I am caching using WordPress transient api for 10 minutes. Let me know if you are seeing otherwise.
Thanks for the kind words!
Mat
I’m pretty sure that the service I am using, since it is free, is not very good. I plan to rewrite this plugin as soon as I have time. This will incorporate a service that is more reliable.
Forum: Plugins
In reply to: [Co-Authors Plus] coauthors_wp_list_authors sorting and positioningok so, this is untested but *should* work. it also may not be the most efficient way of doing things.
This sorts by display_name if you want to sort by another property, change display_name to the property in the line
$sorted[$item->display_name][] = $item;
Note that both objects (the ‘mock’ user object and the WP_User object must have the same properties for this to work, also note how the WP_User object uses the magic method __get().
function coauthor_sort( $authors ) { $sorted = array(); foreach ($authors as $item) { $sorted[$item->display_name][] = $item; } uksort($sorted, "strnatcasecmp"); $sorted_authors = array(); foreach ($sorted as $subArray) { foreach ($subArray as $item) { $sorted_authors[] = $item; } } return $sorted_authors; } add_filter('coauthors_wp_list_authors_array','coauthor_sort');
Hope it helps.
By the way, love the avatar, I was never able to kill that boss who’s head falls off when you punch him.
Forum: Plugins
In reply to: [Co-Authors Plus] coauthors_wp_list_authors sorting and positioningMy pleasure. It was merged into VIP, it doesn’t look like they update this plugin as quickly. You can use composer and pull in the git repo if you are using it for dependency management.
Forum: Plugins
In reply to: [Co-Authors Plus] coauthors_wp_list_authors sorting and positioningFunny. I am looking to do the same thing. I submitted a [pull request to the repo](https://github.com/Automattic/Co-Authors-Plus/pull/239) for the ability to filter the author array returned from get_terms. If this gets pulled, it’d be as simple as adding a filter on
coauthors_wp_list_authors_array
and filtering that array into the order that you want it. Until then…I just replied to your SO post as well.
Forum: Plugins
In reply to: [Super Recent Posts Widget] Shortcode or manual template call?closing…
Forum: Plugins
In reply to: [Easy Responsive Carousel] Just Not Workingclosing…
Forum: Plugins
In reply to: [Super Recent Posts Widget] Add image and excerpthey boxcandy,
you can do this with a customized template, look at the notes. if you can’t figure out how to do it feel free to shoot me an email, my first initial, last name at gmail.com
Thanks,
MatForum: Plugins
In reply to: [Super Recent Posts Widget] Shortcode or manual template call?Not yet, but I will consider doing that, great idea!
Forum: Plugins
In reply to: [Easy Responsive Carousel] Just Not WorkingWhat do you mean?