Version Description
Download this release
Release Info
Developer | cbaldelomar |
Plugin | Shortcodes by Angie Makes |
Version | 1.78 |
Comparing to | |
See all releases |
Code changes from version 1.77 to 1.78
- README.md +4 -0
- includes/scripts.php +4 -1
- includes/shortcode-functions.php +4 -4
- readme.txt +5 -1
- wc-shortcodes.php +2 -2
README.md
CHANGED
@@ -66,6 +66,10 @@ Use the shortcode manager in the TinyMCE text editor
|
|
66 |
|
67 |
## Changelog ##
|
68 |
|
|
|
|
|
|
|
|
|
69 |
### Version 1.77
|
70 |
|
71 |
* minor update to shortcodes row structure
|
66 |
|
67 |
## Changelog ##
|
68 |
|
69 |
+
### Version 1.78
|
70 |
+
|
71 |
+
* Updated share links
|
72 |
+
|
73 |
### Version 1.77
|
74 |
|
75 |
* minor update to shortcodes row structure
|
includes/scripts.php
CHANGED
@@ -56,7 +56,10 @@ if( ! function_exists('wc_shortcodes_scripts_override') ) :
|
|
56 |
wp_register_style( 'wordpresscanvas-font-awesome', plugin_dir_url( __FILE__ ) . 'css/font-awesome.css', array( ), '4.3.0' );
|
57 |
wp_enqueue_style( 'wordpresscanvas-font-awesome' );
|
58 |
}
|
59 |
-
|
|
|
|
|
|
|
60 |
}
|
61 |
add_action('wp_enqueue_scripts', 'wc_shortcodes_scripts_override', 9999 );
|
62 |
endif;
|
56 |
wp_register_style( 'wordpresscanvas-font-awesome', plugin_dir_url( __FILE__ ) . 'css/font-awesome.css', array( ), '4.3.0' );
|
57 |
wp_enqueue_style( 'wordpresscanvas-font-awesome' );
|
58 |
}
|
59 |
+
|
60 |
+
/* if ( ! wp_script_is( 'pinit', 'registered' ) ) {
|
61 |
+
wp_register_script( 'pinit', '//assets.pinterest.com/js/pinit.js', array(), false, true);
|
62 |
+
} */
|
63 |
}
|
64 |
add_action('wp_enqueue_scripts', 'wc_shortcodes_scripts_override', 9999 );
|
65 |
endif;
|
includes/shortcode-functions.php
CHANGED
@@ -1528,7 +1528,7 @@ if ( ! function_exists('wc_shortcodes_share_buttons') ) {
|
|
1528 |
break;
|
1529 |
case 'facebook' :
|
1530 |
$html .= '<li class="wc-shortcodes-share-button-icon wc-shortcode-share-button-icon-' . $key . $first_class . '">';
|
1531 |
-
$html .='<a target="_blank"
|
1532 |
switch ( $format ) {
|
1533 |
case 'image' :
|
1534 |
$html .= '<img src="'.$icon_url.'" alt="'.$icon_text.'">';
|
@@ -1545,7 +1545,7 @@ if ( ! function_exists('wc_shortcodes_share_buttons') ) {
|
|
1545 |
break;
|
1546 |
case 'twitter' :
|
1547 |
$html .= '<li class="wc-shortcodes-share-button-icon wc-shortcode-share-button-icon-' . $key . $first_class . '">';
|
1548 |
-
$html .='<a target="_blank" onclick="return !window.open(this.href, \'Twitter\', \'width=500,height=430\')" href="https://twitter.com/share?
|
1549 |
switch ( $format ) {
|
1550 |
case 'image' :
|
1551 |
$html .= '<img src="'.$icon_url.'" alt="'.$icon_text.'">';
|
@@ -1562,7 +1562,7 @@ if ( ! function_exists('wc_shortcodes_share_buttons') ) {
|
|
1562 |
break;
|
1563 |
case 'email' :
|
1564 |
$html .= '<li class="wc-shortcodes-share-button-icon wc-shortcode-share-button-icon-' . $key . $first_class . '">';
|
1565 |
-
$html .='<a title="Share by Email"
|
1566 |
switch ( $format ) {
|
1567 |
case 'image' :
|
1568 |
$html .= '<img src="'.$icon_url.'" alt="'.$icon_text.'">';
|
@@ -1579,7 +1579,7 @@ if ( ! function_exists('wc_shortcodes_share_buttons') ) {
|
|
1579 |
break;
|
1580 |
case 'google' :
|
1581 |
$html .= '<li class="wc-shortcodes-share-button-icon wc-shortcode-share-button-icon-' . $key . $first_class . '">';
|
1582 |
-
$html .='<a href="https://plus.google.com/share?url='.
|
1583 |
switch ( $format ) {
|
1584 |
case 'image' :
|
1585 |
$html .= '<img src="'.$icon_url.'" alt="'.$icon_text.'">';
|
1528 |
break;
|
1529 |
case 'facebook' :
|
1530 |
$html .= '<li class="wc-shortcodes-share-button-icon wc-shortcode-share-button-icon-' . $key . $first_class . '">';
|
1531 |
+
$html .='<a target="_blank" href="http://www.facebook.com/sharer/sharer.php?u='.get_permalink().'&t='.urlencode(get_the_title()).'">';
|
1532 |
switch ( $format ) {
|
1533 |
case 'image' :
|
1534 |
$html .= '<img src="'.$icon_url.'" alt="'.$icon_text.'">';
|
1545 |
break;
|
1546 |
case 'twitter' :
|
1547 |
$html .= '<li class="wc-shortcodes-share-button-icon wc-shortcode-share-button-icon-' . $key . $first_class . '">';
|
1548 |
+
$html .='<a target="_blank" onclick="return !window.open(this.href, \'Twitter\', \'width=500,height=430\')" href="https://twitter.com/share?text='.urlencode(get_the_title()).'&url='.get_permalink().'" class="share-button-twitter" data-lang="en">';
|
1549 |
switch ( $format ) {
|
1550 |
case 'image' :
|
1551 |
$html .= '<img src="'.$icon_url.'" alt="'.$icon_text.'">';
|
1562 |
break;
|
1563 |
case 'email' :
|
1564 |
$html .= '<li class="wc-shortcodes-share-button-icon wc-shortcode-share-button-icon-' . $key . $first_class . '">';
|
1565 |
+
$html .='<a title="Share by Email" href="mailto:?subject='.urlencode(get_the_title()).'&body='.get_permalink().'">';
|
1566 |
switch ( $format ) {
|
1567 |
case 'image' :
|
1568 |
$html .= '<img src="'.$icon_url.'" alt="'.$icon_text.'">';
|
1579 |
break;
|
1580 |
case 'google' :
|
1581 |
$html .= '<li class="wc-shortcodes-share-button-icon wc-shortcode-share-button-icon-' . $key . $first_class . '">';
|
1582 |
+
$html .='<a target="_blank" href="https://plus.google.com/share?url='.get_permalink().'">';
|
1583 |
switch ( $format ) {
|
1584 |
case 'image' :
|
1585 |
$html .= '<img src="'.$icon_url.'" alt="'.$icon_text.'">';
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Contributors: cbaldelomar
|
|
4 |
Donate link: http://webplantmedia.com/donate/
|
5 |
Tags: shortcode, shortcodes, accordion, accordions, tab, tabs, toggle, columns, column, section, sections, testimonials, border, borders, button, buttons, fullwidth, full width, notification, notifications, google maps, maps, googlemaps, social icons, progress bar, pricing, pricing box, highlights, image, flags, banners, countdown, rsvp, custom html, code, code snippets, snippets, isotope, masonry, posts, post_type, font awesome, icons, fontawesome, fa icons
|
6 |
Requires at least: 3.7
|
7 |
-
Tested up to: 4.3
|
8 |
Stable tag: trunk
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -88,6 +88,10 @@ Use the shortcode manager in the TinyMCE text editor
|
|
88 |
|
89 |
== Changelog ==
|
90 |
|
|
|
|
|
|
|
|
|
91 |
= Version 1.77 =
|
92 |
|
93 |
* minor update to shortcodes row structure
|
4 |
Donate link: http://webplantmedia.com/donate/
|
5 |
Tags: shortcode, shortcodes, accordion, accordions, tab, tabs, toggle, columns, column, section, sections, testimonials, border, borders, button, buttons, fullwidth, full width, notification, notifications, google maps, maps, googlemaps, social icons, progress bar, pricing, pricing box, highlights, image, flags, banners, countdown, rsvp, custom html, code, code snippets, snippets, isotope, masonry, posts, post_type, font awesome, icons, fontawesome, fa icons
|
6 |
Requires at least: 3.7
|
7 |
+
Tested up to: 4.3.1
|
8 |
Stable tag: trunk
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
88 |
|
89 |
== Changelog ==
|
90 |
|
91 |
+
= Version 1.78 =
|
92 |
+
|
93 |
+
* Updated share links
|
94 |
+
|
95 |
= Version 1.77 =
|
96 |
|
97 |
* minor update to shortcodes row structure
|
wc-shortcodes.php
CHANGED
@@ -5,11 +5,11 @@ Plugin URI: http://webplantmedia.com/starter-themes/wordpresscanvas/features/sho
|
|
5 |
Description: A family of shortcodes to enhance site functionality.
|
6 |
Author: Chris Baldelomar
|
7 |
Author URI: http://webplantmedia.com/
|
8 |
-
Version: 1.
|
9 |
License: GPLv2 or later
|
10 |
*/
|
11 |
|
12 |
-
define( 'WC_SHORTCODES_VERSION', '1.
|
13 |
define( 'WC_SHORTCODES_PREFIX', 'wc_shortcodes_' );
|
14 |
define( '_WC_SHORTCODES_PREFIX', '_wc_shortcodes_' );
|
15 |
define( 'WC_SHORTCODES_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
5 |
Description: A family of shortcodes to enhance site functionality.
|
6 |
Author: Chris Baldelomar
|
7 |
Author URI: http://webplantmedia.com/
|
8 |
+
Version: 1.78
|
9 |
License: GPLv2 or later
|
10 |
*/
|
11 |
|
12 |
+
define( 'WC_SHORTCODES_VERSION', '1.78' );
|
13 |
define( 'WC_SHORTCODES_PREFIX', 'wc_shortcodes_' );
|
14 |
define( '_WC_SHORTCODES_PREFIX', '_wc_shortcodes_' );
|
15 |
define( 'WC_SHORTCODES_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|