• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2665

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

3 Ways To Display a Image From a URL Added To a Custom Field

This code enables you to add a link to the value field in your custom field meta box and display the image in any hook position.

Here’s an example of the custom field for the image URL with the link in the value field.

custom-field-image-url

You add can your images to your Media Library and copy the Media Attachment URL then paste it into your custom fields value field on any single post or page.

Or

You can paste in any external link hosted remotely.

In this example, we’ll grab the link to the image the image and display it in header using the genesis_header hook.

Register for full access

Related Code Snippets

  • Unique Header Images in Genesis

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems