WordPress.org

Ready to get started?Download WordPress

Forums

Include Custom Field IF Custom Post Type (1 post)

  1. AJ Troxell
    Member
    Posted 3 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic