Support » Fixing WordPress » Display category of a Custom Post/Taxonomy on Archive Page

  • Let me start off by showing what I’m attempting to accomplish and what I have so far.

    This is what I would like:
    And this is what I have:

    So far I have everything except for the “Series” column.

    So, currently I have a custom post type set up called “Messages” and within that are 2 Taxonomies, “Series” and “Single Messages”. The “Series” taxonomy has several post categories within it for each series that we do.
    What I want to be able to do is for the posts within the “Series” taxonomy show the category it is posted in in the last column and link to it’s category page. And if it is within the “Single Messages” taxonomy show “None”.

    Hopefully that wasn’t too confusing and someone is able to help. I’ve been searching around for a few days now and haven’t been able to find much of anything.


Viewing 2 replies - 1 through 2 (of 2 total)
  • I am not exactly sure, but I believe the series is saved as Object or Array variable, because a single post can have several taxonomies.

    So you probably have to first assign that array variable into a new one, then use PHP in_array() function to see if it’s within the “Single Messages” taxonomy.

    Somebody have to actually look into the codes, in order to create the feature for you, because it’s not possible to know how it’s coded, without digging into it.

    So basically I should plan on going without that column 🙂

    Not a big deal, it’s not completely necessary. It’s just a nice little extra that would be great to have. But if it’s way too much work than I don’t think I want to mess with it.

    Thanks anyway.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display category of a Custom Post/Taxonomy on Archive Page’ is closed to new replies.