From 9b7d5eb6ba7c4b85f75fd604cac7fbc8fd69ab12 Mon Sep 17 00:00:00 2001 From: Alexander Agnarson Date: Mon, 23 Mar 2020 21:33:41 +0100 Subject: [PATCH] Remove responsive layout on/off option, regenerate .pot file --- functions.php | 2 +- functions/theme-options.php | 9 - languages/split.pot | 336 ++++++++++++++++++------------------ 3 files changed, 165 insertions(+), 182 deletions(-) diff --git a/functions.php b/functions.php index 5b2ba46..6d07672 100644 --- a/functions.php +++ b/functions.php @@ -208,7 +208,7 @@ if ( ! function_exists( 'split_styles' ) ) { function split_styles() { wp_enqueue_style( 'split-style', get_stylesheet_uri() ); - if ( get_theme_mod('responsive','on') =='on' ) { wp_enqueue_style( 'split-responsive', get_template_directory_uri().'/responsive.css' ); } + wp_enqueue_style( 'split-responsive', get_template_directory_uri().'/responsive.css' ); wp_enqueue_style( 'split-font-awesome', get_template_directory_uri().'/fonts/all.min.css' ); } diff --git a/functions/theme-options.php b/functions/theme-options.php index fa3d369..2bd222b 100644 --- a/functions/theme-options.php +++ b/functions/theme-options.php @@ -63,15 +63,6 @@ Kirki::add_section( 'styling', array( /* Add Fields /* ------------------------------------ */ -// General: Responsive Layout -Kirki::add_field( 'split_theme', array( - 'type' => 'switch', - 'settings' => 'responsive', - 'label' => esc_html__( 'Responsive Layout', 'split' ), - 'description' => esc_html__( 'Mobile and tablet optimizations (responsive.css)', 'split' ), - 'section' => 'general', - 'default' => 'on', -) ); // General: Mobile Sidebar Kirki::add_field( 'split_theme', array( 'type' => 'switch', diff --git a/languages/split.pot b/languages/split.pot index 1bf22af..42fd002 100644 --- a/languages/split.pot +++ b/languages/split.pot @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Split\n" -"POT-Creation-Date: 2019-07-30 14:52+0200\n" +"POT-Creation-Date: 2020-03-23 21:26+0100\n" "PO-Revision-Date: 2018-09-21 21:27+0100\n" "Last-Translator: \n" "Language-Team: \n" @@ -70,99 +70,99 @@ msgstr "" msgid "Theme by" msgstr "" -#: functions.php:81 +#: functions.php:87 msgid "Mobile" msgstr "" -#: functions.php:82 +#: functions.php:88 msgid "Topbar" msgstr "" -#: functions.php:83 functions/theme-options.php:34 +#: functions.php:89 functions/theme-options.php:34 msgid "Header" msgstr "" -#: functions.php:84 functions/theme-options.php:39 +#: functions.php:90 functions/theme-options.php:39 msgid "Footer" msgstr "" -#: functions.php:162 +#: functions.php:168 msgid "Primary" msgstr "" -#: functions.php:162 +#: functions.php:168 msgid "Normal full width sidebar" msgstr "" -#: functions.php:164 functions/theme-options.php:283 +#: functions.php:170 functions/theme-options.php:274 msgid "Header Ads" msgstr "" -#: functions.php:165 functions/theme-options.php:310 +#: functions.php:171 functions/theme-options.php:301 msgid "Footer Ads" msgstr "" -#: functions.php:165 +#: functions.php:171 msgid "Footer ads area" msgstr "" -#: functions.php:167 +#: functions.php:173 msgid "Frontpage Top 1" msgstr "" -#: functions.php:167 functions.php:168 functions.php:169 functions.php:170 +#: functions.php:173 functions.php:174 functions.php:175 functions.php:176 msgid "Frontpage area" msgstr "" -#: functions.php:168 +#: functions.php:174 msgid "Frontpage Top 2" msgstr "" -#: functions.php:169 +#: functions.php:175 msgid "Frontpage Bottom 1" msgstr "" -#: functions.php:170 +#: functions.php:176 msgid "Frontpage Bottom 2" msgstr "" -#: functions.php:172 +#: functions.php:178 msgid "Footer 1" msgstr "" -#: functions.php:172 functions.php:173 functions.php:174 functions.php:175 +#: functions.php:178 functions.php:179 functions.php:180 functions.php:181 msgid "Widgetized footer" msgstr "" -#: functions.php:173 +#: functions.php:179 msgid "Footer 2" msgstr "" -#: functions.php:174 +#: functions.php:180 msgid "Footer 3" msgstr "" -#: functions.php:175 +#: functions.php:181 msgid "Footer 4" msgstr "" -#: functions.php:668 +#: functions.php:674 msgid "Alx Extensions" msgstr "" -#: functions.php:672 +#: functions.php:678 msgid "Meta Box" msgstr "" -#: functions.php:676 +#: functions.php:682 msgid "Regenerate Thumbnails" msgstr "" -#: functions.php:680 +#: functions.php:686 msgid "WP-PageNavi" msgstr "" -#: functions.php:684 +#: functions.php:690 msgid "Social Count Plus" msgstr "" @@ -175,10 +175,10 @@ msgid "Primary Sidebar" msgstr "" #: functions/meta-boxes.php:31 functions/meta-boxes.php:64 -#: functions/theme-options.php:501 functions/theme-options.php:511 -#: functions/theme-options.php:521 functions/theme-options.php:531 -#: functions/theme-options.php:541 functions/theme-options.php:551 -#: functions/theme-options.php:561 +#: functions/theme-options.php:492 functions/theme-options.php:502 +#: functions/theme-options.php:512 functions/theme-options.php:522 +#: functions/theme-options.php:532 functions/theme-options.php:542 +#: functions/theme-options.php:552 msgid "Select a sidebar" msgstr "" @@ -216,566 +216,558 @@ msgid "Styling" msgstr "" #: functions/theme-options.php:70 -msgid "Responsive Layout" -msgstr "" - -#: functions/theme-options.php:71 -msgid "Mobile and tablet optimizations (responsive.css)" -msgstr "" - -#: functions/theme-options.php:79 msgid "Mobile Sidebar Content" msgstr "" -#: functions/theme-options.php:80 +#: functions/theme-options.php:71 msgid "Sidebar content on low-resolution mobile devices (320px)" msgstr "" -#: functions/theme-options.php:88 +#: functions/theme-options.php:79 msgid "Post Comments" msgstr "" -#: functions/theme-options.php:89 +#: functions/theme-options.php:80 msgid "Comments on posts" msgstr "" -#: functions/theme-options.php:97 +#: functions/theme-options.php:88 msgid "Page Comments" msgstr "" -#: functions/theme-options.php:98 +#: functions/theme-options.php:89 msgid "Comments on pages" msgstr "" -#: functions/theme-options.php:106 +#: functions/theme-options.php:97 msgid "Recommended Plugins" msgstr "" -#: functions/theme-options.php:107 +#: functions/theme-options.php:98 msgid "Enable or disable the recommended plugins notice" msgstr "" -#: functions/theme-options.php:115 +#: functions/theme-options.php:106 msgid "Blog Layout" msgstr "" -#: functions/theme-options.php:119 +#: functions/theme-options.php:110 msgid "Standard" msgstr "" -#: functions/theme-options.php:120 +#: functions/theme-options.php:111 msgid "Grid" msgstr "" -#: functions/theme-options.php:121 +#: functions/theme-options.php:112 msgid "List" msgstr "" -#: functions/theme-options.php:128 +#: functions/theme-options.php:119 msgid "Heading" msgstr "" -#: functions/theme-options.php:129 +#: functions/theme-options.php:120 msgid "Your blog heading" msgstr "" -#: functions/theme-options.php:137 +#: functions/theme-options.php:128 msgid "Subheading" msgstr "" -#: functions/theme-options.php:138 +#: functions/theme-options.php:129 msgid "Your blog subheading" msgstr "" -#: functions/theme-options.php:146 +#: functions/theme-options.php:137 msgid "Excerpt Length" msgstr "" -#: functions/theme-options.php:147 +#: functions/theme-options.php:138 msgid "Max number of words. Set it to 0 to disable." msgstr "" -#: functions/theme-options.php:160 +#: functions/theme-options.php:151 msgid "Featured Category" msgstr "" -#: functions/theme-options.php:161 functions/theme-options.php:195 +#: functions/theme-options.php:152 functions/theme-options.php:186 msgid "" "By not selecting a category, it will show your latest post(s) from all " "categories" msgstr "" -#: functions/theme-options.php:165 functions/theme-options.php:199 +#: functions/theme-options.php:156 functions/theme-options.php:190 msgid "Select a category" msgstr "" -#: functions/theme-options.php:171 +#: functions/theme-options.php:162 msgid "Featured Post Count" msgstr "" -#: functions/theme-options.php:172 +#: functions/theme-options.php:163 msgid "Max number of featured posts to display on the homepage." msgstr "" -#: functions/theme-options.php:185 +#: functions/theme-options.php:176 msgid "Featured Posts" msgstr "" -#: functions/theme-options.php:186 +#: functions/theme-options.php:177 msgid "" "To show featured posts in the slider AND the content below. Usually not " "recommended." msgstr "" -#: functions/theme-options.php:194 +#: functions/theme-options.php:185 msgid "Highlight Category" msgstr "" -#: functions/theme-options.php:205 +#: functions/theme-options.php:196 msgid "Highlight Post Count" msgstr "" -#: functions/theme-options.php:206 +#: functions/theme-options.php:197 msgid "Max number of highlight posts to display. Set it to 0 to disable." msgstr "" -#: functions/theme-options.php:219 +#: functions/theme-options.php:210 msgid "Frontpage Widgets Top" msgstr "" -#: functions/theme-options.php:220 functions/theme-options.php:229 +#: functions/theme-options.php:211 functions/theme-options.php:220 msgid "2 columns of widgets" msgstr "" -#: functions/theme-options.php:228 +#: functions/theme-options.php:219 msgid "Frontpage Widgets Bottom" msgstr "" -#: functions/theme-options.php:237 +#: functions/theme-options.php:228 msgid "Thumbnail Comment Count" msgstr "" -#: functions/theme-options.php:238 +#: functions/theme-options.php:229 msgid "Comment count on thumbnails" msgstr "" -#: functions/theme-options.php:246 +#: functions/theme-options.php:237 msgid "Single - Author Bio" msgstr "" -#: functions/theme-options.php:247 +#: functions/theme-options.php:238 msgid "Shows post author description, if it exists" msgstr "" -#: functions/theme-options.php:255 +#: functions/theme-options.php:246 msgid "Single - Related Posts" msgstr "" -#: functions/theme-options.php:256 +#: functions/theme-options.php:247 msgid "Shows randomized related articles below the post" msgstr "" -#: functions/theme-options.php:260 functions/theme-options.php:274 +#: functions/theme-options.php:251 functions/theme-options.php:265 msgid "Disable" msgstr "" -#: functions/theme-options.php:261 +#: functions/theme-options.php:252 msgid "Related by categories" msgstr "" -#: functions/theme-options.php:262 +#: functions/theme-options.php:253 msgid "Related by tags" msgstr "" -#: functions/theme-options.php:269 +#: functions/theme-options.php:260 msgid "Single - Post Navigation" msgstr "" -#: functions/theme-options.php:270 +#: functions/theme-options.php:261 msgid "Shows links to the next and previous article" msgstr "" -#: functions/theme-options.php:275 +#: functions/theme-options.php:266 msgid "Sidebar Primary" msgstr "" -#: functions/theme-options.php:276 +#: functions/theme-options.php:267 msgid "Below content" msgstr "" -#: functions/theme-options.php:284 +#: functions/theme-options.php:275 msgid "Header widget ads area" msgstr "" -#: functions/theme-options.php:292 +#: functions/theme-options.php:283 msgid "Header Search" msgstr "" -#: functions/theme-options.php:293 +#: functions/theme-options.php:284 msgid "Header search button" msgstr "" -#: functions/theme-options.php:301 +#: functions/theme-options.php:292 msgid "Header Social Links" msgstr "" -#: functions/theme-options.php:302 functions/theme-options.php:336 +#: functions/theme-options.php:293 functions/theme-options.php:327 msgid "Social link icon buttons" msgstr "" -#: functions/theme-options.php:311 +#: functions/theme-options.php:302 msgid "Footer widget ads area" msgstr "" -#: functions/theme-options.php:319 +#: functions/theme-options.php:310 msgid "Footer Widget Columns" msgstr "" -#: functions/theme-options.php:320 +#: functions/theme-options.php:311 msgid "Select columns to enable footer widgets. Recommended number: 3" msgstr "" -#: functions/theme-options.php:335 +#: functions/theme-options.php:326 msgid "Footer Social Links" msgstr "" -#: functions/theme-options.php:344 +#: functions/theme-options.php:335 msgid "Footer Logo" msgstr "" -#: functions/theme-options.php:345 +#: functions/theme-options.php:336 msgid "Upload your custom logo image" msgstr "" -#: functions/theme-options.php:353 +#: functions/theme-options.php:344 msgid "Footer Copyright" msgstr "" -#: functions/theme-options.php:354 +#: functions/theme-options.php:345 msgid "Replace the footer copyright text" msgstr "" -#: functions/theme-options.php:362 +#: functions/theme-options.php:353 msgid "Footer Credit" msgstr "" -#: functions/theme-options.php:363 +#: functions/theme-options.php:354 msgid "Footer credit text" msgstr "" -#: functions/theme-options.php:371 +#: functions/theme-options.php:362 msgid "Global Layout" msgstr "" -#: functions/theme-options.php:372 +#: functions/theme-options.php:363 msgid "Other layouts will override this option if they are set" msgstr "" -#: functions/theme-options.php:384 functions/theme-options.php:496 +#: functions/theme-options.php:375 functions/theme-options.php:487 msgid "Home" msgstr "" -#: functions/theme-options.php:385 +#: functions/theme-options.php:376 msgid "(is_home) Posts homepage layout" msgstr "" -#: functions/theme-options.php:398 functions/theme-options.php:506 +#: functions/theme-options.php:389 functions/theme-options.php:497 msgid "Single" msgstr "" -#: functions/theme-options.php:399 +#: functions/theme-options.php:390 msgid "" "(is_single) Single post layout - If a post has a set layout, it will " "override this." msgstr "" -#: functions/theme-options.php:412 functions/theme-options.php:516 +#: functions/theme-options.php:403 functions/theme-options.php:507 msgid "Archive" msgstr "" -#: functions/theme-options.php:413 +#: functions/theme-options.php:404 msgid "(is_archive) Category, date, tag and author archive layout" msgstr "" -#: functions/theme-options.php:426 functions/theme-options.php:526 +#: functions/theme-options.php:417 functions/theme-options.php:517 msgid "Archive - Category" msgstr "" -#: functions/theme-options.php:427 +#: functions/theme-options.php:418 msgid "(is_category) Category archive layout" msgstr "" -#: functions/theme-options.php:440 functions/theme-options.php:536 +#: functions/theme-options.php:431 functions/theme-options.php:527 msgid "Search" msgstr "" -#: functions/theme-options.php:441 +#: functions/theme-options.php:432 msgid "(is_search) Search page layout" msgstr "" -#: functions/theme-options.php:454 functions/theme-options.php:546 +#: functions/theme-options.php:445 functions/theme-options.php:537 msgid "Error 404" msgstr "" -#: functions/theme-options.php:455 +#: functions/theme-options.php:446 msgid "(is_404) Error 404 page layout" msgstr "" -#: functions/theme-options.php:468 functions/theme-options.php:556 +#: functions/theme-options.php:459 functions/theme-options.php:547 msgid "Default Page" msgstr "" -#: functions/theme-options.php:469 +#: functions/theme-options.php:460 msgid "" "(is_page) Default page layout - If a page has a set layout, it will override " "this." msgstr "" -#: functions/theme-options.php:497 +#: functions/theme-options.php:488 msgid "(is_home) Primary" msgstr "" -#: functions/theme-options.php:507 +#: functions/theme-options.php:498 msgid "" "(is_single) Primary - If a single post has a unique sidebar, it will " "override this." msgstr "" -#: functions/theme-options.php:517 +#: functions/theme-options.php:508 msgid "(is_archive) Primary" msgstr "" -#: functions/theme-options.php:527 +#: functions/theme-options.php:518 msgid "(is_category) Primary" msgstr "" -#: functions/theme-options.php:537 +#: functions/theme-options.php:528 msgid "(is_search) Primary" msgstr "" -#: functions/theme-options.php:547 +#: functions/theme-options.php:538 msgid "(is_404) Primary" msgstr "" -#: functions/theme-options.php:557 +#: functions/theme-options.php:548 msgid "" "(is_page) Primary - If a page has a unique sidebar, it will override this." msgstr "" -#: functions/theme-options.php:570 +#: functions/theme-options.php:561 msgid "Create Social Links" msgstr "" -#: functions/theme-options.php:571 +#: functions/theme-options.php:562 msgid "Create and organize your social links" msgstr "" -#: functions/theme-options.php:573 +#: functions/theme-options.php:564 msgid "Font Awesome names:" msgstr "" -#: functions/theme-options.php:573 functions/theme-options.php:590 +#: functions/theme-options.php:564 functions/theme-options.php:581 msgid "View All" msgstr "" -#: functions/theme-options.php:576 +#: functions/theme-options.php:567 msgid "social link" msgstr "" -#: functions/theme-options.php:583 +#: functions/theme-options.php:574 msgid "Title" msgstr "" -#: functions/theme-options.php:584 +#: functions/theme-options.php:575 msgid "Ex: Facebook" msgstr "" -#: functions/theme-options.php:589 +#: functions/theme-options.php:580 msgid "Icon Name" msgstr "" -#: functions/theme-options.php:590 +#: functions/theme-options.php:581 msgid "Font Awesome icons. Ex: fa-facebook " msgstr "" -#: functions/theme-options.php:595 +#: functions/theme-options.php:586 msgid "Link" msgstr "" -#: functions/theme-options.php:596 +#: functions/theme-options.php:587 msgid "Enter the full url for your icon button" msgstr "" -#: functions/theme-options.php:601 +#: functions/theme-options.php:592 msgid "Icon Color" msgstr "" -#: functions/theme-options.php:602 +#: functions/theme-options.php:593 msgid "Set a unique color for your icon (optional)" msgstr "" -#: functions/theme-options.php:607 +#: functions/theme-options.php:598 msgid "Open in new window" msgstr "" -#: functions/theme-options.php:616 +#: functions/theme-options.php:607 msgid "Dynamic Styles" msgstr "" -#: functions/theme-options.php:617 +#: functions/theme-options.php:608 msgid "Turn on to use the styling options below" msgstr "" -#: functions/theme-options.php:625 +#: functions/theme-options.php:616 msgid "Boxed Layout" msgstr "" -#: functions/theme-options.php:626 +#: functions/theme-options.php:617 msgid "Use a boxed layout" msgstr "" -#: functions/theme-options.php:634 +#: functions/theme-options.php:625 msgid "Font" msgstr "" -#: functions/theme-options.php:635 +#: functions/theme-options.php:626 msgid "Select font for the theme" msgstr "" -#: functions/theme-options.php:639 +#: functions/theme-options.php:630 msgid "Titillium Web, Latin (Self-hosted)" msgstr "" -#: functions/theme-options.php:640 +#: functions/theme-options.php:631 msgid "Titillium Web, Latin-Ext" msgstr "" -#: functions/theme-options.php:641 +#: functions/theme-options.php:632 msgid "Droid Serif, Latin" msgstr "" -#: functions/theme-options.php:642 +#: functions/theme-options.php:633 msgid "Source Sans Pro, Latin-Ext" msgstr "" -#: functions/theme-options.php:643 +#: functions/theme-options.php:634 msgid "Lato, Latin" msgstr "" -#: functions/theme-options.php:644 +#: functions/theme-options.php:635 msgid "Raleway, Latin" msgstr "" -#: functions/theme-options.php:645 +#: functions/theme-options.php:636 msgid "Ubuntu, Latin-Ext" msgstr "" -#: functions/theme-options.php:646 +#: functions/theme-options.php:637 msgid "Ubuntu, Latin / Cyrillic-Ext" msgstr "" -#: functions/theme-options.php:647 +#: functions/theme-options.php:638 msgid "Roboto, Latin-Ext" msgstr "" -#: functions/theme-options.php:648 +#: functions/theme-options.php:639 msgid "Roboto, Latin / Cyrillic-Ext" msgstr "" -#: functions/theme-options.php:649 +#: functions/theme-options.php:640 msgid "Roboto Condensed, Latin-Ext" msgstr "" -#: functions/theme-options.php:650 +#: functions/theme-options.php:641 msgid "Roboto Condensed, Latin / Cyrillic-Ext" msgstr "" -#: functions/theme-options.php:651 +#: functions/theme-options.php:642 msgid "Roboto Slab, Latin-Ext" msgstr "" -#: functions/theme-options.php:652 +#: functions/theme-options.php:643 msgid "Roboto Slab, Latin / Cyrillic-Ext" msgstr "" -#: functions/theme-options.php:653 +#: functions/theme-options.php:644 msgid "Playfair Display, Latin-Ext" msgstr "" -#: functions/theme-options.php:654 +#: functions/theme-options.php:645 msgid "Playfair Display, Latin / Cyrillic" msgstr "" -#: functions/theme-options.php:655 +#: functions/theme-options.php:646 msgid "Open Sans, Latin-Ext" msgstr "" -#: functions/theme-options.php:656 +#: functions/theme-options.php:647 msgid "Open Sans, Latin / Cyrillic-Ext" msgstr "" -#: functions/theme-options.php:657 +#: functions/theme-options.php:648 msgid "PT Serif, Latin-Ext" msgstr "" -#: functions/theme-options.php:658 +#: functions/theme-options.php:649 msgid "PT Serif, Latin / Cyrillic-Ext" msgstr "" -#: functions/theme-options.php:659 +#: functions/theme-options.php:650 msgid "Arial" msgstr "" -#: functions/theme-options.php:660 +#: functions/theme-options.php:651 msgid "Georgia" msgstr "" -#: functions/theme-options.php:661 +#: functions/theme-options.php:652 msgid "Verdana" msgstr "" -#: functions/theme-options.php:662 +#: functions/theme-options.php:653 msgid "Tahoma" msgstr "" -#: functions/theme-options.php:669 +#: functions/theme-options.php:660 msgid "Website Max-width" msgstr "" -#: functions/theme-options.php:670 +#: functions/theme-options.php:661 msgid "Max-width of the container." msgstr "" -#: functions/theme-options.php:683 +#: functions/theme-options.php:674 msgid "Primary Color" msgstr "" -#: functions/theme-options.php:691 +#: functions/theme-options.php:682 msgid "Mobile Menu Color" msgstr "" -#: functions/theme-options.php:699 +#: functions/theme-options.php:690 msgid "Footer Menu Color" msgstr "" -#: functions/theme-options.php:707 +#: functions/theme-options.php:698 msgid "Footer Background" msgstr "" -#: functions/theme-options.php:715 +#: functions/theme-options.php:706 msgid "Header Logo Image Max-height" msgstr "" -#: functions/theme-options.php:716 +#: functions/theme-options.php:707 msgid "" "Your logo image should have the double height of this to be high resolution" msgstr "" -#: functions/theme-options.php:729 +#: functions/theme-options.php:720 msgid "Image Border Radius" msgstr "" -#: functions/theme-options.php:730 +#: functions/theme-options.php:721 msgid "Give your thumbnails and layout images rounded corners" msgstr ""