Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author James Koster

    (@jameskoster)

    Just tested this and can confirm it works. What them are you using? Can I see a URL?

    Thread Starter digitalisfun

    (@digitalisfun)

    Thanks for checking it out James. I am using the latest version of Canvas with a child theme. The URL is private as the site is under development. I just tried removing all code from my functions.php except the above snippet with no luck. Bit stumped ??

    Thread Starter digitalisfun

    (@digitalisfun)

    Had another look at this and this code worked for me:

    add_filter( 'projects_loop_columns', 'gw_woo_custom_projects_loop_columns', 99 );
    function gw_woo_custom_projects_loop_columns( $columns ) {
        $columns = 3;
        return $columns;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change number of columns using filter not working’ is closed to new replies.