• Hi there,
    Great plugin – thanks heaps!
    A couple of questions, I’d like to restrict the number of files that get returned on a page (within the UL) – using this shortcode: [mediacategories categories=”7″] to only the most recent file – I guess based on upload date(?)
    Possible?
    Or should I archive off the older one’s – so I’m only pulling in the category that has the most recent file in it?
    Also, is it possible to print the media category description to the screen also?
    Thanks in advance,
    Jas

Viewing 1 replies (of 1 total)
  • Plugin Author merganser

    (@merganser)

    You might look the function get_category_archive that is defined in the media-categories.php. I use this function in the taxonomy-media_category.php as a way to view media in a certain category by date posted. This function also shows how to get the description.

    (($categoria->description!=”)?'<p>’.$categoria->description.'</p>’:”);

Viewing 1 replies (of 1 total)
  • The topic ‘Only most recent’ is closed to new replies.