Tabby Responsive Tabs - Version 1.2.3

Version Description

  • Enable targeting the tab from url query string when the title contains an accent
Download this release

Release Info

Developer numeeja
Plugin Icon 128x128 Tabby Responsive Tabs
Version 1.2.3
Comparing to
See all releases

Code changes from version 1.2.2 to 1.2.3

Files changed (2) hide show
  1. readme.txt +23 -14
  2. tabby-responsive-tabs.php +2 -2
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: numeeja
3
  Donate link: http://cubecolour.co.uk/wp
4
  Tags: tabs, tab, responsive, accordion, shortcode
5
  Requires at least: 3.7
6
- Tested up to: 4.4
7
- Stable tag: 1.2.2
8
  License: GPLv2 / MIT
9
 
10
  Create responsive tabs inside your posts, pages or custom post content by adding simple shortcodes inside the post editor.
@@ -71,7 +71,11 @@ If you want to change how the tabs and accordion display on your site, you have
71
 
72
  2. Copy the contents of the plugin's stylesheet into your child theme or custom styles plugin and make the changes to the copy as required. If you do this you will also need to prevent the built-in styles from loading by adding the following line to your child theme's functions.php or a custom functionality plugin:
73
 
74
- `<?php remove_action('wp_print_styles', 'cc_tabby_css', 30); ?>`
 
 
 
 
75
 
76
  = Additional Shortcode attributes =
77
 
@@ -95,17 +99,16 @@ The markup required to show an icon alongside a tab title can be added by using
95
  [tabby title="My Tab" icon="cog"]
96
 
97
  `
98
- This adds a pseudo element before the tab title with the classes "fa" and "fa-cog". Other icon font sets can be used if you ensure the CSS rules target the classes added by the plugin.
99
 
100
  The [Tabby Responsive Tabs Customiser](http://cubecolour.co.uk/tabby-responsive-tabs-customiser/ "Tabby Responsive Tabs Customiser") plugin can be used to add the Font Awesome files required to display the icons in the tab titles.
101
 
102
 
103
  = Controlling which tab is open when linking to the page =
104
- You can use a 'target' URL parameter to set which tab will be open when the page initially loads. The value of this parameter is based on the tab title specified in the tabby shortcode, but formatted with punctuation & special characters removed and with dashes replacing the spaces.
105
 
106
  If you want to link to a 'contacts' page with a tab titled 'Phone Numbers' open, the url you use to link to this page would look like:
107
  `
108
-
109
  yoursite.com/contact/?target=phone-numbers
110
 
111
  `
@@ -113,7 +116,10 @@ If you want a tab with the title 'email addresses' to be open, the url would loo
113
  `
114
  yoursite.com/contact/?target=email-addresses
115
  `
116
-
 
 
 
117
  == Installation ==
118
 
119
  1. Upload the Tabby Responsive Tabs plugin folder to your '/wp-content/plugins/' directory
@@ -143,7 +149,6 @@ If you require a greater level of support than can be provided on the plugin sup
143
  = How can I remove extra paragraph tags which appear at the beginning or end of the tab content? =
144
  These extra tags are often be added by WordPress's wpautop function. It is recommended to leave a blank line before and after each tabby shortcode to prevent these from appearing.
145
 
146
-
147
  = Pasted-in shortcodes aren't working or the tabs have a 'stepped' appearance =
148
  If you are copying & pasting the example shortcodes into the visual editor and the shortcodes don't seem to be working or the tabs appear in a stepped configuration, look at the page in the text editor to be sure that you aren't adding in any extra markup that isn't visible in the visual editor. Delete any opening and closing &lt;pre&gt; and/or &lt;code&gt; tags pairs surrounding the tab shortcodes. (this would apply to any plugin using shortcodes).
149
 
@@ -202,7 +207,7 @@ add_filter('widget_text', 'do_shortcode');
202
  This filter will enable you to use any shortcodes within text widgets.
203
 
204
 
205
- = Can I nest a Tag Group within an existing tab? =
206
 
207
  No, this is not supported.
208
 
@@ -277,11 +282,7 @@ For more details please see: [Tabby Link to Tab plugin](http://cubecolour.co.uk/
277
 
278
  = How much do the Tabby Responsive Tabs Customiser & Tabby Link to Tab add-ons cost? =
279
 
280
- These cost 19GBP each for use on a single site. A developer option for each is also available or 99GBP which can be used on all the sites you own or control.
281
-
282
- == Other Notes ==
283
-
284
- The plugin is licenced under [GNU GPLv2](http://opensource.org/licenses/GPL-2.0 "GNU GPLv2"), however as the original responsive tabs script was [hosted at codepen as a public pen](http://blog.codepen.io/legal/licensing/ "hosted at codepen as a public pen"), the GPL compatible [MIT license](http://opensource.org/licenses/MIT "MIT license") applies to that component.
285
 
286
  == Screenshots ==
287
 
@@ -291,6 +292,10 @@ The plugin is licenced under [GNU GPLv2](http://opensource.org/licenses/GPL-2.0
291
 
292
  == Changelog ==
293
 
 
 
 
 
294
  = 1.2.2 =
295
 
296
  * Included print stylesheet as a separate file
@@ -334,6 +339,10 @@ The plugin is licenced under [GNU GPLv2](http://opensource.org/licenses/GPL-2.0
334
 
335
  == Upgrade Notice ==
336
 
 
 
 
 
337
  = 1.2.2 =
338
 
339
  * Included print stylesheet as a separate file
3
  Donate link: http://cubecolour.co.uk/wp
4
  Tags: tabs, tab, responsive, accordion, shortcode
5
  Requires at least: 3.7
6
+ Tested up to: 4.9.1
7
+ Stable tag: 1.2.3
8
  License: GPLv2 / MIT
9
 
10
  Create responsive tabs inside your posts, pages or custom post content by adding simple shortcodes inside the post editor.
71
 
72
  2. Copy the contents of the plugin's stylesheet into your child theme or custom styles plugin and make the changes to the copy as required. If you do this you will also need to prevent the built-in styles from loading by adding the following line to your child theme's functions.php or a custom functionality plugin:
73
 
74
+ code:
75
+
76
+ `
77
+ <?php remove_action('wp_print_styles', 'cc_tabby_css', 30); ?>
78
+ `
79
 
80
  = Additional Shortcode attributes =
81
 
99
  [tabby title="My Tab" icon="cog"]
100
 
101
  `
102
+ This adds a pseudo-element before the tab title with the classes "fa" and "fa-cog". Other icon font sets can be used if you ensure the CSS rules target the classes added by the plugin.
103
 
104
  The [Tabby Responsive Tabs Customiser](http://cubecolour.co.uk/tabby-responsive-tabs-customiser/ "Tabby Responsive Tabs Customiser") plugin can be used to add the Font Awesome files required to display the icons in the tab titles.
105
 
106
 
107
  = Controlling which tab is open when linking to the page =
108
+ You can use a 'target' URL parameter to set which tab will be open when the page initially loads. The value of this parameter is based on the tab title specified in the tabby shortcode, but formatted with punctuation & special characters removed, accents removed, and with dashes replacing the spaces.
109
 
110
  If you want to link to a 'contacts' page with a tab titled 'Phone Numbers' open, the url you use to link to this page would look like:
111
  `
 
112
  yoursite.com/contact/?target=phone-numbers
113
 
114
  `
116
  `
117
  yoursite.com/contact/?target=email-addresses
118
  `
119
+ If you want a tab with the title 'entr&eacute;es' to be open (with an acute accent over the second e), the url would look like:
120
+ `
121
+ yoursite.com/contact/?target=entrees
122
+ `
123
  == Installation ==
124
 
125
  1. Upload the Tabby Responsive Tabs plugin folder to your '/wp-content/plugins/' directory
149
  = How can I remove extra paragraph tags which appear at the beginning or end of the tab content? =
150
  These extra tags are often be added by WordPress's wpautop function. It is recommended to leave a blank line before and after each tabby shortcode to prevent these from appearing.
151
 
 
152
  = Pasted-in shortcodes aren't working or the tabs have a 'stepped' appearance =
153
  If you are copying & pasting the example shortcodes into the visual editor and the shortcodes don't seem to be working or the tabs appear in a stepped configuration, look at the page in the text editor to be sure that you aren't adding in any extra markup that isn't visible in the visual editor. Delete any opening and closing &lt;pre&gt; and/or &lt;code&gt; tags pairs surrounding the tab shortcodes. (this would apply to any plugin using shortcodes).
154
 
207
  This filter will enable you to use any shortcodes within text widgets.
208
 
209
 
210
+ = Can I nest a tag group within an existing tab? =
211
 
212
  No, this is not supported.
213
 
282
 
283
  = How much do the Tabby Responsive Tabs Customiser & Tabby Link to Tab add-ons cost? =
284
 
285
+ These cost 19GBP each for use on a single site. A developer option for each is also available or 79GBP which can be used on all the sites you own or control.
 
 
 
 
286
 
287
  == Screenshots ==
288
 
292
 
293
  == Changelog ==
294
 
295
+ = 1.2.3 =
296
+
297
+ * Enable targeting the tab from url query string when the title contains an accent
298
+
299
  = 1.2.2 =
300
 
301
  * Included print stylesheet as a separate file
339
 
340
  == Upgrade Notice ==
341
 
342
+ = 1.2.3 =
343
+
344
+ * Enable targeting the tab from url query string when the title contains an accent
345
+
346
  = 1.2.2 =
347
 
348
  * Included print stylesheet as a separate file
tabby-responsive-tabs.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Tabby Responsive Tabs
4
  Plugin URI: http://cubecolour.co.uk/tabby-responsive-tabs
5
  Description: Create responsive tabs inside your posts, pages or custom post types by adding simple shortcodes. An easy to use admin page can be added to customise the tab styles with the optional Tabby Responsive Tabs Customiser add-on plugin.
6
  Author: cubecolour
7
- Version: 1.2.2
8
  Author URI: http://cubecolour.co.uk
9
 
10
  Tabby Responsive Tabs WordPress plugin Copyright 2013-2015 Michael Atkins
@@ -176,7 +176,7 @@ function cc_shortcode_tabby( $atts, $content = null ) {
176
  "icon" => '',
177
  ), $atts, 'tabbytab'));
178
 
179
- $tabtarget = sanitize_title_with_dashes( $title );
180
 
181
  //initialise urltarget
182
  $urltarget = '';
4
  Plugin URI: http://cubecolour.co.uk/tabby-responsive-tabs
5
  Description: Create responsive tabs inside your posts, pages or custom post types by adding simple shortcodes. An easy to use admin page can be added to customise the tab styles with the optional Tabby Responsive Tabs Customiser add-on plugin.
6
  Author: cubecolour
7
+ Version: 1.2.3
8
  Author URI: http://cubecolour.co.uk
9
 
10
  Tabby Responsive Tabs WordPress plugin Copyright 2013-2015 Michael Atkins
176
  "icon" => '',
177
  ), $atts, 'tabbytab'));
178
 
179
+ $tabtarget = sanitize_title_with_dashes( remove_accents( wp_kses_decode_entities( $title ) ) );
180
 
181
  //initialise urltarget
182
  $urltarget = '';