Title: Michal Mau's Replies | WordPress.org

---

# Michal Mau

  [  ](https://wordpress.org/support/users/mau/)

 *   [Profile](https://wordpress.org/support/users/mau/)
 *   [Topics Started](https://wordpress.org/support/users/mau/topics/)
 *   [Replies Created](https://wordpress.org/support/users/mau/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/mau/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/mau/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/mau/engagements/)
 *   [Favorites](https://wordpress.org/support/users/mau/favorites/)

 Search replies:

## Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] [Plugin: WordPress SEO by Yoast] crashed my site](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-crashed-my-site/)
 *  [Michal Mau](https://wordpress.org/support/users/mau/)
 * (@mau)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-crashed-my-site/#post-2447980)
 * > Please don’t support this plugin or author.
 * [@nerdxage](https://wordpress.org/support/users/nerdxage/) Hey man – you just
   made me donate to Yoast, seriously! 🙂
 * And don’t forget you are free to deactivate this plugin and choose from [925](http://wordpress.org/extend/plugins/search.php?q=SEO)
   others.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Get the current category taxonomy term name?](https://wordpress.org/support/topic/get-the-current-category-taxonomy-term-name/)
 *  [Michal Mau](https://wordpress.org/support/users/mau/)
 * (@mau)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/get-the-current-category-taxonomy-term-name/#post-1646985)
 * [@dan](https://wordpress.org/support/users/dan/) I’m not sure I understood your
   Q but take a look at following functions and their respective examples and let
   me know if you need to know more.
 * [wp_get_object_terms](http://codex.wordpress.org/Function_Reference/wp_get_object_terms)–
   Retrieves the terms associated with the given object(s), in the supplied taxonomies.
 * [get_object_taxonomies](http://codex.wordpress.org/Function_Reference/get_object_taxonomies)–
   Returns all of the taxonomy names of a defined object type
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Get the current category taxonomy term name?](https://wordpress.org/support/topic/get-the-current-category-taxonomy-term-name/)
 *  [Michal Mau](https://wordpress.org/support/users/mau/)
 * (@mau)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/get-the-current-category-taxonomy-term-name/#post-1646983)
 * … or use a native WordPress function:
    `echo get_queried_object()->name;` 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Get the current category taxonomy term name?](https://wordpress.org/support/topic/get-the-current-category-taxonomy-term-name/)
 *  [Michal Mau](https://wordpress.org/support/users/mau/)
 * (@mau)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/get-the-current-category-taxonomy-term-name/#post-1646982)
 * Happy to help guys!
    You can combine it into one-liner of course: `echo $wp_query-
   >queried_object->name;`
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Get the current category taxonomy term name?](https://wordpress.org/support/topic/get-the-current-category-taxonomy-term-name/)
 *  [Michal Mau](https://wordpress.org/support/users/mau/)
 * (@mau)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/get-the-current-category-taxonomy-term-name/#post-1646975)
 * I came up with this after inspecting the `$wp_query` object:
 *     ```
       $term =	$wp_query->queried_object;
       echo '<h1>'.$term->name.'</h1>';
       ```
   
 * And it works great for me.
 * Hope it helps somebody.
 *   Forum: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
   
   In reply to: [Filter media library by file type](https://wordpress.org/support/topic/filter-media-library-by-file-type/)
 *  [Michal Mau](https://wordpress.org/support/users/mau/)
 * (@mau)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/filter-media-library-by-file-type/#post-1833675)
 * You can add this piece of puzzle into your theme’s function.php file:
 *     ```
       function modify_post_mime_types($post_mime_types) {
           $post_mime_types['application/pdf'] = array(__('PDF'), __('Manage PDF'), _n_noop('PDF <span class="count">(%s)</span>', 'PDF <span class="count">(%s)</span>'));
           return $post_mime_types;
       }
       add_filter('post_mime_types', 'modify_post_mime_types');
       ```
   
 * Works for me.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Custom Post Type UI] Bug in Custom Post Type UI with Thumbnails](https://wordpress.org/support/topic/plugin-custom-post-type-ui-bug-in-custom-post-type-ui-with-thumbnails/)
 *  [Michal Mau](https://wordpress.org/support/users/mau/)
 * (@mau)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-custom-post-type-ui-bug-in-custom-post-type-ui-with-thumbnails/#post-1466611)
 * > I know that support for this meta box is already enabled in my theme, b/c I
   > see it on my regular post add/edit screen.
 * For me simply enabling it with `add_theme_support( 'post-thumbnails');`,
    (which
   should work for ALL post types) didn’t work, but making an array did: `add_theme_support('
   post-thumbnails', array( 'post', 'page', 'custom_post_name' ) );`
 * Well, I’m not using the discussed plugin but I thought this could be helpful 
   anyway.

Viewing 7 replies - 1 through 7 (of 7 total)