In Meetinghive I need a block with listings on the homepage and link to the lisitings main page.
I tried it with “Listings” but its not showing the image and there is no button linking to the listings page, only a favorite button. More ore less like in RentalHive. Any help? Thanks!
Ideally it would be nbice to have the listings image or the coaches image and the whole blocks linked to the correspondend listing or at least a button.
Unfortunately, I don’t quite understand what code you are referring to, where you need to add it, and what exactly you need this code for. Please provide more details and we will try to help.
Yes, you can modify the view of the listings, but as I wrote earlier, this will require a custom implementation. Custom implementation is not within our support scope, so we unfortunately cannot help.
Customizing the listing card is possible via the hivepress/v1/templates/listing_view_block hook, you can attach custom functions to it that modify the existing blocks, add or remove new blocks. There’s no specific PHP file which can be modified directly, I don’t recommend this because any changes may be reset on update.
There also may be easier ways, e.g. if you mean making the whole card clickable, this can be possibly done via CSS, for example if you target any link within the listing card or insert a new link (by overriding any of the listing card template parts via a child theme https://www.youtube.com/watch?v=LkojYp-8uwY), then you can style it with these CSS styles:
Then this link will cover the whole listing card (also make sure to add the position:relative style to the card itself), and any click on it will redirect users to the single listing page. Please note that this will also cover inner links, e.g. currently if users want to click on the category link within the listing card, they are redirected to the category page, covering the whole listing card with a single link may break this.