WordPress.org

Ready to get started?Download WordPress

Forums

Modules? (5 posts)

  1. pixelsage
    Member
    Posted 9 years ago #

    I'm new to this forum, so I do not know if this has already been mentioned.
    Modules. It was available in MovableType, but I couldn't find anything on modules when I switched to WordPress.
    What are modules? They are little snippits of codes used commonly on multiple pages. For example, if I want to put an ad on my website, in order to add new ads, I'd have to go through every page and add the ad. Here's where modules come in. I create a module with the ad in it. Then I use a tag such as <module="theAd"> on every page where I want the ad. If I want to change the ad, all I have to do is change the module, and the module will be reflected on all the pages. Makes sense?
    If anyone knows of a feature like this that I have not discovered with WordPress, please let me know at ernest@pixelsage.com . Thanks!

  2. ryoken
    Member
    Posted 9 years ago #

    couldn't you just use a php include?

  3. pixelsage
    Member
    Posted 9 years ago #

    What is php include?

  4. mike
    Member
    Posted 9 years ago #

    Actually, it should be:
    <?php include(filename.ext) ?> That extension is important.

  5. pixelsage
    Member
    Posted 9 years ago #

    Thanks guys!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.