Title: Setting Up Random-File Plugin
Last modified: August 18, 2016

---

# Setting Up Random-File Plugin

 *  [perykm](https://wordpress.org/support/users/perykm/)
 * (@perykm)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/setting-up-random-file-plugin/)
 * I have installed the random-file plugin from [coffee2code.com](http://www.coffee2code.com/archives/2004/07/08/plugin-random-file/)
   
   and I have been trying to do get the plugin to fetch random php files, in which
   have images which haves links to them.
 * My main goal is for the reader to click on a logo and be directed to the specified
   site.
 * I followed the instructions on the cofee2code.com site, yet it still doesn’t 
   work properly.
 * Any suggestions?

Viewing 1 replies (of 1 total)

 *  [boerbabe](https://wordpress.org/support/users/boerbabe/)
 * (@boerbabe)
 * [19 years ago](https://wordpress.org/support/topic/setting-up-random-file-plugin/#post-553045)
 * Not sure. I am working on trying this [plug-in](http://www.coffee2code.com/archives/2004/07/08/plugin-random-file/)
   as well, and while I got it to call up a random image for my header without a
   problem, I am having issues with getting it to call up the text within a random
   txt file to show as a quote on my page.
 * Initially I had several errors come up, and I have rectified all of them in short
   order except for one- it tells me there is a call for an undefined function on
   line 8. Line 8 obviously being the line of code that the plug-in’s call is on.
 * `<?php c2c_random_file('/wp-content/quotes/', 'txt', 'virtual'); ?>`
 * That is my current line of code. At the moment, it finds the directory where 
   my files are, but apparently can;t figure out what to do with them.
 * I’ve read and reread the documentation, and tried many variants, (including those
   listed on the documentation) but at the moment it’s like this because it’s not
   messing my page up for readers.
 * Any ideas how to fix this?

Viewing 1 replies (of 1 total)

The topic ‘Setting Up Random-File Plugin’ is closed to new replies.

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [boerbabe](https://wordpress.org/support/users/boerbabe/)
 * Last activity: [19 years ago](https://wordpress.org/support/topic/setting-up-random-file-plugin/#post-553045)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
