Look at the specified link within the featured-image in the last part of your snippet. You’ll have to update the_permalink()
with your custom link, too:
<div class="featured-image">
<a href="https://wordpress.stackexchange.com/questions/106791/<?php echo esc_url( $more_link ); ?>"><?php print_thumbnail( $thumb, $thumbnail["use_timthumb"], $title, $width, $height, '' ); ?></a>
</div> <!-- .featured-image -->
Related Posts:
- Adding images to anchors in the list created and fetched with wp_nav_menu
- Why doesn’t WP_Image_Editor save images using the Filesystem API?
- Is there a plugin to make attaching images easier?
- Managing Images for a WordPress Blog: Picasa or Flickr?
- Automatically wrap post image in div
- Custom image size not selectable in uploader
- How to remove link from an image in a post?
- Retrieving and Storing Images Linked from Other Domains on Local Server?
- Customizer image control default value showing in customizer but not on frontend
- Importing media medium setting image gallery / image attachments
- Extract & Display the REAL first image attached to a post – extend the_post_thumbnail()
- Add filename to attachment page url
- How To Add buttons to the toolbar which appears in TinyMce when you click over images
- How to add more than one RSS Feed Link for wordpress
- Image Editor does not affect custom sizes!
- How to display post title & excerpt when mouse hovers on an image?
- Automatically add image caption with values from a post parent field?
- Customize the WordPress Default Gallery Output
- How to use
- Is there a way to dynamically get to your uploads folder?
- Using Fullscreenr with a wordpress blog – weird bug
- Get Image from Media Library with the Title
- Get Custom Logo Alt Text
- Using custom image resizing script in a page
- Background image not appearing
- Best way to allow overwriting images shipped with the plugin?
- NextGEN Gallery – open all images on page in fancybox [closed]
- Featured Image If Else Condition
- If custom image header does not exist display text header
- How do I list custom taxonomy terms with the links?
- Is there a possiblity to replace profile image gravatar with custom user images
- How do I create a root link in wordpress to a PDF file?
- Position a hard-coded menu item
- Show custom field value as a link
- How to auto add nofollow to links in custom field?
- Custom theme – how to link the image without posting it
- Trying to set specific image dimensions and crop with ACF
- Customizing the gallery of the post correctly
- Personalized Gallery what are my options?
- Open login logo URL in new tab
- Best practice to generate token for email action
- adding fade on mouseover to images
- New to WP: links on static homepage are not working
- Lightbox not showing image caption
- WordPress 5: including larger thumbnail image sizes in srcset than I have set
- POST 429 Error when trying to place more than 20 images into post at once
- How to change custom link of subpages from of localhost to website
- How to add the option to choose between sizes for featured image within post editor?
- WordPress 404 Images – Images not found after deleted from media
- remove or hide Link Relationship (XFN) form Menus tab
- Structure of post types for TV Shows and episodes
- Creating custom setting in add media popup
- Upload image without resizing but insert in post with resizing
- Bio comes up when the visitor clicks on a picture
- Change default “Apply Changes To” radio option when editing images
- How do I map two domains to the same wordpress installation?
- WP_Customize_Image_Control and selecting from library?
- Custom Link In WordPress Media “Attachment Details” Upload Screen
- Custom WP deactivate an email activation link sent to user’s email.
- Get a different size of Image thumbnail while working with custom metabox
- Custom image sizes ignored in WP 3.5
- Edit image alignment in WordPress twentysixteen child theme on attachment page [closed]
- Set custom banner image size with wp_customize
- How to search for replacement titles and contents, excluding image URLs
- Custom Search on media files PDF images pages posts
- WP 4.4. responsive images browser choosing the “wrong” one
- Default Image Link Removal
- What is true chmod for WordPress?
- Getting $comments outside the comment template
- get_theme_mod(); returns nothing
- Find and replace domain name on the fly?
- What is the most idiomatic way to let clients edit phrases in HTML?
- How to Register and Display Widget for Custom taxonomy
- How to change “Dashboard” text in wordpress
- How to fix the IE9/WordPress Twenty Ten Header Image Display Problem?
- How can I get the custom post type assigned to a current custom taxonomy for query?
- Unable to edit the “customize” section and the “widget” section is populating unknown code
- Blog page problems
- Installing new theme on running site
- Is there a way to add a new value into a stored custom field value?
- Good way to customize admin CSS?
- Add table to WordPress database
- Menu not appearing in custom theme
- How to redirect the home page to a custom page?
- Make the home page template my archive/category page template without code duplication
- How to create multipage form and redirect to specific URL based on inpput?
- remove screenshot.png via dashboard
- Send default WooCommerce email when switching from custom order status
- Replace image attributes for lazyload plugin on image elements with specific class
- Accept HTML in custom function
- How to access my WP site locally and publicly? [closed]
- Why, when it comes to custom background and image, does ‘The first value registered’ win?
- Unable to retrieve data from multiple WordPress websites on same server
- Slider do not add alt attribute. Cant get alt attribute from a media library!
- How to remove the tagline from the HTML ?
- Custom table or form
- Getting Custom Field value in WP_Query
- Adding Custom HTML/CSS/JS code in specific page
- Custom template not working for existing pages [closed]
- Help needed renaming custom post