mirror of
https://ghproxy.net/https://github.com/AlxMedia/boxstyle.git
synced 2025-08-26 15:23:02 +08:00
Minor fixes
This commit is contained in:
parent
946630f899
commit
180f011f18
6 changed files with 13 additions and 12 deletions
|
@ -91,7 +91,7 @@
|
|||
|
||||
<div class="sidebar s2">
|
||||
<?php if ( get_theme_mod('light-dark-switch','off') =='on' ): ?>
|
||||
<a href="#" id="btn-mode" title="<?php esc_html_e('Switch color','boxstyle'); ?>"><i class="fa fa-toggle-off"></i></a>
|
||||
<a href="#" id="btn-mode" title="<?php esc_html_e('Switch Color','boxstyle'); ?>"><i class="fa fa-toggle-off"></i></a>
|
||||
<?php endif; ?>
|
||||
<?php if ( get_theme_mod( 'header-social', 'on' ) == 'on' ): ?>
|
||||
<?php boxstyle_social_links() ; ?>
|
||||
|
|
|
@ -21,12 +21,6 @@ jQuery(document).ready(function($) {
|
|||
}, 300);
|
||||
});
|
||||
|
||||
/* Toggle switch
|
||||
/* ------------------------------------ */
|
||||
$('#btn-mode').on('click', function() {
|
||||
$('body').toggleClass('dark-mode');
|
||||
});
|
||||
|
||||
/* Scroll to top
|
||||
/* ------------------------------------ */
|
||||
$('a#back-to-top').on('click', function() {
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
( function( $ ) {
|
||||
|
||||
$(document).ready(function($){
|
||||
|
||||
|
||||
$('#btn-mode').on('click', function() {
|
||||
$('body').toggleClass('dark-mode');
|
||||
});
|
||||
|
||||
var mode = Cookies.get( 'theme_mode' );
|
||||
|
||||
if ( ! mode ) {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Boxstyle\n"
|
||||
"POT-Creation-Date: 2019-02-06 13:12+0100\n"
|
||||
"POT-Creation-Date: 2019-02-06 13:20+0100\n"
|
||||
"PO-Revision-Date: 2018-09-21 21:27+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
|
@ -775,7 +775,7 @@ msgid "Wave Style"
|
|||
msgstr ""
|
||||
|
||||
#: header.php:94
|
||||
msgid "Switch color"
|
||||
msgid "Switch Color"
|
||||
msgstr ""
|
||||
|
||||
#: inc/page-title.php:24
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
Contributors: alxmedia
|
||||
Requires at least: 5.0
|
||||
Tested up to: 5.0
|
||||
Version: 1.1.1
|
||||
Version: 1.1.2
|
||||
License: GPLv3
|
||||
License URI: http://www.gnu.org/licenses/gpl-3.0
|
||||
Tags: blog, one-column, two-columns, right-sidebar, left-sidebar, custom-colors, custom-menu, featured-images, flexible-header, full-width-template, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, custom-logo, custom-header, custom-background
|
||||
|
@ -81,6 +81,9 @@ Sidebar images
|
|||
|
||||
== Changelog ==
|
||||
|
||||
= 1.1.2 - 2019-02-06 =
|
||||
* Add a styling option to enable light/dark theme mode switch - special thanks to Nilambar Sharma
|
||||
|
||||
= 1.1.1 - 2019-02-06 =
|
||||
* Add a styling option to disable the wave layout style
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
Theme Name: Boxstyle
|
||||
Theme URI: http://alxmedia.se/themes/boxstyle/
|
||||
Version: 1.1.1
|
||||
Version: 1.1.2
|
||||
Description: <a href="http://alxmedia.se/themes/boxstyle/">Boxstyle</a> is a responsive 100% high resolution theme for personal blogs. The feature list is long: Unlimited accent colors, unlimited widget areas, 0-1 sidebars to the left or right that can be uniquely specified for each page or post, 220px fixed width sidebar, 0-4 footer widget columns, almost zero layout images, related posts and post nav, 5 post formats, good SEO, 2 flexible custom widgets, localisation support, social links, logo upload and many more useful admin panel features.
|
||||
Author: Alexander Agnarson
|
||||
Author URI: http://alxmedia.se
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue