WordPress.org

Forums

function (file) exclude from WP Super Cache (1 post)

  1. OlafB
    Member
    Posted 7 years ago #

    Hi all,
    i use WP Super Cache and read in the Forum from to exclude PHP from caching. Now i have in my header.php

    <!--mclude time.php-->
    <?php include(ABSPATH . 'time.php'); ?>
    <!--/mclude-->

    The time.php in ROOT exist. When i call my page first time, with no cache then the script give mi correct, when the page come cache i see in the source this:

    <!--mclude-->
    <?php include_once('/var/www/web3/html/time.php'); ?>
    <!--/mclude-->

    What is here to do?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.