Changeset 317547
- Timestamp:
- 03/14/2026 06:52:30 AM (8 months ago)
- Location:
- restaurant-brunch/2.3
- Files:
-
- 14 edited
- 1 copied
-
. (copied) (copied from restaurant-brunch/2.2 )
-
functions.php (modified) (2 diffs)
-
languages/restaurant-brunch.pot (modified) (50 diffs)
-
readme.txt (modified) (2 diffs)
-
resource/css/getting-started.css (modified) (1 diff)
-
sections/banner.php (modified) (1 diff)
-
style-rtl.css (modified) (7 diffs)
-
style.css (modified) (2 diffs)
-
template-parts/content-image.php (modified) (1 diff)
-
template-parts/content.php (modified) (1 diff)
-
theme-library/customizer/front-page-options/banner.php (modified) (1 diff)
-
theme-library/customizer/front-page-options/header.php (modified) (1 diff)
-
theme-library/customizer/theme-options/post-options.php (modified) (1 diff)
-
theme-library/customizer/theme-options/theme-options.php (modified) (1 diff)
-
theme-library/function-files/customizer-settings-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
restaurant-brunch/2.3/functions.php
r309508 r317547 152 152 wp_style_add_data('restaurant-brunch-style', 'rtl', 'replace'); 153 153 154 // Animate CSS 155 wp_enqueue_style( 'animate-style', get_template_directory_uri() . '/resource/css/animate.css' ); 154 if (get_theme_mod('restaurant_brunch_enable_animation', true) == true){ 155 // Animate CSS 156 wp_enqueue_style( 'animate-style', get_template_directory_uri() . '/resource/css/animate.css' ); 157 // Wow script. 158 wp_enqueue_script( 'wow-jquery', get_template_directory_uri() . '/resource/js/wow.js', array('jquery'),'' ,true ); 159 } 156 160 157 161 // Navigation script. … … 164 168 wp_enqueue_script( 'restaurant-brunch-custom-script', get_template_directory_uri() . '/resource/js/custom.js', array( 'jquery' ), RESTAURANT_BRUNCH_VERSION, true ); 165 169 166 // Wow script.167 wp_enqueue_script( 'wow-jquery', get_template_directory_uri() . '/resource/js/wow.js', array('jquery'),'' ,true );168 170 169 171 if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { -
restaurant-brunch/2.3/languages/restaurant-brunch.pot
r311880 r317547 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Restaurant Brunch 2. 2\n"5 "Project-Id-Version: Restaurant Brunch 2.3\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/theme/restaurant-brunch\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2026-0 2-03T18:34:06+05:30\n"12 "POT-Creation-Date: 2026-03-11T12:59:14+05:30\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2.1 1.0\n"14 "X-Generator: WP-CLI 2.12.0\n" 15 15 "X-Domain: restaurant-brunch\n" 16 16 … … 22 22 #. Theme URI of the theme 23 23 #: style.css 24 #: functions.php:26 424 #: functions.php:266 25 25 #: theme-library/function-files/template-functions.php:320 26 26 msgid "https://asterthemes.com/products/restaurant-brunch" … … 60 60 #. translators: 1: title. 61 61 #: comments.php:26 62 #, php-format 62 63 msgid "One thought on “%1$s”" 63 64 msgstr "" … … 65 66 #. translators: 1: comment count number, 2: title. 66 67 #: comments.php:32 68 #, php-format 67 69 msgctxt "comments title" 68 70 msgid "%1$s thought on “%2$s”" … … 104 106 msgstr "" 105 107 106 #: functions.php:26 1108 #: functions.php:263 107 109 msgid "https://asterthemes.com/products/brunch-wordpress-theme" 108 110 msgstr "" 109 111 110 #: functions.php:26 7112 #: functions.php:269 111 113 msgid "https://wordpress.org/support/theme/restaurant-brunch/" 112 114 msgstr "" 113 115 114 #: functions.php:27 0116 #: functions.php:272 115 117 msgid "https://wordpress.org/support/theme/restaurant-brunch/reviews/" 116 118 msgstr "" 117 119 118 #: functions.php:27 3120 #: functions.php:275 119 121 msgid "https://demo.asterthemes.com/restaurant-brunch/" 120 122 msgstr "" 121 123 122 #: functions.php:27 6124 #: functions.php:278 123 125 msgid "https://demo.asterthemes.com/docs/restaurant-brunch-free/" 124 126 msgstr "" 125 127 126 #: functions.php:2 79128 #: functions.php:281 127 129 msgid "https://demo.asterthemes.com/docs/restaurant-brunch-pro/" 128 130 msgstr "" 129 131 130 #: functions.php:28 2132 #: functions.php:284 131 133 msgid "https://asterthemes.com/products/wp-theme-bundle" 132 134 msgstr "" 133 135 134 #: functions.php:32 6136 #: functions.php:328 135 137 msgid "Demo import settings have been reset." 136 138 msgstr "" 137 139 138 #: functions.php:3 28140 #: functions.php:330 139 141 msgid "Permission denied." 140 142 msgstr "" … … 205 207 #. translators: 1: link to WP admin new post page. 206 208 #: template-parts/content-none.php:28 209 #, php-format 207 210 msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>." 208 211 msgstr "" … … 220 223 #: template-parts/content-page.php:39 221 224 #: theme-library/function-files/template-tags.php:267 225 #, php-format 222 226 msgid "Edit <span class=\"screen-reader-text\">%s</span>" 223 227 msgstr "" … … 225 229 #. translators: %s: Name of current post. Only visible to screen readers 226 230 #: template-parts/content-single.php:40 231 #, php-format 227 232 msgid "Continue reading<span class=\"screen-reader-text\"> \"%s\"</span>" 228 233 msgstr "" … … 285 290 #: theme-library/customizer/front-page-options/banner.php:105 286 291 msgid "Button Link" 292 msgstr "" 293 294 #: theme-library/customizer/front-page-options/banner.php:122 295 msgid "Banner Button Label Color" 296 msgstr "" 297 298 #: theme-library/customizer/front-page-options/banner.php:137 299 msgid "Banner Button Background Color" 287 300 msgstr "" 288 301 … … 408 421 #: theme-library/customizer/front-page-options/header.php:286 409 422 msgid "Sub Menu Color" 423 msgstr "" 424 425 #: theme-library/customizer/front-page-options/header.php:299 426 msgid "Topbar Padding" 410 427 msgstr "" 411 428 … … 973 990 msgstr "" 974 991 975 #: theme-library/customizer/theme-options/post-options.php:544 976 msgid "Show / Hide Post Animation" 977 msgstr "" 978 979 #: theme-library/customizer/theme-options/post-options.php:560 992 #: theme-library/customizer/theme-options/post-options.php:540 980 993 msgid "First Cap (First Capital Letter)" 981 994 msgstr "" … … 1173 1186 msgstr "" 1174 1187 1188 #: theme-library/customizer/theme-options/theme-options.php:324 1189 msgid "Show / Hide Animations" 1190 msgstr "" 1191 1175 1192 #: theme-library/customizer/theme-options/typography-setting.php:13 1176 1193 msgid "Typography Setting" … … 1233 1250 #. Translators: %s is the search query. 1234 1251 #: theme-library/function-files/class-breadcrumb-trail.php:254 1252 #, php-format 1235 1253 msgid "Search results for: %s" 1236 1254 msgstr "" … … 1238 1256 #. Translators: %s is the page number. 1239 1257 #: theme-library/function-files/class-breadcrumb-trail.php:256 1258 #, php-format 1240 1259 msgid "Page %s" 1241 1260 msgstr "" … … 1243 1262 #. Translators: %s is the page number. 1244 1263 #: theme-library/function-files/class-breadcrumb-trail.php:258 1264 #, php-format 1245 1265 msgid "Comment Page %s" 1246 1266 msgstr "" … … 1248 1268 #. Translators: Minute archive title. %s is the minute time format. 1249 1269 #: theme-library/function-files/class-breadcrumb-trail.php:260 1270 #, php-format 1250 1271 msgid "Minute %s" 1251 1272 msgstr "" … … 1253 1274 #. Translators: Weekly archive title. %s is the week date format. 1254 1275 #: theme-library/function-files/class-breadcrumb-trail.php:262 1276 #, php-format 1255 1277 msgid "Week %s" 1256 1278 msgstr "" … … 1333 1355 #. translators: %s: WordPress.org URL 1334 1356 #: theme-library/function-files/template-functions.php:322 1357 #, php-format 1335 1358 msgid " | Powered by %s" 1336 1359 msgstr "" … … 1374 1397 #. translators: %s: details. 1375 1398 #: theme-library/function-files/template-functions.php:456 1399 #, php-format 1376 1400 msgid "Comment on %s" 1377 1401 msgstr "" … … 1412 1436 #: theme-library/function-files/template-tags.php:125 1413 1437 #: theme-library/function-files/template-tags.php:149 1438 #, php-format 1414 1439 msgid "%s Comment" 1415 1440 msgid_plural "%s Comments" … … 1420 1445 #: theme-library/function-files/template-tags.php:175 1421 1446 #: theme-library/function-files/template-tags.php:196 1447 #, php-format 1422 1448 msgid "Posted at %s" 1423 1449 msgstr "" … … 1431 1457 #. translators: 1: list of tags. 1432 1458 #: theme-library/function-files/template-tags.php:258 1459 #, php-format 1433 1460 msgid "Tagged %1$s" 1434 1461 msgstr "" … … 1750 1777 #. translators: %s: plugin name. 1751 1778 #: theme-wizard/tgm/class-tgm-plugin-activation.php:343 1779 #, php-format 1752 1780 msgid "Installing Plugin: %s" 1753 1781 msgstr "" … … 1755 1783 #. translators: %s: plugin name. 1756 1784 #: theme-wizard/tgm/class-tgm-plugin-activation.php:345 1785 #, php-format 1757 1786 msgid "Updating Plugin: %s" 1758 1787 msgstr "" … … 1764 1793 #. translators: 1: plugin name(s). 1765 1794 #: theme-wizard/tgm/class-tgm-plugin-activation.php:348 1795 #, php-format 1766 1796 msgid "This theme requires the following plugin: %1$s." 1767 1797 msgid_plural "This theme requires the following plugins: %1$s." … … 1771 1801 #. translators: 1: plugin name(s). 1772 1802 #: theme-wizard/tgm/class-tgm-plugin-activation.php:354 1803 #, php-format 1773 1804 msgid "This theme recommends the following plugin: %1$s." 1774 1805 msgid_plural "This theme recommends the following plugins: %1$s." … … 1778 1809 #. translators: 1: plugin name(s). 1779 1810 #: theme-wizard/tgm/class-tgm-plugin-activation.php:360 1811 #, php-format 1780 1812 msgid "The following plugin needs to be updated to its latest version to ensure maximum compatibility with this theme: %1$s." 1781 1813 msgid_plural "The following plugins need to be updated to their latest version to ensure maximum compatibility with this theme: %1$s." … … 1785 1817 #. translators: 1: plugin name(s). 1786 1818 #: theme-wizard/tgm/class-tgm-plugin-activation.php:366 1819 #, php-format 1787 1820 msgid "There is an update available for: %1$s." 1788 1821 msgid_plural "There are updates available for the following plugins: %1$s." … … 1792 1825 #. translators: 1: plugin name(s). 1793 1826 #: theme-wizard/tgm/class-tgm-plugin-activation.php:372 1827 #, php-format 1794 1828 msgid "The following required plugin is currently inactive: %1$s." 1795 1829 msgid_plural "The following required plugins are currently inactive: %1$s." … … 1799 1833 #. translators: 1: plugin name(s). 1800 1834 #: theme-wizard/tgm/class-tgm-plugin-activation.php:378 1835 #, php-format 1801 1836 msgid "The following recommended plugin is currently inactive: %1$s." 1802 1837 msgid_plural "The following recommended plugins are currently inactive: %1$s." … … 1844 1879 #. translators: 1: plugin name. 1845 1880 #: theme-wizard/tgm/class-tgm-plugin-activation.php:403 1881 #, php-format 1846 1882 msgid "No action taken. Plugin %1$s was already active." 1847 1883 msgstr "" … … 1849 1885 #. translators: 1: plugin name. 1850 1886 #: theme-wizard/tgm/class-tgm-plugin-activation.php:405 1887 #, php-format 1851 1888 msgid "Plugin not activated. A higher version of %s is needed for this theme. Please update the plugin." 1852 1889 msgstr "" … … 1854 1891 #. translators: 1: dashboard link. 1855 1892 #: theme-wizard/tgm/class-tgm-plugin-activation.php:407 1893 #, php-format 1856 1894 msgid "All plugins installed and activated successfully. %1$s" 1857 1895 msgstr "" … … 1902 1940 #. translators: %s: version number 1903 1941 #: theme-wizard/tgm/class-tgm-plugin-activation.php:2112 1942 #, php-format 1904 1943 msgid "TGMPA v%s" 1905 1944 msgstr "" … … 1951 1990 #. translators: 1: install status, 2: update status 1952 1991 #: theme-wizard/tgm/class-tgm-plugin-activation.php:2490 1992 #, php-format 1953 1993 msgctxt "Install/Update Status" 1954 1994 msgid "%1$s, %2$s" … … 1957 1997 #. translators: 1: number of plugins. 1958 1998 #: theme-wizard/tgm/class-tgm-plugin-activation.php:2536 1999 #, php-format 1959 2000 msgctxt "plugins" 1960 2001 msgid "All <span class=\"count\">(%s)</span>" … … 1965 2006 #. translators: 1: number of plugins. 1966 2007 #: theme-wizard/tgm/class-tgm-plugin-activation.php:2540 2008 #, php-format 1967 2009 msgid "To Install <span class=\"count\">(%s)</span>" 1968 2010 msgid_plural "To Install <span class=\"count\">(%s)</span>" … … 1972 2014 #. translators: 1: number of plugins. 1973 2015 #: theme-wizard/tgm/class-tgm-plugin-activation.php:2544 2016 #, php-format 1974 2017 msgid "Update Available <span class=\"count\">(%s)</span>" 1975 2018 msgid_plural "Update Available <span class=\"count\">(%s)</span>" … … 1979 2022 #. translators: 1: number of plugins. 1980 2023 #: theme-wizard/tgm/class-tgm-plugin-activation.php:2548 2024 #, php-format 1981 2025 msgid "To Activate <span class=\"count\">(%s)</span>" 1982 2026 msgid_plural "To Activate <span class=\"count\">(%s)</span>" … … 2027 2071 #. translators: %2$s: plugin name in screen reader markup 2028 2072 #: theme-wizard/tgm/class-tgm-plugin-activation.php:2751 2073 #, php-format 2029 2074 msgid "Install %2$s" 2030 2075 msgstr "" … … 2032 2077 #. translators: %2$s: plugin name in screen reader markup 2033 2078 #: theme-wizard/tgm/class-tgm-plugin-activation.php:2756 2079 #, php-format 2034 2080 msgid "Update %2$s" 2035 2081 msgstr "" … … 2037 2083 #. translators: %2$s: plugin name in screen reader markup 2038 2084 #: theme-wizard/tgm/class-tgm-plugin-activation.php:2762 2085 #, php-format 2039 2086 msgid "Activate %2$s" 2040 2087 msgstr "" … … 2086 2133 #. translators: 1: plugin name, 2: action number 3: total number of actions. 2087 2134 #: theme-wizard/tgm/class-tgm-plugin-activation.php:3655 2135 #, php-format 2088 2136 msgid "Updating Plugin %1$s (%2$d/%3$d)" 2089 2137 msgstr "" … … 2091 2139 #. translators: 1: plugin name, 2: error message. 2092 2140 #: theme-wizard/tgm/class-tgm-plugin-activation.php:3658 2141 #, php-format 2093 2142 msgid "An error occurred while installing %1$s: <strong>%2$s</strong>." 2094 2143 msgstr "" … … 2096 2145 #. translators: 1: plugin name. 2097 2146 #: theme-wizard/tgm/class-tgm-plugin-activation.php:3660 2147 #, php-format 2098 2148 msgid "The installation of %1$s failed." 2099 2149 msgstr "" … … 2105 2155 #. translators: 1: plugin name. 2106 2156 #: theme-wizard/tgm/class-tgm-plugin-activation.php:3666 2157 #, php-format 2107 2158 msgid "%1$s installed and activated successfully." 2108 2159 msgstr "" … … 2114 2165 #. translators: 1: plugin name, 2: action number 3: total number of actions. 2115 2166 #: theme-wizard/tgm/class-tgm-plugin-activation.php:3669 2167 #, php-format 2116 2168 msgid "Installing and Activating Plugin %1$s (%2$d/%3$d)" 2117 2169 msgstr "" … … 2123 2175 #. translators: 1: plugin name. 2124 2176 #: theme-wizard/tgm/class-tgm-plugin-activation.php:3674 2177 #, php-format 2125 2178 msgid "%1$s installed successfully." 2126 2179 msgstr "" … … 2132 2185 #. translators: 1: plugin name, 2: action number 3: total number of actions. 2133 2186 #: theme-wizard/tgm/class-tgm-plugin-activation.php:3677 2187 #, php-format 2134 2188 msgid "Installing Plugin %1$s (%2$d/%3$d)" 2135 2189 msgstr "" -
restaurant-brunch/2.3/readme.txt
r311880 r317547 6 6 Requires at least: 5.0 7 7 Tested up to: 6.9 8 Stable tag: 2. 28 Stable tag: 2.3 9 9 Requires PHP: 7.4 10 10 License: GNU General Public License v3 or later … … 103 103 * Updated pot file. 104 104 105 = 2.3 = 106 * Added on/off setting of animation in customizer. 107 * Added topbar padding setting in customizer. 108 * Added slider button background color option. 109 * Added slider button lable color option. 110 * Updated rtl file. 111 * Updated pot file. 112 105 113 == Images Screenshot == 106 114 -
restaurant-brunch/2.3/resource/css/getting-started.css
r309508 r317547 530 530 } 531 531 strong { 532 color: # fff;532 color: #3c434a; 533 533 } 534 534 span.tick { -
restaurant-brunch/2.3/sections/banner.php
r285171 r317547 42 42 <div class="banner-caption"> 43 43 <div class="asterthemes-wrapper"> 44 <div class="banner-catption-wrapper ">44 <div class="banner-catption-wrapper wow fadeInUp" data-wow-duration="1.5s"> 45 45 <h2 class="banner-caption-title"> 46 46 <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> -
restaurant-brunch/2.3/style-rtl.css
r311880 r317547 1923 1923 .main-navigation a:focus, .main-navigation a:hover { 1924 1924 opacity: 1; 1925 color: # 000;1925 color: #fff; 1926 1926 } 1927 1927 … … 5790 5790 background-color: transparent; 5791 5791 border: none; 5792 color: #fff; 5792 5793 } 5793 5794 .bottom-header-right-part .search-form .search-field{ … … 5800 5801 color: #fff; 5801 5802 } 5802 .bottom-header-right-part .search- form input.search-field::placeholder{5803 color: var(--color-text-black);5803 .bottom-header-right-part .search-main .form .search-field::placeholder{ 5804 color: #fff; 5804 5805 } 5805 5806 .bottom-header-right-part .search-form .search-submit{ … … 5831 5832 form.woo-pro-search button.search-button { 5832 5833 position: absolute; 5833 margin-right: -45px; 5834 margin-right: 200px; 5835 top: 30px; 5834 5836 color: #000; 5835 5837 background: transparent; … … 6320 6322 font-size: 14px; 6321 6323 font-weight: 600; 6322 }6323 6324 .banner-section.banner-style-1 .slick-active.banner-single .banner-catption-wrapper .caption-subtitle,6325 .banner-section.banner-style-1 .slick-active.banner-single .banner-catption-wrapper .banner-caption-title,6326 .banner-section.banner-style-1 .slick-active.banner-single .banner-catption-wrapper .caption-description,6327 .banner-section.banner-style-1 .slick-active.banner-single .banner-catption-wrapper .banner-slider-btn,6328 .banner-section.banner-style-1 .slick-active .banner-single .banner-catption-wrapper .caption-subtitle,6329 .banner-section.banner-style-1 .slick-active .banner-single .banner-catption-wrapper .banner-caption-title,6330 .banner-section.banner-style-1 .slick-active .banner-single .banner-catption-wrapper .caption-description,6331 .banner-section.banner-style-1 .slick-active .banner-single .banner-catption-wrapper .banner-slider-btn {6332 transform-origin: top;6333 animation-name: asterthemes-animation1;6334 animation-fill-mode: both;6335 animation-duration: 0.7s;6336 }6337 6338 .banner-section.banner-style-1 .slick-active.banner-single .banner-catption-wrapper .caption-subtitle,6339 .banner-section.banner-style-1 .slick-active .banner-single .banner-catption-wrapper .caption-subtitle {6340 animation-delay: 0.2s;6341 }6342 6343 .banner-section.banner-style-1 .slick-active.banner-single .banner-catption-wrapper .banner-caption-title,6344 .banner-section.banner-style-1 .slick-active .banner-single .banner-catption-wrapper .banner-caption-title {6345 animation-delay: 0.3s;6346 }6347 6348 .banner-section.banner-style-1 .slick-active.banner-single .banner-catption-wrapper .caption-description,6349 .banner-section.banner-style-1 .slick-active .banner-single .banner-catption-wrapper .caption-description {6350 animation-delay: 0.4s;6351 }6352 6353 .banner-section.banner-style-1 .slick-active.banner-single .banner-catption-wrapper .banner-slider-btn,6354 .banner-section.banner-style-1 .slick-active .banner-single .banner-catption-wrapper .banner-slider-btn {6355 animation-delay: 0.5s;6356 }6357 6358 @keyframes asterthemes-animation1 {6359 from {6360 opacity: 0;6361 transform: translateY(100px);6362 }6363 to {6364 opacity: 1;6365 transform: translateY(0);6366 }6367 6324 } 6368 6325 … … 7470 7427 gap: 10px; 7471 7428 } 7429 7472 7430 .site-logo { 7473 7431 text-align: right; … … 7801 7759 } 7802 7760 .form { 7803 left: -1 00px;7761 left: -115px; 7804 7762 } 7805 7763 header.site-header .header-main-wrapper .bottom-header-outer-wrapper .bottom-header-part .bottom-header-part-wrapper .bottom-header-right-part.nav-box{ -
restaurant-brunch/2.3/style.css
r311880 r317547 5 5 Author URI: https://asterthemes.com 6 6 Description: The Restaurant Brunch theme is a modern, elegant, and responsive solution designed for restaurants, cafes, bistros, brunch spots, coffee shops, catering services, bakeries, food delivery services, casual dining, fine dining, culinary businesses, and hospitality ventures. Ideal for restaurant website templates, brunch menu layouts, café portals, food delivery platforms, catering service sites, and culinary business showcases, this theme provides a visually appealing and user-friendly experience across desktops, tablets, and mobile devices. It includes sections for food galleries, menu displays, chef profiles, customer testimonials, banners, reservations, online ordering, events, and strategically placed call-to-action buttons to boost engagement. Built with clean, optimized, and SEO-friendly code, the theme allows effortless customization of layouts, colors, and typography to match your brand identity. Fully compatible with WooCommerce for food orders and payments, Contact Form 7 for inquiries and table bookings, and Jetpack for performance enhancements, security, and social sharing, Restaurant Brunch provides a professional, high-performing platform to showcase culinary offerings, attract more customers, and grow your hospitality business online. 7 Version: 2. 27 Version: 2.3 8 8 Tested up to: 6.9 9 9 Requires PHP: 7.4 … … 6378 6378 } 6379 6379 6380 .banner-section.banner-style-1 .slick-active.banner-single .banner-catption-wrapper .caption-subtitle,6381 .banner-section.banner-style-1 .slick-active.banner-single .banner-catption-wrapper .banner-caption-title,6382 .banner-section.banner-style-1 .slick-active.banner-single .banner-catption-wrapper .caption-description,6383 .banner-section.banner-style-1 .slick-active.banner-single .banner-catption-wrapper .banner-slider-btn,6384 .banner-section.banner-style-1 .slick-active .banner-single .banner-catption-wrapper .caption-subtitle,6385 .banner-section.banner-style-1 .slick-active .banner-single .banner-catption-wrapper .banner-caption-title,6386 .banner-section.banner-style-1 .slick-active .banner-single .banner-catption-wrapper .caption-description,6387 .banner-section.banner-style-1 .slick-active .banner-single .banner-catption-wrapper .banner-slider-btn {6388 transform-origin: top;6389 animation-name: asterthemes-animation1;6390 animation-fill-mode: both;6391 animation-duration: 0.7s;6392 }6393 6394 .banner-section.banner-style-1 .slick-active.banner-single .banner-catption-wrapper .caption-subtitle,6395 .banner-section.banner-style-1 .slick-active .banner-single .banner-catption-wrapper .caption-subtitle {6396 animation-delay: 0.2s;6397 }6398 6399 .banner-section.banner-style-1 .slick-active.banner-single .banner-catption-wrapper .banner-caption-title,6400 .banner-section.banner-style-1 .slick-active .banner-single .banner-catption-wrapper .banner-caption-title {6401 animation-delay: 0.3s;6402 }6403 6404 .banner-section.banner-style-1 .slick-active.banner-single .banner-catption-wrapper .caption-description,6405 .banner-section.banner-style-1 .slick-active .banner-single .banner-catption-wrapper .caption-description {6406 animation-delay: 0.4s;6407 }6408 6409 .banner-section.banner-style-1 .slick-active.banner-single .banner-catption-wrapper .banner-slider-btn,6410 .banner-section.banner-style-1 .slick-active .banner-single .banner-catption-wrapper .banner-slider-btn {6411 animation-delay: 0.5s;6412 }6413 6414 @keyframes asterthemes-animation1 {6415 from {6416 opacity: 0;6417 transform: translateY(100px);6418 }6419 to {6420 opacity: 1;6421 transform: translateY(0);6422 }6423 }6424 6425 6380 /* home section CSS end 6426 6381 --------------------------------------------- */ -
restaurant-brunch/2.3/template-parts/content-image.php
r285171 r317547 11 11 <?php $restaurant_brunch_readmore = get_theme_mod( 'restaurant_brunch_readmore_button_text','Read More');?> 12 12 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 13 <div class="mag-post-single <?php echo esc_attr( get_theme_mod( 'restaurant_brunch_enable_animation', true ) ? 'wow zoomIn delay-1000' : '' ); ?>">13 <div class="mag-post-single wow zoomIn delay-1000"> 14 14 <div class="mag-post-img"> 15 15 <?php restaurant_brunch_post_thumbnail(); ?> -
restaurant-brunch/2.3/template-parts/content.php
r285171 r317547 12 12 13 13 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 14 <div class="mag-post-single <?php echo esc_attr( get_theme_mod( 'restaurant_brunch_enable_animation', true ) ? 'wow zoomIn delay-1000' : '' ); ?>">14 <div class="mag-post-single wow zoomIn delay-1000"> 15 15 <div class="mag-post-img"> 16 16 <?php restaurant_brunch_post_thumbnail(); ?> -
restaurant-brunch/2.3/theme-library/customizer/front-page-options/banner.php
r309508 r317547 111 111 ); 112 112 113 // Banner Button Label Color 114 $wp_customize->add_setting( 115 'restaurant_brunch_banner_btn_color', 116 array( 117 'default' => '', 118 'sanitize_callback' => 'sanitize_hex_color', 119 ) 120 ); 121 $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize,'restaurant_brunch_banner_btn_color',array( 122 'label' => __('Banner Button Label Color','restaurant-brunch'), 123 'section' => 'restaurant_brunch_banner_section', 124 'settings' => 'restaurant_brunch_banner_btn_color', 125 'active_callback' => 'restaurant_brunch_is_banner_slider_section_enabled', 126 ) 127 ) 128 ); 129 130 // Banner Button Background Color 131 $wp_customize->add_setting('restaurant_brunch_banner_btn_bg_color',array( 132 'default' => '', 133 'sanitize_callback' => 'sanitize_hex_color', 134 ) 135 ); 136 $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize,'restaurant_brunch_banner_btn_bg_color',array( 137 'label' => __('Banner Button Background Color','restaurant-brunch'), 138 'section' => 'restaurant_brunch_banner_section', 139 'settings' => 'restaurant_brunch_banner_btn_bg_color', 140 'active_callback' => 'restaurant_brunch_is_banner_slider_section_enabled', 141 ) 142 ) 143 ); 144 113 145 $wp_customize->add_setting( 114 146 'restaurant_brunch_banner_settings_upgraded_features', -
restaurant-brunch/2.3/theme-library/customizer/front-page-options/header.php
r309508 r317547 290 290 ); 291 291 292 // Topbar Padding Setting 293 $wp_customize->add_setting('restaurant_brunch_topbar_padding',array( 294 'default' => '', 295 'sanitize_callback' => 'absint' 296 ) 297 ); 298 $wp_customize->add_control('restaurant_brunch_topbar_padding',array( 299 'label' => __('Topbar Padding','restaurant-brunch'), 300 'section' => 'restaurant_brunch_header_options', 301 'type' => 'number', 302 'input_attrs' => array( 303 'min' => 0, 304 'max' => 50, 305 'step' => 1 306 ) 307 ) 308 ); 309 292 310 $wp_customize->add_setting( 293 311 'restaurant_brunch_header_settings_upgraded_features', -
restaurant-brunch/2.3/theme-library/customizer/theme-options/post-options.php
r311880 r317547 528 528 ); 529 529 530 //Show / Hide Animations531 $wp_customize->add_setting(532 'restaurant_brunch_enable_animation',533 array(534 'default' => true,535 'sanitize_callback' => 'restaurant_brunch_sanitize_switch',536 )537 );538 539 $wp_customize->add_control(540 new Restaurant_Brunch_Toggle_Switch_Custom_Control(541 $wp_customize,542 'restaurant_brunch_enable_animation',543 array(544 'label' => esc_html__( 'Show / Hide Post Animation', 'restaurant-brunch' ),545 'section' => 'restaurant_brunch_post_options',546 )547 )548 );549 550 530 $wp_customize->add_setting('restaurant_brunch_show_first_caps', array( 551 531 'default' => false, -
restaurant-brunch/2.3/theme-library/customizer/theme-options/theme-options.php
r286258 r317547 314 314 ), 315 315 ))); 316 317 // ---------------------------------------- ANIMATION ---------------------------------------------------- 318 319 $wp_customize->add_setting( 'restaurant_brunch_animation_separator', array( 320 'sanitize_callback' => 'sanitize_text_field', 321 ) ); 322 $wp_customize->add_control( new Restaurant_Brunch_Separator_Custom_Control( $wp_customize, 'restaurant_brunch_animation_separator', array( 323 'label' => __( 'Enable / Disable Animation', 'restaurant-brunch' ), 324 'section' => 'restaurant_brunch_general_options', 325 'settings' => 'restaurant_brunch_animation_separator', 326 ) ) ); 327 // Animation Enable / Disable 328 $wp_customize->add_setting('restaurant_brunch_enable_animation',array( 329 'default' => true, 330 'sanitize_callback' => 'restaurant_brunch_sanitize_switch', 331 ) 332 ); 333 $wp_customize->add_control( 334 new Restaurant_Brunch_Toggle_Switch_Custom_Control($wp_customize,'restaurant_brunch_enable_animation',array( 335 'label' => esc_html__( 'Enable Animation', 'restaurant-brunch' ), 336 'section' => 'restaurant_brunch_general_options', 337 ) 338 ) 339 ); -
restaurant-brunch/2.3/theme-library/function-files/customizer-settings-functions.php
r311880 r317547 450 450 } 451 451 add_action( 'wp_enqueue_scripts', 'restaurant_brunch_show_first_caps' ); 452 453 // Banner Button Color 454 function restaurant_brunch_banner_button_color_css() { 455 $btn_color = get_theme_mod('restaurant_brunch_banner_btn_color'); 456 $btn_bg_color = get_theme_mod('restaurant_brunch_banner_btn_bg_color'); 457 458 $custom_css = ''; 459 if ( !empty($btn_color) ) { 460 $custom_css .= " 461 .banner-slider-btn a.asterthemes-button{ 462 color: {$btn_color}; 463 }"; 464 } 465 466 if ( !empty($btn_bg_color) ) { 467 $custom_css .= " 468 .banner-slider-btn a.asterthemes-button{ 469 background-color: {$btn_bg_color}; 470 }"; 471 } 472 473 wp_add_inline_style('restaurant-brunch-style', $custom_css); 474 } 475 add_action('wp_enqueue_scripts','restaurant_brunch_banner_button_color_css'); 476 477 // Topbar Padding Dynamic CSS 478 function restaurant_brunch_topbar_padding_css(){ 479 $padding = get_theme_mod('restaurant_brunch_topbar_padding'); 480 $custom_css = ".top-header-part{ 481 padding-top: {$padding}px !important; 482 padding-bottom: {$padding}px !important; 483 }"; 484 wp_add_inline_style('restaurant-brunch-style',$custom_css); 485 486 } 487 add_action('wp_enqueue_scripts','restaurant_brunch_topbar_padding_css');
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)