WordPress.org

Ready to get started?Download WordPress

Forums

Insert First Image into post (full-width) (1 post)

  1. Maraki
    Member
    Posted 1 year ago #

    Hello,

    I am looking for a simple PHP function to insert the first image from the gallery into the post (using custom post types).

    <img src="xxxxx" />

    any ideas?

    many thanks
    Andy

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.