Static Page eXtended

Major Features

Replace entire static pages
(the_content area only) with erternal files, this is done automatically (no tags required) and you may use the admin interface to manage these files.
Inline includes for external files
These file may include PHP and that PHP will be evaluated in ‘The Loop’
Inline PHP
You may include PHP directly in your article and that php will be evaluated in ‘The Loop’ too. There are however some important rules that must be followed for this to work correctly.
User Level Options
Controll what level users must be to access certain functions.
Manage most options through admin interface.
You can manage just about everything you might need to through the admin interface.
Redirect posts and articles by ID, category or title

This plugin allows you to include stand alone php pages in the place of a static page. You may write all the php you want in the stand alone file, and this script will function within the scope of The Loop. Your page title, comments, etc will also remain intact. However any Page Content will not be shown, as it is replaced by the contents of the stand alone file.

The plugin has a built in admin system for creating, editing, and deleting these stand alone files. Of course you could make the files separatley and upload them too.

You can also do inline includes on any post (blog/static page) using the syntax:
<!–#include file=”(path to your file from wp root)” –>

Downloads

Via Wordpress Plugin Directory

Commenting

Please leave only general comments and trackbacks on this page. If you want to comment on bugs and such comment on the article for the particular release you’re concerned with.

Share/Save/Bookmark

You can leave a response, or trackback from your own site.

29 Responses to “Static Page eXtended”

  1.   WordPress Plugin: Static Page eXtended by Blogging Pro Says:

    [...] June 10th, 2005 WordPress Plugin: Static Page eXtended Static Page eXtended allows you to include stand alone php pages in the place of a static page. [...]

  2. WordPress Italy » Blog Archive » Plugin WordPress: Static Page eXtended Says:

    [...] lugin WordPress: Multiply Plugin WordPress: Static Page eXtended Static Page eXtended ti permette di includere pagine php stand-alone, invece delle solite pagin [...]

  3. Aaron Brazell Says:

    What would be nice is to know if this is done via the wp-admin and, if so, are there screenshots?

  4. StanShinn.com » WordPress Plugins » Static Page eXtended Says:

    [...] n the place of a static page. You may write all the PHP you want in the stand alone file. Jixor.com - WordPress Plugins » Static Page eXtended

    posted by Stan Shinn on [...]

  5. Norm Gregory Says:

    There’s a typo:

    hhttp://jp.jixor.com/files/jp-staticpagexb2.zip

  6. jixor Says:

    Yeah, I’m fully of typos today. I think I better stop writing scripts for a while. ;)

  7. Blogging Pro China » Blog Archive » WordPress Plugin: Static Page eXtended Says:

    [...] ltimate Tag Warrior WordPress Plugin: Static Page eXtended   Static Page eXtended可以使独立的php页面输出为静态页面。 [...]

  8. Riad Says:

    I get this message when I try to load the plugin page from the Admin > Plugin page after activation.
    Can t tell you more than that.

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, …………….. and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

  9. jixor Says:

    Thats not really very helpfull. I’ll have a little look for anything obvious but otherwise I can’t do much with such an error message.

  10. Riad Says:

    Do you make any call to non-standard php function that may not be installed on the server running my Wordpress?
    This could explain the error.

    Thanks

  11. Jay Says:

    I’m getting the following errors when I activate the plugin and try and manage static pages… if I click on the manage link before activating, it displays without errors.

    Warning: ChDir: No such file or directory (errno 2) in /home/rishel/public_html/wp-content/plugins/jp-staticpagex.php on line 58

    Fatal error: Call to undefined function: get_admin_page_title() in /home/rishel/public_html/wp-admin/admin-header.php on line 4

    if I modify line 58 to an absolute path, I still get the second error

  12. rishel.org » Blog Archive » So Far, So Good Says:

    [...] /eatwatch/calendar.html is the current URL, but that might be changing if I can figure out the static page plugin I’m experimenting with. It’s a bit of a pain to get the dat [...]

  13. jixor Says:

    Yeah I think that I’ll need to sort out a few issues with paths and error checking for the next release. I might make that version 1.

  14. J. Smith Says:

    I have my blog installed in a subfolder of my root folder.

    “Create static page x” reloads the page and doesn’t do anything else. Nothing shows up in my staticpages folder. Everything else seemed to go well.

    Suggestions?

  15. kenneth s Says:

    hello

    i am looking for a way to have a link on my blog and when i click the link an already made phpscript will be shown, the phpscript is a linkregister-program that i already have used standalone (www.skrattoliv.com/radlinks)
    also do you know how to skip the links in the right column and instead choice what links to have and show them in the header instead?

  16. jixor Says:

    This is still a fairly buggy beta, however I’ll release version 1.0 fairly soon. It features more options, proper managment and options pages, better error handeling and bugfixes.

  17. Jeff M. Says:

    I was searching for a long time to be able to convert a site that I do for my local SkiClub into WP and with your plugin I was finally able to get the job done. I had some CGI pages (old EditTag script) that that the guys that do the grooming call up a form and enter in the details of grooming and post the data to a page that the public can view. On the old site the pages had to be seperate pop-up windows, well now with browsers trying to stop pop-ups I had to find a better way. STP finally solved the problem with ease. I have WP include the two external pages, allowing for a nice complete look and feel and still the ease of editing.

  18. WP Plugins DB » Blog Archive » Static Page eXtended Says:

    [...] Static Page eXtended

    Author Stephen Ingram Version 1.1 Plugin Home Visit Author Homepage Visit Download Visit Plugin License N/A Description : Ability [...]

  19. baron Says:

    hi. Thanks for plugin

    perfect.

    Regards

  20. Rimmon Says:

    I am using this plugin. I am using it to include php files in posts. However, I don’t want them to go through all the filters. Especially the one that places or in place of every newline.

    How do I disable that filter?

    I would really appreciate if you could reply to my email hrehus aT gmail . com

  21. Free-PHP-Scripts.org Says:

    Any screen shots?

  22. Thanks for this. Says:

    Thanks for this….

    Just what the doctor ordered….

  23. jixor Says:

    Please see the Wordpress plugin Directory listing for screen shots.

  24. 4webmasters » Top 1000 WordPress Plugin Authors Says:

    [...] Static Page eXtended [...]

  25. En.nicuilie.eu Blogs » Top 1000 WordPress Plugin Authors Says:

    [...] Static Page eXtended [...]

  26. svdasein Says:

    Hi - just ran into a strange one. I’m working with an older wordpress - 2.1 - and the latest static page extended.

    The strangeness is this: I’ve got one page on which I’d like to include two static pages with inline includes. The *first* one works. Subsequent to that, the only thing you can include on a page is that file - you can include it again and again, but you cannot specify a different file - you just get nothing.

    This ring any bells?

  27. svdasein Says:

    Ok - I found it.

    In function jp_staticpages and then within the conditional block with the JPSPX_INLINE_INCLUDES test, the code uses the preg_match() call to ostensibly gather a list of includes on the page. However preg_match() explicitly stops when it finds the first match - the appropriate call is preg_match_all().

    http://us2.php.net/preg_match versus http://us2.php.net/manual/en/function.preg-match-all.php

    Further, the structure returned by preg_match_all is not what the code expects - preg_match_all returns a multidimensional array, so what the code needs to do is to iterate over the elements in $inlinincludes[1][1..N] - the preg_match_all page I linked above describes the structure.

    I’ve made these changes locally and I’m able to include more than one item in a given page/post.

  28. Michale Says:

    can I get more info about this plugin ? i need him for my site. thank you

  29. jixor Says:

    Sorry, I dont quite understand what you want.

Leave a Reply