WordPress.org

Forums

ezstatic problems (5 posts)

  1. Chadwick
    Member
    Posted 10 years ago #

    I'm using ezstatic but it doesn't work to well using my template. Http://chadwick.fbsdhosting.com . Does anyone know if it works for subdir's? Something like emindex.php?static=eventsem to refer to the events folder which would include another php document.

  2. bayoujac
    Member
    Posted 10 years ago #

    Hi Chadwick -

    I just added this plugin last night, and am pleased to tell you that I had no problem getting it to work with subdirectory:
    index.php?static=folder/file

    Mine is pointed to .html files, but I'm sure .php would work too.

    Hope that helps!

  3. ringmaster
    Member
    Posted 10 years ago #

    Yes, EzStatic should work fine with subdirectories. If you point it straight at a directory (rather than a file in the directory) then it looks for an index file to use.

    Of course, the files have to exist if you want to use them. If your EzStatic URL is this:
    http://chadwick.fbsdhosting.com/index.php?static=events

    Then you must have a valid page here:

    http://chadwick.fbsdhosting.com/events

    Your site doesn't currenlty seem to have this.

  4. Chadwick
    Member
    Posted 10 years ago #

    Yeah i was unsure if it worked like that. But thanks for the heads up. I've tried to use ezstatic to include the wp-login.php in to my template but all i get is a white background when the link is clicked, and doesn't show the login form.

  5. ringmaster
    Member
    Posted 10 years ago #

    That's probably not a good idea. Generally speking, you shouldn't use EzStatic to insert WordPress core files into your layout.

    You could create a new form that has the same fields as wp-login.php that posts to wp-login.php, and then include that via EzStatic, but not the actual login file.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.