How to override listing view block

hey there, we want to override this file:
/plugins/hivepress/includes/templates/class-listing-view-block.php

we already tried to create a new file in
/themes/rentalhive-child/hivepress/includes/templates/class-listing-view-block.php

but this dont work. How is it possible to override this file? this is necessary for some specific design options for us.

Hi,

Please note that the child theme does not overwrite these files but only by the code (the child theme overwrites only template parts). However, you can overwrite all the blocks that are set in the template using hivepress/v1/templates/listing_view_block, please see these samples: Search results for 'hivepress/v1/templates/listing_view_block' - HivePress Community

​I hope this is helpful to you

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