Categories are broken
#1
Posted 26 August 2011 - 03:28 PM
#2
Posted 26 August 2011 - 03:52 PM
#3
Posted 27 August 2011 - 03:50 PM
#4
Posted 27 August 2011 - 04:03 PM
#5
Posted 27 August 2011 - 05:16 PM
Here's a link to the Sesame category, which should have only one post in it:
http://bestkidipadap...ategory/sesame/
And here's a screenshot of my categories list, which correctly reports that the Sesame category should only contain a single post:
#6
Posted 27 August 2011 - 05:26 PM
#7
Posted 27 August 2011 - 05:49 PM
The only changes that I can think of making are a metric ton of code I added to the functions.php in Base to make custom posts show up in the main loop and to make custom templates for my custom posts. But I commented all that out just now and it didn't make a difference.
The only other change I can think of, which doesn't immediately strike me as relevant, is that I recently installed the plugin WordPress Backup (Blog Traffic Exchange), which worked initially, but shortly after I installed it I noticed that my time zone was set to some place in Europe (I'm in Chicago), so my WordPress time was way wrong. Immediately after fixing the time, that Backup plugin stopped working, giving me an "Error 500 - Internal Server Error" message. To me that doesn't seem likely to be related, but it is at least something else that is currently not functioning properly. I emailed the plugin author and just figured I'd uninstall the plugin and use something else if I didn't hear back.
#8
Posted 27 August 2011 - 06:05 PM
#9
Posted 27 August 2011 - 08:28 PM
I used the plugin to change the post type of some of my books back to the default "post" post type, and that made the categories archives work properly again for those items. So I installed another plugin called Post Type Convertr to change all of my post types back to "post" and that cured everything. Well, cured everything except that I need them to be "Books", not "Posts". Converting them back into "Books" reintroduced the bad behavior.
I'm not really sure what the problem is, but I'm kind of hoping this info will make a lightbulb light up in someone's head who knows more about the inner-workings of WordPress and Platform.
#10
Posted 28 August 2011 - 03:12 PM
#11
Posted 29 August 2011 - 05:19 AM
#12
Posted 29 August 2011 - 10:47 PM
#13
Posted 30 August 2011 - 09:18 AM
You're right about the category taxonomy not being attached by default. I followed these directions in the plugin documentation to enable the 'category' taxonomy for my custom post types:
Adding Default Category and Post Tags to Custom Post Types
To enable the default Category and / or Post Tags on a custom post type all you need to do is create a new custom taxonomy with the same name as the default taxonomies.
So, for example, if you wanted to add the default categories to your Books post type, you would first create a new custom taxonomy named "category", then attach it to the Books post type.
If you wanted to add the default Post Tags to your Books post type, you would create a new custom taxonomy called "post_tag", then attach it to the Books post type.
Note: the taxonomy labels can be anything you want, but the taxonomy names must be "category" and "post_tag". If you change either of the names, they will not work.
Once you have created the new taxonomies, all already created categories and tags will be available for your custom post type.
This worked, at least in terms of making the categories box, with all my previously made categories, appear in the sidebar of the edit screen for my custom posts.
#14
Posted 30 August 2011 - 10:53 PM
#15
Posted 31 August 2011 - 06:34 PM
#16
Posted 31 August 2011 - 06:44 PM
#17
Posted 07 September 2011 - 03:24 PM
#18
Posted 07 September 2011 - 06:21 PM











