Site logo

Archived topic

Add Image

5 replies · Started by Husnain on January 28, 2021

Viewing posts 1–6 of 6

Hi,

I wanted to know how do I add one Image to all my blog posts.

I have a disclaimer image I wanted to add to all my blog posts without manually adding it to each posts and I wanted to add it under the blog featured image.

Looking forward to your reply.

Thanks
Husnain

Hi Leo,

Thank you for your message.

I am creating a hook but can seem to find an option where i can add an image from my media library to the hook.

Please can you help with this?

Thanks
Husnain

Hi there,

with the Hook Element you would have to add it manually using HTML eg.

<img class="my-custom-class" href="full_url_to_image_url" />

Or instead of the Hook element you can use a Block Element:

https://docs.generatepress.com/article/block-element-overview/

It provides the block editor with the same hook options.

Awesome!

Thank you so much for this.

You're welcome

This archived topic is closed to new replies.