The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Include Custom Field IF Custom Post Type (1 post)

  1. AJ Troxell
    Posted 5 years ago #

    I am currently using this code to show two custom post types on a page:

    However, I would like to remove the custom field that contains an image.
    I am instead trying to make the image itself show only if the post being displayed is the custom post type Alert.

    Does anyone know of a way to do this?

Topic Closed

This topic has been closed to new replies.

About this Topic