5 replies
  • WEB DESIGN
  • |
Hi,

I would like to insert something on my post/pagewhich will repeat itself in all the post/page that I create. Meaning if I insert say and image or a banner in one page, it will repeat itself in all other post/page in the same position. Anyone can recommend a WP plug in for this? Thank you!
#plug #post or page
  • Profile picture of the author Alast
    Code:
    <?php
    
    include 'bannerimage.php';
    
    ?>
    You generally do this with a layout though (broken into parts).

    I suggest you look into here: http://www.w3schools.com/php/php_includes.asp

    EDIT: I'm not 100% sure if this is applicable to WP, or if there's an easier way to do it -- I've never faced this as WP themes normally do it for you.
    {{ DiscussionBoard.errors[8862250].message }}
  • Profile picture of the author DoubleOhDave
    I suggest this: WordPress › Wp-Insert « WordPress Plugins

    It also has other advantages like adding legal pages etc... (it's quite a multi-purpose plugin!)
    {{ DiscussionBoard.errors[8862326].message }}
  • Profile picture of the author Karleen
    Have you tried doing it using a widget? If you drag the text widget to the sidebar and put in the code for the graphic or write in the text you want on every page, it might work without using a plugin.
    {{ DiscussionBoard.errors[8863124].message }}
  • Profile picture of the author alamest
    If you are using Wordpress then use this Plugin "Whydowork Adsense" you can place your banners or anything anywhere you want in Post or Pages or even archive or even in home page

    here is the link to download the wordpress plugin

    I hope this helps you

    Thanks
    Alam
    {{ DiscussionBoard.errors[8863147].message }}
  • Profile picture of the author freeabs
    Thank you all very much for the suggestions. It has been very helpful!
    {{ DiscussionBoard.errors[8863800].message }}

Trending Topics