WordPress.org

Forums

PHP Code for posts
posting an entire page of html (3 posts)

  1. cactusknight
    Member
    Posted 1 year ago #

    All I am trying to do is insert a page which doesn't work when inserting it into the wordpress page editor.

    I am a newbie at php, so I used this for the snippet but I am not sure where to put the actual php file containing all the information I want to transfer.

    <?php
    include 'krstalservices.php';
    ?>

    I really appreciate anyone's help! Thank you!

    https://wordpress.org/plugins/php-code-for-posts/

  2. Tigzy
    Member
    Posted 10 months ago #

    Hello
    I got the same issue. I want to include a whole project in PHP (Google Charts PHP wrapper), is it possible?

  3. Charles Sandor
    Member
    Posted 8 months ago #

    I tried to put some code into the snippet and I get this error message on the page:

    Parse error: syntax error, unexpected '<' in /home/canadian/public_html/wp-content/plugins/php-code-for-posts/PHPPostCode.php(85) : eval()'d code on line 3

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • PHP Code for posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic