WordPress.org

Support

Support » Plugins and Hacks » Random Category

Random Category

  • 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

  • The topic ‘Random Category’ is closed to new replies.