Changeset 215944 for luxury-hotels/1.3
- Timestamp:
- 01/31/2024 05:41:05 AM (22 months ago)
- Location:
- luxury-hotels/1.3
- Files:
-
- 1 added
- 1 deleted
- 7 edited
- 1 copied
-
. (copied) (copied from luxury-hotels/1.2)
-
assets/css/blocks.css (modified) (1 diff)
-
assets/js/luxury-hotels-admin.js (added)
-
functions.php (modified) (5 diffs)
-
inc/about-theme.php (modified) (1 diff)
-
inc/customizer.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
style.css (modified) (21 diffs)
-
template-parts/home/slider.php (modified) (1 diff)
-
woo.css (deleted)
Legend:
- Unmodified
- Added
- Removed
-
luxury-hotels/1.3/assets/css/blocks.css
r211460 r215944 600 600 } 601 601 602 .wp-block-latest-comments__comment-date,603 602 [class^="wp-block-"]:not(.wp-block-gallery) figcaption { 604 603 color: #000; -
luxury-hotels/1.3/functions.php
r213975 r215944 32 32 'height' => 250, 33 33 'flex-width' => true, 34 'flex-height' => true, 34 35 ) ); 35 36 … … 204 205 wp_enqueue_style('luxury-hotels-admin-style', get_template_directory_uri() . '/assets/css/admin.css'); 205 206 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 ); 206 212 } 207 213 add_action( 'admin_enqueue_scripts', 'luxury_hotels_admin_enqueue_scripts' ); … … 343 349 } 344 350 345 346 347 function luxury_hotels_activation_notice() { ?> 348 <div class="updated notice notice-get-started-class is-dismissible" data-notice="get_started"> 351 add_action( 'wp_ajax_luxury_hotels_dismissed_notice_handler', 'luxury_hotels_ajax_notice_handler' ); 352 353 function 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 360 function 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"> 349 365 <div class="luxury-hotels-getting-started-notice clearfix"> 350 366 <div class="luxury-hotels-theme-notice-content"> … … 372 388 </div> 373 389 <?php } 390 391 } 392 374 393 add_action( 'admin_notices', 'luxury_hotels_activation_notice' ); 394 395 add_action('after_switch_theme', 'luxury_hotels_setup_options'); 396 function luxury_hotels_setup_options () { 397 update_option('dismissed-get_started', FALSE ); 398 } 375 399 /** 376 400 * Logo Custamization. … … 379 403 function luxury_hotels_logo_width(){ 380 404 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 ); 382 406 383 407 echo "<style type='text/css' media='all'>"; ?> -
luxury-hotels/1.3/inc/about-theme.php
r211460 r215944 288 288 <td class="feature feature--empty"></td> 289 289 <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> 291 291 </tr> 292 292 </tbody> -
luxury-hotels/1.3/inc/customizer.php
r213975 r215944 931 931 )); 932 932 $wp_customize->add_setting('luxury_hotels_logo_width',array( 933 'default' => 150,933 'default' => 50, 934 934 'sanitize_callback' => 'luxury_hotels_sanitize_number_absint' 935 935 )); -
luxury-hotels/1.3/readme.txt
r213975 r215944 1 1 === Luxury Hotels === 2 2 Contributors: 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, entertainment3 Tags: 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 4 4 Requires at least: 5.0 5 5 Tested up to: 6.4 6 6 Requires PHP: 5.6 7 Stable tag: 1. 27 Stable tag: 1.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 28 28 * Added category list on single post page. 29 29 * 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. 30 37 31 38 == Resources == -
luxury-hotels/1.3/style.css
r213975 r215944 5 5 Author URI: https://www.themespride.com/ 6 6 Description: 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'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. 27 Version: 1.3 8 8 Tested up to: 6.4 9 9 Requires PHP: 5.6 … … 12 12 License URI: http://www.gnu.org/licenses/gpl-2.0.html 13 13 Text 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, entertainment14 Tags: 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 15 15 16 16 Luxury Hotels WordPress Theme, Copyright 2023 ThemesPride … … 377 377 } 378 378 .main-navigation ul ul a{ 379 color: #fff !important;379 color: #fff; 380 380 } 381 381 .main-navigation ul ul li, … … 430 430 z-index: 99999; 431 431 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; 432 440 } 433 441 .main-navigation .menu-item-has-children:not(.off-canvas):hover > .sub-menu, … … 773 781 } 774 782 .woocommerce ul.products li.product .onsale,.woocommerce span.onsale{ 775 background: # 1c1c1c;783 background: #FF8F50; 776 784 padding: 0; 777 785 top: 25px !important; … … 806 814 margin-bottom: 5px; 807 815 } 816 .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button{ 817 border: none !important; 818 } 808 819 .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{ 809 820 background: #FF8F50; 810 color: #fff !important;821 color: #fff; 811 822 padding: 15px; 812 border-radius: 5px; 813 } 823 border-radius: 10px; 824 } 825 814 826 .woocommerce-cart table.cart td.actions .coupon .input-text{ 815 827 width: 50%; 816 828 } 817 .wc-block-cart__submit-container a:hover,.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommercebutton.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{ 818 830 background: #1c1c1c; 819 831 color: #fff; … … 902 914 color: #1c1c1c; 903 915 } 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 .w p-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; 910 922 } 911 923 /*-------------------------------------------------------------- … … 953 965 span.page-numbers.current{ 954 966 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;962 967 } 963 968 .related-post-block .page-box{ … … 1083 1088 padding-inline-start: 0px; 1084 1089 } 1085 #theme-sidebar .textwidget img, 1086 #footer img { 1090 #theme-sidebar .textwidget img { 1087 1091 width: 100%; 1088 1092 height: auto; … … 1096 1100 color: #000; 1097 1101 } 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 { 1099 1103 border: 1px solid #ebebeb; 1100 1104 padding: 5px 10px; 1101 color: #222222 ;1105 color: #222222 !important; 1102 1106 font-size: 12px !important; 1103 1107 display: inline-block; 1104 1108 margin-bottom: 5px; 1105 1109 } 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{ 1108 1111 border-color:#FF8F50; 1109 1112 } … … 1139 1142 border-radius: 10px; 1140 1143 } 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{ 1142 1145 color: #000; 1143 1146 background: #FF8F50; … … 1186 1189 Comments 1187 1190 --------------------------------------------------------------*/ 1188 .box-content #respond{ 1191 #comments #respond,.related-post-block{ 1192 border: 1px solid #ebebeb; 1189 1193 padding: 20px; 1190 border-radius: 15px;1191 box-shadow: 0px 4px 30px #d5d5d58c;1192 margin-bottom: 20px;1193 1194 } 1194 1195 #comments { … … 1341 1342 clear: both; 1342 1343 } 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 { 1344 1345 font-size: 20px; 1345 1346 padding: 10px 0; 1346 color: #fff ;1347 color: #fff !important; 1347 1348 border-bottom: dashed 1px #656363; 1348 1349 margin-bottom: 10px; 1349 1350 } 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 { 1351 1355 color: #fff; 1352 1356 } … … 1357 1361 } 1358 1362 #footer table#wp-calendar { 1359 border: dashed 1px # 656363;1363 border: dashed 1px #fff; 1360 1364 text-align: center; 1361 1365 margin-top: 15px; … … 1363 1367 } 1364 1368 #footer th,#footer td { 1365 border-right: dashed 1px # 656363;1369 border-right: dashed 1px #fff; 1366 1370 padding: 5px 0; 1367 1371 color: #fff; 1368 1372 } 1369 1373 #footer tr { 1370 border-bottom: dashed 1px # 656363;1374 border-bottom: dashed 1px #fff; 1371 1375 color: #fff; 1372 1376 } … … 1379 1383 } 1380 1384 #footer .widget_rss li{ 1381 border-bottom: solid 2px # 656363;1385 border-bottom: solid 2px #fff; 1382 1386 margin-bottom: 10px; 1383 1387 padding-bottom: 10px; … … 1386 1390 color: #fff; 1387 1391 } 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; 1390 1394 color: #fff; 1391 1395 padding: 5px 10px; … … 1393 1397 display: inline-block; 1394 1398 margin-bottom: 5px; 1399 } 1400 #footer .tagcloud a:hover,#footer p.wp-block-tag-cloud a:hover{ 1401 border-color: #FF8F50; 1402 color: #FF8F50; 1395 1403 } 1396 1404 .site-info { … … 1600 1608 } 1601 1609 .sidenav a:hover { 1602 color: # f1f1f1;1610 color: #1C1C1C; 1603 1611 } 1604 1612 .sidenav .closebtn { … … 1661 1669 } 1662 1670 .nav ul li a:hover{ 1663 color:# fff;1671 color:#1C1C1C; 1664 1672 } 1665 1673 .nav ul li ul, … … 1848 1856 1849 1857 } 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 40 40 <div class="more-btn"> 41 41 <?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> 43 43 <?php }?> 44 44 </div>
Note: See TracChangeset
for help on using the changeset viewer.