Title: Extra space when adding php code in a page
Last modified: August 18, 2016

---

# Extra space when adding php code in a page

 *  [cbasturea](https://wordpress.org/support/users/cbasturea/)
 * (@cbasturea)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/extra-space-when-adding-php-code-in-a-page/)
 * 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.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Truth](https://wordpress.org/support/users/truth/)
 * (@truth)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/extra-space-when-adding-php-code-in-a-page/#post-333603)
 * do you have a plugin activated that runs php on pages?
 *  [niziol](https://wordpress.org/support/users/niziol/)
 * (@niziol)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/extra-space-when-adding-php-code-in-a-page/#post-333621)
 * 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.
 *  Thread Starter [cbasturea](https://wordpress.org/support/users/cbasturea/)
 * (@cbasturea)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/extra-space-when-adding-php-code-in-a-page/#post-333625)
 * Truth, thanks for your help! I use [PHP Exec](http://priyadi.net/archives/2005/03/02/wordpress-php-exec-plugin/)–
   but I forgot to add the <phpcode> tag 🙂 Now it’s working.
 * niziol, I’m trying to install the [OPML renderer](http://www.yabfog.com/wp/opml-renderer/)
   on [this page](http://blog.basturea.com/pr-blogs-list/) (now displaying “Horrific
   XSLT error – check logs”).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Extra space when adding php code in a page’ is closed to new replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [cbasturea](https://wordpress.org/support/users/cbasturea/)
 * Last activity: [20 years, 4 months ago](https://wordpress.org/support/topic/extra-space-when-adding-php-code-in-a-page/#post-333625)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
