Remove Amenity link

This topic contains 4 replies, has 4 voices, and was last updated by   J. Davis 1 year, 5 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #673668

    Massimo BH

    is there a way to remove Amenity links from the front slide and from all the other sections?


    Stacy Lind

    Hi Ben,

    Add the following code to Appearance > Customize > Additional CSS:

    .mphb-attribute-value {
      pointer-events: none;
      cursor: default;
      text-decoration: none;

    This will unlink all the amenities on the website.


    Massimo BH

    It works perfectly.
    Thanks for the support Stacy!


    Luke Knowles

    The link is still in the code. Is there a way to remove it from the code where it won’t come back each time the theme updates?


    J. Davis

    Hi Luke,

    If you need to remove link tags you can do that by overriding templates of plugin. For example copy the following file


    and paste to

    \wp-content\themes\your-theme_folder\hotel-booking\loop-room-type\attributes\ (you will need to create 3 last directories inside your theme folder)

    Then open the copied file and edit it to remove link from amenities e.g. replace the line below
    return sprintf( '<a href="%s">%s</a>', esc_url( $facilityLink ), $facility->name );

    with this
    return $facility->name;

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.