Is there a Plugin to add a code to posts automatically?

Discussion in 'WordPress' started by Alevoor, Jul 28, 2010.

  1. #1
    Hi all,

    I am searching for a plugin to use on my wordpress blog to add a line of code at the beginning and end of all posts. I need it to do the job all automatically after setting it up.

    Can someone tell me if this is available, please?

    Thanks in advance
     
    Alevoor, Jul 28, 2010 IP
  2. zhoom

    zhoom Peon

    Messages:
    388
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What exactly do you want to put in at the beginning and end of each post?

    You could probably use a php include in your template do this.
     
    zhoom, Jul 28, 2010 IP
  3. Alevoor

    Alevoor Active Member

    Messages:
    1,573
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    80
    #3
    The simple html codes like
    <!-- Article Start -->
    <!-- Article End -->
    and a similar one for the author box
     
    Alevoor, Jul 28, 2010 IP
  4. GIF

    GIF Peon

    Messages:
    391
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I also want such kinda plugin for my Blog, is there any plugin available?
     
    GIF, Jul 29, 2010 IP
  5. bablu

    bablu Peon

    Messages:
    277
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    you can use adsense integrator or post layout plugin
     
    bablu, Jul 29, 2010 IP
  6. Thibaut

    Thibaut Well-Known Member

    Messages:
    886
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    140
    #6
    Thibaut, Jul 29, 2010 IP
  7. zhoom

    zhoom Peon

    Messages:
    388
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #7
    You can use a simple php include to add anything into your theme template. Here is a simple php include tutorial: http://www.tizag.com/phpT/include.php

    The tutorial includes a menu, but you can modify it to suit your needs.
     
    zhoom, Jul 29, 2010 IP
  8. Alevoor

    Alevoor Active Member

    Messages:
    1,573
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    80
    #8
    I will check them up all. Thank you all
     
    Alevoor, Jul 29, 2010 IP
  9. dcristo

    dcristo Illustrious Member

    Messages:
    19,796
    Likes Received:
    1,201
    Best Answers:
    7
    Trophy Points:
    470
    Articles:
    5
    #9
    You should be able to add it manually on the single posts template of your theme.
     
    dcristo, Jul 30, 2010 IP