Title: Random Order Script from Dynamic Drive : ? about code placement
Last modified: August 20, 2016

---

# Random Order Script from Dynamic Drive : ? about code placement

 *  [Carver2](https://wordpress.org/support/users/carver2/)
 * (@carver2)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/random-order-script-from-dynamic-drive-about-code-placement/)
 * Nine days ago this script worked flawlessly. Then my website partner asked, can
   we do this?… I said yes… when I should have said no lol. (I clicked the pretty
   urls in settings and lost the entire site without a backup being made.) Now, 
   I’ve rebuilt the site. My first build with this script must have been shear luck.
   I can not get the code to work when I insert it into the header.php after the
   <head> tag.
 * This is the script: [http://www.dynamicdrive.com/dynamicindex17/randomcontentorder.htm](http://www.dynamicdrive.com/dynamicindex17/randomcontentorder.htm)
 * Now I have double checked Step 2 and that is all clean code and it is in the 
   page content block.
 * Step 1 – is my problem. I really thought I added it to header.php
 * If this is not where it goes, and you know where it should be placed, I’d appreciate
   the in-put.
 * Carver

Viewing 1 replies (of 1 total)

 *  Thread Starter [Carver2](https://wordpress.org/support/users/carver2/)
 * (@carver2)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/random-order-script-from-dynamic-drive-about-code-placement/#post-2333391)
 * [Resolved]
    Insert step 1 after [code] wp_head(); ?> [code]
 * this should be about the 144 line on an original header.php of 2010 theme.
 * Hope this helps someone else.
 * Carver

Viewing 1 replies (of 1 total)

The topic ‘Random Order Script from Dynamic Drive : ? about code placement’ is closed
to new replies.

## Tags

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

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 1 participant
 * Last reply from: [Carver2](https://wordpress.org/support/users/carver2/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/random-order-script-from-dynamic-drive-about-code-placement/#post-2333391)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
