Advanced Search

Results 1 to 3 of 3

Thread: Random Order Script, Wordpress, and code placement

  1. #1
    Join Date
    Oct 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Random Order Script, Wordpress, and code placement

    1) Script Title: Random Order Script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ntentorder.htm

    3) Describe problem: 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.

    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

    Since it didn't work there, I tried the body part of the header.php, along with the head of the CSS stylesheet. I've tried placing Step 1 in various places where it says < head >.

    At one point, my content page when refreshed would be empty of all Step 2 code and content. Now it is staying in order.

    Where do I place the Step 1 code?

    Thanks,
    Carver

  2. #2
    Join Date
    Oct 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question

    Do you need more information to help? Wordpress forum hasn't offered help either.

    In a Quandary,
    Carver

  3. #3
    Join Date
    Oct 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    [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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •