wordpress re-use a block of content

Posted on 2011-05-09
Last Modified: 2012-05-11

Hi guys,

I hope someone can suggest the best way to do this?

I have box of content I have designed using CSS. This box contains text and few graphic buttons. It’s simply made to increase the visitor interest.

I am using WP 3. I would like to know how is it possible to inject/call the box within a page in page editor.

For example: I create a page and write its text w in page editor then I would like to simply call/insert the this box using a function or whatever.

I simply need to use this box and re-use everywhere I want in any of the pages.

Question by:Refael
    LVL 70

    Accepted Solution

    Hi Refael,

    You are basically talking about writing a plugin that inserts the content whenever you want it, probably via a shortcode.  It's certainly possible but requires that you have a fair amount of WordPress and PHP knowledge.

    Start your research here:
    LVL 31

    Assisted Solution

    Try this plugin, I haven't used it but it looks like it'll create the shortcode for you so you can use

    [include-page id="123"]

    Author Comment

    Thanks Guys,

    i followed this link:
    and it works fantastic with shortcodes. thank you!

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Transferring a wordpress site from a host or local dev server to another host can be a pain. So I've included my steps on how I have accomplished this task. Steps include an assumption that you have Cpanel access or Ftp access.. If you do not hav…
    Do you think that WordPress is just for blogs?  Think again!  WordPress is really a fantastic all around platform that you can use to develop websites on.  Integrated into its basic functionality is the ability to create pages using your choice of a…
    The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
    The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now