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.
You can leave a response, or trackback from your own site.
June 10th, 2005 at 11:08 pm
[...] 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. [...]
June 11th, 2005 at 12:33 am
[...] lugin WordPress: Multiply Plugin WordPress: Static Page eXtended Static Page eXtended ti permette di includere pagine php stand-alone, invece delle solite pagin [...]
June 11th, 2005 at 3:11 am
What would be nice is to know if this is done via the wp-admin and, if so, are there screenshots?
June 11th, 2005 at 4:52 am
[...] 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 [...]
June 11th, 2005 at 1:57 pm
There’s a typo:
hhttp://jp.jixor.com/files/jp-staticpagexb2.zip
June 11th, 2005 at 1:58 pm
Yeah, I’m fully of typos today. I think I better stop writing scripts for a while. ;)
June 13th, 2005 at 3:51 pm
[...] ltimate Tag Warrior WordPress Plugin: Static Page eXtended   Static Page eXtendedå¯ä»¥ä½¿ç‹¬ç«‹çš„php页é¢è¾“å‡ºä¸ºé™æ€é¡µé¢ã€‚ [...]
June 20th, 2005 at 3:16 am
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.
June 21st, 2005 at 12:01 pm
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.
June 22nd, 2005 at 7:40 am
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
June 29th, 2005 at 2:01 am
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
June 29th, 2005 at 2:25 am
[...] /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 [...]
June 29th, 2005 at 12:32 pm
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.
July 28th, 2005 at 1:44 pm
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?
September 2nd, 2005 at 3:53 am
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?
September 25th, 2005 at 6:38 pm
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.
November 12th, 2005 at 6:13 am
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.
May 20th, 2007 at 5:44 pm
[...] Static Page eXtended
Author Stephen Ingram Version 1.1 Plugin Home Visit Author Homepage Visit Download Visit Plugin License N/A Description : Ability [...]
October 3rd, 2008 at 11:02 pm
hi. Thanks for plugin
perfect.
Regards
October 15th, 2008 at 9:19 am
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
October 27th, 2008 at 1:32 pm
Any screen shots?
October 31st, 2008 at 4:03 pm
Thanks for this….
Just what the doctor ordered….
November 2nd, 2008 at 4:43 pm
Please see the Wordpress plugin Directory listing for screen shots.
December 31st, 2008 at 12:05 pm
[...] Static Page eXtended [...]
December 31st, 2008 at 6:17 pm
[...] Static Page eXtended [...]
January 11th, 2009 at 6:39 pm
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?
January 11th, 2009 at 7:56 pm
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.
February 2nd, 2009 at 10:46 am
can I get more info about this plugin ? i need him for my site. thank you
May 28th, 2009 at 12:41 am
Sorry, I dont quite understand what you want.