Plugin Directory

Changeset 1900066


Ignore:
Timestamp:
06/27/2018 03:20:16 PM (8 years ago)
Author:
mythemes
Message:

Added improvements for: Config Settings and user interface; plugin Gourmand Light

Location:
gourmand-light/trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • gourmand-light/trunk/configs/customize/content/about.php

    r1892718 r1900066  
    1313
    1414    $cfgs = gourmand_config::merge( (array)gourmand_config::get( 'theme-mods' ), array(
    15 
    1615        'front-page-content-about' => array(
    1716            'default'   => true,
  • gourmand-light/trunk/configs/customize/content/call-action.php

    r1895523 r1900066  
    1313
    1414    $cfgs = gourmand_config::merge( (array)gourmand_config::get( 'theme-mods' ), array(
     15        'front-page-content-call-action' => array(
     16            'default'   => true,
     17            'sanitize'  => array( 'gourmand_esc', 'logic' )
     18        ),
    1519
    1620        //  Appearance
     
    6872        ),
    6973        'front-page-content-call-action-title-text' => array(
    70             'default'   => sprintf( __( 'Gourmand %1s', 'gourmand-light' ), '<span class="accent-color">' . __( 'Pro', 'gourmand-light' ) . '</span>' ),
     74            'default'   => sprintf( __( 'How its %1$s', 'gourmand-light' ), '<span class="accent-color">' . __( 'Work', 'gourmand-light' ) . '</span>' ),
    7175            'sanitize'  => array( 'gourmand_esc', 'editor' )
    7276        ),
     
    141145        ),
    142146        'front-page-content-call-action-btn-1-label' => array(
    143             'default'   => __( 'Button Label', 'gourmand-light' ),
     147            'default'   => __( 'Upgrade to PRO', 'gourmand-light' ),
    144148            'sanitize'  => array( 'gourmand_esc', 'text' )
    145149        ),
     150        'front-page-content-call-action-btn-1-desc' => array(
     151            'default'   => __( 'Gourmand - WordPress Food Solutions', 'gourmand-light' ),
     152            'sanitize'  => array( 'gourmand_esc', 'attr' )
     153        ),
     154        'front-page-content-call-action-btn-1-url' => array(
     155            'default'   => 'http://mythem.es/item/gourmand/?utm_source=gourmand-food&utm_medium=customer-website&utm_campaign=analiza-tema&utm_content=button',
     156            'sanitize'  => array( 'gourmand_esc', 'url' )
     157        ),
     158        'front-page-content-call-action-btn-1-target' => array(
     159            'default'   => true,
     160            'sanitize'  => array( 'gourmand_esc', 'logic' )
     161        ),
    146162        'front-page-content-call-action-btn-1-size' => array(
    147             'default'   => 'large',
     163            'default'   => '',
    148164            'sanitize'  => array( 'gourmand_esc', 'attr' )
    149165        ),
     
    243259            'default'   => '#233141',
    244260            'sanitize'  => array( 'gourmand_esc', 'color' )
    245         )
     261        ),
     262
     263        // Media
     264        'front-page-content-call-action-media-nav-url' => array(
     265            'default'   => 'http://mythem.es/item/gourmand/?utm_source=gourmand-food&utm_medium=customer-website&utm_campaign=analiza-tema&utm_content=image',
     266            'sanitize'  => array( 'gourmand_esc', 'url' )
     267        ),
     268        'front-page-content-call-action-media-nav-target' => array(
     269            'default'   => true,
     270            'sanitize'  => array( 'gourmand_esc', 'logic' )
     271        ),
     272        'front-page-content-call-action-media' => array(
     273            'default'   => esc_url( get_template_directory_uri() . '/assets/theme/img/gourmand.jpg' ),
     274            'sanitize'  => array( 'gourmand_esc', 'url' )
     275        ),
    246276    ));
    247277
  • gourmand-light/trunk/configs/customize/content/chef-menu.php

    r1892718 r1900066  
    1313
    1414    $cfgs = gourmand_config::merge( (array)gourmand_config::get( 'theme-mods' ), array(
     15        'front-page-content-chef-menu' => array(
     16            'default'   => true,
     17            'sanitize'  => array( 'gourmand_esc', 'logic' )
     18        ),
    1519
    1620        //  Appearance
  • gourmand-light/trunk/configs/customize/content/contact.php

    r1892718 r1900066  
    1313
    1414    $cfgs = gourmand_config::merge( (array)gourmand_config::get( 'theme-mods' ), array(
    15 
    1615        'front-page-content-contact' => array(
    1716            'default'   => true,
  • gourmand-light/trunk/configs/customize/content/latest-news.php

    r1892718 r1900066  
    1313
    1414    $cfgs = gourmand_config::merge( (array)gourmand_config::get( 'theme-mods' ), array(
    15 
     15        'front-page-content-latest-news' => array(
     16            'default'   => true,
     17            'sanitize'  => array( 'gourmand_esc', 'logic' )
     18        ),
    1619        'front-page-content-latest-news-nr-articles' => array(
    1720            'default'   => 6,
     
    2124            'default'   => 3,
    2225            'sanitize'  => array( 'gourmand_esc', 'cols' )
     26        ),
     27        'front-page-content-latest-news-masonry' => array(
     28            'default'   => true,
     29            'sanitize'  => array( 'gourmand_esc', 'logic' )
    2330        ),
    2431
     
    7784        ),
    7885        'front-page-content-latest-news-title-text' => array(
    79             'default'   => sprintf( __( 'Gourmand %1s', 'gourmand-light' ), '<span class="accent-color">' . __( 'News', 'gourmand-light' ) . '</span>' ),
     86            'default'   => sprintf( __( 'Gourmand %1s', 'gourmand-light' ), '<span class="accent-color">' . __( 'Stories', 'gourmand-light' ) . '</span>' ),
    8087            'sanitize'  => array( 'gourmand_esc', 'editor' )
    8188        ),
  • gourmand-light/trunk/gourmand-light.php

    r1895523 r1900066  
    44    Plugin URI: http://mythem.es/item/gourmand/
    55    Description: This is a GPL 2 WordPress plugin. This plugin extend Gourmand free WordPress theme Core Features with many extra features and also Front Page Custom Sections.
    6     Version: 0.0.6
     6    Version: 0.0.8
    77    Author: myThem.es
    88    Author URI: http://mythem.es/
  • gourmand-light/trunk/languages/gourmand-light.pot

    r1892718 r1900066  
    44"Project-Id-Version: Gourmand Light\n"
    55"Report-Msgid-Bugs-To: \n"
    6 "POT-Creation-Date: 2018-06-13 14:11+0000\n"
     6"POT-Creation-Date: 2018-06-21 11:22+0000\n"
    77"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    88"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    5454msgstr ""
    5555
    56 #: configs/customize/content/about.php:297
     56#: configs/customize/content/about.php:296
    5757msgid "About our Master Chef"
    5858msgstr ""
     
    7777msgstr ""
    7878
    79 #: configs/customize/content/about.php:189
     79#: configs/customize/content/about.php:188
    8080msgid ""
    8181"Aenean pulvinar, erat consequat pulvinar luctus, odio lacus porttitor turpis,"
     
    254254msgstr ""
    255255
    256 #: configs/customize/content/about.php:207
    257 #: configs/customize/content/call-action.php:143
     256#: configs/customize/content/about.php:206
    258257msgid "Button Label"
    259258msgstr ""
     
    301300msgstr ""
    302301
    303 #: configs/customize/content/chef-menu.php:70
     302#: configs/customize/content/chef-menu.php:74
    304303msgid "Chef Menu"
    305304msgstr ""
     
    381380msgstr ""
    382381
    383 #: configs/customize/content/contact.php:75
     382#: configs/customize/content/contact.php:74
    384383#, php-format
    385384msgid "Contact us %1s"
     
    442441msgstr ""
    443442
    444 #: configs/customize/content/chef-menu.php:88
     443#: configs/customize/content/chef-menu.php:92
    445444msgid "Delicious Food for our Guests\t"
    446445msgstr ""
     
    468467msgstr ""
    469468
    470 #: configs/customize/content/contact.php:75
     469#: configs/customize/content/contact.php:74
    471470msgid "Directly"
    472471msgstr ""
    473472
    474 #: configs/customize/content/latest-news.php:119
     473#: configs/customize/content/latest-news.php:126
    475474#: includes/customize/partials/gourmand-light-customize-latest-news-partial.php:89
    476475msgid "Discover news from our Blog you can found something interesting for you"
    477476msgstr ""
    478477
    479 #: configs/customize/content/about.php:166
     478#: configs/customize/content/about.php:165
    480479msgid "Discover our Tasty Meals"
    481480msgstr ""
     
    707706#: settings/customize/comments.php:58
    708707msgid "Disqus Shortname"
     708msgstr ""
     709
     710#: configs/customize/content/features.php:256
     711msgid "Easy to Use"
    709712msgstr ""
    710713
     
    916919msgstr ""
    917920
    918 #: configs/customize/header.php:217
    919 msgid "Food WordPress Solutions"
    920 msgstr ""
    921 
    922921#: includes/customize/partials/gourmand-light-customize-contact-partial.php:51
    923922#: includes/customize/partials/gourmand-light-customize-partial.php:365
     
    989988msgstr ""
    990989
    991 #: configs/customize/content/call-action.php:70
    992 #: configs/customize/content/chef-menu.php:70
     990#: configs/customize/content/chef-menu.php:74
    993991#: configs/customize/content/features.php:76
    994 #: configs/customize/content/latest-news.php:79
     992#: configs/customize/content/latest-news.php:86
    995993#: includes/customize/partials/gourmand-light-customize-latest-news-partial.php:81
    996994#, php-format
    997995msgid "Gourmand %1s"
     996msgstr ""
     997
     998#: configs/customize/content/call-action.php:151
     999msgid "Gourmand - WordPress Food Solutions"
    9981000msgstr ""
    9991001
     
    10061008msgstr ""
    10071009
     1010#: configs/customize/content/features.php:260
     1011msgid ""
     1012"Gourmand propose you Solutions with a lot of ready one click Setup Custom "
     1013"Sections and many others Features."
     1014msgstr ""
     1015
    10081016#: configs/customize/content/features.php:224
    10091017msgid ""
    1010 "Gourmand WordPress Theme allow you focus on generating new ideas for your "
    1011 "business. Take a break from the daily routine."
     1018"Gourmand Theme allow you focus on generating new ideas for your business. "
     1019"Take a break from the daily routine."
    10121020msgstr ""
    10131021
     
    10621070msgstr ""
    10631071
     1072#: configs/customize/content/call-action.php:74
     1073#, php-format
     1074msgid "How its %1$s"
     1075msgstr ""
     1076
    10641077#. Author URI of the plugin
    10651078msgid "http://mythem.es/"
     
    10921105msgstr ""
    10931106
    1094 #: configs/customize/content/contact.php:115
     1107#: configs/customize/content/contact.php:114
    10951108msgid ""
    10961109"If you have a purpose or you want to alert us about something please contact "
     
    11301143msgstr ""
    11311144
    1132 #: configs/customize/content/latest-news.php:97
     1145#: configs/customize/content/latest-news.php:104
    11331146#: includes/customize/partials/gourmand-light-customize-latest-news-partial.php:85
    11341147msgid "Latest from Our Blog"
     
    11891202msgstr ""
    11901203
    1191 #: configs/customize/content/about.php:188
     1204#: configs/customize/content/about.php:187
    11921205msgid ""
    11931206"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin scelerisque "
     
    12641277msgstr ""
    12651278
    1266 #: configs/customize/content/about.php:93
     1279#: configs/customize/content/about.php:92
    12671280msgid "More About Us"
    12681281msgstr ""
     
    13071320msgstr ""
    13081321
    1309 #: configs/customize/content/latest-news.php:79
    13101322#: includes/customize/partials/gourmand-light-customize-latest-news-partial.php:81
    13111323msgid "News"
     
    13891401msgstr ""
    13901402
    1391 #: configs/customize/content/about.php:243
     1403#: configs/customize/content/about.php:242
    13921404msgid "Our Restaurant Story"
    13931405msgstr ""
     
    14381450msgstr ""
    14391451
    1440 #: configs/customize/content/call-action.php:70
    1441 msgid "Premium"
    1442 msgstr ""
    1443 
    14441452#: includes/customize/partials/gourmand-light-customize-testimonials-partial.php:116
    14451453msgid "Rank"
     
    14621470msgstr ""
    14631471
    1464 #: configs/customize/content/about.php:75
     1472#: configs/customize/content/features.php:238
     1473msgid "Responsive Layout"
     1474msgstr ""
     1475
     1476#: configs/customize/content/about.php:74
    14651477#, php-format
    14661478msgid "Restaurant %1s"
     
    15161528msgstr ""
    15171529
    1518 #: configs/customize/content/about.php:269
    1519 #: configs/customize/content/about.php:323
     1530#: configs/customize/content/about.php:268
     1531#: configs/customize/content/about.php:322
    15201532msgid ""
    15211533"Sed pellentesque neque et tellus feugiat malesuada. Nulla pharetra diam non "
     
    16651677msgstr ""
    16661678
    1667 #: configs/customize/content/about.php:144
     1679#: configs/customize/content/about.php:143
    16681680msgid "Speciality of the House"
    16691681msgstr ""
     
    16731685msgstr ""
    16741686
    1675 #: configs/customize/content/about.php:75
     1687#: configs/customize/content/latest-news.php:86
     1688msgid "Stories"
     1689msgstr ""
     1690
     1691#: configs/customize/content/about.php:74
    16761692msgid "Story"
    16771693msgstr ""
     
    17011717msgstr ""
    17021718
    1703 #: configs/customize/content/chef-menu.php:110
     1719#: configs/customize/content/chef-menu.php:114
    17041720#: configs/customize/content/reservation.php:115
    17051721msgid ""
     
    18881904msgstr ""
    18891905
     1906#: configs/customize/content/call-action.php:147
     1907msgid "Upgrade to PRO"
     1908msgstr ""
     1909
    18901910#: includes/customize/partials/gourmand-light-customize-header-partial.php:482
    18911911msgid "Upload Video"
     
    19832003msgstr ""
    19842004
     2005#: configs/customize/content/features.php:242
     2006msgid ""
     2007"We haven’t forgotten about responsive layout. With Gourmand you can create a "
     2008"website with full mobile support."
     2009msgstr ""
     2010
    19852011#: settings/customize/navigation.php:92
    19862012msgid "WebSite Description"
     
    19912017msgstr ""
    19922018
    1993 #: configs/customize/content/call-action.php:110
     2019#: configs/customize/content/call-action.php:114
    19942020msgid "We’ve created the product that will help your business look even better"
    19952021msgstr ""
     
    20042030msgstr ""
    20052031
     2032#: configs/customize/content/features.php:206
     2033msgid ""
     2034"With Gourmand Theme you do not need to re-invest in a new theme whenever you "
     2035"want to implement new ideas."
     2036msgstr ""
     2037
    20062038#: configs/customize/content/features.php:188
    20072039msgid ""
     
    20102042msgstr ""
    20112043
    2012 #: configs/customize/content/features.php:206
    2013 msgid ""
    2014 "With Gourmand WordPress Theme you do not need to re-invest in a new theme "
    2015 "whenever you want to implement new ideas."
    2016 msgstr ""
    2017 
    20182044#: settings/customize/comments.php:28
    20192045msgid "WordPress Classic Comments"
    20202046msgstr ""
    20212047
    2022 #: configs/customize/content/call-action.php:88
    2023 msgid "WordPress Food Solution"
    2024 msgstr ""
    2025 
    2026 #: configs/customize/content/contact.php:93
     2048#: configs/customize/header.php:217
     2049#: configs/customize/content/call-action.php:92
     2050msgid "WordPress Food Solutions"
     2051msgstr ""
     2052
     2053#: configs/customize/content/call-action.php:74
     2054msgid "Work"
     2055msgstr ""
     2056
     2057#: configs/customize/content/contact.php:92
    20272058msgid "Write Us an E-mail"
    20282059msgstr ""
  • gourmand-light/trunk/readme.txt

    r1895523 r1900066  
    66Requires at least: 4.6
    77Tested up to: 4.9
    8 Stable tag: 0.0.6
     8Stable tag: 0.0.8
    99License: GPLv2
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3838== Changelog ==
    3939
     40= 0.0.8 =
     41* Config Settings
     42* User interaction Improvements
     43* Improvements for Customizer › Front Page ( Content ) › Call Action Section
     44
     45= 0.0.6 =
     46* Improvements for Customizer › Front Page ( Content ) › Call Action Section
     47* Improvements for Customizer › Front Page ( Content ) › Features Section
     48* Improvements for Customizer › Header
     49* Improvements for Template - About Section
     50* Improvements for Template - Call Action Section
     51* Improvements for Template - Services Section
     52* Improvements for Template - Testimonial Section
     53* Improvements for Template - Header Singular
     54
    4055= 0.0.6 =
    4156* Improvements for Customizer › Front Page ( Content ) › Features Section
  • gourmand-light/trunk/settings/customize/content.php

    r1892718 r1900066  
    3333         */
    3434
    35         $section = new gourmand_customize_section( 'gourmand-front-page-content', array(
    36             'title' => __( 'Content (Front Page)', 'gourmand-light' ),
     35        $section = new gourmand_customize_section( 'gourmand-front-page-sections', array(
     36            'title' => __( 'Front Page Sections', 'gourmand-light' ),
    3737            'priority'  => 35,
    3838            'callback'  => function(){
     
    5858            $section -> add_field( $slug, array(
    5959                'type'          => 'checkbox',
    60                 'label'         => __( 'Custom Content Sections', 'gourmand-light' ),
     60                'label'         => __( 'Custom Sections', 'gourmand-light' ),
    6161                'description'   => __( 'Overwrite default Front Page Content with Gourmand Custom Sections.', 'gourmand-light' )
    6262            ));
Note: See TracChangeset for help on using the changeset viewer.