WordPress.org

Forums

php block codes within post? (3 posts)

  1. FireFox
    Member
    Posted 9 years ago #

    Is there a way to add a couple of <?php ?> block codes within a post?

    the PHP exec plugin is not designed for that.

    thanks..

  2. FireFox
    Member
    Posted 9 years ago #

    oh nevermind.. it actually worked!

  3. Kafkaesqui

    Posted 9 years ago #

    "it actually worked!"

    Well, that is what it's intended for... ;)

    For future reference, there are several plugins currently which let you run PHP code from within a post's content (PHP Exec, RunPHP, CG-QuickPHP and wp-exec):

    http://priyadi.net/archives/2005/03/02/wordpress-php-exec-plugin/
    http://www.nosq.com/2004/10/runphp-wordpress-plugin
    http://www.chait.net/index.php?p=310
    http://www.navidazimi.com/projects/wp-exec/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags