WordPress.org

Ready to get started?Download WordPress

Forums

Include Me
Works perfectly! (2 posts)

5 stars
  1. pazzaglia
    Member
    Posted 11 months ago #

    This include works perfectly. It took me a minute to figure out the path but now it works flawlessly. A must-have for controlling the same content that must appear on multiple pages.

    BTW, since the instructions say to put an absolute path from the home directory I first tried using "/myinclude.txt" and it didn't work, just leave out the first slash and use "myinclude.txt" - that would be a relative path from the home directory.

    If you're like me and like to have all your includes in their own little directory then make a folder and use "myfolder/myinclude.txt"

    Thank you to the developer for making my life easier with such a simple tool!!

    Ciao,

    L

  2. Stefano Lissa
    Member
    Plugin Author

    Posted 11 months ago #

    Hi, a relative path should be relative to the blog folder, while an absolute path can be used to reference any file on the file system.

    Probably I wrongly wrote the documentation... :-)

    Stefano.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.