Skip to content

Commit

Permalink
替换 Icon
Browse files Browse the repository at this point in the history
  • Loading branch information
iwillhappy1314 committed Mar 26, 2019
1 parent 91b9d80 commit 6a82188
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/template-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -439,14 +439,14 @@ function wprs_thumbnail_mask($post)

if ($is_show_image_popup === 'show') {
if (get_post_gallery($post)) {
$html .= '<a class="f-gallery" href="#"><i class="iconfont icon-arrowexpand"></i></a>';
$html .= '<a class="f-gallery" href="#"><i class="wpion-expand-arrows-alt2"></i></a>';
} else {
$html .= '<a class="f-gallery" href="' . esc_url($thumb_src[ 0 ]) . '"><i class="iconfont icon-arrowexpand"></i></a>';
$html .= '<a class="f-gallery" href="' . esc_url($thumb_src[ 0 ]) . '"><i class="wpion-expand-arrows-alt2"></i></a>';
}
}

if ( ! is_singular($post)) {
$html .= '<a class="f-post" href="' . get_the_permalink($post) . '"><i class="iconfont icon-link"></i></a>';
$html .= '<a class="f-post" href="' . get_the_permalink($post) . '"><i class="wpion-link1"></i></a>';
}

$html .= '</div>';
Expand Down

0 comments on commit 6a82188

Please sign in to comment.