Site logo

Archived topic

Hook within article

5 replies · Started by Philip on August 29, 2020

Viewing posts 1–6 of 6

Is there any hook to insert content within an article (but outside of the .inside-article div)? I think I've tried all the hooks and none of them seem to place anything there. The closest I've found is generate_after_main_content, but that goes outside of the article.

Hi there,

Is there any hook to insert content within an article (but outside of the .inside-article div)?

Not sure if I understand what that means - if it's within the article then it would be within .inside-article?

I’d like it to be within the <article> element but outside of the .inside-article div. Not sure it’d that’s possible.

Unfortunately there is no existing hook there :(

What would the application be?

I'm adding a "Shop the Story" block. I don't want it to be padded within the .inside-article div, but do want it within the constraints of the article (.post) element.

That's fine though, if there's no hook I can rework the CSS and find another way.

Thanks.

Sounds good :)

This archived topic is closed to new replies.