• Resolved mcoops

    (@mcoops)


    I just upgraded from the Legacy version of DM and had to add the extension Page Addon in order to have my category and detail info display. I have categories displaying, but I can’t get the categories to order. This is important and worked fine in old version. Categories are publication year and I need most recent to list first. So within each category year I have 4 downloads.
    The live version is still legacy (shotpeeningtraining.com/past-issues) but this is what it needs to do. The Upgrade, version 4.1.0, is only running on my local test server at this point.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mcoops

    (@mcoops)

    I need to override this code in the core plugin page <dlm-page-addon.php> but want to override it in my child theme.
    // Categories
    $include = array_filter( array_map( ‘absint’, explode( ‘,’, $include_categories ) ) );
    $exclude = array_filter( array_map( ‘absint’, explode( ‘,’, $exclude_categories ) ) );
    $category_args = apply_filters( ‘dlm_page_addon_get_category_args’, array(
    ‘orderby’ => ‘name’,
    ‘order’ => ‘ASC’,
    ‘hide_empty’ => ! empty( $include ) ? false : true,
    ‘pad_counts’ => true,
    ‘child_of’ => 0,
    ‘exclude’ => $exclude,
    ‘include’ => $include
    ) );

    Plugin Contributor Barry Kooij

    (@barrykooij)

    Hey @mcoops,

    Please reply to your purchase mail so I can help you via email. WordPress forum rules don’t allow discussing of premium products here. Sorry!

    Kind Regards,

    Barry Kooij

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

The topic ‘DM Page Addon’ is closed to new replies.