Upload the file to your Media Library and link to it using HTML anywhere in your theme.
<a href="http://www.example.dev/wp-content/uploads/2014/01/logo.jpg">Download this image</a>
Related Posts:
- How to use SRCSET with get_the_post_thumbnail()?
- How to make thumbnail image fit into a div where image dimentions are completely different?
- ‘Post-thumbnails’ feature does not seem to register
- Else/If Statement to Display Photo Descriptions
- How to Make Thumbnail of Post Stay Animated
- How to correctly add the featured immage (thumbnails) support in a WP theme? Why I can’t add a featured immage?
- How do I change/modify the_post_thumbnail(); html output?
- What’s the best way to use the Featured Image for responsive web design?
- PHP/Manual use of images? – 2 Questions
- retrieve thumbnail from post ID of best selling product in category
- WordPress remove EXIF Data from specific Thumb
- Adding Featured Image to Post programatically
- How to upload imagick resource to media in wordpress
- How to add a featured image to a existing post via php?
- Adding featured image via PHP
- WordPress loop specific thumbnail size
- How do I get images (with a thumbnail preview) to show in search results?
- Additional image sizes are not being generated
- fallback image for featured image
- How to get Poster (thumbnail) Image of Video
- WP Insert Post function – Insert Post Thumbnail
- Display All Post Attachments and Assign Class to the Last Image?
- Assign a picture URL to a page via PHP
- How to scale image with equal width and height without distortion?
- Featured image fallback link to permalink
- is it possible to force wordpress to always save thumbnails as ‘jpg’ not ‘png’
- How to Display Image Meta underneath EVERY image in EVERY post
- How can I show the post thumbnail from the most recent of a certain post type, in widget?
- How to restrict wp generate attachment metadata() to certain intermediate image sizes
- How can I add pagination and how can I change thumbnail size?
- Echo URL of large version of Featured Image
- hover image appears below placeholder instead of overlayed
- combine Code 1 with Code 2
- How to stop featured image thumbnail [set as background image] on blog index page just repeating same image across all posts
- Three Questions with Twenty Eleven theme
- Display related posts without a plugin
- get taxonomy thumbnail and use it as a variable in code
- WordPress function and string as variable?
- Can’t get post thumbnail to display in foreach loop
- Resize image to specific dimension (X to Y ratio)
- Apply class to every third list item? [duplicate]
- Automatically add images to a menu
- Custom Post type slider with thumbnail navigation
- Using featured image of blog archive page
- if custom field doesn’t exist, use post thumbnail instead, as image background
- Help Fallback (thumbnail)
- Get featured image with custom size outside WordPress
- How to add post thumbnail dynamically using Jquery?
- How to set a featured image (thumbnail) with PHP?
- How to change thumbnail src attribute?
- Error display post thumbnails for previous and next post
- Get the featured image url of clicked post
- Fallback image URL if no featured image exists via a shortcode function
- How to replace URL protocol using PHP?
- Call featured image url
- How to pick “full/thumbnail” images in the loop?
- Generate responsive post thumbnails of same size
- Setting a default thumbnail url if no thumbnail
- Get the alt text of the image in a array
- Trying to change featured image from 180×180 to full width on home page
- Show different size featured images (the_post_thumbnail) for 1st, 2nd and 3rd posts?
- Need to add a post’s featured image to a section on the frontpage
- I can’t set image ad fatured programatically
- Add Featured Image to Existing Post
- wp_query – Exclude the first thumbnail from lazy loading on archives
- not outputting medium size image URL
- Replace background image with post thumbnail in shortcode
- Resize post thumbnail
- How to put 2 php codes in functions.php without site crashing
- How to add WordPress Featured image in tag ..?
- WordPress generate images size after upload
- Add a default style if no Featured image is selected
- How to link all featured images to custom url in single.php for only non-logged-in users?
- How to programmatically set existing image in media library the featured image for a post in wordpress
- Having trouble with customizing blog posts on the home page
- How to link featured images in single.php for only non-logged-in users?
- Thumbnail wouldn’t scale to size properly
- Showing wordpress latest post thumbnails in slider with auto increment
- get_post_thumbnail_id returns a negative number
- Basic PHP question (displaying post title over thumbnail) [closed]
- Showing featured image of page’s child’s children page
- insert thumbnail image from php script
- Can’t put a hyperlink on Featured Post’s Image
- add class to background image
- News and Featured image
- Overwriting a Shortcode
- featured post as div background
- How to display thumbnail if post is assigned one otherwise not
- Post Thumbnail on Single (if elseif else)
- the_post_thumbnail unless video id is added
- Setting post thumbnail sizes in template file and functions.php
- PHP-Code inside Href-Tag
- add if statement to the featured image
- How to crop featured image in different sizes?
- Remove default Image Sizes
- Add attribute to featured image with filter (wp_get_attachment_image_attributes)
- Generate and upload screenshot as featured image for user-submitted post
- why css file not link?how to create permalink?
- Restricting Image Upload Sizes using ‘wp_handle_upload_prefilter’ – Stuck media progress bar when Featured Image?
- Woocommerce target first product thumbnail in loop to load a larger image