Make WordPress Themes

Changeset 215944 for luxury-hotels/1.3


Ignore:
Timestamp:
01/31/2024 05:41:05 AM (22 months ago)
Author:
themedropbox
Message:

New version of Luxury Hotels - 1.3

Location:
luxury-hotels/1.3
Files:
1 added
1 deleted
7 edited
1 copied

Legend:

Unmodified
Added
Removed
  • luxury-hotels/1.3/assets/css/blocks.css

    r211460 r215944  
    600600}
    601601
    602 .wp-block-latest-comments__comment-date,
    603602[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
    604603    color: #000;
  • luxury-hotels/1.3/functions.php

    r213975 r215944  
    3232        'height'      => 250,
    3333        'flex-width'  => true,
     34        'flex-height'  => true,
    3435    ) );
    3536
     
    204205    wp_enqueue_style('luxury-hotels-admin-style', get_template_directory_uri() . '/assets/css/admin.css');
    205206    wp_enqueue_script( 'luxury-hotels-custom-scripts', get_template_directory_uri(). '/assets/js/custom.js', array('jquery'), true);
     207    wp_enqueue_script( 'luxury-hotels-admin-script', get_template_directory_uri() . '/assets/js/luxury-hotels-admin.js', array( 'jquery' ), '', true );
     208
     209    wp_localize_script( 'luxury-hotels-admin-script', 'luxury_hotels_ajax_object',
     210        array( 'ajax_url' => admin_url( 'admin-ajax.php' ) )
     211    );
    206212}
    207213add_action( 'admin_enqueue_scripts', 'luxury_hotels_admin_enqueue_scripts' );
     
    343349}
    344350
    345 
    346 
    347 function luxury_hotels_activation_notice() { ?>
    348     <div class="updated notice notice-get-started-class is-dismissible" data-notice="get_started">
     351add_action( 'wp_ajax_luxury_hotels_dismissed_notice_handler', 'luxury_hotels_ajax_notice_handler' );
     352
     353function luxury_hotels_ajax_notice_handler() {
     354    if ( isset( $_POST['type'] ) ) {
     355        $type = sanitize_text_field( wp_unslash( $_POST['type'] ) );
     356        update_option( 'dismissed-' . $type, TRUE );
     357    }
     358}
     359
     360function luxury_hotels_activation_notice() {
     361
     362    if ( ! get_option('dismissed-get_started', FALSE ) ) { ?>
     363
     364    <div class="luxury-hotels-notice-wrapper updated notice notice-get-started-class is-dismissible" data-notice="get_started">
    349365        <div class="luxury-hotels-getting-started-notice clearfix">
    350366            <div class="luxury-hotels-theme-notice-content">
     
    372388    </div>
    373389<?php }
     390
     391}
     392
    374393add_action( 'admin_notices', 'luxury_hotels_activation_notice' );
     394
     395add_action('after_switch_theme', 'luxury_hotels_setup_options');
     396function luxury_hotels_setup_options () {
     397    update_option('dismissed-get_started', FALSE );
     398}
    375399/**
    376400 * Logo Custamization.
     
    379403function luxury_hotels_logo_width(){
    380404
    381     $luxury_hotels_logo_width   = get_theme_mod( 'luxury_hotels_logo_width', 150 );
     405    $luxury_hotels_logo_width   = get_theme_mod( 'luxury_hotels_logo_width', 50 );
    382406
    383407    echo "<style type='text/css' media='all'>"; ?>
  • luxury-hotels/1.3/inc/about-theme.php

    r211460 r215944  
    288288                            <td class="feature feature--empty"></td>
    289289                            <td class="feature feature--empty"></td>
    290                             <td headers="comp-2" class="td-btn-2"><a  href="<?php echo esc_url( LUXURY_HOTELS_PRO_THEME_URL ); ?>" target="_blank"><?php esc_html_e( 'Go for Premium', 'luxury-hotels' ); ?></a></td>
     290                            <td headers="comp-2" class="td-btn-2"><a  href="<?php echo esc_url( LUXURY_HOTELS_PRO_THEME_URL ); ?>" target="_blank"><?php esc_html_e( 'Go For Premium', 'luxury-hotels' ); ?></a></td>
    291291                        </tr>
    292292                    </tbody>
  • luxury-hotels/1.3/inc/customizer.php

    r213975 r215944  
    931931    ));
    932932    $wp_customize->add_setting('luxury_hotels_logo_width',array(
    933         'default' => 150,
     933        'default' => 50,
    934934        'sanitize_callback' => 'luxury_hotels_sanitize_number_absint'
    935935    ));
  • luxury-hotels/1.3/readme.txt

    r213975 r215944  
    11=== Luxury Hotels ===
    22Contributors: ThemesPride
    3 Tags: wide-blocks, block-styles, one-column, two-columns, right-sidebar, left-sidebar, three-columns, four-columns, grid-layout, custom-colors, custom-header, custom-background, custom-menu, custom-logo, editor-style, featured-images,featured-image-header, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, post-formats, threaded-comments, translation-ready, photography, food-and-drink, entertainment
     3Tags: wide-blocks, block-styles, one-column, two-columns, right-sidebar, left-sidebar, three-columns, four-columns, grid-layout, custom-colors, custom-header, flexible-header, custom-background, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, post-formats, threaded-comments, translation-ready, photography, food-and-drink, entertainment
    44Requires at least: 5.0
    55Tested up to: 6.4
    66Requires PHP: 5.6
    7 Stable tag: 1.2
     7Stable tag: 1.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2828    * Added category list on single post page.
    2929    * Added category meta for post.
     30
     31= 1.3 =
     32    * Updated cart and checkout page  css.
     33    * Updated footer css.
     34    * Added dismissable function.
     35    * Updated navigation css.
     36    * Updated single page css.
    3037
    3138== Resources ==
  • luxury-hotels/1.3/style.css

    r213975 r215944  
    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, lavish interiors, 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&#39;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: 1.2
     7Version: 1.3
    88Tested up to: 6.4
    99Requires PHP: 5.6
     
    1212License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1313Text Domain: luxury-hotels
    14 Tags: wide-blocks, block-styles, one-column, two-columns, right-sidebar, left-sidebar, three-columns, four-columns, grid-layout, custom-colors, custom-header, custom-background, custom-menu, custom-logo, editor-style, featured-images,featured-image-header, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, post-formats, threaded-comments, translation-ready, photography, food-and-drink, entertainment
     14Tags: wide-blocks, block-styles, one-column, two-columns, right-sidebar, left-sidebar, three-columns, four-columns, grid-layout, custom-colors, custom-header, flexible-header, custom-background, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, post-formats, threaded-comments, translation-ready, photography, food-and-drink, entertainment
    1515
    1616Luxury Hotels WordPress Theme, Copyright 2023 ThemesPride
     
    377377}
    378378.main-navigation ul ul a{
    379   color: #fff !important;
     379  color: #fff;
    380380}
    381381.main-navigation ul ul li,
     
    430430  z-index: 99999;
    431431  width: 200px !important;
     432}
     433.main-navigation ul.children{
     434  opacity: 0;
     435}
     436.main-navigation ul li:not(.off-canvas):hover > ul.children,
     437.main-navigation ul li:not(.off-canvas)[focus-within] > ul.children,
     438.main-navigation ul li:not(.off-canvas):focus-within > ul.children  {
     439  opacity: 1;
    432440}
    433441.main-navigation .menu-item-has-children:not(.off-canvas):hover > .sub-menu,
     
    773781}
    774782.woocommerce ul.products li.product .onsale,.woocommerce span.onsale{
    775   background: #1c1c1c;
     783  background: #FF8F50;
    776784  padding: 0;
    777785  top: 25px !important;
     
    806814  margin-bottom: 5px;
    807815}
     816.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button{
     817  border: none !important;
     818}
    808819.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button,.wc-block-cart__submit-container a,.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt{
    809820 background: #FF8F50;
    810   color: #fff!important;
     821  color: #fff;
    811822  padding: 15px;
    812   border-radius: 5px;
    813 }
     823  border-radius: 10px;
     824}
     825
    814826.woocommerce-cart table.cart td.actions .coupon .input-text{
    815827  width: 50%;
    816828}
    817 .wc-block-cart__submit-container a:hover,.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover{
     829.wc-block-cart__submit-container a:hover,.woocommerce #respond input#submit:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover{
    818830  background: #1c1c1c;
    819831  color: #fff;
     
    902914  color: #1c1c1c;
    903915}
    904 .right-sidebar .wp-block-woocommerce-cart.alignwide ,.left-sidebar .wp-block-woocommerce-cart.alignwide{
    905   margin-right: 0px;
    906   margin-left: 0px;
    907 }
    908 .wp-block-woocommerce-checkout .wc-block-components-sidebar{
    909   padding-left: 0px !important;
     916.wp-block-woocommerce-cart.alignwide, .wp-block-woocommerce-checkout.alignwide.wc-block-checkout {
     917    margin-right: auto !important;
     918    margin-left: auto !important;
     919}
     920.wc-block-components-sidebar-layout .wc-block-components-main {
     921    padding-right: 0% !important;
    910922}
    911923/*--------------------------------------------------------------
     
    953965span.page-numbers.current{
    954966  color: white !important;
    955 }
    956 /*related post*/
    957 .related-post-block{
    958     margin-top: 12%;
    959     padding: 20px;
    960     border-radius: 15px;
    961     box-shadow: 0px 4px 30px #d5d5d58c;
    962967}
    963968.related-post-block .page-box{
     
    10831088  padding-inline-start: 0px;
    10841089}
    1085 #theme-sidebar .textwidget img,
    1086 #footer img  {
     1090#theme-sidebar .textwidget img  {
    10871091  width: 100%;
    10881092  height: auto;
     
    10961100  color: #000;
    10971101}
    1098 #theme-sidebar .tagcloud a, p.wp-block-tag-cloud a ,.post_tag a, #theme-sidebar .widget_tag_cloud a {
     1102#theme-sidebar .tagcloud a, #sidebar p.wp-block-tag-cloud a ,.post_tag a, #theme-sidebar .widget_tag_cloud a {
    10991103  border: 1px solid #ebebeb;
    11001104  padding: 5px 10px;
    1101   color: #222222;
     1105  color: #222222 !important;
    11021106  font-size: 12px !important;
    11031107  display: inline-block;
    11041108  margin-bottom: 5px;
    11051109}
    1106 #theme-sidebar .tagcloud a:hover,p.wp-block-tag-cloud a:hover, .post_tag a:hover,#theme-sidebar .widget_tag_cloud a:hover{
    1107   color: #FF8F50;
     1110#theme-sidebar .tagcloud a:hover,#sidebar p.wp-block-tag-cloud a:hover, .post_tag a:hover,#theme-sidebar .widget_tag_cloud a:hover{
    11081111  border-color:#FF8F50;
    11091112}
     
    11391142  border-radius: 10px;
    11401143}
    1141 #theme-sidebar button[type="submit"]:hover,#comments input[type="submit"]:hover, #theme-sidebar button[type="submit"]:hover, #footer button[type="submit"]:hover{
     1144.woocommerce a.button:hover,#theme-sidebar button[type="submit"]:hover,#comments input[type="submit"]:hover, #theme-sidebar button[type="submit"]:hover, #footer button[type="submit"]:hover{
    11421145  color: #000;
    11431146  background: #FF8F50;
     
    11861189Comments
    11871190--------------------------------------------------------------*/
    1188 .box-content #respond{
     1191#comments #respond,.related-post-block{
     1192  border: 1px solid #ebebeb;
    11891193  padding: 20px;
    1190   border-radius: 15px;
    1191   box-shadow: 0px 4px 30px #d5d5d58c;
    1192   margin-bottom: 20px;
    11931194}
    11941195#comments {
     
    13411342  clear: both;
    13421343}
    1343 #footer h3 {
     1344#footer h3,#footer h1.wp-block-heading, #footer h2.wp-block-heading, #footer h3.wp-block-heading,#footer h4.wp-block-heading, #footer h5.wp-block-heading, #footer h6.wp-block-heading {
    13441345  font-size: 20px;
    13451346  padding: 10px 0;
    1346   color: #fff;
     1347  color: #fff !important;
    13471348  border-bottom: dashed 1px #656363;
    13481349  margin-bottom: 10px;
    13491350}
    1350 #footer li a {
     1351#footer li a:hover{
     1352  color: #FF8F50;
     1353}
     1354.wp-block-latest-comments__comment-date,#footer p,#footer li a,#footer .wp-block-latest-comments__comment-author, #footer .wp-block-latest-comments__comment-link {
    13511355  color: #fff;
    13521356}
     
    13571361}
    13581362#footer table#wp-calendar {
    1359   border: dashed 1px #656363;
     1363  border: dashed 1px #fff;
    13601364  text-align: center;
    13611365  margin-top: 15px;
     
    13631367}
    13641368#footer th,#footer td {
    1365   border-right: dashed 1px #656363;
     1369  border-right: dashed 1px #fff;
    13661370  padding: 5px 0;
    13671371  color: #fff;
    13681372}
    13691373#footer tr {
    1370   border-bottom: dashed 1px #656363;
     1374  border-bottom: dashed 1px #fff;
    13711375  color: #fff;
    13721376}
     
    13791383}
    13801384#footer .widget_rss li{
    1381   border-bottom: solid 2px #656363;
     1385  border-bottom: solid 2px #fff;
    13821386  margin-bottom: 10px;
    13831387  padding-bottom: 10px;
     
    13861390  color: #fff;
    13871391}
    1388 #footer .tagcloud a {
    1389   border: 1px dashed #656363;
     1392#footer .tagcloud a ,#footer p.wp-block-tag-cloud a{
     1393  border: 1px dashed #fff;
    13901394  color: #fff;
    13911395  padding: 5px 10px;
     
    13931397  display: inline-block;
    13941398  margin-bottom: 5px;
     1399}
     1400#footer .tagcloud a:hover,#footer p.wp-block-tag-cloud a:hover{
     1401  border-color: #FF8F50;
     1402  color: #FF8F50;
    13951403}
    13961404.site-info {
     
    16001608  }
    16011609  .sidenav a:hover {
    1602     color: #f1f1f1;
     1610    color: #1C1C1C;
    16031611  }
    16041612  .sidenav .closebtn {
     
    16611669  }
    16621670  .nav ul li a:hover{
    1663     color:#fff;
     1671    color:#1C1C1C;
    16641672  }
    16651673  .nav ul li ul,
     
    18481856
    18491857}
     1858@media screen and (max-width: 1200px){
     1859    .wc-block-components-totals-wrapper,.is-medium table.wc-block-cart-items .wc-block-cart-items__row, .is-mobile table.wc-block-cart-items .wc-block-cart-items__row, .is-small table.wc-block-cart-items .wc-block-cart-items__row {
     1860        padding: 16px 10px !important;
     1861    }
     1862    .wc-block-cart table.wc-block-cart-items{
     1863        margin: 0 0 2em !important  ;
     1864    }
     1865}
  • luxury-hotels/1.3/template-parts/home/slider.php

    r211460 r215944  
    4040              <div class="more-btn">
    4141                    <?php if( get_theme_mod( 'luxury_hotels_slider_button_link'.$i ) ) { ?>
    42                       <a class="btn-1" href="<?php echo esc_url( get_theme_mod('luxury_hotels_slider_button_link' .$i) ); ?>"><?php esc_html_e('Know More About Hotel','luxury-hotels'); ?><i class="fas fa-play"></i></a>
     42                      <a class="btn-1" href="<?php echo esc_url( get_theme_mod('luxury_hotels_slider_button_link' .$i) ); ?>" target="_blank"><?php esc_html_e('Know More About Hotel','luxury-hotels'); ?><i class="fas fa-play"></i></a>
    4343                    <?php }?>         
    4444              </div>
Note: See TracChangeset for help on using the changeset viewer.