Adding a piece of code after every blog post

  • GamingYeti

    #8326

    Hi, can someone help me?

    I want to add a piece of HTML code to be added after every post. I would like it to be shown right after the post content

    Mod

    Kenneth John Odle

    #40896

    Use the after_content action hook widget area.

    GamingYeti

    #40897

    It works, but if you have an idea how to avoid this situation, than I will be more then happy 🙂 I would like the extra to appear only on at the post. I am using a child theme, so if there is a way I can get it only at the post, then I will do what I must 🙂

    Mod

    Kenneth John Odle

    #40898

    Use the widget logic plugin to control where widgets show up.

    GamingYeti

    #40899

    Thank you, have not known that such a plugin existed. Case solved 🙂

    Mod

    Kenneth John Odle

    #40900

    Yes, it’s highly useful and fairly stable. Glad it works for you!

    Marking thread as resolved. You can do this yourself as well.

Viewing 6 posts - 1 through 6 (of 6 total)

  • You must be logged in to reply to this topic.