Title: Trying to insert toplist script into wp
Last modified: August 18, 2016

---

# Trying to insert toplist script into wp

 *  [dirtydave](https://wordpress.org/support/users/dirtydave/)
 * (@dirtydave)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/trying-to-insert-toplist-script-into-wp/)
 * Hi
    Sorry but this is a double post. I posted it in a resolved thread consering
   the plugin. [http://wordpress.org/support/topic/75024?replies=5#post-472303](http://wordpress.org/support/topic/75024?replies=5#post-472303)
   and then thought I might get no replies as it was resolved. Sorry about that.
 * I am trying to insert a toplist script into my page.
    I tried the php-exec plugin
   with no luck. Is there anyone out there that can tell me if I’m using the wrong
   plugin or using the plugin incorectly?
 * The toplist script is
    ‘<?php include(“autorank/index.php?p=top20”); ?>’ and 
   it spits out this on the page
 * Warning: main(autorank/index.php?p=top20): failed to open stream: No such file
   or directory in /home/a1541/thedailydirty.com/wp-content/themes/TDD/sidebar-left.
   php on line 30
 * Aparently it’s trying to pull the script from the wp-content folder instead of
   the autorank. Sorry but my php skills are minimal.
 * Thanks
    Dirty Dave

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

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/trying-to-insert-toplist-script-into-wp/#post-478615)
 * I’ m not sure about this plugin – I use RunPHP.
    I have a box to check on my 
   write post/page screen – do you have same and are checking it before saving page?
   Also, do you have the wysiwyg editor turned off?
 *  Thread Starter [dirtydave](https://wordpress.org/support/users/dirtydave/)
 * (@dirtydave)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/trying-to-insert-toplist-script-into-wp/#post-478624)
 * Samboll
 * no box but I think I have it solved
    tried <?php include(“[http://www.thedailydirty.com/autorank/index.php?p=top20&#8221](http://www.thedailydirty.com/autorank/index.php?p=top20&#8221););?
   > instead of <?php include(“autorank/index.php?p=top20”); ?>
 * by including the full path it is including the toplist. Seems to work fine but
   still testing for bugs

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

The topic ‘Trying to insert toplist script into wp’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 2 participants
 * Last reply from: [dirtydave](https://wordpress.org/support/users/dirtydave/)
 * Last activity: [19 years, 6 months ago](https://wordpress.org/support/topic/trying-to-insert-toplist-script-into-wp/#post-478624)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
