mirror of
https://ghproxy.net/https://github.com/AlxMedia/curver.git
synced 2025-08-28 06:37:49 +08:00
1.0.3
This commit is contained in:
parent
4e80cae56e
commit
3225714dfa
5 changed files with 35 additions and 7 deletions
|
@ -147,6 +147,19 @@ a,
|
||||||
|
|
||||||
'."\n";
|
'."\n";
|
||||||
}
|
}
|
||||||
|
// header color
|
||||||
|
if ( get_theme_mod('color-header','#000000') != '#000000' ) {
|
||||||
|
$styles .= '
|
||||||
|
#header-inner-inner-inner { background-color: '.esc_attr( get_theme_mod('color-header') ).'; }
|
||||||
|
@media only screen and (min-width: 720px) {
|
||||||
|
#nav-header .nav > li.current_page_item > a:before,
|
||||||
|
#nav-header .nav > li.current-menu-item > a:before,
|
||||||
|
#nav-header .nav > li.current-menu-ancestor > a:before,
|
||||||
|
#nav-header .nav > li.current-post-parent > a:before { border-top: 8px solid '.esc_attr( get_theme_mod('color-header') ).'!important; }
|
||||||
|
}
|
||||||
|
.site-title { border-bottom-color: rgba(255,255,255,0.1)!important; }
|
||||||
|
'."\n";
|
||||||
|
}
|
||||||
// gradient left
|
// gradient left
|
||||||
if ( get_theme_mod('gradient-left','#da1b60') != '#da1b60' ) {
|
if ( get_theme_mod('gradient-left','#da1b60') != '#da1b60' ) {
|
||||||
$styles .= '
|
$styles .= '
|
||||||
|
|
|
@ -685,6 +685,14 @@ Kirki::add_field( 'curver_theme', array(
|
||||||
'section' => 'styling',
|
'section' => 'styling',
|
||||||
'default' => '#ed542f',
|
'default' => '#ed542f',
|
||||||
) );
|
) );
|
||||||
|
// Styling: Header Color
|
||||||
|
Kirki::add_field( 'curver_theme', array(
|
||||||
|
'type' => 'color',
|
||||||
|
'settings' => 'color-header',
|
||||||
|
'label' => esc_html__( 'Header Color', 'curver' ),
|
||||||
|
'section' => 'styling',
|
||||||
|
'default' => '#000000',
|
||||||
|
) );
|
||||||
// Styling: Gradient Left
|
// Styling: Gradient Left
|
||||||
Kirki::add_field( 'curver_theme', array(
|
Kirki::add_field( 'curver_theme', array(
|
||||||
'type' => 'color',
|
'type' => 'color',
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Curver\n"
|
"Project-Id-Version: Curver\n"
|
||||||
"POT-Creation-Date: 2019-02-17 14:26+0100\n"
|
"POT-Creation-Date: 2019-03-19 17:47+0100\n"
|
||||||
"PO-Revision-Date: 2018-09-21 21:27+0100\n"
|
"PO-Revision-Date: 2018-09-21 21:27+0100\n"
|
||||||
"Last-Translator: \n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
|
@ -750,23 +750,27 @@ msgid "Primary Color"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:692
|
#: functions/theme-options.php:692
|
||||||
msgid "Gradient Color Left Top"
|
msgid "Header Color"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:700
|
#: functions/theme-options.php:700
|
||||||
msgid "Gradient Color Right Bottom"
|
msgid "Gradient Color Left Top"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:708
|
#: functions/theme-options.php:708
|
||||||
|
msgid "Gradient Color Right Bottom"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: functions/theme-options.php:716
|
||||||
msgid "Header Logo Image Max-height"
|
msgid "Header Logo Image Max-height"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:709
|
#: functions/theme-options.php:717
|
||||||
msgid ""
|
msgid ""
|
||||||
"Your logo image should have the double height of this to be high resolution"
|
"Your logo image should have the double height of this to be high resolution"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:722
|
#: functions/theme-options.php:730
|
||||||
msgid "Background Color"
|
msgid "Background Color"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
Contributors: alxmedia
|
Contributors: alxmedia
|
||||||
Requires at least: 5.0
|
Requires at least: 5.0
|
||||||
Tested up to: 5.0
|
Tested up to: 5.0
|
||||||
Version: 1.0.2
|
Version: 1.0.3
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
License URI: http://www.gnu.org/licenses/gpl-3.0
|
License URI: http://www.gnu.org/licenses/gpl-3.0
|
||||||
Tags: blog, one-column, two-columns, right-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
|
Tags: blog, one-column, two-columns, right-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
|
||||||
|
@ -79,6 +79,9 @@ Sidebar images
|
||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= 1.0.3 - 2019-03-19 =
|
||||||
|
* Added styling option to change header color
|
||||||
|
|
||||||
= 1.0.2 - 2019-03-11 =
|
= 1.0.2 - 2019-03-11 =
|
||||||
* Updated to Kirki 3.0.38
|
* Updated to Kirki 3.0.38
|
||||||
* Changed all alxmedia.se links to alx.media
|
* Changed all alxmedia.se links to alx.media
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
Theme Name: Curver
|
Theme Name: Curver
|
||||||
Theme URI: http://alx.media/themes/curver/
|
Theme URI: http://alx.media/themes/curver/
|
||||||
Version: 1.0.2
|
Version: 1.0.3
|
||||||
Description: <a href="http://alx.media/themes/curver/">Curver</a> is a flexible personal blog theme with plenty of options. Optimized for all devices, this theme will stand out with a unique colorful curved header style with a header profile image, name and description. It includes a featured posts slider and two different blog layouts: standard and list. Set the theme to any width and accent color you wish. Use a sidebar to the right, or disable it entirely - it is all up to you.
|
Description: <a href="http://alx.media/themes/curver/">Curver</a> is a flexible personal blog theme with plenty of options. Optimized for all devices, this theme will stand out with a unique colorful curved header style with a header profile image, name and description. It includes a featured posts slider and two different blog layouts: standard and list. Set the theme to any width and accent color you wish. Use a sidebar to the right, or disable it entirely - it is all up to you.
|
||||||
Author: Alexander Agnarson
|
Author: Alexander Agnarson
|
||||||
Author URI: http://alx.media
|
Author URI: http://alx.media
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue