Changeset 1903906
- Timestamp:
- 07/04/2018 10:23:53 AM (8 years ago)
- Location:
- gourmand-light/trunk
- Files:
-
- 7 edited
-
configs/customize/content/settings.php (modified) (1 diff)
-
gourmand-light.php (modified) (1 diff)
-
hooks/antet.php (modified) (1 diff)
-
includes/gourmand-light-header.php (modified) (1 diff)
-
languages/gourmand-light.pot (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
settings/customize/content.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
gourmand-light/trunk/configs/customize/content/settings.php
r1892718 r1903906 34 34 ), 35 35 'front-page-content-gradient-bkg-color' => array( 36 'default' => '#f 6f6f6',36 'default' => '#f7f7f7', 37 37 'sanitize' => array( 'gourmand_esc', 'color' ) 38 38 ), -
gourmand-light/trunk/gourmand-light.php
r1900982 r1903906 4 4 Plugin URI: http://mythem.es/item/gourmand/ 5 5 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. 96 Version: 0.0.11 7 7 Author: myThem.es 8 8 Author URI: http://mythem.es/ -
gourmand-light/trunk/hooks/antet.php
r1892718 r1903906 237 237 238 238 add_action( 'gourmand_after_title', 'gourmand_light_after_title' ); 239 240 /** 241 * Page Multiple Activity 242 */ 243 244 function gourmand_light_body_classes( $classes ) 245 { 246 if( gourmand_light_header::has_header() ) 247 $classes .= ' has-header'; 248 249 return $classes; 250 } 251 252 add_filter( 'gourmand_body_class', 'gourmand_light_body_classes' ); 239 253 ?> -
gourmand-light/trunk/includes/gourmand-light-header.php
r1892718 r1903906 195 195 } 196 196 197 public static function has_header() 198 { 199 $rett = false; 200 201 if( is_page() && is_front_page() ){ 202 // Break if Header is disabled 203 $rett = gourmand_mod::get( 'header-front-page' ); 204 } 205 206 // for WordPress template - index.php OR front-page.php 207 else if( is_home() ){ 208 // Break if Header is disabled 209 $rett = gourmand_mod::get( 'header-blog' ); 210 } 211 212 // for WordPress templates - single.php OR page.php 213 else if( is_singular() ){ 214 global $post; 215 216 $post_type = $post -> post_type; 217 218 // Break if Header is disabled 219 $rett = gourmand_pro_header::singular_has_header( $post ); 220 } 221 222 // for WordPress template - category.php 223 else if( is_category() ){ 224 // Break if Header is disabled 225 $rett = gourmand_mod::get( 'header-category' ); 226 } 227 228 // for WordPress template - tag.php 229 else if( is_tag() ){ 230 // Break if Header is disabled 231 $rett = gourmand_mod::get( 'header-tag' ); 232 } 233 234 // for WordPress template - search.php 235 else if( is_search() ){ 236 // Break if Header is disabled 237 $rett = gourmand_mod::get( 'header-search' ); 238 } 239 240 // for WordPress template - author.php 241 else if( is_author() ){ 242 // Break if Header is disabled 243 $rett = gourmand_mod::get( 'header-author' ); 244 } 245 246 // for WordPress template - 404.php 247 else if( is_404() ){ 248 // Break if Header is disabled 249 $rett = gourmand_mod::get( 'header-404' ); 250 } 251 252 // for WordPress template - archive.php 253 else{ 254 // Break if Header is disabled 255 $rett = gourmand_mod::get( 'header-archive' ); 256 } 257 258 return (bool)$rett; 259 } 260 197 261 public static function is_nav_over_banner() 198 262 { -
gourmand-light/trunk/languages/gourmand-light.pot
r1900982 r1903906 4 4 "Project-Id-Version: Gourmand Light\n" 5 5 "Report-Msgid-Bugs-To: \n" 6 "POT-Creation-Date: 2018-0 6-29 07:55+0000\n"6 "POT-Creation-Date: 2018-07-04 10:19+0000\n" 7 7 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 8 8 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 1947 1947 msgstr "" 1948 1948 1949 #: settings/customize/content.php:901950 msgid "Top and Bottom inner Section Space."1951 msgstr ""1952 1953 1949 #: includes/customize/partials/gourmand-light-customize-partial.php:564 1954 1950 msgid "Top and Bottom inner Section space." 1951 msgstr "" 1952 1953 #: settings/customize/content.php:90 1954 msgid "Top and Bottom inner Sections Space." 1955 1955 msgstr "" 1956 1956 -
gourmand-light/trunk/readme.txt
r1900982 r1903906 6 6 Requires at least: 4.6 7 7 Tested up to: 4.9 8 Stable tag: 0.0. 98 Stable tag: 0.0.11 9 9 License: GPLv2 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 37 37 38 38 == Changelog == 39 40 = 0.0.11 = 41 * Header Design Improvements ( remove bottom border if exists header ) 39 42 40 43 = 0.0.9 = -
gourmand-light/trunk/settings/customize/content.php
r1900066 r1903906 88 88 'type' => 'number', 89 89 'label' => __( 'Space', 'gourmand-light' ), 90 'description' => __( 'Top and Bottom inner Section Space.', 'gourmand-light' ),90 'description' => __( 'Top and Bottom inner Sections Space.', 'gourmand-light' ), 91 91 'attrs' => array( 92 92 'min' => 40,
Note: See TracChangeset
for help on using the changeset viewer.