Support » Fixing WordPress » Add PHP code to page. How to?

  • Hi all,

    I would liek to add the following bit of code to a page that I have created with WordPress

    <?php
    
    		echo php_file_tree("archive/", "[link]")
    		?>

    But it is not working, I have doen it in HTML mode and added to the beginning and to the end so it looks like this:

    <code>
        <?php
    
    		echo php_file_tree("archive/", "[link]")
    		?>
    </code>

    But nothing.

    Can anyone help?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add PHP code to page. How to?’ is closed to new replies.