Skip to content

Commit

Permalink
Merge pull request #61 from C8620/master
Browse files Browse the repository at this point in the history
Fix invalid AddToAny link addition criteria.
  • Loading branch information
maheshmuralip authored Nov 27, 2024
2 parents 2397406 + b1a674a commit a042b21
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions display/social-sharing.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ function nightingale_companion_sharing_caring( $content ) {
$content = $content . $output;
} elseif ( 'both' === $position ) {
$content = $output . $content . $output;
} else {
$output = false;
}
if ( ! empty( $output ) ) {
$content = $content . '<script async src="https://static.addtoany.com/menu/page.js"></script>';
Expand Down

0 comments on commit a042b21

Please sign in to comment.