WordPress.org

Ready to get started?Download WordPress

Forums

Custom Content Type Manager
[resolved] The column shows the post ID not the title (5 posts)

  1. greattest
    Member
    Posted 1 year ago #

    I use a Relation type field in a custom content type and successfully display it in custom columns. The problem is it only shows the ID of this relation post instead of its title which I prefer. I'm not a programmer and do not know much about codes, so please tell me how to solve it by details.

    http://wordpress.org/extend/plugins/custom-content-type-manager/

  2. fireproofsocks
    Member
    Plugin Author

    Posted 1 year ago #

  3. greattest
    Member
    Posted 1 year ago #

    Thanks for response but sorry that I'm not a programmer. Can you tell me where I need to add the code in the link? Should I add these codes to the fields>relation.php? Or to a certain file under filters folder? Or to some files under include folder?

  4. fireproofsocks
    Member
    Plugin Author

    Posted 1 year ago #

    It's not intended for programmers. It's intended for anyone editing their templates. Did you generate a sample template for your custom post type? Click on the CCTM menu, view your defined post-types and click the "View Sample Template" -- it prints out usable code with output filters and arguments for you right there. It even tells you the exact name of the file to use. I really tried to make this as simple as possible.

  5. greattest
    Member
    Posted 1 year ago #

    Thanks very much. I solve it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic