• I am looking to attach a common element at the bottom of all of my blog posts much like an Author plugin. I want to be able to use an image that isn’t my gravatar, a header that isn’t my name and of course a paragraph.

    Is there anything like this? Thanks.

Viewing 1 replies (of 1 total)
  • You can do this by adding some HTML code into your template file/files (depending on your theme and how it’s set out). If you’re looking at using it for your blog posts only, then the most likely files would be (in this order):

    1. single-post.php
    2. single-*postformat*.php
    3. single.php
    4. index.php

    There could be others though depending on how your theme is set up so you should use your browsers developer tools to find the elements that you want to insert it near and you’ll be able to search for those in your editor of choice.

    Of course, you should set up a child theme for this so that your changes aren’t over-written by any future updates.

Viewing 1 replies (of 1 total)
  • The topic ‘Common blog element’ is closed to new replies.