mirror of
https://ghproxy.net/https://github.com/AlxMedia/shapebox.git
synced 2025-08-26 16:35:56 +08:00
1.0.4
This commit is contained in:
parent
7796729c48
commit
0b2c4d3ca7
8 changed files with 200 additions and 151 deletions
|
@ -20,12 +20,17 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="featured-item-bottom group">
|
<div class="featured-item-bottom group">
|
||||||
|
|
||||||
<div class="blog-card-author">
|
<?php if ( get_theme_mod( 'author-avatar', 'on' ) =='on' ): ?>
|
||||||
<a href="<?php echo get_author_posts_url(get_the_author_meta( 'ID' )); ?>"><?php echo get_avatar(get_the_author_meta('user_email'),'128'); ?></a>
|
<div class="blog-card-author">
|
||||||
</div>
|
<a href="<?php echo get_author_posts_url(get_the_author_meta( 'ID' )); ?>"><?php echo get_avatar(get_the_author_meta('user_email'),'128'); ?></a>
|
||||||
<a class="blog-card-more-link" href="<?php the_permalink(); ?>"><?php esc_html_e('More','shapebox'); ?> <i class="fas fa-chevron-right"></i></a>
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
|
<?php if ( get_theme_mod( 'more-button', 'on' ) =='on' ): ?>
|
||||||
|
<a class="blog-card-more-link" href="<?php the_permalink(); ?>"><?php esc_html_e('More','shapebox'); ?> <i class="fas fa-chevron-right"></i></a>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
<ul class="blog-card-meta group">
|
<ul class="blog-card-meta group">
|
||||||
<li class="blog-card-date"><i class="far fa-calendar"></i><?php the_time( get_option('date_format') ); ?></li>
|
<li class="blog-card-date"><i class="far fa-calendar"></i><?php the_time( get_option('date_format') ); ?></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
14
content.php
14
content.php
|
@ -18,10 +18,16 @@
|
||||||
|
|
||||||
<div class="blog-card-bottom-outer">
|
<div class="blog-card-bottom-outer">
|
||||||
<div class="blog-card-bottom">
|
<div class="blog-card-bottom">
|
||||||
<div class="blog-card-author">
|
|
||||||
<a href="<?php echo get_author_posts_url(get_the_author_meta( 'ID' )); ?>"><?php echo get_avatar(get_the_author_meta('user_email'),'128'); ?></a>
|
<?php if ( get_theme_mod( 'author-avatar', 'on' ) =='on' ): ?>
|
||||||
</div>
|
<div class="blog-card-author">
|
||||||
<a class="blog-card-more-link" href="<?php the_permalink(); ?>"><?php esc_html_e('More','shapebox'); ?> <i class="fas fa-chevron-right"></i></a>
|
<a href="<?php echo get_author_posts_url(get_the_author_meta( 'ID' )); ?>"><?php echo get_avatar(get_the_author_meta('user_email'),'128'); ?></a>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
|
<?php if ( get_theme_mod( 'more-button', 'on' ) =='on' ): ?>
|
||||||
|
<a class="blog-card-more-link" href="<?php the_permalink(); ?>"><?php esc_html_e('More','shapebox'); ?> <i class="fas fa-chevron-right"></i></a>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
<h2 class="blog-card-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
|
<h2 class="blog-card-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
|
||||||
|
|
||||||
|
|
|
@ -192,6 +192,24 @@ Kirki::add_field( 'shapebox_theme', array(
|
||||||
'section' => 'blog',
|
'section' => 'blog',
|
||||||
'default' => 'off',
|
'default' => 'off',
|
||||||
) );
|
) );
|
||||||
|
// Blog: More Button
|
||||||
|
Kirki::add_field( 'shapebox_theme', array(
|
||||||
|
'type' => 'switch',
|
||||||
|
'settings' => 'more-button',
|
||||||
|
'label' => esc_html__( 'More Button', 'shapebox' ),
|
||||||
|
'description' => esc_html__( 'Show the more buttons', 'shapebox' ),
|
||||||
|
'section' => 'blog',
|
||||||
|
'default' => 'on',
|
||||||
|
) );
|
||||||
|
// Blog: Author Avatar
|
||||||
|
Kirki::add_field( 'shapebox_theme', array(
|
||||||
|
'type' => 'switch',
|
||||||
|
'settings' => 'author-avatar',
|
||||||
|
'label' => esc_html__( 'Author Avatar', 'shapebox' ),
|
||||||
|
'description' => esc_html__( 'Show the circle avatars', 'shapebox' ),
|
||||||
|
'section' => 'blog',
|
||||||
|
'default' => 'on',
|
||||||
|
) );
|
||||||
// Blog: Comment Count
|
// Blog: Comment Count
|
||||||
Kirki::add_field( 'shapebox_theme', array(
|
Kirki::add_field( 'shapebox_theme', array(
|
||||||
'type' => 'switch',
|
'type' => 'switch',
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Shapebox\n"
|
"Project-Id-Version: Shapebox\n"
|
||||||
"POT-Creation-Date: 2022-03-29 13:35+0200\n"
|
"POT-Creation-Date: 2022-03-31 16:53+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"
|
||||||
|
@ -39,7 +39,7 @@ msgstr ""
|
||||||
msgid "Pingbacks"
|
msgid "Pingbacks"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: content-featured.php:27 content.php:24
|
#: content-featured.php:31 content.php:29
|
||||||
msgid "More"
|
msgid "More"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ msgstr ""
|
||||||
msgid "Normal full width sidebar"
|
msgid "Normal full width sidebar"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions.php:183 functions/theme-options.php:290
|
#: functions.php:183 functions/theme-options.php:308
|
||||||
msgid "Footer Ads"
|
msgid "Footer Ads"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -152,10 +152,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:489 functions/theme-options.php:499
|
#: functions/theme-options.php:507 functions/theme-options.php:517
|
||||||
#: functions/theme-options.php:509 functions/theme-options.php:519
|
#: functions/theme-options.php:527 functions/theme-options.php:537
|
||||||
#: functions/theme-options.php:529 functions/theme-options.php:539
|
#: functions/theme-options.php:547 functions/theme-options.php:557
|
||||||
#: functions/theme-options.php:549
|
#: functions/theme-options.php:567
|
||||||
msgid "Select a sidebar"
|
msgid "Select a sidebar"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -324,446 +324,462 @@ msgid "Frontpage Widgets Bottom"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:199
|
#: functions/theme-options.php:199
|
||||||
msgid "Comment Count"
|
msgid "More Button"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:200
|
#: functions/theme-options.php:200
|
||||||
msgid "Comment count with bubbles"
|
msgid "Show the more buttons"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:208
|
#: functions/theme-options.php:208
|
||||||
msgid "Single - Author Bio"
|
msgid "Author Avatar"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:209
|
#: functions/theme-options.php:209
|
||||||
msgid "Shows post author description, if it exists"
|
msgid "Show the circle avatars"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:217
|
#: functions/theme-options.php:217
|
||||||
msgid "Single - Related Posts"
|
msgid "Comment Count"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:218
|
#: functions/theme-options.php:218
|
||||||
|
msgid "Comment count with bubbles"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: functions/theme-options.php:226
|
||||||
|
msgid "Single - Author Bio"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: functions/theme-options.php:227
|
||||||
|
msgid "Shows post author description, if it exists"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: functions/theme-options.php:235
|
||||||
|
msgid "Single - Related Posts"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: functions/theme-options.php:236
|
||||||
msgid "Shows randomized related articles below the post"
|
msgid "Shows randomized related articles below the post"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:222 functions/theme-options.php:236
|
#: functions/theme-options.php:240 functions/theme-options.php:254
|
||||||
msgid "Disable"
|
msgid "Disable"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:223
|
#: functions/theme-options.php:241
|
||||||
msgid "Related by categories"
|
msgid "Related by categories"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:224
|
#: functions/theme-options.php:242
|
||||||
msgid "Related by tags"
|
msgid "Related by tags"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:231
|
#: functions/theme-options.php:249
|
||||||
msgid "Single - Post Navigation"
|
msgid "Single - Post Navigation"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:232
|
#: functions/theme-options.php:250
|
||||||
msgid "Shows links to the next and previous article"
|
msgid "Shows links to the next and previous article"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:237
|
#: functions/theme-options.php:255
|
||||||
msgid "Sidebar"
|
msgid "Sidebar"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:238
|
#: functions/theme-options.php:256
|
||||||
msgid "Below content"
|
msgid "Below content"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:245
|
#: functions/theme-options.php:263
|
||||||
msgid "Header Search"
|
msgid "Header Search"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:246
|
#: functions/theme-options.php:264
|
||||||
msgid "Header search button"
|
msgid "Header search button"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:254
|
#: functions/theme-options.php:272
|
||||||
msgid "Header Social Links"
|
msgid "Header Social Links"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:255 functions/theme-options.php:316
|
#: functions/theme-options.php:273 functions/theme-options.php:334
|
||||||
msgid "Social link icon buttons"
|
msgid "Social link icon buttons"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:263
|
#: functions/theme-options.php:281
|
||||||
msgid "Profile Image"
|
msgid "Profile Image"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:264
|
#: functions/theme-options.php:282
|
||||||
msgid "Minimum width of 320px"
|
msgid "Minimum width of 320px"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:272
|
#: functions/theme-options.php:290
|
||||||
msgid "Profile Name"
|
msgid "Profile Name"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:273
|
#: functions/theme-options.php:291
|
||||||
msgid "Your name appears below the image"
|
msgid "Your name appears below the image"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:281
|
#: functions/theme-options.php:299
|
||||||
msgid "Profile Description"
|
msgid "Profile Description"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:282
|
#: functions/theme-options.php:300
|
||||||
msgid "A short description of you"
|
msgid "A short description of you"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:291
|
#: functions/theme-options.php:309
|
||||||
msgid "Footer widget ads area"
|
msgid "Footer widget ads area"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:299
|
#: functions/theme-options.php:317
|
||||||
msgid "Footer Widget Columns"
|
msgid "Footer Widget Columns"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:300
|
#: functions/theme-options.php:318
|
||||||
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:315
|
#: functions/theme-options.php:333
|
||||||
msgid "Footer Social Links"
|
msgid "Footer Social Links"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:324
|
#: functions/theme-options.php:342
|
||||||
msgid "Footer Logo"
|
msgid "Footer Logo"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:325
|
#: functions/theme-options.php:343
|
||||||
msgid "Upload your custom logo image"
|
msgid "Upload your custom logo image"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:333
|
#: functions/theme-options.php:351
|
||||||
msgid "Footer Copyright"
|
msgid "Footer Copyright"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:334
|
#: functions/theme-options.php:352
|
||||||
msgid "Replace the footer copyright text"
|
msgid "Replace the footer copyright text"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:342
|
#: functions/theme-options.php:360
|
||||||
msgid "Footer Credit"
|
msgid "Footer Credit"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:343
|
#: functions/theme-options.php:361
|
||||||
msgid "Footer credit text"
|
msgid "Footer credit text"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:351
|
#: functions/theme-options.php:369
|
||||||
msgid "Global Layout"
|
msgid "Global Layout"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:352
|
#: functions/theme-options.php:370
|
||||||
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:365 functions/theme-options.php:484
|
#: functions/theme-options.php:383 functions/theme-options.php:502
|
||||||
msgid "Home"
|
msgid "Home"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:366
|
#: functions/theme-options.php:384
|
||||||
msgid "(is_home) Posts homepage layout"
|
msgid "(is_home) Posts homepage layout"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:380 functions/theme-options.php:494
|
#: functions/theme-options.php:398 functions/theme-options.php:512
|
||||||
msgid "Single"
|
msgid "Single"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:381
|
#: functions/theme-options.php:399
|
||||||
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:395 functions/theme-options.php:504
|
#: functions/theme-options.php:413 functions/theme-options.php:522
|
||||||
msgid "Archive"
|
msgid "Archive"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:396
|
#: functions/theme-options.php:414
|
||||||
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:410 functions/theme-options.php:514
|
#: functions/theme-options.php:428 functions/theme-options.php:532
|
||||||
msgid "Archive - Category"
|
msgid "Archive - Category"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:411
|
#: functions/theme-options.php:429
|
||||||
msgid "(is_category) Category archive layout"
|
msgid "(is_category) Category archive layout"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:425 functions/theme-options.php:524
|
#: functions/theme-options.php:443 functions/theme-options.php:542
|
||||||
msgid "Search"
|
msgid "Search"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:426
|
#: functions/theme-options.php:444
|
||||||
msgid "(is_search) Search page layout"
|
msgid "(is_search) Search page layout"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:440 functions/theme-options.php:534
|
#: functions/theme-options.php:458 functions/theme-options.php:552
|
||||||
msgid "Error 404"
|
msgid "Error 404"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:441
|
#: functions/theme-options.php:459
|
||||||
msgid "(is_404) Error 404 page layout"
|
msgid "(is_404) Error 404 page layout"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:455 functions/theme-options.php:544
|
#: functions/theme-options.php:473 functions/theme-options.php:562
|
||||||
msgid "Default Page"
|
msgid "Default Page"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:456
|
#: functions/theme-options.php:474
|
||||||
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:485
|
#: functions/theme-options.php:503
|
||||||
msgid "(is_home) Primary"
|
msgid "(is_home) Primary"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:495
|
#: functions/theme-options.php:513
|
||||||
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:505
|
#: functions/theme-options.php:523
|
||||||
msgid "(is_archive) Primary"
|
msgid "(is_archive) Primary"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:515
|
#: functions/theme-options.php:533
|
||||||
msgid "(is_category) Primary"
|
msgid "(is_category) Primary"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:525
|
#: functions/theme-options.php:543
|
||||||
msgid "(is_search) Primary"
|
msgid "(is_search) Primary"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:535
|
#: functions/theme-options.php:553
|
||||||
msgid "(is_404) Primary"
|
msgid "(is_404) Primary"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:545
|
#: functions/theme-options.php:563
|
||||||
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:558
|
#: functions/theme-options.php:576
|
||||||
msgid "Create Social Links"
|
msgid "Create Social Links"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:559
|
#: functions/theme-options.php:577
|
||||||
msgid "Create and organize your social links"
|
msgid "Create and organize your social links"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:561
|
#: functions/theme-options.php:579
|
||||||
msgid "Font Awesome names:"
|
msgid "Font Awesome names:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:561 functions/theme-options.php:578
|
#: functions/theme-options.php:579 functions/theme-options.php:596
|
||||||
msgid "View All"
|
msgid "View All"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:564
|
#: functions/theme-options.php:582
|
||||||
msgid "social link"
|
msgid "social link"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:571
|
#: functions/theme-options.php:589
|
||||||
msgid "Title"
|
msgid "Title"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:572
|
#: functions/theme-options.php:590
|
||||||
msgid "Ex: Facebook"
|
msgid "Ex: Facebook"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:577
|
#: functions/theme-options.php:595
|
||||||
msgid "Icon Name"
|
msgid "Icon Name"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:578
|
#: functions/theme-options.php:596
|
||||||
msgid "Font Awesome icons. Ex: fa-facebook "
|
msgid "Font Awesome icons. Ex: fa-facebook "
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:583
|
#: functions/theme-options.php:601
|
||||||
msgid "Link"
|
msgid "Link"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:584
|
#: functions/theme-options.php:602
|
||||||
msgid "Enter the full url for your icon button"
|
msgid "Enter the full url for your icon button"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:589
|
#: functions/theme-options.php:607
|
||||||
msgid "Icon Color"
|
msgid "Icon Color"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:590
|
#: functions/theme-options.php:608
|
||||||
msgid "Set a unique color for your icon (optional)"
|
msgid "Set a unique color for your icon (optional)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:595
|
#: functions/theme-options.php:613
|
||||||
msgid "Open in new window"
|
msgid "Open in new window"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:604
|
#: functions/theme-options.php:622
|
||||||
msgid "Dynamic Styles"
|
msgid "Dynamic Styles"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:605
|
#: functions/theme-options.php:623
|
||||||
msgid "Turn on to use the styling options below"
|
msgid "Turn on to use the styling options below"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:613
|
#: functions/theme-options.php:631
|
||||||
msgid "Font"
|
msgid "Font"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:614
|
#: functions/theme-options.php:632
|
||||||
msgid "Select font for the theme"
|
msgid "Select font for the theme"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:618
|
#: functions/theme-options.php:636
|
||||||
msgid "Titillium Web, Latin (Self-hosted)"
|
msgid "Titillium Web, Latin (Self-hosted)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:619
|
#: functions/theme-options.php:637
|
||||||
msgid "Titillium Web, Latin-Ext"
|
msgid "Titillium Web, Latin-Ext"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:620
|
#: functions/theme-options.php:638
|
||||||
msgid "Droid Serif, Latin"
|
msgid "Droid Serif, Latin"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:621
|
#: functions/theme-options.php:639
|
||||||
msgid "Source Sans Pro, Latin-Ext"
|
msgid "Source Sans Pro, Latin-Ext"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:622
|
#: functions/theme-options.php:640
|
||||||
msgid "Lato, Latin"
|
msgid "Lato, Latin"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:623
|
#: functions/theme-options.php:641
|
||||||
msgid "Raleway, Latin"
|
msgid "Raleway, Latin"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:624
|
#: functions/theme-options.php:642
|
||||||
msgid "Inter, Latin"
|
msgid "Inter, Latin"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:625
|
#: functions/theme-options.php:643
|
||||||
msgid "Ubuntu, Latin-Ext"
|
msgid "Ubuntu, Latin-Ext"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:626
|
#: functions/theme-options.php:644
|
||||||
msgid "Ubuntu, Latin / Cyrillic-Ext"
|
msgid "Ubuntu, Latin / Cyrillic-Ext"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:627
|
#: functions/theme-options.php:645
|
||||||
msgid "Roboto, Latin-Ext"
|
msgid "Roboto, Latin-Ext"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:628
|
#: functions/theme-options.php:646
|
||||||
msgid "Roboto, Latin / Cyrillic-Ext"
|
msgid "Roboto, Latin / Cyrillic-Ext"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:629
|
#: functions/theme-options.php:647
|
||||||
msgid "Roboto Condensed, Latin-Ext"
|
msgid "Roboto Condensed, Latin-Ext"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:630
|
#: functions/theme-options.php:648
|
||||||
msgid "Roboto Condensed, Latin / Cyrillic-Ext"
|
msgid "Roboto Condensed, Latin / Cyrillic-Ext"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:631
|
#: functions/theme-options.php:649
|
||||||
msgid "Roboto Slab, Latin-Ext"
|
msgid "Roboto Slab, Latin-Ext"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:632
|
#: functions/theme-options.php:650
|
||||||
msgid "Roboto Slab, Latin / Cyrillic-Ext"
|
msgid "Roboto Slab, Latin / Cyrillic-Ext"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:633
|
#: functions/theme-options.php:651
|
||||||
msgid "Playfair Display, Latin-Ext"
|
msgid "Playfair Display, Latin-Ext"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:634
|
#: functions/theme-options.php:652
|
||||||
msgid "Playfair Display, Latin / Cyrillic"
|
msgid "Playfair Display, Latin / Cyrillic"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:635
|
#: functions/theme-options.php:653
|
||||||
msgid "Open Sans, Latin-Ext"
|
msgid "Open Sans, Latin-Ext"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:636
|
#: functions/theme-options.php:654
|
||||||
msgid "Open Sans, Latin / Cyrillic-Ext"
|
msgid "Open Sans, Latin / Cyrillic-Ext"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:637
|
#: functions/theme-options.php:655
|
||||||
msgid "PT Serif, Latin-Ext"
|
msgid "PT Serif, Latin-Ext"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:638
|
#: functions/theme-options.php:656
|
||||||
msgid "PT Serif, Latin / Cyrillic-Ext"
|
msgid "PT Serif, Latin / Cyrillic-Ext"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:639
|
#: functions/theme-options.php:657
|
||||||
msgid "Arial"
|
msgid "Arial"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:640
|
#: functions/theme-options.php:658
|
||||||
msgid "Georgia"
|
msgid "Georgia"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:641
|
#: functions/theme-options.php:659
|
||||||
msgid "Verdana"
|
msgid "Verdana"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:642
|
#: functions/theme-options.php:660
|
||||||
msgid "Tahoma"
|
msgid "Tahoma"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:649
|
#: functions/theme-options.php:667
|
||||||
msgid "Website Max-width"
|
msgid "Website Max-width"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:650
|
#: functions/theme-options.php:668
|
||||||
msgid "Max-width of the container."
|
msgid "Max-width of the container."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:663
|
#: functions/theme-options.php:681
|
||||||
msgid "Content Max-width"
|
msgid "Content Max-width"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:664
|
#: functions/theme-options.php:682
|
||||||
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:677
|
#: functions/theme-options.php:695
|
||||||
msgid "Header Logo Image Max-height"
|
msgid "Header Logo Image Max-height"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:678
|
#: functions/theme-options.php:696
|
||||||
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:691
|
#: functions/theme-options.php:709
|
||||||
msgid "Primary Color"
|
msgid "Primary Color"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:699
|
#: functions/theme-options.php:717
|
||||||
msgid "Gradient Left"
|
msgid "Gradient Left"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:707
|
#: functions/theme-options.php:725
|
||||||
msgid "Gradient Right"
|
msgid "Gradient Right"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: functions/theme-options.php:715
|
#: functions/theme-options.php:733
|
||||||
msgid "Background Color"
|
msgid "Background Color"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -817,10 +833,10 @@ msgstr ""
|
||||||
msgid "To search type and hit enter"
|
msgid "To search type and hit enter"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: single.php:57
|
#: single.php:61
|
||||||
msgid "Pages:"
|
msgid "Pages:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: single.php:64
|
#: single.php:68
|
||||||
msgid "Tags:"
|
msgid "Tags:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
30
page.php
30
page.php
|
@ -7,24 +7,18 @@
|
||||||
<?php while ( have_posts() ): the_post(); ?>
|
<?php while ( have_posts() ): the_post(); ?>
|
||||||
|
|
||||||
<article <?php post_class(); ?>>
|
<article <?php post_class(); ?>>
|
||||||
|
|
||||||
<div class="blog-card-outer">
|
<header class="entry-header group">
|
||||||
<div class="blog-card group">
|
<h1 class="entry-title"><?php the_title(); ?></h1>
|
||||||
|
</header>
|
||||||
<header class="entry-header group">
|
<div class="entry-content">
|
||||||
<h1 class="entry-title"><?php the_title(); ?></h1>
|
<div class="entry themeform">
|
||||||
</header>
|
<?php the_content(); ?>
|
||||||
<div class="entry-content">
|
<div class="clear"></div>
|
||||||
<div class="entry themeform">
|
</div><!--/.entry-->
|
||||||
<?php the_content(); ?>
|
</div>
|
||||||
<div class="clear"></div>
|
<div class="entry-footer group">
|
||||||
</div><!--/.entry-->
|
<?php if ( comments_open() || get_comments_number() ) : comments_template( '/comments.php', true ); endif; ?>
|
||||||
</div>
|
|
||||||
<div class="entry-footer group">
|
|
||||||
<?php if ( comments_open() || get_comments_number() ) : comments_template( '/comments.php', true ); endif; ?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</article><!--/.post-->
|
</article><!--/.post-->
|
||||||
|
|
|
@ -87,6 +87,12 @@ Sidebar images
|
||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= 1.0.4 - 2022-03-31 =
|
||||||
|
* Added option to disable author avatars
|
||||||
|
* Added option to disable more buttons
|
||||||
|
* Tweaked css details
|
||||||
|
* Updated language files
|
||||||
|
|
||||||
= 1.0.3 - 2022-03-31 =
|
= 1.0.3 - 2022-03-31 =
|
||||||
* Fixed image with caption overflowing the layout
|
* Fixed image with caption overflowing the layout
|
||||||
|
|
||||||
|
|
10
single.php
10
single.php
|
@ -39,9 +39,13 @@
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<div class="blog-single-bottom group">
|
<div class="blog-single-bottom group">
|
||||||
<div class="blog-single-author">
|
|
||||||
<a href="<?php echo get_author_posts_url(get_the_author_meta( 'ID' )); ?>"><?php echo get_avatar(get_the_author_meta('user_email'),'64'); ?></a>
|
<?php if ( get_theme_mod( 'author-avatar', 'on' ) =='on' ): ?>
|
||||||
</div>
|
<div class="blog-single-author">
|
||||||
|
<a href="<?php echo get_author_posts_url(get_the_author_meta( 'ID' )); ?>"><?php echo get_avatar(get_the_author_meta('user_email'),'64'); ?></a>
|
||||||
|
</div>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
<ul class="blog-single-meta group">
|
<ul class="blog-single-meta group">
|
||||||
<li class="blog-single-date"><i class="far fa-calendar"></i><?php the_time( get_option('date_format') ); ?></li>
|
<li class="blog-single-date"><i class="far fa-calendar"></i><?php the_time( get_option('date_format') ); ?></li>
|
||||||
<li class="blog-single-byline"><i class="far fa-user"></i><?php the_author_posts_link(); ?></li>
|
<li class="blog-single-byline"><i class="far fa-user"></i><?php the_author_posts_link(); ?></li>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
Theme Name: Shapebox
|
Theme Name: Shapebox
|
||||||
Theme URI: http://alx.media/themes/shapebox/
|
Theme URI: http://alx.media/themes/shapebox/
|
||||||
Version: 1.0.3
|
Version: 1.0.4
|
||||||
Requires at least: 5.0
|
Requires at least: 5.0
|
||||||
Requires PHP: 5.6
|
Requires PHP: 5.6
|
||||||
Tested up to: 5.9
|
Tested up to: 5.9
|
||||||
|
@ -316,7 +316,7 @@ h1, h2, h3, h4, h5, h6 { color: #333; font-weight: 300; -ms-word-wrap: break-wor
|
||||||
.entry h3,
|
.entry h3,
|
||||||
.entry h4,
|
.entry h4,
|
||||||
.entry h5,
|
.entry h5,
|
||||||
.entry h6 { font-weight: 600; line-height: 1.3em; }
|
.entry h6 { font-weight: 800; line-height: 1.3em; }
|
||||||
.entry h1 span,
|
.entry h1 span,
|
||||||
.entry h2 span,
|
.entry h2 span,
|
||||||
.entry h3 span,
|
.entry h3 span,
|
||||||
|
@ -798,7 +798,7 @@ box-shadow: 0 0 2px rgba(255,255,255,0.4);
|
||||||
.nav-menu.mobile ul { border: 0; }
|
.nav-menu.mobile ul { border: 0; }
|
||||||
.nav-menu.mobile ul li .menu-item-wrapper { justify-content: space-between; width: 100%; }
|
.nav-menu.mobile ul li .menu-item-wrapper { justify-content: space-between; width: 100%; }
|
||||||
.nav-menu.mobile > div > ul > li:last-child { margin-bottom: 52px; }
|
.nav-menu.mobile > div > ul > li:last-child { margin-bottom: 52px; }
|
||||||
.nav-menu.mobile ul li a { font-size: 16px; font-weight: 600; padding: 14px 20px; }
|
.nav-menu.mobile ul li a { font-size: 16px; font-weight: 800; padding: 14px 20px; }
|
||||||
.nav-menu.mobile ul ul li a { font-size: 14px; }
|
.nav-menu.mobile ul ul li a { font-size: 14px; }
|
||||||
.nav-menu.mobile ul ul li a { padding: 12px 0 12px 40px; }
|
.nav-menu.mobile ul ul li a { padding: 12px 0 12px 40px; }
|
||||||
.nav-menu.mobile ul ul ul li a { padding: 12px 0 12px 60px; }
|
.nav-menu.mobile ul ul ul li a { padding: 12px 0 12px 60px; }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue