Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Commit

Permalink
Merge pull request #325 from Codeinwp/development
Browse files Browse the repository at this point in the history
!!! Fixed theme check errors
  • Loading branch information
rodica-andronache committed Mar 29, 2016
2 parents ea5a287 + dada3b9 commit 5cdf6dc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
22 changes: 13 additions & 9 deletions inc/customizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,16 @@ public function render_content() {
'panel' => 'panel_general'
));

$wp_customize->add_setting( 'zerif_use_safe_font' );
$wp_customize->add_setting( 'zerif_use_safe_font', array(
'sanitize_callback' => 'zerif_sanitize_text'
) );

$wp_customize->add_control( 'zerif_use_safe_font', array(
'type' => 'checkbox',
'label' => __( 'Use safe font?','zerif' ),
'section' => 'zerif_general_section',
'priority' => 1
) );
$wp_customize->add_control( 'zerif_use_safe_font', array(
'type' => 'checkbox',
'label' => __( 'Use safe font?','zerif' ),
'section' => 'zerif_general_section',
'priority' => 1
) );

/* LOGO */
$wp_customize->add_setting( 'zerif_logo', array(
Expand Down Expand Up @@ -167,7 +169,9 @@ public function render_content() {
));

/* Change the template to full width for page.php */
$wp_customize->add_setting( 'zerif_change_to_full_width' );
$wp_customize->add_setting( 'zerif_change_to_full_width', array(
'sanitize_callback' => 'zerif_sanitize_text'
) );

$wp_customize->add_control( 'zerif_change_to_full_width', array(
'type' => 'checkbox',
Expand Down Expand Up @@ -2090,4 +2094,4 @@ function zerif_lite_asking_for_reviews_script() {
'ask' => $zerif_lite_review,
'ajaxurl' => admin_url( 'admin-ajax.php' ),
) );
}
}
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: http://themeisle.com/themes/zerif-lite/
Author: ThemeIsle
Author URI: http://themeisle.com
Description: Zerif LITE is a free one page Wordpress theme. It's perfect for web agency business,corporate business,personal and parallax business portfolio, photography sites and freelancer.Is built on BootStrap with parallax support, is responsive, clean, modern, flat and minimal. Zerif Lite is ecommerce (WooCommerce) Compatible, WPML, RTL, Retina-Ready, SEO Friendly and with parallax, full screen image is one of the best business themes.
Version: 1.8.3.9
Version: 1.8.4.0
License: GNU General Public License version 3
License URI: license.txt
Text Domain: zerif-lite
Expand Down

0 comments on commit 5cdf6dc

Please sign in to comment.