• Resolved miguelitolaparra

    (@miguelitolaparra)


    Hi. I’m trying to edit the Howello theme and I ran into a problem that I can not edit.
    Upon entering one of the rooms, details of this are shown:
    -Image slider revolution
    https://ibb.co/ivgAcf (Capture of the top of the page)
    -Description
    -Additional Information
    -Reviews
    -Plan of prices

    ?-Contact form on the right side of the page

    https://ibb.co/dyviV0 (Capture of the center part of the page)

    – And a sample of the other rooms the hotel has.

    https://ibb.co/hfv6iL
    This is the part I wanted to edit, which is seen in this last capture.
    My hotel has 5 rooms in total, and only the images of two more rooms are shown.
    I must put the other two rooms, four in total.
    In the capture two images are shown that when I clicked it takes me to that room, but I need to show the remaining four remaining rooms.
    https://ibb.co/hfv6iL
    Where should I edit to get this?
    Ask the creator of Howello and I advise you ask on this site.
    I hope you can help me.
    Thank you

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Thoa Kim

    (@thoakim)

    Hi

    – Edit the single room page layout (Description, Review, Additional Info,…) and Related Rooms section in wp-hotel-booking\templates\single-room and the files in wp-hotel-booking\templates https://prntscr.com/lci327

    – Contact form on the right side is not created by WP Hotel Booking. Is there any misunderstanding here?

    • This reply was modified 6 years ago by Thoa Kim.
    Thread Starter miguelitolaparra

    (@miguelitolaparra)

    Hi, thanks for your support.
    With the form there is no problem.
    I just wanted to add all the rooms that are in the hotel to each single room.
    I see that I can get it from the content-room.php file
    I will review that file and try to edit all the rooms to add the rest.
    I only have experience in HTML, I hope it is not very difficult to edit PHP.
    I just hope I do not spoil all the work
    Thanks for your support.

    Thread Starter miguelitolaparra

    (@miguelitolaparra)

    Thank you @thoakim
    ? I’m looking at that file, but I can not find a way to add the images of the other rooms.
    Sun I have this.

    Should I go to another file to be able to edit?
    When I check the code with: Second button> see the source code of the page >>>
    Yes, I see the images in HTML.
    Is there no way to edit that from HTML?

    <?php
    /**
     * The template for displaying content single room.
     *
     * This template can be overridden by copying it to yourtheme/wp-hotel-booking/content-single-room.php.
     *
     * @author  ThimPress, leehld
     * @package WP-Hotel-Booking/Templates
     * @version 1.6
     */
    
    /**
     * Prevent loading this file directly
     */
    defined( 'ABSPATH' ) || exit(); ?>
    
    <?php
    /**
     * hotel_booking_before_single_product hook
     */
    do_action( 'hotel_booking_before_single_product' );
    
    if ( post_password_required() ) {
    	echo get_the_password_form();
    
    	return;
    } ?>
    
    <div id="room-<?php the_ID(); ?>" <?php post_class( 'hb_single_room' ); ?>>
    
    	<?php
    	/**
    	 * hotel_booking_before_loop_room_summary hook
    	 */
    	do_action( 'hotel_booking_before_single_room' );
    	?>
    
        <div class="summary entry-summary">
    
    		<?php
    		/**
    		 * hotel_booking_single_room_title hook
    		 */
    		do_action( 'hotel_booking_single_room_title' );
    
    		/**
    		 * hotel_booking_loop_room_price hook
    		 */
    		do_action( 'hotel_booking_loop_room_price' );
    
    		/**
    		 * hotel_booking_single_room_gallery hook
    		 */
    		do_action( 'hotel_booking_single_room_gallery' );
    
    		/**
    		 * hotel_booking_single_room_infomation hook
    		 */
    		do_action( 'hotel_booking_single_room_infomation' );
    		?>
    
        </div>
    
    	<?php
    	/**
    	 * hotel_booking_after_single_room hook
    	 */
    	do_action( 'hotel_booking_after_single_room' );
    	?>
    
    </div>
    
    <?php
    /**
     * hotel_booking_after_single_product hook
     */
    do_action( 'hotel_booking_after_single_product' ); ?>
    Plugin Contributor Thoa Kim

    (@thoakim)

    Hi

    What do you mean ‘add the images of the other rooms’? You mean that displaying all rooms in Other Rooms section?

    Thread Starter miguelitolaparra

    (@miguelitolaparra)

    Hi, thanks for your support @thoakim.
    I need to put in the area below each room, for example, “margaritas”: https://lasmimosas.org/habitaciones/margaritas/
    in the part below, before the footer: https://ibb.co/fNfeA0,
    after the section of services that each room has (https://ibb.co/g385iL)> just below here.
    ?In this area only two more rooms are shown (other rooms), and I needed to see the 4 rooms, the hotel has 5 rooms, so in each room, you should see the rest, so that the customer can choose another.
    For example: https://lasmimosas.org/habitaciones/mimosas/, you can not see any other room: https://ibb.co/jYw5Hf
    From the file that you showed me: https://prntscr.com/lci327, I can not find a way to add four images, which are a link to each one of the rest of the hotel rooms.
    I hope to explain myself well, I use the translator and sometimes it does not express what we need.
    Thank you for your support, I am sorry to have delayed my response.
    I hope you can help me.
    A cordial greeting.

    Plugin Contributor Thoa Kim

    (@thoakim)

    Hi

    Other Rooms section will get the rooms with same room type (Dashboard >> Rooms >> Room Types). You have set the same room type for all rooms to make them display in Other Rooms.

    Thread Starter miguelitolaparra

    (@miguelitolaparra)

    Hello,
    Thanks to your support I have managed to solve the problem.
    In principle, I did not understand your answer, but enter in Dashboard >> Rooms >> Types of room.
    I did several tests until I selected all the room types (Bronze, Luxury, standard) in each room, I show it in the capture

    Previously I did tests in this section, but I never thought it would be that easy, I always had the thought that I had to edit a file to add the images.
    Thank you very much for your support.
    P.S:
    There is little left to customize the theme to my needs, just missing a room reservation and availability calendar.
    I have read something in the following question

    but I see that he is not ready yet.
    If you would be so kind as to communicate when you have it ready to add it to my subject, I would be very grateful.
    I hope not to bother commenting on the other question.

    Thread Starter miguelitolaparra

    (@miguelitolaparra)

    Hello,
    Thanks to your support I have managed to solve the problem.
    In principle, I did not understand your answer, but enter in Dashboard >> Rooms >> Types of room.
    I did several tests until I selected all the room types (Bronze, Luxury, standard) in each room, I show it in the capture
    You can also get it, by checking only standard, rooms> quick edit> in the room options, as shown in the capture
    I regret that the image looks in Spanish, it’s how my site is configured
    Previously I did tests in this section, but I never thought it would be that easy, I always had the thought that I had to edit a file to add the images.
    Thank you very much for your support.
    P.D:
    There is little left to customize the theme to my needs, just missing a room reservation and availability calendar.
    I have read something in the following question

    but I see that he is not ready yet.
    If you would be so kind as to communicate when you have it ready to add it to my subject, I would be very grateful.
    I hope not to bother commenting on the other question.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to add two more images in each room of WP Hotel Booking?’ is closed to new replies.