Title: rATRIJS's Replies | WordPress.org

---

# rATRIJS

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Type Archives] [Plugin: Custom Post Type Archives] is_post_type_archive](https://wordpress.org/support/topic/plugin-custom-post-type-archives-is_post_type_archive/)
 *  Plugin Author [rATRIJS](https://wordpress.org/support/users/ratrijs/)
 * (@ratrijs)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-custom-post-type-archives-is_post_type_archive/#post-1841670)
 * This should be fixed on the v1.5 which should be available in the next few minutes.
 * Please note that function ‘is_post_type_archive’ is renamed to ‘pta_is_post_type_archive’
   so if you use it in your theme then you should change those function calls to
   call the correct function, because WordPress’s built in function won’t work with
   this plugin (it won’t return expected results).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Type Archives] [Plugin: Custom Post Type Archives] Plugin breaks contextual help in admin](https://wordpress.org/support/topic/plugin-custom-post-type-archives-plugin-breaks-contextual-help-in-admin/)
 *  Plugin Author [rATRIJS](https://wordpress.org/support/users/ratrijs/)
 * (@ratrijs)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-custom-post-type-archives-plugin-breaks-contextual-help-in-admin/#post-1918940)
 * Thanks for notifying about this bug. Will try to fix it as soon as possible and
   sorry that this bug exists.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Type Archives] [Plugin: Custom Post Type Archives] Fatal error: Cannot redeclare is_post_type_archive()](https://wordpress.org/support/topic/plugin-custom-post-type-archives-fatal-error-cannot-redeclare-is_post_type_archive/)
 *  Plugin Author [rATRIJS](https://wordpress.org/support/users/ratrijs/)
 * (@ratrijs)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-custom-post-type-archives-fatal-error-cannot-redeclare-is_post_type_archive/#post-1932105)
 * This should be fixed on the v1.5 which should be available in the next few minutes.
 * Please note that function ‘is_post_type_archive’ is renamed to ‘pta_is_post_type_archive’
   so if you use it in your theme then you should change those function calls to
   call the correct function, because WordPress’s built in function won’t work with
   this plugin (it won’t return expected results).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Type Archives] [Plugin: Custom Post Type Archives] Fatal error on line 385](https://wordpress.org/support/topic/plugin-custom-post-type-archives-fatal-error-on-line-385/)
 *  Plugin Author [rATRIJS](https://wordpress.org/support/users/ratrijs/)
 * (@ratrijs)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-custom-post-type-archives-fatal-error-on-line-385/#post-1933142)
 * This should be fixed on the v1.5 which should be available in the next few minutes.
 * Please note that function ‘is_post_type_archive’ is renamed to ‘pta_is_post_type_archive’
   so if you use it in your theme then you should change those function calls to
   call the correct function, because WordPress’s built in function won’t work with
   this plugin (it won’t return expected results).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Type Archives] [Plugin: Custom Post Type Archives] How to use wp_get_post_type_archives() function](https://wordpress.org/support/topic/plugin-custom-post-type-archives-how-to-use-wp_get_post_type_archives-function/)
 *  Plugin Author [rATRIJS](https://wordpress.org/support/users/ratrijs/)
 * (@ratrijs)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-custom-post-type-archives-how-to-use-wp_get_post_type_archives-function/#post-1755118)
 * Hi che-mat!
 * The first argument should be the rewrite slug for your custom post type. In your
   case it seems to be ‘blogs’. The second argument is the same as what you would
   use in [wp_get_archives() function](http://codex.wordpress.org/Function_Reference/wp_get_archives).
 * To sum up -> you would use this function like this:
 *     ```
       wp_get_post_type_archives('blogs', array('type' => 'monthly', 'show_post_count' => true);
       ```
   
 * If that doesn’t work, then try using ‘blog’ in stead of ‘blogs’.
 * Hope that this helps and I will try to put some examples in Faq.
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Post Type Archives] [Plugin: Custom Post Type Archives] Custom Post Type Menus](https://wordpress.org/support/topic/plugin-custom-post-type-archives-custom-post-type-menus/)
 *  Plugin Author [rATRIJS](https://wordpress.org/support/users/ratrijs/)
 * (@ratrijs)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-custom-post-type-archives-custom-post-type-menus/#post-1721693)
 * Hi – thanks for the comment.
 * Yes I think that metabox in Menu’s should be the next step. I’m trying to get
   my head around it, but I’m hoping to add it in near future releases. Just need
   some time with Google and Core code 🙂
 * Thanks again.

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