WordPress.org

Ready to get started?Download WordPress

Forums

Download Monitor
Download page displaying one category (5 posts)

  1. richlondon
    Member
    Posted 2 years ago #

    Hi,

    Great plugin.

    Just getting to grips with the powerful shortcodes.
    I really like the download page set up/layout ([download_page]). I wondered if there was a way to use this shortcode but only display downloads from a certain category.I know you can do it like this [downloads page query="category=5" format="1"] for example, but wondered if you could do it on a download page.

    thanks

    http://wordpress.org/extend/plugins/download-monitor/

  2. brygo
    Member
    Posted 2 years ago #

    Looking at the .php file there seems to be these options:
    'base_heading_level' => '3',
    'pop_count' => '4',
    'pop_cat_count' => '4',
    'show_uncategorized' => '1',
    'per_page' => '20',
    'format' => '',
    'exclude' => '',
    'exclude_cat' => '',
    'show_tags' => '0',
    'default_order' => 'title'

    The docs talk about the exclude thingy, and there seems to be an exclude_cat option as well. So I'd try doing exclude_cat="1, 2, 3" in the shortcode and exclude the categories you want to exclude.

    Naturally I haven't tried this myself.

  3. karjogedhe
    Member
    Posted 1 year ago #

  4. zaggle
    Member
    Posted 1 year ago #

    Yea! exclude_cat works great.

    However I thought it might be worth mentioning that I had trouble getting a number of these options to work if I copied and pasted directly from the documentation page, no idea why, but once I deleted any copy pasted text and typed it all myself in the post it works fine. Maybe the pasted text brings some characters that WordPress can't interpret.

    Don't know but I'm 95% happy with this plugin.

  5. fizzyfozzy
    Member
    Posted 1 year ago #

    It will have copied the strong tags zaggle - same thing happened to me when I copied and pasted from the documentation! :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic