Random File
How to Install (2 posts)

  1. tlc72
    Posted 3 years ago #

    I realize you have instructions for installation, but the information is above my knowledge level. Could you help me with a step-by-step?

    After I activate the plugin, what comes next? If I am reading this correctly, I am supposed to copy one of the two codes provided into my theme php file?

    This worries me, as I never am successful in adding code to my php file -- every plug in that instructs me to copy code into the php file, I end up with a blank website and have to restore it.

    Can you help me understand exactly what code I need to paste and WHERE I need to paste this in my theme php file?


  2. tlc72
    Posted 3 years ago #

    Update: I copied the following code to my Theme php file

    <?php function c2c_random_file( $dir, $extensions = '', $reftype = 'relative', $exclusions = array() ) ?>

    This caused everything to go blank. I have had to restore the site from backup.

    Can you include specifically where this code is supposed to be pasted?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.