🏨 Hotel Booking Enhancements: - Implemented Eagle Booking Advanced Pricing add-on - Added Booking.com-style rate management system - Created professional calendar interface for pricing - Integrated deals and discounts functionality 💰 Advanced Pricing Features: - Dynamic pricing models (per room, per person, per adult) - Base rates, adult rates, and child rates management - Length of stay discounts and early bird deals - Mobile rates and secret deals implementation - Seasonal promotions and flash sales 📅 Availability Management: - Real-time availability tracking - Stop sell and restriction controls - Closed to arrival/departure functionality - Minimum/maximum stay requirements - Automatic sold-out management 💳 Payment Integration: - Maintained Redsys payment gateway integration - Seamless integration with existing Eagle Booking - No modifications to core Eagle Booking plugin 🛠️ Technical Implementation: - Custom database tables for advanced pricing - WordPress hooks and filters integration - AJAX-powered admin interface - Data migration from existing Eagle Booking - Professional calendar view for revenue management 📊 Admin Interface: - Booking.com-style management dashboard - Visual rate and availability calendar - Bulk operations for date ranges - Statistics and analytics dashboard - Modal dialogs for quick editing 🔧 Code Quality: - WordPress coding standards compliance - Secure database operations with prepared statements - Proper input validation and sanitization - Error handling and logging - Responsive admin interface 🤖 Generated with Claude Code (https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
66 lines
2.1 KiB
PHP
66 lines
2.1 KiB
PHP
<?php get_header();?>
|
|
|
|
<?php if ( himara_get_option('himara_blog_single_layout') === 'hero' ) : ?>
|
|
<?php get_template_part('templates/single/hero'); ?>
|
|
<?php endif ?>
|
|
|
|
<main class ="<?php himara_main_class() ?>">
|
|
<div class="<?php himara_container_class() ?>">
|
|
<div class="row">
|
|
|
|
<?php if ( himara_sidebar('', false) === 'left' ) : ?>
|
|
<?php get_sidebar(); ?>
|
|
<?php endif; ?>
|
|
|
|
<div class="<?php himara_sidebar('entry') ?> blog-post">
|
|
|
|
<?php while ( have_posts() ) : the_post(); ?>
|
|
|
|
<article id="post-<?php the_ID(); ?>" <?php post_class('entry');?>>
|
|
|
|
<?php if ( empty( himara_get_option('himara_blog_single_layout') ) || himara_get_option('himara_blog_single_layout') === 'classic' ) : ?>
|
|
<?php get_template_part('templates/single/classic'); ?>
|
|
<?php endif ?>
|
|
|
|
|
|
<section class="post-content">
|
|
<?php the_content() ?>
|
|
<div class="clearfix"></div>
|
|
<?php wp_link_pages( array('before' => '<div class="himara-link-pages">', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>')); ?>
|
|
<div class="clearfix"></div>
|
|
</section>
|
|
|
|
<?php if (himara_get_option('single_post_tags') || himara_get_option('single_post_share') ) : ?>
|
|
<section class="post-footer">
|
|
<?php if (himara_get_option('single_post_tags') && has_tag() ) : ?>
|
|
|
|
<div class="tags">
|
|
<span><i class="fa fa-tags"></i><?php echo esc_html__('Tags', 'himara') ?></span>
|
|
<?php the_tags( false, ' ', false ); ?>
|
|
</div>
|
|
<?php endif ?>
|
|
<?php if (himara_get_option('single_post_share')) : ?>
|
|
|
|
<?php himara_social_share() ?>
|
|
<?php endif ?>
|
|
</section>
|
|
<?php endif; ?>
|
|
</article>
|
|
|
|
<?php get_template_part('templates/single/author') ?>
|
|
|
|
<?php comments_template(); ?>
|
|
<?php endwhile ?>
|
|
|
|
</div>
|
|
|
|
<?php if ( himara_sidebar('', false) === 'right' ) : ?>
|
|
<?php get_sidebar(); ?>
|
|
<?php endif; ?>
|
|
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
<?php get_footer() ?>
|