WordPress.org

Ready to get started?Download WordPress

Forums

Help with category/query template tags (1 post)

  1. xtheunderdog
    Member
    Posted 7 years ago #

    I am setting up a WordPress install that will house a ton of categories and subcategories. In order to make content more easily accessible, I would like to be able to have a max of 5 subcategories randomly cycle through. I was hoping there would be some sort of option for categories, seeing as there is one for links (<?php get_links('order=rand', limit=5); ?>, however I can't seem to find any way to do this in the codex.

    Also, I have my index set up so that only the most recent post displays, but I was wondering if there is a tag to link to the rest of the posts from that day that the most recent article was posted.

Topic Closed

This topic has been closed to new replies.

About this Topic