Skip to content

Commit

Permalink
Merge pull request #83 from vektor-inc/develop
Browse files Browse the repository at this point in the history
[ Change version ] 1.24.1
  • Loading branch information
kurudrive authored Oct 19, 2023
2 parents 4486e94 + c66c024 commit 51b29c3
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 15 deletions.
18 changes: 9 additions & 9 deletions admin/admin-profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,42 +9,42 @@ function pad_sns_array() {
'mail' => array(
'name' => 'Mail(Contact Page)',
'icon_fa4' => 'fa fa-envelope-square',
'icon_fa5' => 'fas fa-envelope-square',
'icon_fa6' => 'fa-solid fa-square-envelope',
),
'twitter' => array(
'name' => 'Twitter',
'name' => 'X',
'icon_fa4' => 'fa fa-twitter-square',
'icon_fa5' => 'fab fa-twitter-square',
'icon_fa6' => 'fa-brands fa-square-x-twitter',
),
'facebook' => array(
'name' => 'Facebook',
'icon_fa4' => 'fa fa-facebook-square',
'icon_fa5' => 'fab fa-facebook-square',
'icon_fa6' => 'fa-brands fa-square-facebook',
),
'instagram' => array(
'name' => 'Instagram',
'icon_fa4' => 'fa fa-instagram',
'icon_fa5' => 'fab fa-instagram',
'icon_fa6' => 'fa-brands fa-square-instagram',
),
'youtube' => array(
'name' => 'YouTube',
'icon_fa4' => 'fa fa-youtube-square',
'icon_fa5' => 'fab fa-youtube-square',
'icon_fa6' => 'fa-brands fa-square-youtube',
),
'linkedin' => array(
'name' => 'LinkedIn',
'icon_fa4' => 'fa fa-linkedin',
'icon_fa5' => 'fab fa-linkedin',
'icon_fa6' => 'fa-brands fa-linkedin',
),
'wordpress' => array(
'name' => 'WordPress',
'icon_fa4' => 'fa fa-wordpress',
'icon_fa5' => 'fab fa-wordpress',
'icon_fa6' => 'fa-brands fa-wordpress',
),
'amazon' => array(
'name' => __( 'amazon Wish List', 'vk-post-author-display' ),
'icon_fa4' => 'fa fa-amazon',
'icon_fa5' => 'fab fa-amazon',
'icon_fa6' => 'fa-brands fa-amazon',
),
);
return $sns_array;
Expand Down
2 changes: 1 addition & 1 deletion assets/_scss/vk-post-author.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
color: #1780bb;
}
#padSection a.twitter {
color: #0084b4;
color: #0f1419;
}
#padSection a.facebook {
color: #3b5998;
Expand Down
2 changes: 1 addition & 1 deletion assets/css/vk-post-author.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion post-author-display.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: VK Post Author Display
Plugin URI: http://wordpress.org/extend/plugins/vk-post-author-display/
Description: Show post author information at post bottom.
Version: 1.24.0
Version: 1.24.1
Author: Vektor,Inc.
Author URI: https://ex-unit.nagoya/
Text Domain: vk-post-author-display
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link:
Tags: post,author
Requires at least: 5.3
Tested up to: 6.3
Stable tag: 1.24.0
Stable tag: 1.24.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -30,6 +30,9 @@ Display to Post Author Information Box on bottom of the contents.

== Changelog ==

= 1.24.1 =
[ Specification Change ] Fix Twitter icon to X icon

= 1.24.0 =

[ Specification Change ] Update Font Awesome 6.4.2 ( Supports the icon font of X )
Expand Down
4 changes: 2 additions & 2 deletions view.post-author.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public static function pad_get_author_profile() {
if ( '4.7' === $fa ) {
$class = $value['icon_fa4'];
} else {
$class = $value['icon_fa5'];
$class = $value['icon_fa6'];
}
$sns_icons .= '<li class="pad_' . $key . '"><a href="' . esc_url( $sns_url ) . '" target
="_blank" class="' . $key . '"><i class="' . $class . '" aria-hidden="true"></i></a></li>';
Expand Down Expand Up @@ -166,7 +166,7 @@ public static function pad_get_author_entries() {
$entry_unit .= $pad_thumb;

} else {
$entry_unit .= '<img src="' . plugins_url() . '/vk-post-author-display/images/thumbnailDummy.jpg" alt="' . get_the_title() . '" />';
$entry_unit .= '<img src="' . plugin_dir_url( __FILE__ ) . 'assets/images/thumbnailDummy.jpg" alt="' . get_the_title() . '" />';
}
$entry_unit .= $term . '</a></span></span><span class="padDate">' . get_the_date() . '</span><a href="' . get_permalink( $post->ID ) . '" class="padTitle">' . get_the_title() . '</a></li>' . "\n";
}
Expand Down

0 comments on commit 51b29c3

Please sign in to comment.