From 7047210c8a5bd1d32bd20df178faa18c57daf57b Mon Sep 17 00:00:00 2001 From: congthien Date: Wed, 11 Oct 2017 14:28:21 +0700 Subject: [PATCH] new version 1.0.8 --- CHANGELOG.md | 9 ++++++- assets/sass/style.scss | 2 +- functions.php | 2 +- inc/dashboard.php | 10 ++++---- readme.txt | 53 +++--------------------------------------- style.css | 2 +- 6 files changed, 19 insertions(+), 59 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c3fe2ce..c1caf9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,15 @@ ==================================================================== CHANGELOG ==================================================================== +## 1.0.8 +* Add demo importer. +* Fix number post in block widgets. +* Add recommend EasyMega plugin. + ## 1.0.7 -* +* Remove CHANGELOG.md, moved to readme.txt +* Remove README.md, moved to readme.txt +* Add readme.txt files for better theme info/changelog. ## 1.0.6 * Add Sanitize widget data. diff --git a/assets/sass/style.scss b/assets/sass/style.scss index 846c7d9..796ad59 100644 --- a/assets/sass/style.scss +++ b/assets/sass/style.scss @@ -4,7 +4,7 @@ Theme URI: http://www.famethemes.com/themes/codilight-lite Author: FameThemes Author URI: http://www.famethemes.com Description: Codilight Lite is a news magazine style WordPress theme from FameThemes which is a perfect option to create any kind of magazine or blog websites. -Version: 1.0.7 +Version: 1.0.8 Text Domain: codilight-lite License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html diff --git a/functions.php b/functions.php index 5d75f0c..f53787c 100644 --- a/functions.php +++ b/functions.php @@ -217,7 +217,7 @@ function codilight_lite_fonts_url() { * Enqueue scripts for admin page only: Theme info page */ function codilight_lite_admin_scripts( $hook ) { - if ( $hook === 'widgets.php' || $hook === 'appearance_page_ft_codilight_lite' ) { + if ( $hook === 'widgets.php' || $hook === 'appearance_page_codilight-lite' ) { wp_enqueue_style('codilight-lite-admin-css', get_template_directory_uri() . '/assets/css/admin.css'); } } diff --git a/inc/dashboard.php b/inc/dashboard.php index f16ccce..d53b4f5 100644 --- a/inc/dashboard.php +++ b/inc/dashboard.php @@ -6,7 +6,7 @@ add_action('admin_menu', 'codilight_lite_theme_info'); function codilight_lite_theme_info() { $theme_data = wp_get_theme(); - add_theme_page( sprintf( esc_html__( '%s Theme Dashboard', 'codilight-lite' ), $theme_data->Name ), sprintf( esc_html__('%s', 'codilight-lite'), $theme_data->Name), 'edit_theme_options', 'ft_codilight_lite', 'codilight_lite_theme_info_page'); + add_theme_page( sprintf( esc_html__( '%s Theme Dashboard', 'codilight-lite' ), $theme_data->Name ), sprintf( esc_html__('%s', 'codilight-lite'), $theme_data->Name), 'edit_theme_options', 'codilight-lite', 'codilight_lite_theme_info_page'); } function codilight_lite_theme_info_page() { @@ -26,8 +26,8 @@ function codilight_lite_theme_info_page() {
@@ -67,8 +67,8 @@ function codilight_lite_theme_info_page() {
-