Forums

Adding custom images to homepage (1 post)

  1. danbranigan
    Member
    Posted 3 years ago #

    I've created a home.php to create a "static" homepage for my site. My client wants to be able to manage certain images that display on the homepage via the WordPress admin.

    I could create a home page or post and define custom fields - but I'd prefer to create a separate page/post for each image element so that my client can use the image uploader in WP admin, rather than have to enter a URL into a custom field.

    I've found a get_the_image plugin which seems to do something like this - but I don't want to use this outside the loop.

    e.g. get the image attached to post/page X, get the image attached to post/page Y etc.

    I'd like to use this functionality a few times on the homepage for internal banners etc.

    If anyone could help that would be great.

Topic Closed

This topic has been closed to new replies.

About this Topic