Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Hot answers tagged

2

I'm not currently aware of other ways rather then: Creating an Instagram App Get an access token Build a small API handler Something like this to put in your functions.php: function my_instagram() { $transient_key = 'instagram_data'; $feed_data = get_transient( $transient_key ); if( false === $feed_data ) { $feed_data = json_decode(...


1

Not the best, but works well for me: (you can use this instead of what's in the question) $postcount = 0; //global $wp_query; // Uncomment if necessary. // Group the posts by category. $groups = []; foreach ( $wp_query->posts as $i => $p ) { $terms = wp_get_post_terms( $p->ID, 'show_category' ); foreach ( $terms as $t ) { if ( ! ...


Only top voted, non community-wiki answers of a minimum length are eligible