Deprecated: SQLException::__construct(): Implicitly marking parameter $previous as nullable is deprecated, the explicit nullable type must be used instead in /volumes/bulk/hamelton/domains/huduzu.com/public_html/includes/exceptions.php on line 6 Deprecated: PrivacyException::__construct(): Implicitly marking parameter $previous as nullable is deprecated, the explicit nullable type must be used instead in /volumes/bulk/hamelton/domains/huduzu.com/public_html/includes/exceptions.php on line 15 Deprecated: ValidationException::__construct(): Implicitly marking parameter $previous as nullable is deprecated, the explicit nullable type must be used instead in /volumes/bulk/hamelton/domains/huduzu.com/public_html/includes/exceptions.php on line 24 Deprecated: BadRequestException::__construct(): Implicitly marking parameter $previous as nullable is deprecated, the explicit nullable type must be used instead in /volumes/bulk/hamelton/domains/huduzu.com/public_html/includes/exceptions.php on line 33 Deprecated: AuthorizationException::__construct(): Implicitly marking parameter $previous as nullable is deprecated, the explicit nullable type must be used instead in /volumes/bulk/hamelton/domains/huduzu.com/public_html/includes/exceptions.php on line 42 Deprecated: NoDataException::__construct(): Implicitly marking parameter $previous as nullable is deprecated, the explicit nullable type must be used instead in /volumes/bulk/hamelton/domains/huduzu.com/public_html/includes/exceptions.php on line 51 Share Plugin | Huduzu
Share Plugin
Add the following code in your site, inside the head tag:
                                                <script>
                                                  function SocialShare(url) {
                                                      window.open('https://huduzu.com/share?url=' + url, '', 'height=600,width=800');
                                                  }
                                                </script>
                                                
Then place the share button after changing the URL you want to share to your page HTML:
<button onclick="SocialShare('http://yoursite.com/')">Share</button>
Also you can use this code to share the current page:
<button onclick="SocialShare(window.location.href)">Share</button>
Example:
Huduzu https://huduzu.com