WordPress.org

Ready to get started?Download WordPress

Forums

Include PHP (Poll) In Post (3 posts)

  1. MarquisEXB
    Member
    Posted 8 years ago #

    I'd like to insert a poll into a post, instead of a sidebar. I'm using Democracy, which just requires the following line:

    <?php jal_democracy(); ?>

    However when I save it in WP, it puts a space before the first question mark, and just shows up as text. How can I put php into a post?

  2. masquerade
    Member
    Posted 8 years ago #

    Use the RunPHP or PHPExec plugins.

  3. Beel
    Member
    Posted 8 years ago #

    Or David Chait's CG-QuickPHP, then you would just enter:
    <quickphp jal_democracy(); />

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags