Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Fixing WordPress
    In reply to: Add new php file
    Thread Starter sfama

    (@sfama)

    I tried but it doesn’t work. The problem is that the test.php file returns an xml, that is the structure the swf file reads. So I cannot include the test.php file cause the xml return is displayed in the index.php page.

    So I’m looking for a way to include test.php between the template files. Or if someone tried, a different way to let communicate the swf module with php code.

    Silvia

    sfama

    (@sfama)

    Hi,
    you can add in wp-include\theme.php file in the get_home_template() function:

    $template = locate_template(array(‘youPHPstartPage.php’, ‘index.php’));

    Silvia

Viewing 2 replies - 1 through 2 (of 2 total)