Skip to content
This repository was archived by the owner on May 18, 2025. It is now read-only.

Conversation

@cliffordp
Copy link

To enable creating output like: <div class="projects columns-2 nm-row"> without having to do this:

// https://docs.woothemes.com/document/change-the-number-of-project-columns-on-archives/
add_filter( 'projects_loop_columns', 'jk_projects_columns', 99 );
function jk_projects_columns( $cols ) {
    $cols = '2 nm-row';
    return $cols;
}

To enable creating output like: `<div class="projects columns-2 nm-row">` without having to do this:
```
// https://docs.woothemes.com/document/change-the-number-of-project-columns-on-archives/
add_filter( 'projects_loop_columns', 'jk_projects_columns', 99 );
function jk_projects_columns( $cols ) {
	$cols = '2 nm-row';
	return $cols;
}
```
@jeffikus jeffikus self-assigned this Feb 23, 2016
@jeffikus jeffikus added this to the 1.7.0 milestone Dec 23, 2016
@jeffikus jeffikus removed their assignment Dec 23, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants