• Hi everyone.

    Please have a look at my code: https://wordpress.pastebin.com/VNt7wtF3

    What I am trying to do is to query a custom post type named “front page item” and then display an image from my custom post types.

    The code as it is only succeeds to display the title and excerpt of my ‘front page items’.

    How do I:
    1. Select only an image from each item? (Say an attached imaged or even one specified in the custom fields).

    2. How would I select only custom post items from a defined custom taxonomy?

    Thank you so much. I’m pretty new to php and wordpress but I’m learning by doing.

  • The topic ‘Display Image From Custom Post’ is closed to new replies.