How to unlink amenities in the details at Accommodation Type Page

Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking How to unlink amenities in the details at Accommodation Type Page

  • This topic has 1 reply, 2 voices, and was last updated 3 years ago by J. Davis.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #731187
    Carlos Múgica
    Participant

    Hi,

    i’ve installed your plugin and Aquentro Theme and would like to make two little changes in accommodation type page but cannot find the way.

    View post on imgur.com

    Thanks in advance,

    Carlos

    #731787
    J. Davis
    Keymaster

    Hi Carlos,

    In order to remove links form amenities at property listing layout follow the steps below:
    -connect to your server and copy the following file \wp-content\plugins\motopress-hotel-booking\templates\single-room-type\attributes\facilities.php
    – then navigate to \wp-content\themes\aquentro\ and create \hotel-booking plugin there.
    – open just created \hotel-booking folder and create another folder called \single-room-type
    – open just created \loop-room-type directory and create there \attributes\ folder, open it and paste the copied facilities.php file there.
    – open facilities.php file you pasted with text editor
    – find the line below
    $facilityLink = sprintf( '<a href="%s">%s</a>', esc_url( $facilityLink ), $facility->name );
    -replace it with the following line
    $facilityLink = sprintf( '%s', $facility->name );
    – save the changes in the file and preview your site.

    As for the question about prices so the price is updated per search parameters if it was made during current session on your site. There is no option to disable this. That’s why there is a note next to the price when you hover over: Based on your search parameters

    best regards,
    J.Davis

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.