Make WordPress Themes

Changeset 299986


Ignore:
Timestamp:
11/24/2025 11:43:48 AM (12 hours ago)
Author:
themedropbox
Message:

New version of Luxury Hotels - 3.7

Location:
luxury-hotels/3.7
Files:
5 edited
1 copied

Legend:

Unmodified
Added
Removed
  • luxury-hotels/3.7/assets/css/customize-controls.css

    r279256 r299986  
    112112  color: #FFF;
    113113}
    114 .luxury_hotel-social-class{
     114.luxury_hotels-social-class{
    115115  display: none;
    116116}
     
    153153}
    154154
    155 #accordion-section-pastry_bakers_pro h3 {
     155#accordion-section-luxury_hotels_pro h3 {
    156156  color: #fff !important;
    157157  background-color: #008EC2 !important;
    158158}
    159159
    160 #accordion-section-pastry_bakers_pro h3:after {
     160#accordion-section-luxury_hotels_pro h3:after {
    161161  color: #fff !important;
    162162}
  • luxury-hotels/3.7/inc/customizer.php

    r286412 r299986  
    585585        ),
    586586    ) );
     587
     588    //TP Single Blog Option
     589    $wp_customize->add_section('luxury_hotels_single_blog_option',array(
     590        'title' => __('Single Post Option', 'luxury-hotels'),
     591        'priority' => 1,
     592        'panel' => 'luxury_hotels_panel_id'
     593    ) );
     594
     595    /** Meta Order */
     596    $wp_customize->add_setting('luxury_hotels_single_blog_meta_order', array(
     597        'default' => array('date', 'author', 'comment','category', 'time'),
     598        'sanitize_callback' => 'luxury_hotels_sanitize_sortable',
     599    ));
     600    $wp_customize->add_control(new luxury_hotels_Control_Sortable($wp_customize, 'luxury_hotels_single_blog_meta_order', array(
     601        'label' => esc_html__('Meta Order', 'luxury-hotels'),
     602        'description' => __('Drag & Drop post items to re-arrange the order and also hide and show items as per the need by clicking on the eye icon.', 'luxury-hotels') ,
     603        'section' => 'luxury_hotels_single_blog_option',
     604        'choices' => array(
     605            'date' => __('date', 'luxury-hotels') ,
     606            'author' => __('author', 'luxury-hotels') ,
     607            'comment' => __('comment', 'luxury-hotels') ,
     608            'category' => __('category', 'luxury-hotels') ,
     609            'time' => __('time', 'luxury-hotels') ,
     610        ) ,
     611    )));
     612
     613    $wp_customize->add_setting('luxury_hotels_single_post_date_icon',array(
     614        'default'   => 'far fa-calendar-alt',
     615        'sanitize_callback' => 'sanitize_text_field'
     616    ));
     617    $wp_customize->add_control(new Luxury_Hotels_Icon_Changer(
     618       $wp_customize,'luxury_hotels_single_post_date_icon',array(
     619        'label' => __('Change Date Icon','luxury-hotels'),
     620        'transport' => 'refresh',
     621        'section'   => 'luxury_hotels_single_blog_option',
     622        'type'      => 'luxury-hotels-icon'
     623    )));
     624
     625    $wp_customize->add_setting('luxury_hotels_single_post_author_icon',array(
     626        'default'   => 'fas fa-user',
     627        'sanitize_callback' => 'sanitize_text_field'
     628    ));
     629    $wp_customize->add_control(new Luxury_Hotels_Icon_Changer(
     630       $wp_customize,'luxury_hotels_single_post_author_icon',array(
     631        'label' => __('Change Author Icon','luxury-hotels'),
     632        'transport' => 'refresh',
     633        'section'   => 'luxury_hotels_single_blog_option',
     634        'type'      => 'luxury-hotels-icon'
     635    )));
     636
     637    $wp_customize->add_setting('luxury_hotels_single_post_comment_icon',array(
     638        'default'   => 'fas fa-comments',
     639        'sanitize_callback' => 'sanitize_text_field'
     640    ));
     641    $wp_customize->add_control(new Luxury_Hotels_Icon_Changer(
     642       $wp_customize,'luxury_hotels_single_post_comment_icon',array(
     643        'label' => __('Change Comment Icon','luxury-hotels'),
     644        'transport' => 'refresh',
     645        'section'   => 'luxury_hotels_single_blog_option',
     646        'type'      => 'luxury-hotels-icon'
     647    )));
     648
     649    $wp_customize->add_setting('luxury_hotels_single_post_category_icon',array(
     650        'default'   => 'fas fa-list',
     651        'sanitize_callback' => 'sanitize_text_field'
     652    ));
     653    $wp_customize->add_control(new Luxury_Hotels_Icon_Changer(
     654       $wp_customize,'luxury_hotels_single_post_category_icon',array(
     655        'label' => __('Change Category Icon','luxury-hotels'),
     656        'transport' => 'refresh',
     657        'section'   => 'luxury_hotels_single_blog_option',
     658        'type'      => 'luxury-hotels-icon'
     659    )));
     660
     661    $wp_customize->add_setting('luxury_hotels_single_post_time_icon',array(
     662        'default'   => 'fas fa-clock',
     663        'sanitize_callback' => 'sanitize_text_field'
     664    ));
     665    $wp_customize->add_control(new Luxury_Hotels_Icon_Changer(
     666       $wp_customize,'luxury_hotels_single_post_time_icon',array(
     667        'label' => __('Change Time Icon','luxury-hotels'),
     668        'transport' => 'refresh',
     669        'section'   => 'luxury_hotels_single_blog_option',
     670        'type'      => 'luxury-hotels-icon'
     671    )));
    587672   
    588673     //MENU TYPOGRAPHY
  • luxury-hotels/3.7/readme.txt

    r296940 r299986  
    55Tested up to: 6.8
    66Requires PHP: 5.6
    7 Stable tag: 3.6
     7Stable tag: 3.7
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    208208= 3.6 =
    209209    * Resolved theme css errors.
    210        
     210
     211= 3.7 =
     212    * Added post meta order option for single post display.
     213    * Added option to customize the date icon in single posts.
     214    * Added option to customize the author icon in single posts.
     215    * Added option to customize the comment icon in single posts.
     216    * Added option to customize the category icon in single posts.
     217    * Added option to customize the time icon in single posts. 
     218
    211219== Resources ==
    212220
  • luxury-hotels/3.7/style.css

    r296940 r299986  
    55Author URI: https://www.themespride.com/
    66Description: Luxury Hotels is a refined and visually stunning template designed to cater to the discerning needs of upscale hospitality establishments. Tailored specifically for luxury hotels, resorts, and premium accommodations, this theme provides an elegant and sophisticated platform for showcasing the opulence and unique offerings of high-end lodging. Visually, the theme exudes luxury with its carefully crafted layout and design. The aesthetics are characterized by sleek lines, tasteful color palettes, and high-quality imagery that collectively convey a sense of exclusivity and sophistication. The layout is structured to showcase the grandeur of hotel amenities, Luxury accommodations, Hotel services, Exclusive resorts, Group tours, Travel guides, Honeymoon packages, Senior tours, Wellness vacations, Yoga holidays, Ski resorts, Snowboarding vacations, Beach resorts, Scenic views, Boutique hotels, Travel experiences, Adventure travel, Relaxation retreats, Travel itineraries, Luxury getaways, Destination travel lavish interiors, Group Travel, Backpacking Guides, Honeymoon Travel, Senior Travel, Wellness Retreats, Yoga Retreats, Ski and Snowboarding Trips, Beach Holidays and breathtaking views, creating an immersive experience for potential guests. This theme is ideal for a range of establishments, including luxury boutique hotels, high-end resorts, and upscale bed-and-breakfasts. Its versatility makes it suitable for businesses aiming to attract a discerning clientele seeking an indulgent and memorable stay. The Luxury Hotels WordPress theme also includes features such as reservation forms, image galleries, and interactive maps for highlighting the hotel’s prime location. The layout is responsive, ensuring a seamless and visually pleasing browsing experience across various devices, from desktops to tablets and smartphones. Whether emphasizing the lavish interiors, panoramic views, or exclusive amenities, the Luxury Hotels WordPress theme offers a comprehensive and visually compelling solution for high-end establishments looking to establish a prominent online presence.
    7 Version: 3.6
     7Version: 3.7
    88Tested up to: 6.8
    99Requires PHP: 5.6
  • luxury-hotels/3.7/template-parts/post/single-post.php

    r279256 r299986  
    1111    <div class="box-info">
    1212        <?php
    13         $luxury_hotels_blog_archive_ordering = get_theme_mod('blog_meta_order', array('date', 'author', 'comment', 'category'));
     13        $luxury_hotels_blog_archive_ordering = get_theme_mod('luxury_hotels_single_blog_meta_order', array('date', 'author', 'comment', 'category'));
    1414
    1515        foreach ($luxury_hotels_blog_archive_ordering as $luxury_hotels_blog_data_order) :
    1616            if ('date' === $luxury_hotels_blog_data_order) : ?>
    17                 <i class="far fa-calendar-alt mb-1 me-2"></i>
     17                <i class="<?php echo esc_attr(get_theme_mod('luxury_hotels_single_post_date_icon','far fa-calendar-alt mb-1 me-2')); ?>"></i>
    1818                <span class="entry-date me-3"><?php echo get_the_date('j F, Y'); ?></span>
    1919            <?php elseif ('author' === $luxury_hotels_blog_data_order) : ?>
    20                 <i class="fas fa-user mb-1 me-2"></i>
     20                <i class="<?php echo esc_attr(get_theme_mod('luxury_hotels_single_post_author_icon','fas fa-user mb-1 me-2')); ?>"></i>
    2121                <span class="entry-author me-3"><?php the_author(); ?></span>
    2222            <?php elseif ('comment' === $luxury_hotels_blog_data_order) : ?>
    23                 <i class="fas fa-comments mb-1 me-2"></i>
     23                <i class="<?php echo esc_attr(get_theme_mod('luxury_hotels_single_post_comment_icon','fas fa-comments mb-1 me-2')); ?>"></i>
    2424                <span class="entry-comments me-3"><?php comments_number(__('0 Comments', 'luxury-hotels'), __('0 Comments', 'luxury-hotels'), __('% Comments', 'luxury-hotels')); ?></span>
    2525            <?php elseif ('category' === $luxury_hotels_blog_data_order) : ?>
    26                 <i class="fas fa-list mb-1 me-2"></i>
     26                <i class="<?php echo esc_attr(get_theme_mod('luxury_hotels_single_post_category_icon','fas fa-list mb-1 me-2')); ?>"></i>
    2727                <span class="entry-category me-3"><?php luxury_hotels_display_post_category_count(); ?></span>
    2828            <?php elseif ('time' === $luxury_hotels_blog_data_order) : ?>
    29                 <i class="fas fa-clock mb-1 me-2"></i>
     29                <i class="<?php echo esc_attr(get_theme_mod('luxury_hotels_single_post_time_icon','fas fa-clock mb-1 me-2')); ?>"></i>
    3030                <span class="entry-time me-3"><?php echo get_the_time('g:i a'); ?></span>
    3131
Note: See TracChangeset for help on using the changeset viewer.