- This topic has 11 replies, 4 voices, and was last updated 5 years, 7 months ago by
Leo.
-
AuthorPosts
-
September 12, 2020 at 1:52 pm #1440899
Alessio
Hey,
I would like to add Social Sharing Widgets directly after an image with the class
.featuredimage. I can specify Hooks or shortcodes in the plugin:

What Hook can I use to do that?
Thank you!!
September 13, 2020 at 2:53 am #1441211David
StaffCustomer SupportHi there,
is this for the Single Post ? And what layout do you have e.g Featured Image above title ?
September 13, 2020 at 7:00 am #1441386Alessio
Hi there,
I want to do that for both single posts/pages and blog posts.
I’m not generating the Featured Image via generatepress (customizer). I’m manually inserting it with the image widget in the page editor. That’s because I want the featured image to be different than the image displayed in the post.
That image is displayed directly under the page title.September 13, 2020 at 11:58 am #1441694Tom
Lead DeveloperLead DeveloperSince you’re adding it inside the content, there is no hook that the plugin can use to insert the icons below it.
You would need to keep the featured image hooked into the theme, then you could use the same hook/next hook and it would work.
September 15, 2020 at 6:34 am #1444032Alessio
Okay, thanks.
Is there a way to add a different featured image for the post and a different one for other stuff (like social media sharing/the blog page)?I’ve added an example as Private Information.
September 15, 2020 at 7:01 am #1444066David
StaffCustomer SupportIf you want to add a different image for your social sharing then you would need to use an SEO plugin – most of them offer a sharing image option.
September 18, 2020 at 12:42 pm #1449161Alessio
Ah alright, I’ve found an option for that in rank math.
How do I get a featured image for the Blog-Page which differs from the featured image on the Post, though?September 18, 2020 at 12:44 pm #1449167Leo
StaffCustomer SupportHow do I get a featured image for the Blog-Page which differs from the featured image on the Post, though?
Not sure if I fully understand. Is this still for URL sharing?
Could you not set a specific image for the blog page in RankMath?
September 18, 2020 at 12:50 pm #1449179Alessio
No, this is for my website itself.
I want the featured image on the blog page:

to be different from the image on the post itself:
September 18, 2020 at 12:53 pm #1449183Leo
StaffCustomer SupportAny chance you can start a new topic for a new question so it’s easier for us to track?
Thank you 🙂
September 18, 2020 at 12:54 pm #1449185Alessio
Sure, I’ll do that!
September 18, 2020 at 12:54 pm #1449186Leo
StaffCustomer SupportThanks 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.