Category with Square images

How to show category selection with square images please provide me with the correct snippet this one snippet is not adding to my function it gives some error

<?php add_filter( 'hivepress/v1/templates/listing_submit_category_page', function( $template ) { return $template; } );

Please try to use this part of the snippet

	function( $template ) {
		return $template;

I got the square box with this snippet but now the problem is there is always one category chosen like car is already chosen even if i choose property for new listing it still shows me the car attributes and also after submitting the listing it does not appear on homepage to be posted it just disappears. please help with this

Please make sure that the snippet was correctly added with Code Snippets or another similar plugin. It was tested locally and it seems to be ok

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