WordPress.org

Ready to get started?Download WordPress

Forums

Random Category (1 post)

  1. orbital318
    Member
    Posted 5 years ago #

    I may be missing something here, any help would be appreciated. Here is what I have now:

    <?php wp_list_bookmarks('category=39&show_images=1&before=<li class=ads>&after=</li>&categorize=0&title_li= &title_before= &title_after= &category_before= &category_after='); ?>

    I tried:

    <?php wp_list_bookmarks('category=<strong>rand(39,41)</strong>&show_images=1&before=<li class=ads>&after=</li>&categorize=0&title_li= &title_before= &title_after= &category_before= &category_after='); ?>

    As you will notice I added the following in "rand(39,41)" I have images that are from 3 categories, all I want is to display one of those images at random. I figured I could just randomize the category number, so far no luck.

    Thanks
    Rob

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.