From b649fc0e3b22f6c03fe75f735b597620f46ee746 Mon Sep 17 00:00:00 2001 From: AlxMedia Date: Wed, 7 Sep 2022 15:02:18 +0200 Subject: [PATCH] 1.0.2 --- functions/theme-options.php | 18 +++ languages/inunity.pot | 256 +++++++++++++++++++----------------- readme.txt | 3 + style.css | 2 +- 4 files changed, 158 insertions(+), 121 deletions(-) diff --git a/functions/theme-options.php b/functions/theme-options.php index 9e7f2c1..6d15cc8 100644 --- a/functions/theme-options.php +++ b/functions/theme-options.php @@ -167,6 +167,24 @@ Kirki::add_field( 'inunity_theme', array( 'section' => 'blog', 'default' => 'on', ) ); +// Blog: Titles +Kirki::add_field( 'inunity_theme', array( + 'type' => 'switch', + 'settings' => 'item-titles', + 'label' => esc_html__( 'Item Titles', 'inunity' ), + 'description' => esc_html__( 'Show titles on items', 'inunity' ), + 'section' => 'blog', + 'default' => 'on', +) ); +// Blog: Category +Kirki::add_field( 'inunity_theme', array( + 'type' => 'switch', + 'settings' => 'item-category', + 'label' => esc_html__( 'Item Categories', 'inunity' ), + 'description' => esc_html__( 'Show categories below each item', 'inunity' ), + 'section' => 'blog', + 'default' => 'on', +) ); // Blog: Single - Authorbox Kirki::add_field( 'inunity_theme', array( 'type' => 'switch', diff --git a/languages/inunity.pot b/languages/inunity.pot index b74fd66..8bb2e6f 100644 --- a/languages/inunity.pot +++ b/languages/inunity.pot @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Inunity\n" -"POT-Creation-Date: 2022-09-05 13:02+0200\n" +"POT-Creation-Date: 2022-09-07 14:59+0200\n" "PO-Revision-Date: 2018-09-21 21:27+0100\n" "Last-Translator: \n" "Language-Team: \n" @@ -75,7 +75,7 @@ msgstr "" msgid "Normal full width sidebar" msgstr "" -#: functions.php:184 functions/theme-options.php:256 +#: functions.php:184 functions/theme-options.php:274 msgid "Footer Ads" msgstr "" @@ -148,10 +148,10 @@ msgid "Primary Sidebar" msgstr "" #: functions/meta-boxes.php:31 functions/meta-boxes.php:65 -#: functions/theme-options.php:455 functions/theme-options.php:465 -#: functions/theme-options.php:475 functions/theme-options.php:485 -#: functions/theme-options.php:495 functions/theme-options.php:505 -#: functions/theme-options.php:515 +#: functions/theme-options.php:473 functions/theme-options.php:483 +#: functions/theme-options.php:493 functions/theme-options.php:503 +#: functions/theme-options.php:513 functions/theme-options.php:523 +#: functions/theme-options.php:533 msgid "Select a sidebar" msgstr "" @@ -298,471 +298,487 @@ msgid "Comment count with bubbles" msgstr "" #: functions/theme-options.php:174 -msgid "Single - Author Bio" +msgid "Item Titles" msgstr "" #: functions/theme-options.php:175 -msgid "Shows post author description, if it exists" +msgid "Show titles on items" msgstr "" #: functions/theme-options.php:183 -msgid "Single - Related Posts" +msgid "Item Categories" msgstr "" #: functions/theme-options.php:184 +msgid "Show categories below each item" +msgstr "" + +#: functions/theme-options.php:192 +msgid "Single - Author Bio" +msgstr "" + +#: functions/theme-options.php:193 +msgid "Shows post author description, if it exists" +msgstr "" + +#: functions/theme-options.php:201 +msgid "Single - Related Posts" +msgstr "" + +#: functions/theme-options.php:202 msgid "Shows randomized related articles below the post" msgstr "" -#: functions/theme-options.php:188 functions/theme-options.php:202 +#: functions/theme-options.php:206 functions/theme-options.php:220 msgid "Disable" msgstr "" -#: functions/theme-options.php:189 +#: functions/theme-options.php:207 msgid "Related by categories" msgstr "" -#: functions/theme-options.php:190 +#: functions/theme-options.php:208 msgid "Related by tags" msgstr "" -#: functions/theme-options.php:197 +#: functions/theme-options.php:215 msgid "Single - Post Navigation" msgstr "" -#: functions/theme-options.php:198 +#: functions/theme-options.php:216 msgid "Shows links to the next and previous article" msgstr "" -#: functions/theme-options.php:203 +#: functions/theme-options.php:221 msgid "Sidebar" msgstr "" -#: functions/theme-options.php:204 +#: functions/theme-options.php:222 msgid "Below content" msgstr "" -#: functions/theme-options.php:211 +#: functions/theme-options.php:229 msgid "Header Search" msgstr "" -#: functions/theme-options.php:212 +#: functions/theme-options.php:230 msgid "Header search button" msgstr "" -#: functions/theme-options.php:220 +#: functions/theme-options.php:238 msgid "Header Social Links" msgstr "" -#: functions/theme-options.php:221 functions/theme-options.php:282 +#: functions/theme-options.php:239 functions/theme-options.php:300 msgid "Social link icon buttons" msgstr "" -#: functions/theme-options.php:229 +#: functions/theme-options.php:247 msgid "Profile Image" msgstr "" -#: functions/theme-options.php:230 +#: functions/theme-options.php:248 msgid "Minimum width of 320px" msgstr "" -#: functions/theme-options.php:238 +#: functions/theme-options.php:256 msgid "Profile Name" msgstr "" -#: functions/theme-options.php:239 +#: functions/theme-options.php:257 msgid "Your name appears below the image" msgstr "" -#: functions/theme-options.php:247 +#: functions/theme-options.php:265 msgid "Profile Description" msgstr "" -#: functions/theme-options.php:248 +#: functions/theme-options.php:266 msgid "A short description of you" msgstr "" -#: functions/theme-options.php:257 +#: functions/theme-options.php:275 msgid "Footer widget ads area" msgstr "" -#: functions/theme-options.php:265 +#: functions/theme-options.php:283 msgid "Footer Widget Columns" msgstr "" -#: functions/theme-options.php:266 +#: functions/theme-options.php:284 msgid "Select columns to enable footer widgets. Recommended number: 3" msgstr "" -#: functions/theme-options.php:281 +#: functions/theme-options.php:299 msgid "Footer Social Links" msgstr "" -#: functions/theme-options.php:290 +#: functions/theme-options.php:308 msgid "Footer Logo" msgstr "" -#: functions/theme-options.php:291 +#: functions/theme-options.php:309 msgid "Upload your custom logo image" msgstr "" -#: functions/theme-options.php:299 +#: functions/theme-options.php:317 msgid "Footer Copyright" msgstr "" -#: functions/theme-options.php:300 +#: functions/theme-options.php:318 msgid "Replace the footer copyright text" msgstr "" -#: functions/theme-options.php:308 +#: functions/theme-options.php:326 msgid "Footer Credit" msgstr "" -#: functions/theme-options.php:309 +#: functions/theme-options.php:327 msgid "Footer credit text" msgstr "" -#: functions/theme-options.php:317 +#: functions/theme-options.php:335 msgid "Global Layout" msgstr "" -#: functions/theme-options.php:318 +#: functions/theme-options.php:336 msgid "Other layouts will override this option if they are set" msgstr "" -#: functions/theme-options.php:331 functions/theme-options.php:450 +#: functions/theme-options.php:349 functions/theme-options.php:468 msgid "Home" msgstr "" -#: functions/theme-options.php:332 +#: functions/theme-options.php:350 msgid "(is_home) Posts homepage layout" msgstr "" -#: functions/theme-options.php:346 functions/theme-options.php:460 +#: functions/theme-options.php:364 functions/theme-options.php:478 msgid "Single" msgstr "" -#: functions/theme-options.php:347 +#: functions/theme-options.php:365 msgid "" "(is_single) Single post layout - If a post has a set layout, it will " "override this." msgstr "" -#: functions/theme-options.php:361 functions/theme-options.php:470 +#: functions/theme-options.php:379 functions/theme-options.php:488 msgid "Archive" msgstr "" -#: functions/theme-options.php:362 +#: functions/theme-options.php:380 msgid "(is_archive) Category, date, tag and author archive layout" msgstr "" -#: functions/theme-options.php:376 functions/theme-options.php:480 +#: functions/theme-options.php:394 functions/theme-options.php:498 msgid "Archive - Category" msgstr "" -#: functions/theme-options.php:377 +#: functions/theme-options.php:395 msgid "(is_category) Category archive layout" msgstr "" -#: functions/theme-options.php:391 functions/theme-options.php:490 +#: functions/theme-options.php:409 functions/theme-options.php:508 msgid "Search" msgstr "" -#: functions/theme-options.php:392 +#: functions/theme-options.php:410 msgid "(is_search) Search page layout" msgstr "" -#: functions/theme-options.php:406 functions/theme-options.php:500 +#: functions/theme-options.php:424 functions/theme-options.php:518 msgid "Error 404" msgstr "" -#: functions/theme-options.php:407 +#: functions/theme-options.php:425 msgid "(is_404) Error 404 page layout" msgstr "" -#: functions/theme-options.php:421 functions/theme-options.php:510 +#: functions/theme-options.php:439 functions/theme-options.php:528 msgid "Default Page" msgstr "" -#: functions/theme-options.php:422 +#: functions/theme-options.php:440 msgid "" "(is_page) Default page layout - If a page has a set layout, it will override " "this." msgstr "" -#: functions/theme-options.php:451 +#: functions/theme-options.php:469 msgid "(is_home) Primary" msgstr "" -#: functions/theme-options.php:461 +#: functions/theme-options.php:479 msgid "" "(is_single) Primary - If a single post has a unique sidebar, it will " "override this." msgstr "" -#: functions/theme-options.php:471 +#: functions/theme-options.php:489 msgid "(is_archive) Primary" msgstr "" -#: functions/theme-options.php:481 +#: functions/theme-options.php:499 msgid "(is_category) Primary" msgstr "" -#: functions/theme-options.php:491 +#: functions/theme-options.php:509 msgid "(is_search) Primary" msgstr "" -#: functions/theme-options.php:501 +#: functions/theme-options.php:519 msgid "(is_404) Primary" msgstr "" -#: functions/theme-options.php:511 +#: functions/theme-options.php:529 msgid "" "(is_page) Primary - If a page has a unique sidebar, it will override this." msgstr "" -#: functions/theme-options.php:524 +#: functions/theme-options.php:542 msgid "Create Social Links" msgstr "" -#: functions/theme-options.php:525 +#: functions/theme-options.php:543 msgid "Create and organize your social links" msgstr "" -#: functions/theme-options.php:527 +#: functions/theme-options.php:545 msgid "Font Awesome names:" msgstr "" -#: functions/theme-options.php:527 functions/theme-options.php:544 +#: functions/theme-options.php:545 functions/theme-options.php:562 msgid "View All" msgstr "" -#: functions/theme-options.php:530 +#: functions/theme-options.php:548 msgid "social link" msgstr "" -#: functions/theme-options.php:537 +#: functions/theme-options.php:555 msgid "Title" msgstr "" -#: functions/theme-options.php:538 +#: functions/theme-options.php:556 msgid "Ex: Facebook" msgstr "" -#: functions/theme-options.php:543 +#: functions/theme-options.php:561 msgid "Icon Name" msgstr "" -#: functions/theme-options.php:544 +#: functions/theme-options.php:562 msgid "Font Awesome icons. Ex: fa-facebook " msgstr "" -#: functions/theme-options.php:549 +#: functions/theme-options.php:567 msgid "Link" msgstr "" -#: functions/theme-options.php:550 +#: functions/theme-options.php:568 msgid "Enter the full url for your icon button" msgstr "" -#: functions/theme-options.php:555 +#: functions/theme-options.php:573 msgid "Icon Color" msgstr "" -#: functions/theme-options.php:556 +#: functions/theme-options.php:574 msgid "Set a unique color for your icon (optional)" msgstr "" -#: functions/theme-options.php:561 +#: functions/theme-options.php:579 msgid "Open in new window" msgstr "" -#: functions/theme-options.php:570 +#: functions/theme-options.php:588 msgid "Dynamic Styles" msgstr "" -#: functions/theme-options.php:571 +#: functions/theme-options.php:589 msgid "Turn on to use the styling options below" msgstr "" -#: functions/theme-options.php:579 +#: functions/theme-options.php:597 msgid "Font" msgstr "" -#: functions/theme-options.php:580 +#: functions/theme-options.php:598 msgid "Select font for the theme" msgstr "" -#: functions/theme-options.php:584 +#: functions/theme-options.php:602 msgid "Titillium Web, Latin (Self-hosted)" msgstr "" -#: functions/theme-options.php:585 +#: functions/theme-options.php:603 msgid "Titillium Web, Latin-Ext" msgstr "" -#: functions/theme-options.php:586 +#: functions/theme-options.php:604 msgid "Droid Serif, Latin" msgstr "" -#: functions/theme-options.php:587 +#: functions/theme-options.php:605 msgid "Source Sans Pro, Latin-Ext" msgstr "" -#: functions/theme-options.php:588 +#: functions/theme-options.php:606 msgid "Lato, Latin" msgstr "" -#: functions/theme-options.php:589 +#: functions/theme-options.php:607 msgid "Raleway, Latin" msgstr "" -#: functions/theme-options.php:590 +#: functions/theme-options.php:608 msgid "Inter, Latin" msgstr "" -#: functions/theme-options.php:591 +#: functions/theme-options.php:609 msgid "Ubuntu, Latin-Ext" msgstr "" -#: functions/theme-options.php:592 +#: functions/theme-options.php:610 msgid "Ubuntu, Latin / Cyrillic-Ext" msgstr "" -#: functions/theme-options.php:593 +#: functions/theme-options.php:611 msgid "Roboto, Latin-Ext" msgstr "" -#: functions/theme-options.php:594 +#: functions/theme-options.php:612 msgid "Roboto, Latin / Cyrillic-Ext" msgstr "" -#: functions/theme-options.php:595 +#: functions/theme-options.php:613 msgid "Roboto Condensed, Latin-Ext" msgstr "" -#: functions/theme-options.php:596 +#: functions/theme-options.php:614 msgid "Roboto Condensed, Latin / Cyrillic-Ext" msgstr "" -#: functions/theme-options.php:597 +#: functions/theme-options.php:615 msgid "Roboto Slab, Latin-Ext" msgstr "" -#: functions/theme-options.php:598 +#: functions/theme-options.php:616 msgid "Roboto Slab, Latin / Cyrillic-Ext" msgstr "" -#: functions/theme-options.php:599 +#: functions/theme-options.php:617 msgid "Playfair Display, Latin-Ext" msgstr "" -#: functions/theme-options.php:600 +#: functions/theme-options.php:618 msgid "Playfair Display, Latin / Cyrillic" msgstr "" -#: functions/theme-options.php:601 +#: functions/theme-options.php:619 msgid "Open Sans, Latin-Ext" msgstr "" -#: functions/theme-options.php:602 +#: functions/theme-options.php:620 msgid "Open Sans, Latin / Cyrillic-Ext" msgstr "" -#: functions/theme-options.php:603 +#: functions/theme-options.php:621 msgid "PT Serif, Latin-Ext" msgstr "" -#: functions/theme-options.php:604 +#: functions/theme-options.php:622 msgid "PT Serif, Latin / Cyrillic-Ext" msgstr "" -#: functions/theme-options.php:605 +#: functions/theme-options.php:623 msgid "Arial" msgstr "" -#: functions/theme-options.php:606 +#: functions/theme-options.php:624 msgid "Georgia" msgstr "" -#: functions/theme-options.php:607 +#: functions/theme-options.php:625 msgid "Verdana" msgstr "" -#: functions/theme-options.php:608 +#: functions/theme-options.php:626 msgid "Tahoma" msgstr "" -#: functions/theme-options.php:615 +#: functions/theme-options.php:633 msgid "Content Box Max-width" msgstr "" -#: functions/theme-options.php:616 +#: functions/theme-options.php:634 msgid "Max-width of the content box on posts and pages" msgstr "" -#: functions/theme-options.php:629 +#: functions/theme-options.php:647 msgid "Content Max-width" msgstr "" -#: functions/theme-options.php:630 +#: functions/theme-options.php:648 msgid "Max-width of the content on posts and pages" msgstr "" -#: functions/theme-options.php:643 +#: functions/theme-options.php:661 msgid "Post Format Max-width" msgstr "" -#: functions/theme-options.php:644 +#: functions/theme-options.php:662 msgid "" "Max-width of the post format on single posts. Use default for 100% width." msgstr "" -#: functions/theme-options.php:657 +#: functions/theme-options.php:675 msgid "Header Logo Image Max-height" msgstr "" -#: functions/theme-options.php:658 +#: functions/theme-options.php:676 msgid "" "Your logo image should have the double height of this to be high resolution" msgstr "" -#: functions/theme-options.php:671 +#: functions/theme-options.php:689 msgid "Dark Theme" msgstr "" -#: functions/theme-options.php:672 +#: functions/theme-options.php:690 msgid "Use dark instead of light base" msgstr "" -#: functions/theme-options.php:680 +#: functions/theme-options.php:698 msgid "Light/Dark Theme Toggle" msgstr "" -#: functions/theme-options.php:681 +#: functions/theme-options.php:699 msgid "Do not use with dark theme enabled" msgstr "" -#: functions/theme-options.php:689 +#: functions/theme-options.php:707 msgid "Invert Dark Logo Color" msgstr "" -#: functions/theme-options.php:690 +#: functions/theme-options.php:708 msgid "Change color for the logo in dark mode" msgstr "" -#: functions/theme-options.php:698 +#: functions/theme-options.php:716 msgid "Box Border Radius" msgstr "" -#: functions/theme-options.php:699 +#: functions/theme-options.php:717 msgid "Change radius of the content boxes." msgstr "" -#: functions/theme-options.php:712 +#: functions/theme-options.php:730 msgid "Header / Sidebar Color" msgstr "" -#: functions/theme-options.php:720 +#: functions/theme-options.php:738 msgid "Background Color" msgstr "" diff --git a/readme.txt b/readme.txt index 25c8bb6..1417563 100644 --- a/readme.txt +++ b/readme.txt @@ -91,6 +91,9 @@ Content images == Changelog == += 1.0.2 - 2022-09-07 = +* Added additional portfolio options for displaying or hiding titles and categories + = 1.0.1 - 2022-09-05 = * Added header / sidebar color styling option diff --git a/style.css b/style.css index 9221649..9e578c4 100644 --- a/style.css +++ b/style.css @@ -1,7 +1,7 @@ /* Theme Name: Inunity Theme URI: http://alx.media/themes/inunity/ -Version: 1.0.1 +Version: 1.0.2 Requires at least: 5.0 Requires PHP: 5.6 Tested up to: 6.0