Make 3 column on listing in search page

I had tried this, it doesn’t work

	function( $template ) {
		return hivepress()->helper->merge_trees(
				'blocks' => [
					'listings' => [
						'columns' => 3,

The snippet seems to be ok, please make sure that you added it as a PHP, not CSS snippet (e.g. via the Code Snippets plugin).

Yes I added it as a PHP. but I think it doesn’t work because my url is like this:

instead of listing page…

It should still work there, the template is the same (listings_view_page). Please make sure that the snippet is added correctly and the website front-end is not cached (you can try disabling third-party plugins).

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.