Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Commit

Permalink
Bug Fix Count HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
Rayiumir committed Feb 23, 2024
1 parent 82b9ffa commit ab8ed8a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions inc/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ function rayium_button_post_like($content){

$button = "<p><button type='button' class='post-like $liked_class' data-id='$post_id' data-nonce='$nonce'>
<svg width='16' height='16' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><style>.spinner_ajPY{transform-origin:center;animation:spinner_AtaB .75s infinite linear}@keyframes spinner_AtaB{100%{transform:rotate(360deg)}}</style><path d='M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z' opacity='.25'/><path d='M10.14,1.16a11,11,0,0,0-9,8.92A1.59,1.59,0,0,0,2.46,12,1.52,1.52,0,0,0,4.11,10.7a8,8,0,0,1,6.66-6.61A1.42,1.42,0,0,0,12,2.69h0A1.57,1.57,0,0,0,10.14,1.16Z' class='spinner_ajPY'/></svg>
$text
<span class='like-count'>$like_count</span>
</button>
<span class='like-message'></span></p>
<span class='like-count'>$like_count</span>
$text
</button>
<span class='like-message'></span></p>
";

return $content . $button;
Expand Down

0 comments on commit ab8ed8a

Please sign in to comment.