I would like to be able to click on the featured image of a post and have it open in the browser window. Is there any custom CSS that I could use to do that?
How to click on Featured Image and have it open
This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.
Hi Ricky
Apologies for the delay.
Unfortunately, this isn’t possible without some custom development. I looked, briefly, at the plugin directory and there wasn’t anything that jumped out at me.
If you have a little development experience we can try advise how you might achieve this using a child theme. Alternatively you could hire a developer at Codeable to assist.
You could also turn off Featured Images on the single post page from Appearance > Theme Settings > Blog > Featured Image. You could then insert the image into the post content and would have the control to link it as required. This is the easiest option.
I have a little development experience. I tried to make the code change myself but not sure how to get the feature image url. If you might give a hint on how to get that I might be able to figure it out. I need the featured image for the slider that I'm using.
If you check out content.php or content-single.php you’ll see the featured image being used there:
https://codex.wordpress.org/Function_Reference/the_post_thumbnail
Hope that helps.