Anyone know of a plugin for WordPress that can...

Discussion in 'Programming' started by mines, Mar 19, 2007.

  1. #1
    Hi
    Anyone know of a plugin for WordPress that can let me enter some html in another field (not part of post), and in the template include that somewhere else?

    Thanks
     
    mines, Mar 19, 2007 IP
  2. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #2
    This will work if you add it to a template.

    <?php include("filename.xxx"); ?>

    xxx can be php, inc, htm, html.

    If the file in question is in a different dirrectory then directory.filename.xxx

    If you are wanting to plug in adsense, PM me. It is fairly easy to do.
     
    Colbyt, Mar 19, 2007 IP
  3. mines

    mines Well-Known Member

    Messages:
    1,127
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    160
    #3
    Hi
    Thanks for the reply but that isn't what I am after.

    For each post, i need a different bit of code to be displayed somewhere else on the page (not as part of the post content, so i can't just add it as part of the post). Just wondering if there is already a plugin to do this ... if not i'll just end up writing my own (not hard, just enter a new field to the db, and get that field for the post where required in the template)
     
    mines, Mar 19, 2007 IP