How to insert html into all my Wordpress blog posts?

5 replies
  • SEO
  • |
Hey all,

I've got some basic html that formats the font, alignment and uses an image. I want to insert this into every single Wordpress blog post at the bottom of each posts.

How can I do this? Is there a plugin that will do this for me?

Appreciate your help,

Nick
#blog #html #insert #posts #wordpress
  • Profile picture of the author .Fernando
    You can use "PHP Include" plugin or you can change the template in theme "editor" page at your Wordpress Admin.

    Obviously for "PHP include" you will need a PHP file, but you just need change the extension and all will be fine.
    {{ DiscussionBoard.errors[3311156].message }}
  • Profile picture of the author Therese
    There's a free wordpress plugin called Quick Adsense which will probably do it. You can use it to insert whatever you want, not just adsense.
    {{ DiscussionBoard.errors[3311273].message }}
    • Profile picture of the author Nick Brighton
      Originally Posted by Therese View Post

      There's a free wordpress plugin called Quick Adsense which will probably do it. You can use it to insert whatever you want, not just adsense.
      Perfect! Thanks a lot, appreciate you help.

      Nick
      {{ DiscussionBoard.errors[3311671].message }}
      • Profile picture of the author TZ
        Originally Posted by Nick Brighton View Post

        Perfect! Thanks a lot, appreciate you help.

        Nick
        Or even better...hardwire the Adsense code, and or HTML code to your theme template(s).

        I don't put Adsense on the home page of most of our blogs - just the landing pages. So to do that;

        Backup your Wordpress Theme's SINGLE.PHP file on your desktop FIRST.

        - Then go to your WP Dashboard and click the editor link in your Appearance Settings menu
        - then on the right hand side, click the single post template (single.php)

        Then edit this template with your PHP changes, HTML changes, Adsense code, Chitika Code....whatever. Trial and error until you get it JUST way you want it.

        If you mess it up, simply FTP the single.php file you backed up on your desktop, back into your theme folder - all good again.

        What I like about this way of doing it is you maintain your WP page load speed - the more plugins you have running, the slower your load speed. (usually)

        NOW WARNING...if your blog has over 3000 unique hits a day, trial and error will cost you $$.....so then you can trial and error theme on a different domain that has little or no traffic until it's perfect - then load it up and presto - FAST loading, beautiful layout and TOTALLY unique theme in the eyes of Google.

        Hope this helps somewhat.
        Signature

        $php_coding = "consistent cash";

        echo ("Give me" . " " . $php_coding . "!");

        {{ DiscussionBoard.errors[3312216].message }}
  • Profile picture of the author Nick Brighton
    Sure, thanks a lot, I'll be trying both approaches.

    Thanks guys!
    {{ DiscussionBoard.errors[3312308].message }}

Trending Topics