Support » Fixing WordPress » Include Custom Field IF Custom Post Type

  • I am currently using this code to show two custom post types on a page:
    http://pastebin.com/y3xk9Bxv

    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?

  • The topic ‘Include Custom Field IF Custom Post Type’ is closed to new replies.