• Resolved LMP

    (@loizos16673)


    I’m testing this plugin and I discovered that some options of the Category Short-code do not seem to work.

    Example:
    [wpdm_category id="my-audiobook" operator="IN" title="1" desc="1" toolbar="1" order_by="title" order="asc" item_per_page="30" template="link-template-audio.php" cols=1 colspad=1 colsphone=1]

    In the page, the sorting options and the items per page option are ignored. I get default values (sort by date, desc, 10 items per page) instead of the ones I specified.

    Wordpress 5.4.2 with PHP 7.4.9

    Update: at least I found out why the item per page was not working.

    In the example page there is a syntax error: it states that the parameter is item_per_page. This is wrong. It is actually items_per_page.

    Maybe the other options in the example page are wrong as well?

    • This topic was modified 5 years, 9 months ago by LMP. Reason: update
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter LMP

    (@loizos16673)

    I figured out that I the google search result sent me to an older page. The correct syntax for the Category Shortcode is in this page instead.

    I think you should update the older page. It creates confusion.

    I also think that the shortcodes generator creates the older non-functioning shortcodes as well. You should update it.

    thank you, [wpdm_package id=”package-id-here” template=”template-id”] short code is for single package,
    [wpdm_packages] is for multiple packages

    Thanks for helping with the items_per_page issue.

    I am however also interested in the second problem reported by LPM above.

    I have the following code on my page

    [wpdm_category id=”computers” toolbar=”1″ order_by=”title” order=”asc” items_per_page=”999″ cols=1 colspad=1 colsphone=1 template=”link-template-default-ext”]

    The order_by=”title” AND order=”äsc” are not working when the page is initially displayed.

    EVERY TIME the page is displayed, the initial sort order is Publish_date and Descending. The link to our page is “https://seniornet.co.nz/teaching-manuals-downloads/computers”

    • This reply was modified 5 years, 7 months ago by bunkshyde.
    • This reply was modified 5 years, 7 months ago by bunkshyde.

    @loizos16673 Thanks for pointing to the correct page, that should definitely be updated in the doc, lots of time wasted.

    I was able to fix everything and also found that the new page has another typo for the “orderby” that should be “order_by”, you guys should really correct that.

    Thanks,

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Category Short-code bug?’ is closed to new replies.