• Resolved sahdevinsight

    (@sahdevinsight)


    Hi, in the filter settings for filters like checkboxes, there’s an option where you can specify ‘More/Less’ by 5 terms. Is there a way to change this number (e.g. to 10)? So it will show 10 terms by default and the rest will show when the user clicks ‘More’.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support fesupportteam

    (@fesupportteam)

    Hi @sahdevinsight

    Thank you for your interest in the Filter Everything plugin.

    // Change the value for the more/less count in Filter Everything plugin
    function modify_wpc_more_less_count( $count ) {
    return 10; // Set this to the desired number for "more"
    }
    add_filter( 'wpc_more_less_count', 'modify_wpc_more_less_count' );

    Best regards – Victor

    Thread Starter sahdevinsight

    (@sahdevinsight)

    Hi again,

    This worked! Thanks – just another question, is it possible to control the amount that shows when you expand the section (e.g. it shows 10 categories in its collapsed state, then when you click the ‘More’ link, it will show another 10 more categories, and then another 10 more until it reaches the end of the category list)?

    Thanks!

    Plugin Support fesupportteam

    (@fesupportteam)

    Hi @sahdevinsight

    No, unfortunately, this is not possible with the default plugin functionality. This would require custom coding with a specific logic that would meet such specifications.

    Best Regards – Victor

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.