Skip to content

Commit

Permalink
improve social share
Browse files Browse the repository at this point in the history
  • Loading branch information
solstice23 committed Feb 13, 2021
1 parent 8fc1e9c commit 40dda24
Show file tree
Hide file tree
Showing 4 changed files with 503 additions and 486 deletions.
4 changes: 3 additions & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -3078,7 +3078,9 @@ function themeoptions_page(){
<td>
<select name="argon_show_sharebtn">
<?php $argon_show_sharebtn = get_option('argon_show_sharebtn'); ?>
<option value="true" <?php if ($argon_show_sharebtn=='true'){echo 'selected';} ?>><?php _e('显示', 'argon');?></option>
<option value="true" <?php if ($argon_show_sharebtn=='true'){echo 'selected';} ?>><?php _e('显示全部社交媒体', 'argon');?></option>
<option value="domestic" <?php if ($argon_show_sharebtn=='domestic'){echo 'selected';} ?>><?php _e('显示国内社交媒体', 'argon');?></option>
<option value="abroad" <?php if ($argon_show_sharebtn=='abroad'){echo 'selected';} ?>><?php _e('显示国外社交媒体', 'argon');?></option>
<option value="false" <?php if ($argon_show_sharebtn=='false'){echo 'selected';} ?>><?php _e('不显示', 'argon');?></option>
</select>
<p class="description"></p>
Expand Down
Binary file modified languages/en_US.mo
Binary file not shown.
Loading

0 comments on commit 40dda24

Please sign in to comment.