Title: Running PHP code..
Last modified: August 19, 2016

---

# Running PHP code..

 *  Resolved [piperis](https://wordpress.org/support/users/piperis/)
 * (@piperis)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/running-php-code/)
 * I am trying to get a page to display an rss feed,
    i think i have found a php
   code that will do this, but i need help getting wordpress to run the code…
 * i found a plugin but it doesnt support version 2.6
    can anyone help?

Viewing 2 replies - 16 through 17 (of 17 total)

[←](https://wordpress.org/support/topic/running-php-code/?output_format=md) [1](https://wordpress.org/support/topic/running-php-code/?output_format=md)
2

 *  Thread Starter [piperis](https://wordpress.org/support/users/piperis/)
 * (@piperis)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/running-php-code/page/2/#post-817957)
 * Refering to:
 * <?php include “./public/lastrss.php”; // include lastRSS
    $rss = new lastRSS;//
   Create lastRSS object $rss->cache_dir = ‘./public/cache’;
 * make sure the files and cache folder are where you say they are.
    try putting
   them in other dir.
 *  [adamiis111](https://wordpress.org/support/users/adamiis111/)
 * (@adamiis111)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/running-php-code/page/2/#post-818033)
 * Is there no way to do this from within the page editing section for the individual
   page? For instance, if I want to add the date using the template variable the_date()
 * [http://codex.wordpress.org/Template_Tags/the_date](http://codex.wordpress.org/Template_Tags/the_date)
 * But I just want this on that one page, not all pages using the page.php template.
 * I’ll post if I find the solution in the meantime.

Viewing 2 replies - 16 through 17 (of 17 total)

[←](https://wordpress.org/support/topic/running-php-code/?output_format=md) [1](https://wordpress.org/support/topic/running-php-code/?output_format=md)
2

The topic ‘Running PHP code..’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 17 replies
 * 4 participants
 * Last reply from: [adamiis111](https://wordpress.org/support/users/adamiis111/)
 * Last activity: [17 years, 7 months ago](https://wordpress.org/support/topic/running-php-code/page/2/#post-818033)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
