• gulfwebdev

    (@gulfwebdev)


    I have a page setup to show the downloads I have in the “accounting” category”. I use this shortcode:
    [downloads category=accounting order=ASC]
    Only ten downloads get listed which is a problem because I have eighteen downloads in that category. I tried adding the per_page argument:
    [downloads category=accounting order=ASC per_page=20]
    That failed to solve the problem as only the first ten showed up yet again. I also tried:
    [downloads category=accounting order=ASC per_page=-1]
    but to no avail.

    The problem occurs across all categories. I cannot get it to show more than ten files in any category using the [downloads] shortcode.

    https://wordpress.org/plugins/download-monitor/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter gulfwebdev

    (@gulfwebdev)

    I have spent quite a bit more time on this. Basically, the per_page argument is being ignored. It doesn’t matter if I per_page=3 or per_page=16. It is displaying 10 downloads and I can’t get it to do anything other that.

    I purchased the Page Addon in hopes I could circumvent the problem. The same thing is happening with the posts_per_page argument:
    [download_page show_tags=false category_limit=4 posts_per_page=4]

    It does not matter if posts_per_page=4 or posts_per_page=20, there will be exactly ten downloads listed.

    I am using wordpress 3.8.1 with the latest version of the plugin. I am using a theme from Elegant Themes. I have a handful of other plugins enabled. How do I go about troubleshooting this?

    I agree, per_page is not working, pagination is not working and search box is not showing up as it used to, and support is down for ever.

    I dug into the code and it seems that you need to set paginate to true in the shortcode as well. It’s not mentioned in the shortcode reference, but I tried this:

    [downloads per_page=4 paginate=true]

    and it worked for me.

    Asmaloney,
    Thanks a lot, it did work, I am content.
    Good luck.

    Thread Starter gulfwebdev

    (@gulfwebdev)

    I find it extremely limiting to only have 10 downloads listed at a time. Pagination is a giant pain in the ass and especially if you have multiple categories paginating on a single page.

    I cannot believe that I have yet to configure this thing to simply list all of the 20+ downloads in a given category. It cuts off at 10 no matter what I do.

    With all of that being said, I appreciate your help asmaloney.

    gulfwebdev,

    I run a site with more than 1 category and all the shortcodes work for me, I tried the following:

    [downloads orderby=date order=desc]
    [downloads orderby=date order=desc category=category1]
    [downloads orderby=date order=desc category=category2]
    [downloads orderby=date order=desc category=category2 per_page=12]
    [downloads orderby=date order=desc category=category2 per_page=10 paginate=true]
    [downloads orderby=date order=desc category=category2 per_page=2 paginate=true]

    If you want to do some troubleshooting you should disable all the plugins and see if it works, then start enabling them back one by one and also try getting rid of old shortcodes that belong to other document managing plugins, I used to have “download manager” and i still had shortcodes in some pages and “download monitor” wouldn’t work properly.

    I hope this helps

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Shortcode is only showing first 10 downloads in a category’ is closed to new replies.