diff --git a/footer.php b/footer.php index 3bce85a..57c153e 100644 --- a/footer.php +++ b/footer.php @@ -72,7 +72,7 @@
-

WordPress. Alx.

+

WordPress. Alx.

diff --git a/functions.php b/functions.php index 2c2eca8..ce7261d 100644 --- a/functions.php +++ b/functions.php @@ -443,7 +443,7 @@ if ( ! function_exists( 'incolor_related_posts' ) ) { 'ignore_sticky_posts' => 1, 'orderby' => 'rand', 'post__not_in' => array($post->ID), - 'posts_per_page' => 3 + 'posts_per_page' => 2 ); // Related by categories if ( get_theme_mod('related-posts') == 'categories' ) { diff --git a/inc/related-posts.php b/inc/related-posts.php index 567cdb2..b337f5f 100644 --- a/inc/related-posts.php +++ b/inc/related-posts.php @@ -6,39 +6,14 @@ - + diff --git a/languages/incolor.pot b/languages/incolor.pot index 632c9f3..01aa999 100644 --- a/languages/incolor.pot +++ b/languages/incolor.pot @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Incolor\n" -"POT-Creation-Date: 2021-08-22 20:39+0200\n" +"POT-Creation-Date: 2021-08-23 11:04+0200\n" "PO-Revision-Date: 2018-09-21 21:27+0100\n" "Last-Translator: \n" "Language-Team: \n" diff --git a/readme.txt b/readme.txt index fe3928f..4030238 100644 --- a/readme.txt +++ b/readme.txt @@ -87,6 +87,10 @@ Sidebar images == Changelog == += 1.0.5 - 2021-08-23 = +* Improved related posts styling +* Fixed wordpress footer link + = 1.0.4 - 2021-08-22 = * Minor styling improvements to sidebar profile diff --git a/responsive.css b/responsive.css index 7ddee7c..f966509 100644 --- a/responsive.css +++ b/responsive.css @@ -134,10 +134,6 @@ .post-nav li a { min-height: 0; } .post-nav li.previous { border-top: 1px solid #444; } - .related-posts li { width: 50%; } - .related-posts li:nth-child(2) article { border-right-color: transparent; } - .related-posts li:nth-child(3) { display: none; } - } /* ------------------------------------------------------------------------- * diff --git a/style.css b/style.css index 2eea44e..e72aae9 100644 --- a/style.css +++ b/style.css @@ -1,7 +1,7 @@ /* Theme Name: Incolor Theme URI: http://alx.media/themes/incolor/ -Version: 1.0.4 +Version: 1.0.5 Requires at least: 5.0 Requires PHP: 5.6 Tested up to: 5.8 @@ -934,20 +934,6 @@ body.category.paged .category-featured-cards { display: none; } .author-bio .bio-name { color: #fff; font-size: 19px; font-weight: 600; margin: 10px 0; } .author-bio .bio-desc { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.5em; } -/* single : related posts -/* ------------------------------------ */ -.related-posts { margin-bottom: 40px; } -.related-posts li { width: 33.33%; float: left; display: inline; } -.related-post { border-right: 1px solid transparent; } -.related-inner { padding: 0 20px 0 0; } -.related-title { margin-bottom: 10px; font-size: 17px; font-weight: 600; line-height: 1.4em; letter-spacing: 0; display: block; } -.related-title a { color: rgba(255,255,255,0.7); } -.related-title a:hover { color: #fff; } -.related-thumbnail { width: 100%; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease; } -.related-thumbnail { position: relative; margin-bottom: 20px; } -.related-thumbnail img { display: block; width: 100%; height: auto; } -.related-thumbnail:hover .thumb-icon { background: #fff; color: #333; } - /* single : post-nav /* ------------------------------------ */ .post-nav li { width: 50%; display: inline; float: left; }