Skip to content

Commit

Permalink
new version 1.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
congthien committed Oct 11, 2017
1 parent 4f33d9c commit 7047210
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 59 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion assets/sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
}
Expand Down
10 changes: 5 additions & 5 deletions inc/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -26,8 +26,8 @@ function codilight_lite_theme_info_page() {
<div class="about-text"><?php esc_html_e( '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.', 'codilight-lite' ) ?></div>
<a target="_blank" href="<?php echo esc_url('https://www.famethemes.com/?utm_source=theme_dashboard_page&utm_medium=badge_link&utm_campaign=codilight-lite'); ?>" class="famethemes-badge wp-badge"><span><?php _e( 'FameThemes', 'codilight-lite' ); ?></span></a>
<h2 class="nav-tab-wrapper">
<a href="?page=ft_codilight_lite" class="nav-tab nav-tab-active"><?php echo $theme_data->Name; ?></a>
<a href="<?php echo esc_url( add_query_arg( array( 'page'=>'ft_codilight_lite', 'tab' => 'demo-data-importer' ), admin_url( 'themes.php' ) ) ); ?>" class="nav-tab<?php echo $tab == 'demo-data-importer' ? ' nav-tab-active' : null; ?>"><?php esc_html_e( 'One Click Demo Import', 'codilight-lite' ); ?></span></a>
<a href="?page=codilight-lite" class="nav-tab nav-tab-active"><?php echo $theme_data->Name; ?></a>
<a href="<?php echo esc_url( add_query_arg( array( 'page'=>'codilight-lite', 'tab' => 'demo-data-importer' ), admin_url( 'themes.php' ) ) ); ?>" class="nav-tab<?php echo $tab == 'demo-data-importer' ? ' nav-tab-active' : null; ?>"><?php esc_html_e( 'One Click Demo Import', 'codilight-lite' ); ?></span></a>
</h2>

<?php if ( is_null($tab) ) { ?>
Expand Down Expand Up @@ -67,8 +67,8 @@ function codilight_lite_theme_info_page() {

<?php if ( $tab == 'demo-data-importer' ) { ?>
<div class="demo-import-tab-content theme_info">
<?php if ( has_action( 'codilight_lite_demo_import_content_tab' ) ) {
do_action( 'codilight_lite_demo_import_content_tab' );
<?php if ( has_action( 'codilight-lite_demo_import_content_tab' ) ) {
do_action( 'codilight-lite_demo_import_content_tab' );
} else { ?>
<div id="plugin-filter" class="demo-import-boxed">
<?php
Expand Down
53 changes: 3 additions & 50 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
Contributors: famethemes
Tags: two-columns, left-sidebar, right-sidebar, green, light, responsive-layout, custom-background, custom-colors, custom-menu, editor-style, featured-images, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready

Requires at least: 4.0
Tested up to: 4.5.1
Stable tag: 1.0.6
Requires at least: 4.7
Tested up to: 4.8
Stable tag: 1.0.8
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -45,50 +45,3 @@ Codilight Lite is a news magazine style WordPress theme from FameThemes which is
* Screenshot Images Pixabay https://pixabay.com/en/service/terms/ [CC0](https://creativecommons.org/publicdomain/zero/1.0/)
* Screenshot Images Pexels https://www.pexels.com/photo-license/ [CC0](https://creativecommons.org/publicdomain/zero/1.0/)

== Changelog ==

= 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.

= 1.0.5 =
* Change Action hooks prefix.
* Fix Dashboard: Correct capability.
* Fix Menu Link: Correct capability.
* Fix Escaping: admin_url().
* Fix Escaping and translating URLs.
* Fix Proper ellipsis.
* Update Pagination.
* Remove Textarea customizer control.
* Remove widget Advertising.
* Remove file rtl.css.
* Add css hyphens for long page title issue.

= 1.0.4 =
* Add css hyphens for long title issue.
* Change theme tag.
* Remove unwanted bootstrap file.
* Fixed widget PHP notices when update data.

= 1.0.3 =
* Add prefix for custom image size names.
* Fixed header translate texts.
* Remove widget notices with themecheck plugin.
* Disabled logo by default.

= 1.0.2 =
* Fixed customizer select sanitize callback.
* All text in theme dashboard are now internationalized.

= 1.0.1 =
* Add more widgets and blocks.
* Add editor style
* Add layout and sidebar settings to customizer.
* Update theme screenshot.

= 1.0 - May 12 2015 =
* Initial release
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://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
Expand Down

0 comments on commit 7047210

Please sign in to comment.