rATRIJS
Forum Replies Created
-
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).
Thanks for notifying about this bug. Will try to fix it as soon as possible and sorry that this bug exists.
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).
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).
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.
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.
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.