Ticket #226: README.txt.diff

File README.txt.diff, 1.3 KB (added by MikeLittle, 7 years ago)

Patch to update documentation

  • README.txt

     
    7474 
    7575It's compatible with Staticze Reloaded. From their FAQ: 
    7676 
    77 There are two 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: 
     77There 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: 
    7878 
    7979`<!--mfunc function_name('parameter', 'another_parameter') --> 
    8080<?php function_name('parameter', 'another_parameter') ?> 
     
    8888 
    8989That will include file.php under the ABSPATH directory, which is the same as where your `wp-config.php` file is located. 
    9090 
     91To include a file from outside your wp directory or from an external site use 'pclude' like this: 
    9192 
     93`<!--pclude http://example.com/getsomecontent.php--> 
     94<?php include_once('http://example.com/getsomecontent.php'); ?> 
     95<!--/pclude-->` 
     96 
    9297= I removed WP-Cache and now Wordpress does not work = 
    9398 
    9499This occurs because Wordpress still try to run `advanced-cache.php`. Remove the following line to you wp-config.php` file: