Insert a Template Into Every WordPress Post With In-Post Template

wordpress templatesAs many bloggers out there probably know, it can be very annoying to try and create updates on your blog that are perfectly formatted or that include certain elements (like pictures or ads) into every post. Sometimes, when you’re tired and trying to get something written to your blog as quickly as possible, it’s very easy to forget those formatting issues.

I started my quest for a solution because in all of my blogs I always insert a Google Ad and a picture immediately following the “more” marker. This is a technique that a lot of bloggers use in order to break up the text of any blog entry. Some people insert their own banner image that might promote another part of the website, while others place ads or just imagery to spruce up the post.


The problem is that once you find a perfect format for formatting each post, you’d have to remember to type in that code or insert the picture every time you write a new entry. Not long ago, I wrote about pre-formatting blog posts using the Firefox plugin Scribefire – but sometimes I like to edit directly in WordPress. Thankfully, I discovered an awesome WordPress template plugin called In-Post Template, which will automatically inserts template information into the post for you.

Setting Up The In-Post Template Plug-In

There’s nothing complicated about setting up the In-Post template. Like most other WordPress plugins, all you have to do is FTP the plug-in folder into your WordPress “plugins” folder. Next, go into the plugins area in your WordPress admin panel and activate the In-Post Template plugin.

wordpress templates

Under settings, click on “In-Post Template,” and you’ll see a very simple form to fill out. There are just two text fields and one drop-down box.

wordpress page template

Before we get into the template configuration, I’d like to show you what sort of thing you have to do if you don’t have a template in order to incorporate ads, pictures or anything else into every post you write. Here, I add an image on the right and an ad on the left directly after the “more” marker. With ads, you have to do it after so that your main blog page isn’t filled with 10 or more Google Ads (Google has a limit on the number of in-page ads).

wordpress page template

Instead of typing this code into every single post, you can place it into the “In-post Content” inside the In-Post Template settings. If you don’t use the “more” marker on your blog, the In-Post template still lets you add formatting at the beginning or end of your post.

wordpress page template

For example, if you want to append a bio to every post, just change “Ignore” to “After Post” and type in the information that you’d like appended to every blog post. Now that I’m using the In-Post template, I don’t have to worry about copying and pasting all of that code. I just place the “more” marker and it all gets inserted automatically.

wordpress template

Here’s the final post with the content automatically inserted. You can do this for your own banners, a preface for every post, a bio at the end of every post – or any other content you are sick of pasting into your blog entries to keep things formatted and consistent.

wordpress templates

The pros of this WordPress template plugin is that it’s one of the easiest I’ve ever seen. There’s virtually no setup – you just add your content and tell the plugin where to place it. The cons of the plugin are that you can’t do all three at once – you can either use the more marker to insert content in the middle of your post, or insert content at the beginning or end. You can’t do all three.

Beyond that, I’ve found the plug-in invaluable for my own needs, and for anyone that needs to insert one section of content into every blog post, this little tool will really save a lot of time.

Have you ever tried the In-Post Template and do you like it? Do you know of any other helpful WordPress template plugins? Share your insight in the comments section below.

Image credit: Svilen Milev


MakeUseOf Recommends

Ryan Dube

Ryan Dube is a freelance writer and Electrical Engineer and SEO expert. His writing focuses on science and tech investigations. Visit him at TopSecretWriters.com or on Google Plus.

The comments were closed because the article is more than 180 days old.

If you have any questions related to stuff mentioned in the article or need help with any computer issue, just ask it on MakeUseOf Answers.

