WordPress.org

Ready to get started?Download WordPress

Forums

Extra space when adding php code in a page (4 posts)

  1. cbasturea
    Member
    Posted 8 years ago #

    Hi,

    I'm trying to use a plugin (OPML renderer) in one of my pages, but when I try to add the PHP code inside the page, there is an extra blank space that's inserted between the tag and the ?, so I get something like this:

    < ?php OPMLRender('http:...','86400','page|sidebar'); ?>

    Am I doing something wrong?

    Thank you.

  2. Truth
    Member
    Posted 8 years ago #

    do you have a plugin activated that runs php on pages?

  3. niziol
    Member
    Posted 8 years ago #

    Perhaps providing a link to the page in question and to the plugin you are using would make it possible for someone to assist you.

  4. cbasturea
    Member
    Posted 8 years ago #

    Truth, thanks for your help! I use PHP Exec - but I forgot to add the <phpcode> tag :) Now it's working.

    niziol, I'm trying to install the OPML renderer on this page (now displaying "Horrific XSLT error - check logs").

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags