Nobs • Share Buttons
Add smart designed buttons after/before your posts (or wherever you want) to allow visitors to share your content (includes no JavaScript mode & counters). Buttons are Retina/HDPI-ready, translation-ready and come with useful options and hooks. Totally GDPR compliant, and accessibility and performance friendly. Includes a Gutenberg block. Select your favorites social networks among a little list. Display an optional sharings counter. You’re done! You can donate to support Creating a plugin and maintaining it of the years takes time and energy. Any support is really appreciated. Donate with Paypal Buy Me a Coffee (you can even subscribe for exclusive content, like sneak peek, free license, exclusive info, etc.) Revolut me Please, use the support forum to tell me bugs encountered, and be patient, remember it’s a free product build on my spare time Social networks supported: Diigo Evernote Facebook LinkedIn Mix Pinterest Pocket Reddit Tumblr Twitter Viadeo Weibo WhatsApp VKontakte Native Share API (for mobile devices, mostly, allowing to share with your favorite applications) Future supported Networks here Other actions supported: Send by Mail (mailto: or multi-recipient lightbox form) Print (buttons are not printed 😜) Add to bookmark Plugin Options: 8 graphic templates available (reworked) Compact option for smaller icons Choose to display only the social network icon Choose from all available networks Open links in a new window (deactivated by default) Add your Twitter account name to add “via” while sharing Choose to display buttons only on certain type of post (compatible with Custom Post Type) Choose to hide buttons only on certain posts directly in the edit page (metabox). Choose to display buttons at the bottom, the top of the content, or both (or just with shortcode or template function) Customize mail texts (subject and body), or mail in a lightbox Display a sharing counter (optional) Use shortcode [juiz_sps] or [juiz_social] wherever you want Use the Gutenberg Block wherever you need. (no settings available yet for this block) For developers: A lot of hooks are available for markup customization (or add some things) A hook is available and offers you the opportunity to add the buttons you need Use template function juiz_sps() or get_juiz_sps() in your code Contribute by creating you own button Skins easily. Available Languages: Deutsch (thank to Dennis Schmitz!) English French Japanese (thank to 半月 (Hangetsu)!) Russian (thank you Fandia!) Serbian (thank to Borisa Djuraskovic!) Spanish (thank to Roberto Castiñeira!) Turkish (thanks to Hakaner!) 🏁 You can contribute to translating in your own language! Thank you for your help 💕 Full Documentation available. This tool if made on my spare time for free, so if you say “it’s broken”, please tell me why, how, what so I can help you 😊 (better than a bad rating that won’t make things better) Before adding a bad rating, please open a support ticket to solve your issue. I’m here to help. Other plugins Find my plugins at https://profiles.wordpress.org/creativejuiz/
Top keywords
- available7×1.42%
- buttons7×1.42%
- add6×1.22%
- thank6×1.22%
- choose5×1.02%
- display5×1.02%
- juiz4×0.81%
- networks4×0.81%
- social4×0.81%
- support4×0.81%
- block3×0.61%
- choose to display3×0.61%
(MB) YouTube Widget
The YouTube videos widget lets you quickly and easily display your most recent YouTube videos in your blog’s sidebar. Features The YouTube videos widget is fully-based on the WordPress Plugin API. Uses hooks and filters to allow for maximum hackability by theme designers and developers. Organized straightforwardly so that it’s easy to modify and style. Usage The YouTube videos widget is ready to use as-is, although you can easily customize it to your liking with a bit of code. You can also insert a plain list of your recent videos into posts and pages with the shortcode mechabyte_youtube. For example, to load 5 videos from freddiew that open in new tabs, you’d use [mechabyte_youtube username="freddiew" videos="5" tab="true"]. Custom Styles The YouTube videos widget loads it styles by hooking into WordPress’ wp_enqueue_scripts action. To remove the default styling you need to remove the our enqueue_scripts function from the hook. remove_action( 'wp_enqueue_scripts', array( 'mechabyteYouTube', 'enqueue_scripts' ) ); Custom Output The end user has two options of displaying their YouTube videos: in plain or decorated lists. When modifying the output of the plugin you must use one of two filters that this plugin uses: mbYT_construct_plain and mbYT_construct_decorated. Before you add your own functions to either filter, you must remove the default ones that are used automatically: mbYT_construct_plain_default and mbYT_construct_decorated_default. remove_filter( 'mbYT_construct_plain', array( 'mechabyteYouTube', 'mbYT_construct_plain_default'), 10, 3 ); remove_filter( 'mbYT_construct_decorated', array( 'mechabyteYouTube', 'mbYT_construct_decorated_default'), 10, 3 ); Now it’s time to get creative. When creating a function that will loop through the videos you have complete control over how you want to display the content. Just keep in mind that in the end, you should be outputting elements. When filters are being applied to the YouTube content, there are three arguments that are being passed through: $youtube_videos (array, the array of videos), $number (integer, the number of videos the user wishes to display), and $tab (boolean, a true/false value of whether or not the user wants to open video links in a new tab). Keep in mind that you have access to the following pieces of information when creating your video loop: $item['title'] // Video title $item['videoID'] // Video ID $item['viewCount'] // Video view count $item['published'] // Video publish date -- UNIX $item['duration'] // Video duration in hh:mm:ss $item['numLikes'] // Video likes count $item['link'] // Video link $item['image']['default'] // 'Default' thumbnail (low quality) $item['image']['mqdefault'] // Medium quality thumbnail $item['image']['hqdefault'] // High quality thumbnail Here’s an example of some code that adds a custom function to our mb_construct_plain filter (assuming we’ve already removed the default functions). Keep in mind the 3 at the end. That lets WordPress expect our three arguments that will be passed through. Check out WordPress’ add_filter() page for more info. add_filter( 'mb_construct_plain', 'construct_plain_example', 10, 3 ); function construct_plain_example( $youtube_videos, $number, $tab ) { $output = ''; foreach( $youtube_videos as $youtube_video ) { // If we've reached the user's display limit, end the loop if( $i == $number ) break; $output .= ' '; $output .= ' '; $output .= $youtube_video['title']; $output .= ' '; $output .= ' '; $i++; } return $output; } Pretty basic, but it allows you to see a general example of how to loop through the objects and return the modified data. The above code will produce a list element like this one: Real Life Portal Gun