Move map in to main content

I am trying to move the map under the description on the listings page. I have tried to add filters to the functions.php in child theme and have tried to create a new template (which worked) although I could not add the “leave a review” button successfully.

Is there a way to change what content is in the sidebar and what in the main content area for example on here - https://www.where4care.co.uk/listing/alex-cc-healthcare-ltd/ - I can only change the widgets in the sidebar but not the Leave a Review or Map. Seems really complicated to change the structure of this page - O have looked in plugins - hivepress- templates and cannot find the template for this page to edit.

Any help would be very much appreciated.

Hi,

If I understand you correctly, please use this PHP snippet How to add custom code snippets - HivePress Help Center :

Hi I added this to the functions.php file in my child theme folder \public_html\wp-content\themes\listinghive-child\functions.php and it didn’t do anything. Is there a template with all the elements on this page that I can amend? I tried to rebuild the page in Hivepress - Themes and did so but could not add the Leave a Review block as there was no Hivepress block for that. I want to rearrange the page to make the map display under the main content not the side bar but ideally would like to customise other areas too but cannot find the code that I can change. Many thanks

Hi,

The suggested code snippet moves the map within the sidebar area, but if you want to move it below listings this would require code customizations (e.g. adding right sidebar and moving the map there so it would be at the bottom of the page on mobile).

Hi - ok and would the customisation all have to be done via the functions.php file - there is no template to amend? Also any idea why when I add the code you sent to the child functions.php file it doesn’t do anything? Thanks again

Hi,

You can try to override the Listing template using these documents:

Please note that it can require further customization.

As for the child theme, you are most likely adding a PHP snippet incorrectly. If you need to add snippets, I recommend you to check out this doc: How to add custom code snippets - HivePress Help Center

I believe this will be useful to you.

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