Plugin Support
dimned
(@dimned)
Hi @charlieab,
You may hide the system generated meta blocks (gallery, details, calendar. gallery) by using the actions from this article https://support.motopress.com/hc/en-us/articles/360013539291
You may copy the lines below to the functions.php file of the child theme:
remove_action( 'mphb_render_single_room_type_metas', array( '\MPHB\Views\SingleRoomTypeView','renderGallery' ), 10 );
remove_action( 'mphb_render_single_room_type_metas', array( '\MPHB\Views\SingleRoomTypeView','renderAttributes' ), 20 );
remove_action( 'mphb_render_single_room_type_metas', array( '\MPHB\Views\SingleRoomTypeView','renderDefaultOrForDatesPrice' ), 30 );
remove_action( 'mphb_render_single_room_type_metas', array( '\MPHB\Views\SingleRoomTypeView','renderCalendar' ), 40 );
remove_action( 'mphb_render_single_room_type_metas', array( '\MPHB\Views\SingleRoomTypeView', 'renderReservationForm' ), 50 );
Then you will be able to edit the whole page using Divi Builder.
Thank you Dmytro! I’m wondering if it’s possible to hide title and feature image as well?
Thank you!
Plugin Support
dimned
(@dimned)
Hi @charlieab,
I’d recommend creating a new layout for accommodation type by duplicating the single.php file of the theme and re-naming it into single-mphb_room_type.php Then you might remove the featured image and title by editing this file.
As an easy solution, you may hide them with CSS. You may provide a link to your site if you need assistance with this.
Plugin Support
dimned
(@dimned)
We could not hear anything from you for a while so we close the topic. Feel free to submit a new topic if you have any further questions.