Ticket #226: README.txt.diff
| File README.txt.diff, 1.3 KB (added by MikeLittle, 7 years ago) |
|---|
-
README.txt
74 74 75 75 It's compatible with Staticze Reloaded. From their FAQ: 76 76 77 There are t woways to do this, you can have functions that say dynamic or include entire other files. To have a dynamic function in the cached PHP page use this syntax around the function:77 There are three ways to do this, you can have functions that say dynamic or include entire other files. To have a dynamic function in the cached PHP page use this syntax around the function: 78 78 79 79 `<!--mfunc function_name('parameter', 'another_parameter') --> 80 80 <?php function_name('parameter', 'another_parameter') ?> … … 88 88 89 89 That will include file.php under the ABSPATH directory, which is the same as where your `wp-config.php` file is located. 90 90 91 To include a file from outside your wp directory or from an external site use 'pclude' like this: 91 92 93 `<!--pclude http://example.com/getsomecontent.php--> 94 <?php include_once('http://example.com/getsomecontent.php'); ?> 95 <!--/pclude-->` 96 92 97 = I removed WP-Cache and now Wordpress does not work = 93 98 94 99 This occurs because Wordpress still try to run `advanced-cache.php`. Remove the following line to you wp-config.php` file:
