Adding a piece of code after every blog post

  • GamingYeti


    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


    Kenneth John Odle


    Use the after_content action hook widget area.



    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 🙂


    Kenneth John Odle


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



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


    Kenneth John Odle


    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.

Do NOT follow this link or you will be banned from the site!