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

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

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

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.