Version Description
- 2013-06-09 =
- minor changes
Download this release
Release Info
Developer | webvitaly |
Plugin | iframe |
Version | 2.7 |
Comparing to | |
See all releases |
Code changes from version 2.6 to 2.7
- iframe.php +3 -3
- readme.txt +19 -11
iframe.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: iframe
|
4 |
-
Plugin URI: http://wordpress.org/
|
5 |
Description: [iframe src="http://www.youtube.com/embed/A3PDXmYoF5U" width="100%" height="480"] shortcode
|
6 |
-
Version: 2.
|
7 |
Author: webvitaly
|
8 |
Author URI: http://web-profile.com.ua/wordpress/plugins/
|
9 |
License: GPLv2 or later
|
@@ -90,7 +90,7 @@ if ( ! function_exists( 'iframe_unqprfx_embed_shortcode' ) ) :
|
|
90 |
';
|
91 |
}
|
92 |
}
|
93 |
-
$html .= "\n".'<!-- iframe plugin v.2.
|
94 |
$html .= '<iframe';
|
95 |
foreach( $atts as $attr => $value ) {
|
96 |
if( $attr != 'same_height_as' ){ // remove some attributes
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: iframe
|
4 |
+
Plugin URI: http://wordpress.org/plugins/iframe/
|
5 |
Description: [iframe src="http://www.youtube.com/embed/A3PDXmYoF5U" width="100%" height="480"] shortcode
|
6 |
+
Version: 2.7
|
7 |
Author: webvitaly
|
8 |
Author URI: http://web-profile.com.ua/wordpress/plugins/
|
9 |
License: GPLv2 or later
|
90 |
';
|
91 |
}
|
92 |
}
|
93 |
+
$html .= "\n".'<!-- iframe plugin v.2.7 wordpress.org/plugins/iframe/ -->'."\n";
|
94 |
$html .= '<iframe';
|
95 |
foreach( $atts as $attr => $value ) {
|
96 |
if( $attr != 'same_height_as' ){ // remove some attributes
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://web-profile.com.ua/donate/
|
|
4 |
Tags: iframe, embed, youtube, vimeo, google-map, google-maps
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.5.1
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -13,24 +13,29 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
13 |
== Description ==
|
14 |
|
15 |
**[iframe](http://web-profile.com.ua/wordpress/plugins/iframe/ "Plugin page")** |
|
16 |
-
**[All iframe params](http://wordpress.org/
|
17 |
**[Donate](http://web-profile.com.ua/donate/ "Support the development")**
|
18 |
|
19 |
-
|
|
|
|
|
|
|
|
|
20 |
|
21 |
-
|
|
|
22 |
|
23 |
-
|
24 |
-
[embed] shortcode is a WordPress
|
25 |
|
26 |
-
= Useful
|
27 |
-
* ["Anti-spam" - block spam in comments](http://wordpress.org/
|
28 |
-
* ["Page-list" - show list of pages with shortcodes](http://wordpress.org/
|
29 |
-
* ["
|
30 |
|
31 |
== Other Notes ==
|
32 |
|
33 |
-
=
|
34 |
* **src** - source of the iframe `[iframe src="http://www.youtube.com/embed/A3PDXmYoF5U"]` (by default src="http://www.youtube.com/embed/A3PDXmYoF5U");
|
35 |
* **width** - width in pixels or in percents `[iframe width="100%" src="http://www.youtube.com/embed/A3PDXmYoF5U"]` or `[iframe width="640" src="http://www.youtube.com/embed/A3PDXmYoF5U"]` (by default width="100%");
|
36 |
* **height** - height in pixels `[iframe height="480" src="http://www.youtube.com/embed/A3PDXmYoF5U"]` (by default height="480");
|
@@ -53,6 +58,9 @@ You also can use this shortcode to embed content via simple link: `[embed]http:/
|
|
53 |
|
54 |
== Changelog ==
|
55 |
|
|
|
|
|
|
|
56 |
= 2.6 - 2013-03-18 =
|
57 |
* minor changes
|
58 |
|
4 |
Tags: iframe, embed, youtube, vimeo, google-map, google-maps
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.5.1
|
7 |
+
Stable tag: 2.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
13 |
== Description ==
|
14 |
|
15 |
**[iframe](http://web-profile.com.ua/wordpress/plugins/iframe/ "Plugin page")** |
|
16 |
+
**[All iframe params](http://wordpress.org/plugins/iframe/other_notes/)** |
|
17 |
**[Donate](http://web-profile.com.ua/donate/ "Support the development")**
|
18 |
|
19 |
+
[iframe src="http://www.youtube.com/embed/A3PDXmYoF5U" width="100%" height="480"] shortcode
|
20 |
+
should show something like this:
|
21 |
+
|
22 |
+
[youtube http://www.youtube.com/watch?v=A3PDXmYoF5U]
|
23 |
+
|
24 |
|
25 |
+
Iframe shortcode is the replacement of the iframe html tag and accepts the same [params as iframe](http://wordpress.org/plugins/iframe/other_notes/) html tag does.
|
26 |
+
You may use iframe shortcode to embed content from YouTube, Vimeo, Google Maps or from any external page.
|
27 |
|
28 |
+
If you need to embed content from YouTube, Vimeo, SlideShare, SoundCloud, Twitter via direct link, you may use `[embed]http://www.youtube.com/watch?v=A3PDXmYoF5U[/embed]` shortcode.
|
29 |
+
[embed] shortcode is a core WordPress feature and can [embed content from many resources via direct link](http://codex.wordpress.org/Embeds).
|
30 |
|
31 |
+
= Useful: =
|
32 |
+
* ["Anti-spam" - block spam in comments](http://wordpress.org/plugins/anti-spam/ "no spam, no captcha")
|
33 |
+
* ["Page-list" - show list of pages with shortcodes](http://wordpress.org/plugins/page-list/ "list of pages with shortcodes")
|
34 |
+
* ["activetab" - responsive light theme](http://wordpress.org/themes/activetab "responsive light theme")
|
35 |
|
36 |
== Other Notes ==
|
37 |
|
38 |
+
= iframe params: =
|
39 |
* **src** - source of the iframe `[iframe src="http://www.youtube.com/embed/A3PDXmYoF5U"]` (by default src="http://www.youtube.com/embed/A3PDXmYoF5U");
|
40 |
* **width** - width in pixels or in percents `[iframe width="100%" src="http://www.youtube.com/embed/A3PDXmYoF5U"]` or `[iframe width="640" src="http://www.youtube.com/embed/A3PDXmYoF5U"]` (by default width="100%");
|
41 |
* **height** - height in pixels `[iframe height="480" src="http://www.youtube.com/embed/A3PDXmYoF5U"]` (by default height="480");
|
58 |
|
59 |
== Changelog ==
|
60 |
|
61 |
+
= 2.7 - 2013-06-09 =
|
62 |
+
* minor changes
|
63 |
+
|
64 |
= 2.6 - 2013-03-18 =
|
65 |
* minor changes
|
66 |
|