Hello, yes, but the image number four disappeared and only three are seen. I do not know if it was due to the latest update of wordpress or to what is due, but what was used on the other occasion, now does not work.
I do not understand PHP, and I do not know how to edit the file that you suggested to me.
You can give me some idea of how I should modify or where I should look for information.
I imagine that you have a lot of work to attend to these details, but if you say that I should modify, I will do it.
I think that 2 files must be modified:
1- wp-hotel-booking\templates\content-single-room.php
<?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' ); ?>
2- wp-hotel-booking \ templates \ content-single-room.php
<?php
/**
* The template for displaying content archive room.
*
* This template can be overridden by copying it to yourtheme/wp-hotel-booking/content-room.php.
*
* @author ThimPress, leehld
* @package WP-Hotel-Booking/Templates
* @version 1.6
*/
/**
* Prevent loading this file directly
*/
defined( 'ABSPATH' ) || exit(); ?>
<li id="room-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php
/**
* hotel_booking_before_loop_room_item hook
*/
do_action( 'hotel_booking_before_loop_room_item' ); ?>
<div class="summary entry-summary">
<?php
/**
* hotel_booking_loop_room_thumbnail hook
*/
do_action( 'hotel_booking_loop_room_thumbnail' );
/**
* hotel_booking_loop_room_title hook
*/
do_action( 'hotel_booking_loop_room_title' );
/**
* hotel_booking_loop_room_price hook
*/
do_action( 'hotel_booking_loop_room_price' );
/**
* hotel_booking_loop_room_price hook
*/
do_action( 'hotel_booking_loop_room_rating' ); ?>
</div><!-- .summary -->
<?php
/**
* hotel_booking_after_loop_room_item hook
*/
do_action( 'hotel_booking_after_loop_room_item' );
?>
</li>
<?php
/**
* hotel_booking_after_loop_room
*/
do_action( 'hotel_booking_after_loop_room' ); ?>