Make WordPress Themes

Changeset 317547


Ignore:
Timestamp:
03/14/2026 06:52:30 AM (8 months ago)
Author:
themedropbox
Message:

New version of Restaurant Brunch - 2.3

Location:
restaurant-brunch/2.3
Files:
14 edited
1 copied

Legend:

Unmodified
Added
Removed
  • restaurant-brunch/2.3/functions.php

    r309508 r317547  
    152152        wp_style_add_data('restaurant-brunch-style', 'rtl', 'replace');
    153153
    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        }
    156160
    157161        // Navigation script.
    … …  
    164168        wp_enqueue_script( 'restaurant-brunch-custom-script', get_template_directory_uri() . '/resource/js/custom.js', array( 'jquery' ), RESTAURANT_BRUNCH_VERSION, true );
    165169
    166         // Wow script.
    167         wp_enqueue_script( 'wow-jquery', get_template_directory_uri() . '/resource/js/wow.js', array('jquery'),'' ,true );
    168170
    169171        if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
  • restaurant-brunch/2.3/languages/restaurant-brunch.pot

    r311880 r317547  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Restaurant Brunch 2.2\n"
     5"Project-Id-Version: Restaurant Brunch 2.3\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/theme/restaurant-brunch\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    … …  
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2026-02-03T18:34:06+05:30\n"
     12"POT-Creation-Date: 2026-03-11T12:59:14+05:30\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.11.0\n"
     14"X-Generator: WP-CLI 2.12.0\n"
    1515"X-Domain: restaurant-brunch\n"
    1616
    … …  
    2222#. Theme URI of the theme
    2323#: style.css
    24 #: functions.php:264
     24#: functions.php:266
    2525#: theme-library/function-files/template-functions.php:320
    2626msgid "https://asterthemes.com/products/restaurant-brunch"
    … …  
    6060#. translators: 1: title.
    6161#: comments.php:26
     62#, php-format
    6263msgid "One thought on &ldquo;%1$s&rdquo;"
    6364msgstr ""
    … …  
    6566#. translators: 1: comment count number, 2: title.
    6667#: comments.php:32
     68#, php-format
    6769msgctxt "comments title"
    6870msgid "%1$s thought on &ldquo;%2$s&rdquo;"
    … …  
    104106msgstr ""
    105107
    106 #: functions.php:261
     108#: functions.php:263
    107109msgid "https://asterthemes.com/products/brunch-wordpress-theme"
    108110msgstr ""
    109111
    110 #: functions.php:267
     112#: functions.php:269
    111113msgid "https://wordpress.org/support/theme/restaurant-brunch/"
    112114msgstr ""
    113115
    114 #: functions.php:270
     116#: functions.php:272
    115117msgid "https://wordpress.org/support/theme/restaurant-brunch/reviews/"
    116118msgstr ""
    117119
    118 #: functions.php:273
     120#: functions.php:275
    119121msgid "https://demo.asterthemes.com/restaurant-brunch/"
    120122msgstr ""
    121123
    122 #: functions.php:276
     124#: functions.php:278
    123125msgid "https://demo.asterthemes.com/docs/restaurant-brunch-free/"
    124126msgstr ""
    125127
    126 #: functions.php:279
     128#: functions.php:281
    127129msgid "https://demo.asterthemes.com/docs/restaurant-brunch-pro/"
    128130msgstr ""
    129131
    130 #: functions.php:282
     132#: functions.php:284
    131133msgid "https://asterthemes.com/products/wp-theme-bundle"
    132134msgstr ""
    133135
    134 #: functions.php:326
     136#: functions.php:328
    135137msgid "Demo import settings have been reset."
    136138msgstr ""
    137139
    138 #: functions.php:328
     140#: functions.php:330
    139141msgid "Permission denied."
    140142msgstr ""
    … …  
    205207#. translators: 1: link to WP admin new post page.
    206208#: template-parts/content-none.php:28
     209#, php-format
    207210msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
    208211msgstr ""
    … …  
    220223#: template-parts/content-page.php:39
    221224#: theme-library/function-files/template-tags.php:267
     225#, php-format
    222226msgid "Edit <span class=\"screen-reader-text\">%s</span>"
    223227msgstr ""
    … …  
    225229#. translators: %s: Name of current post. Only visible to screen readers
    226230#: template-parts/content-single.php:40
     231#, php-format
    227232msgid "Continue reading<span class=\"screen-reader-text\"> \"%s\"</span>"
    228233msgstr ""
    … …  
    285290#: theme-library/customizer/front-page-options/banner.php:105
    286291msgid "Button Link"
     292msgstr ""
     293
     294#: theme-library/customizer/front-page-options/banner.php:122
     295msgid "Banner Button Label Color"
     296msgstr ""
     297
     298#: theme-library/customizer/front-page-options/banner.php:137
     299msgid "Banner Button Background Color"
    287300msgstr ""
    288301
    … …  
    408421#: theme-library/customizer/front-page-options/header.php:286
    409422msgid "Sub Menu Color"
     423msgstr ""
     424
     425#: theme-library/customizer/front-page-options/header.php:299
     426msgid "Topbar Padding"
    410427msgstr ""
    411428
    … …  
    973990msgstr ""
    974991
    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
    980993msgid "First Cap (First Capital Letter)"
    981994msgstr ""
    … …  
    11731186msgstr ""
    11741187
     1188#: theme-library/customizer/theme-options/theme-options.php:324
     1189msgid "Show / Hide Animations"
     1190msgstr ""
     1191
    11751192#: theme-library/customizer/theme-options/typography-setting.php:13
    11761193msgid "Typography Setting"
    … …  
    12331250#. Translators: %s is the search query.
    12341251#: theme-library/function-files/class-breadcrumb-trail.php:254
     1252#, php-format
    12351253msgid "Search results for: %s"
    12361254msgstr ""
    … …  
    12381256#. Translators: %s is the page number.
    12391257#: theme-library/function-files/class-breadcrumb-trail.php:256
     1258#, php-format
    12401259msgid "Page %s"
    12411260msgstr ""
    … …  
    12431262#. Translators: %s is the page number.
    12441263#: theme-library/function-files/class-breadcrumb-trail.php:258
     1264#, php-format
    12451265msgid "Comment Page %s"
    12461266msgstr ""
    … …  
    12481268#. Translators: Minute archive title. %s is the minute time format.
    12491269#: theme-library/function-files/class-breadcrumb-trail.php:260
     1270#, php-format
    12501271msgid "Minute %s"
    12511272msgstr ""
    … …  
    12531274#. Translators: Weekly archive title. %s is the week date format.
    12541275#: theme-library/function-files/class-breadcrumb-trail.php:262
     1276#, php-format
    12551277msgid "Week %s"
    12561278msgstr ""
    … …  
    13331355#. translators: %s: WordPress.org URL
    13341356#: theme-library/function-files/template-functions.php:322
     1357#, php-format
    13351358msgid " | Powered by %s"
    13361359msgstr ""
    … …  
    13741397#. translators: %s: details.
    13751398#: theme-library/function-files/template-functions.php:456
     1399#, php-format
    13761400msgid "Comment on %s"
    13771401msgstr ""
    … …  
    14121436#: theme-library/function-files/template-tags.php:125
    14131437#: theme-library/function-files/template-tags.php:149
     1438#, php-format
    14141439msgid "%s Comment"
    14151440msgid_plural "%s Comments"
    … …  
    14201445#: theme-library/function-files/template-tags.php:175
    14211446#: theme-library/function-files/template-tags.php:196
     1447#, php-format
    14221448msgid "Posted at %s"
    14231449msgstr ""
    … …  
    14311457#. translators: 1: list of tags.
    14321458#: theme-library/function-files/template-tags.php:258
     1459#, php-format
    14331460msgid "Tagged %1$s"
    14341461msgstr ""
    … …  
    17501777#. translators: %s: plugin name.
    17511778#: theme-wizard/tgm/class-tgm-plugin-activation.php:343
     1779#, php-format
    17521780msgid "Installing Plugin: %s"
    17531781msgstr ""
    … …  
    17551783#. translators: %s: plugin name.
    17561784#: theme-wizard/tgm/class-tgm-plugin-activation.php:345
     1785#, php-format
    17571786msgid "Updating Plugin: %s"
    17581787msgstr ""
    … …  
    17641793#. translators: 1: plugin name(s).
    17651794#: theme-wizard/tgm/class-tgm-plugin-activation.php:348
     1795#, php-format
    17661796msgid "This theme requires the following plugin: %1$s."
    17671797msgid_plural "This theme requires the following plugins: %1$s."
    … …  
    17711801#. translators: 1: plugin name(s).
    17721802#: theme-wizard/tgm/class-tgm-plugin-activation.php:354
     1803#, php-format
    17731804msgid "This theme recommends the following plugin: %1$s."
    17741805msgid_plural "This theme recommends the following plugins: %1$s."
    … …  
    17781809#. translators: 1: plugin name(s).
    17791810#: theme-wizard/tgm/class-tgm-plugin-activation.php:360
     1811#, php-format
    17801812msgid "The following plugin needs to be updated to its latest version to ensure maximum compatibility with this theme: %1$s."
    17811813msgid_plural "The following plugins need to be updated to their latest version to ensure maximum compatibility with this theme: %1$s."
    … …  
    17851817#. translators: 1: plugin name(s).
    17861818#: theme-wizard/tgm/class-tgm-plugin-activation.php:366
     1819#, php-format
    17871820msgid "There is an update available for: %1$s."
    17881821msgid_plural "There are updates available for the following plugins: %1$s."
    … …  
    17921825#. translators: 1: plugin name(s).
    17931826#: theme-wizard/tgm/class-tgm-plugin-activation.php:372
     1827#, php-format
    17941828msgid "The following required plugin is currently inactive: %1$s."
    17951829msgid_plural "The following required plugins are currently inactive: %1$s."
    … …  
    17991833#. translators: 1: plugin name(s).
    18001834#: theme-wizard/tgm/class-tgm-plugin-activation.php:378
     1835#, php-format
    18011836msgid "The following recommended plugin is currently inactive: %1$s."
    18021837msgid_plural "The following recommended plugins are currently inactive: %1$s."
    … …  
    18441879#. translators: 1: plugin name.
    18451880#: theme-wizard/tgm/class-tgm-plugin-activation.php:403
     1881#, php-format
    18461882msgid "No action taken. Plugin %1$s was already active."
    18471883msgstr ""
    … …  
    18491885#. translators: 1: plugin name.
    18501886#: theme-wizard/tgm/class-tgm-plugin-activation.php:405
     1887#, php-format
    18511888msgid "Plugin not activated. A higher version of %s is needed for this theme. Please update the plugin."
    18521889msgstr ""
    … …  
    18541891#. translators: 1: dashboard link.
    18551892#: theme-wizard/tgm/class-tgm-plugin-activation.php:407
     1893#, php-format
    18561894msgid "All plugins installed and activated successfully. %1$s"
    18571895msgstr ""
    … …  
    19021940#. translators: %s: version number
    19031941#: theme-wizard/tgm/class-tgm-plugin-activation.php:2112
     1942#, php-format
    19041943msgid "TGMPA v%s"
    19051944msgstr ""
    … …  
    19511990#. translators: 1: install status, 2: update status
    19521991#: theme-wizard/tgm/class-tgm-plugin-activation.php:2490
     1992#, php-format
    19531993msgctxt "Install/Update Status"
    19541994msgid "%1$s, %2$s"
    … …  
    19571997#. translators: 1: number of plugins.
    19581998#: theme-wizard/tgm/class-tgm-plugin-activation.php:2536
     1999#, php-format
    19592000msgctxt "plugins"
    19602001msgid "All <span class=\"count\">(%s)</span>"
    … …  
    19652006#. translators: 1: number of plugins.
    19662007#: theme-wizard/tgm/class-tgm-plugin-activation.php:2540
     2008#, php-format
    19672009msgid "To Install <span class=\"count\">(%s)</span>"
    19682010msgid_plural "To Install <span class=\"count\">(%s)</span>"
    … …  
    19722014#. translators: 1: number of plugins.
    19732015#: theme-wizard/tgm/class-tgm-plugin-activation.php:2544
     2016#, php-format
    19742017msgid "Update Available <span class=\"count\">(%s)</span>"
    19752018msgid_plural "Update Available <span class=\"count\">(%s)</span>"
    … …  
    19792022#. translators: 1: number of plugins.
    19802023#: theme-wizard/tgm/class-tgm-plugin-activation.php:2548
     2024#, php-format
    19812025msgid "To Activate <span class=\"count\">(%s)</span>"
    19822026msgid_plural "To Activate <span class=\"count\">(%s)</span>"
    … …  
    20272071#. translators: %2$s: plugin name in screen reader markup
    20282072#: theme-wizard/tgm/class-tgm-plugin-activation.php:2751
     2073#, php-format
    20292074msgid "Install %2$s"
    20302075msgstr ""
    … …  
    20322077#. translators: %2$s: plugin name in screen reader markup
    20332078#: theme-wizard/tgm/class-tgm-plugin-activation.php:2756
     2079#, php-format
    20342080msgid "Update %2$s"
    20352081msgstr ""
    … …  
    20372083#. translators: %2$s: plugin name in screen reader markup
    20382084#: theme-wizard/tgm/class-tgm-plugin-activation.php:2762
     2085#, php-format
    20392086msgid "Activate %2$s"
    20402087msgstr ""
    … …  
    20862133#. translators: 1: plugin name, 2: action number 3: total number of actions.
    20872134#: theme-wizard/tgm/class-tgm-plugin-activation.php:3655
     2135#, php-format
    20882136msgid "Updating Plugin %1$s (%2$d/%3$d)"
    20892137msgstr ""
    … …  
    20912139#. translators: 1: plugin name, 2: error message.
    20922140#: theme-wizard/tgm/class-tgm-plugin-activation.php:3658
     2141#, php-format
    20932142msgid "An error occurred while installing %1$s: <strong>%2$s</strong>."
    20942143msgstr ""
    … …  
    20962145#. translators: 1: plugin name.
    20972146#: theme-wizard/tgm/class-tgm-plugin-activation.php:3660
     2147#, php-format
    20982148msgid "The installation of %1$s failed."
    20992149msgstr ""
    … …  
    21052155#. translators: 1: plugin name.
    21062156#: theme-wizard/tgm/class-tgm-plugin-activation.php:3666
     2157#, php-format
    21072158msgid "%1$s installed and activated successfully."
    21082159msgstr ""
    … …  
    21142165#. translators: 1: plugin name, 2: action number 3: total number of actions.
    21152166#: theme-wizard/tgm/class-tgm-plugin-activation.php:3669
     2167#, php-format
    21162168msgid "Installing and Activating Plugin %1$s (%2$d/%3$d)"
    21172169msgstr ""
    … …  
    21232175#. translators: 1: plugin name.
    21242176#: theme-wizard/tgm/class-tgm-plugin-activation.php:3674
     2177#, php-format
    21252178msgid "%1$s installed successfully."
    21262179msgstr ""
    … …  
    21322185#. translators: 1: plugin name, 2: action number 3: total number of actions.
    21332186#: theme-wizard/tgm/class-tgm-plugin-activation.php:3677
     2187#, php-format
    21342188msgid "Installing Plugin %1$s (%2$d/%3$d)"
    21352189msgstr ""
  • restaurant-brunch/2.3/readme.txt

    r311880 r317547  
    66Requires at least: 5.0
    77Tested up to: 6.9
    8 Stable tag: 2.2
     8Stable tag: 2.3
    99Requires PHP: 7.4
    1010License: GNU General Public License v3 or later
    … …  
    103103* Updated pot file.
    104104
     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
    105113== Images Screenshot ==
    106114
  • restaurant-brunch/2.3/resource/css/getting-started.css

    r309508 r317547  
    530530}
    531531strong {
    532     color: #fff;
     532    color: #3c434a;
    533533}
    534534span.tick {
  • restaurant-brunch/2.3/sections/banner.php

    r285171 r317547  
    4242                                                        <div class="banner-caption">
    4343                                                                <div class="asterthemes-wrapper">
    44                                                                         <div class="banner-catption-wrapper">
     44                                                                        <div class="banner-catption-wrapper wow fadeInUp" data-wow-duration="1.5s">
    4545                                                                                <h2 class="banner-caption-title">
    4646                                                                                        <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
  • restaurant-brunch/2.3/style-rtl.css

    r311880 r317547  
    19231923.main-navigation a:focus, .main-navigation a:hover {
    19241924        opacity: 1;
    1925         color: #000;
     1925        color: #fff;
    19261926}
    19271927
    … …  
    57905790        background-color: transparent;
    57915791        border: none;
     5792        color: #fff;
    57925793}
    57935794.bottom-header-right-part .search-form .search-field{
    … …  
    58005801    color: #fff;
    58015802}
    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;
    58045805}
    58055806.bottom-header-right-part .search-form .search-submit{
    … …  
    58315832        form.woo-pro-search button.search-button {
    58325833        position: absolute;
    5833         margin-right: -45px;
     5834        margin-right: 200px;
     5835        top: 30px;
    58345836        color: #000;
    58355837                background: transparent;
    … …  
    63206322        font-size: 14px;
    63216323        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         }
    63676324}
    63686325
    … …  
    74707427                gap: 10px;
    74717428        }
     7429
    74727430        .site-logo {
    74737431                text-align: right;
    … …  
    78017759                }
    78027760                .form {
    7803                         left: -100px;
     7761                        left: -115px;
    78047762                }
    78057763                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  
    55Author URI: https://asterthemes.com
    66Description: 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.2
     7Version: 2.3
    88Tested up to: 6.9
    99Requires PHP: 7.4
    … …  
    63786378}
    63796379
    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 
    64256380/* home section CSS end
    64266381--------------------------------------------- */
  • restaurant-brunch/2.3/template-parts/content-image.php

    r285171 r317547  
    1111<?php $restaurant_brunch_readmore = get_theme_mod( 'restaurant_brunch_readmore_button_text','Read More');?>
    1212<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">
    1414                <div class="mag-post-img">
    1515                        <?php restaurant_brunch_post_thumbnail(); ?>
  • restaurant-brunch/2.3/template-parts/content.php

    r285171 r317547  
    1212
    1313<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">
    1515                <div class="mag-post-img">
    1616                        <?php restaurant_brunch_post_thumbnail(); ?>
  • restaurant-brunch/2.3/theme-library/customizer/front-page-options/banner.php

    r309508 r317547  
    111111);
    112112
     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
    113145$wp_customize->add_setting(
    114146        'restaurant_brunch_banner_settings_upgraded_features',
  • restaurant-brunch/2.3/theme-library/customizer/front-page-options/header.php

    r309508 r317547  
    290290);
    291291
     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
    292310$wp_customize->add_setting(
    293311        'restaurant_brunch_header_settings_upgraded_features',
  • restaurant-brunch/2.3/theme-library/customizer/theme-options/post-options.php

    r311880 r317547  
    528528);
    529529
    530 //Show / Hide Animations
    531 $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 
    550530$wp_customize->add_setting('restaurant_brunch_show_first_caps', array(
    551531        'default'           => false,
  • restaurant-brunch/2.3/theme-library/customizer/theme-options/theme-options.php

    r286258 r317547  
    314314    ),
    315315)));
     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  
    450450}
    451451add_action( 'wp_enqueue_scripts', 'restaurant_brunch_show_first_caps' );
     452
     453// Banner Button Color
     454function 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}
     475add_action('wp_enqueue_scripts','restaurant_brunch_banner_button_color_css');
     476
     477// Topbar Padding Dynamic CSS
     478function 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}
     487add_action('wp_enqueue_scripts','restaurant_brunch_topbar_padding_css');
Note: See TracChangeset for help on using the changeset viewer.