This commit is contained in:
AlxMedia 2022-09-07 15:02:18 +02:00
parent 643c082243
commit b649fc0e3b
4 changed files with 158 additions and 121 deletions

View file

@ -167,6 +167,24 @@ Kirki::add_field( 'inunity_theme', array(
'section' => 'blog', 'section' => 'blog',
'default' => 'on', '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 // Blog: Single - Authorbox
Kirki::add_field( 'inunity_theme', array( Kirki::add_field( 'inunity_theme', array(
'type' => 'switch', 'type' => 'switch',

View file

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

View file

@ -91,6 +91,9 @@ Content images
== Changelog == == Changelog ==
= 1.0.2 - 2022-09-07 =
* Added additional portfolio options for displaying or hiding titles and categories
= 1.0.1 - 2022-09-05 = = 1.0.1 - 2022-09-05 =
* Added header / sidebar color styling option * Added header / sidebar color styling option

View file

@ -1,7 +1,7 @@
/* /*
Theme Name: Inunity Theme Name: Inunity
Theme URI: http://alx.media/themes/inunity/ Theme URI: http://alx.media/themes/inunity/
Version: 1.0.1 Version: 1.0.2
Requires at least: 5.0 Requires at least: 5.0
Requires PHP: 5.6 Requires PHP: 5.6
Tested up to: 6.0 Tested up to: 6.0