bgame-hunter / wordpress-custom-content-type-manager

Automatically exported from code.google.com/p/wordpress-custom-content-type-manager
0 stars 0 forks source link

Category empty #594

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Please make sure you are including enough information to make this a valid
bug report: https://code.google.com/p/wordpress-custom-content-type-
manager/wiki/ReportingBugs

What steps will reproduce the problem? (Be *specific*)
1. Create a custom type and activate 'Enable Categories' on Taxonomies. On 
version 0.9.8.6
2. Go to category page (http://my-url/category/category-slug)
3. It will say there are no items. It worked perfectly on 0.9.7.13 version. 
It's like it wont take other custom types if it's not a typical post.

What is the expected output?
To have the category items showing on category page.

What do you see instead?
The empty category message

Does the problem continue if you disable all other plugins? (plugin
conflicts cause a LOT of problems, so please isolate the problem)
Yes. It was working on 0.9.7.13 version of this plugin.

Please copy and paste the system information that appears in a yellow
textarea when you click on "Report a Bug" on any CCTM admin screen (this
includes the version of the
plugin, the version of PHP, the version of MySQL, a list of other active
plugins etc.):
*SYSTEM INFO* 
------------------------ 
Plugin Version: 0.9.8.6-pl
WordPress Version: 4.2.2
PHP Version: 5.4.6
MySQL Version: 5.5.27-log
Server OS: WINNT
Language: WPLANG
------------------------ 
ACTIVE PLUGINS: 
 * Share Buttons by AddToAny v.1.5.9 [https://www.addtoany.com/]
 * Cimy User Extra Fields v.2.6.5 [http://www.marcocimmino.net/cimy-wordpress-plugins/cimy-user-extra-fields/]
 * Club Adecco v.0.1 []
 * Column Shortcodes v.0.6.6 [http://www.codepresshq.com/wordpress-plugins/shortcode-columns/]
 * Contact Form DB v.2.9.2 [http://wordpress.org/extend/plugins/contact-form-7-to-database-extension/]
 * Contact Form 7 v.4.2 [http://contactform7.com/]
 * Custom Content Type Manager : Advanced Custom Post Types v.0.9.8.6 [https://github.com/craftsmancoding/custom-content-type-manager]
 * Duplicator v.0.5.22 [http://www.lifeinthegrid.com/duplicator/]
 * Easy FancyBox v.1.5.7 [http://status301.net/wordpress-plugins/easy-fancybox/]
 * Post - Page Carousel v.1.2 [http://www.gtsoftltd.com]
 * iframe v.3.0 [http://wordpress.org/plugins/iframe/]
 * Media Grid v.3.111 [http://codecanyon.net/item/media-grid-wordpress-responsive-portfolio/2218545?ref=LCweb]
 * Max Mega Menu v.1.8 [https://maxmegamenu.com]
 * Post Content Shortcodes v.0.4.1 [http://plugins.ten-321.com/post-content-shortcodes/]
 * Really Simple CAPTCHA v.1.8.0.1 [http://contactform7.com/captcha/]
 * Reportes Adecco v.1.0 [http://www.indexcol.com/]
 * Show Content Only v.1.3.1 [https://katz.co/content-only/]
 * Theme My Login v.6.3.12 [http://www.jfarthing.com/extend/wordpress-plugins/theme-my-login/]
 * User Role Editor v.4.18.4 [http://role-editor.com]
 * User Specific Content v.1.0.5 [http://en.bainternet.info]
 * WEN's Responsive Column Layout Shortcodes v.1.2.5 [http://wordpress.org/plugins/wens-responsive-column-shortcodes/]
 * WordPress Popular Posts v.3.2.2 [http://wordpress.org/extend/plugins/wordpress-popular-posts]
 * Email Login v.4.6.4 [http://dentedreality.com.au/projects/wp-plugin-email-login/]
 * Idle Logout v.1.0.1 []
 * WP-Polls v.2.69 [http://lesterchan.net/portfolio/programming/php/]
 * WP Robots Txt v.1.1 [https://github.com/chrisguitarguy/WP-Robots-Txt]
 * Youtube Video List v.0.1 []
------------------------ 
CURRENT THEME: MundoAdecco2015 v.1 http://mundoadecco.com/

Original issue reported on code.google.com by LauraGon...@gmail.com on 12 Jun 2015 at 8:10

GoogleCodeExporter commented 8 years ago
I had same issue and now it's fixed. try this.
In wp-content/plugins/custom-content-type-manager/loader.php the filter 
mentioned below might be commented, so if you uncomment this add_filter this 
bug will fix.

// Enable archives for custom post types
    add_filter('request', 'CCTM::request_filter');

Original comment by ke...@zenlo.co.uk on 16 Jul 2015 at 9:40