• Hi,

    I add a custom field and I see it in every post, but I don’t want to see it in a specific category.

    Now I’m using this code

    <?php echo get_post_meta($post->ID, “custom_field”, true); ?>

    Thx
    Dyana

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to exclude a custom field for a category?’ is closed to new replies.