• Hello to my Favorite plugin :),
    I wasn’t asking for help for a long time ago.
    Now I need some help for a client project.
    I have almost the same issue like this trade
    List All Custom Fields
    But I need to list all not-empty custom fields made with CCTM for custom post type “project”.
    For now there is 3 custom fields. Let say Field1, Field2, Field3.
    If in future client decide to add new custom field Field4 I want template to be ready for this field.
    Because I’m basic developer, can some one give me a code snipped which will list any custom field kay and value for custom post type, please?
    I need something like this:

    Foreach CUSTOMFIELD as FIELD
    if FIELD !empty
    li
    print_custom_field key
    print_custom field value
    li

    this will be used in single-(CustomPostName).php

    Thank You in advice!
    Regards.

    https://wordpress.org/plugins/custom-content-type-manager/

  • The topic ‘How to list all custom fields made with CCTM?’ is closed to new replies.