Hide 21 Comments

  • zcw1230wwa October 13, 2010
    0 likes

    erek.ta2o.net

    | Like
  • Ken_lim2932 October 13, 2010
    0 likes

    More blogger tips on http://www.enforen.com

    | Like
  • Aibek October 13, 2010
    0 likes

    Ryan,

    I am wondering if it’s possible to use the plugin to auto-insert say Adsense ads (or any other content) right under the more tag in the article?

    | Like
    • Ryan Dube October 13, 2010
      0 likes

      Yes Aibek – that’s exactly what I use it for. However, I didn’t want to mention Adsense ads since I know how you feel about those “kinds” of articles. :-)

      | Like
      • Aibek October 14, 2010
        0 likes

        thanks, I am going to make use of this :-)

        | Like
  • Aibek October 13, 2010
    0 likes

    Ryan,

    I am wondering if it’s possible to use the plugin to auto-insert say Adsense ads (or any other content) right under the more tag in the article?

    | Like
  • Binoy xavier October 13, 2010
    0 likes

    Will this conflict with hooks in Thesis theme?

    | Like
    • Ryan Dube October 13, 2010
      0 likes

      Binoy – it depends if it uses the “more” marker…if the Thesis theme does use it then I assume one of two things will happen, either one will override the other, or both will insert content after the marker in which case you could end up with a jumbled mess… :-)

      | Like
  • Mr.Ven October 13, 2010
    0 likes

    Nice plugin, which makes the work simpler especially in adding code specific to a page instantly. This plugin helps a lot for bloggers to quickly monetize their HOT pages which gets more traffic :-)

    | Like
    • Ryan Dube October 13, 2010
      0 likes

      Mr. Ven – I agree completely. :-)

      | Like
  • Ryan Dube October 13, 2010
    0 likes

    Yes Aibek – that’s exactly what I use it for. However, I didn’t want to mention Adsense ads since I know how you feel about those “kinds” of articles. :-)

    | Like
  • HS October 13, 2010
    0 likes

    Great article. I’m wondering, though, is there a way to add custom widgets to your blog page? For instance, I’m trying to add my “mini etsy” (http://www.etsy.com/shop/hswin10) to my blog (http://therottenpersoninyou.wordpress.com/) but I can’t seem to figure out where to add the java code, is the only way to add this through editing the css?

    | Like
  • HS October 13, 2010
    0 likes

    Great article. I’m wondering, though, is there a way to add custom widgets to your blog page? For instance, I’m trying to add my “mini etsy” (http://www.etsy.com/shop/hswin to my blog (http://therottenpersoninyou.wo… but I can’t seem to figure out where to add the java code, is the only way to add this through editing the css?

    | Like
  • Ryan Dube October 16, 2010
    0 likes

    Hi HS – it depends where you want to add the widget and what kind of blog you have. What’s your blogging platform?

    | Like
  • Lynn November 22, 2010
    0 likes

    thanks for the great instructions and the love your site :)

    I installed this plugin and it works – except!! it is not adding to posts on the main page – only to the pages of the posts. How can I make it appear in everypost – even on the index page?

    | Like
  • Lynn November 22, 2010
    0 likes

    thanks for the great instructions and the love your site :)

    I installed this plugin and it works – except!! it is not adding to posts on the main page – only to the pages of the posts. How can I make it appear in everypost – even on the index page?

    | Like
  • Amit Cohen | Link Broker November 24, 2010
    0 likes

    Yeah, it a cool tool.
    But what you do when you want to use more then one template?
    Is there a way to use multiple templates and let WP insert randomly in to the post?

    | Like
  • Amit Cohen | Link Broker November 24, 2010
    0 likes

    Yeah, it a cool tool.
    But what you do when you want to use more then one template?
    Is there a way to use multiple templates and let WP insert randomly in to the post?

    | Like
  • Loc_im December 6, 2010
    0 likes

    Does it work on Thesis theme?

    | Like
  • Delroy A. Whyte-Hall December 24, 2010
    0 likes

    I love your post. I just followed it, and installed in-post-template plugin to my wordpress blog. The only draw back I have it that you have to physicially insert the code in the post itself. Neither can you get the ad aligned to the left. It just stays on the right. Otherwise it suits my immediate need until find something that can be configured to completely suit my needs.

    Delroy A. Whyte-Hall
    http://www.whytehallpr.com

    | Like
  • Delroy A. Whyte-Hall December 23, 2010
    0 likes

    I love your post. I just followed it, and installed in-post-template plugin to my wordpress blog. The only draw back I have it that you have to physicially insert the code in the post itself. Neither can you get the ad aligned to the left. It just stays on the right. Otherwise it suits my immediate need until find something that can be configured to completely suit my needs.

    Delroy A. Whyte-Hall
    http://www.whytehallpr.com

    | Like