Free Directory, Listing & Classifieds WordPress Plugin Support Themes ListingHive How to change categories Columns in Submit and search pages?

How to change categories Columns in Submit and search pages?

  • Author
    Posts
  • blacklevel

    How to change categories Columns in Submit and search pages?
    It can be easy changed for homepage, but how to change for submit listing and for listing-category / subcategory?

    ihordeveloper

    This requires a code snippet at the moment, please try this one:

    add_filter(
    	'hivepress/v1/templates/listing_submit_category_page',
    	function( $template ) {
    		return hivepress()->helper->merge_trees(
    			$template,
    			[
    				'blocks' => [
    					'listing_categories' => [
    						'columns' => 4,
    					],
    				],
    			]
    		);
    	}
    );
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Subscribe

Sign In

Don't have an account? Register

Forgot password?

Register

Already have an account? Sign In

Forgot password?

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.