WordPress.org

Ready to get started?Download WordPress

Forums

[closed] Coranto SSI (2 posts)

  1. Steveng82
    Member
    Posted 7 years ago #

    I'm trying to implement Coranto SSI into my wordpress theme, and I need to know how to convert this statement into PHP

    <!--#include virtual="/coranto/news.txt" -->

    I've already tried this statement:

    <?php virtual('/=/coranto/news.txt'); ?>

    but it results in this fatal error:

    "Fatal error: Call to undefined function: virtual() in /home/u1/nospinzone/html/wp-content/themes/newsportal-10/index.php on line 12"

    any ideas?

  2. Kafkaesqui

    Posted 7 years ago #

    virtual() is a PHP function (around since PHP3):

    http://php.net/virtual

    If it's not available on your server you'll need to contact your host to find out why.

Topic Closed

This topic has been closed to new replies.

About this Topic