> Ruven Themes: Sharing Links wordpress plugin resources analysis

Ruven Themes: Sharing Links wordpress plugin resources analysis

Download This Plugin
Download Elegant Themes
Name Ruven Themes: Sharing Links
Version 1.1
Author Ruven
Rating 80
Last updated 2014-09-05 02:24:00
Downloads
365
Download Plugins Speed Test plugin for Wordpress

Home page

Delta: 0%

Post page

Delta: 0%
Ruven Themes: Sharing Links plugin has no negative impact on PageSpeed score.

Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%

Ruven Themes: Sharing Links plugin added 1 bytes of resources to the Home page and 17 bytes of resources to the sample Post page.

Ruven Themes: Sharing Links plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.

Great! Ruven Themes: Sharing Links plugin ads no tables to your Wordpress blog database.

This plugin provides a function to output links to share a post to Facebook, Twitter, and Google+.

Selected themes by Ruven will display the links automatically when the plugin is activated. In other themes you will have to edit the templates in your theme in order to output the links.

Here an example of outputting the links in as list:

<?php
if(function_exists('ruven_sharing_links')) {
    echo '<ul class="sharing-list">';
    $sharing_links = ruven_sharing_links();
    foreach($sharing_links as $sharing_link) {
      echo "<li>$sharing_link</li>";
    }
    echo '</ul>';
}
?>

Usage

$sharing_links = ruven_sharing_links( $get_array, $include, $open_in_new_tab, $class );

Parameters

$get_array (bool) (optional) If you want the return value to be an associative array (title, URL) or an array of HTML links. By getting an associative array, you are able to customize the output more.

Default: false

$include (array) (optional) If you don't want all platforms (Facebook, Twitter, and Google+) included, you can specify here which you want specifically to be returned. E.g. array('Twitter', 'Facebook') would only return Twitter and Facebook links.

Default: array()

$open_in_new_tab (bool) (optional) If you want the sharing dialog to be opened in a new tab/window or not.

Default: true

$class (array) (optional) Classes you want to add to the links. E.g. array('sharing-button', 'big-button')

Default: array()

Return Value

If the value of $get_array is false (default), the function returns an array of HTML links.

If the value of $get_array is true, the function returns an associative array of the title (e.g. "Twitter") and the URL to share the post.

Resources added by plugin to Home page/Post page in kB
Total size of resources for Home page/Post page in kB
Random Theme Tests
Omaha screenshot

Omaha

by: tytus-tytus

1186
0%
Red Shadow screenshot

Red Shadow

by: Cristian Nistor

16062
0%