Responsive Facebook Page Plugin - Version 1.3.0

Version Description

  • Added hide-cta, small-header and adapt-container-width settings
  • Adjusted min height and width
Download this release

Release Info

Developer cameronjonesweb
Plugin Icon 128x128 Responsive Facebook Page Plugin
Version 1.3.0
Comparing to
See all releases

Code changes from version 1.2.5 to 1.3.0

facebook-page-feed-graph-api.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Facebook Page Plugin
4
  * Plugin URI: https://cameronjones.x10.mx/projects/facebook-page-plugin
5
  * Description: It's time to upgrade from your old like box! Display the Facebook Page Plugin from the Graph API using a shortcode or widget. Now available in 136 different languages
6
- * Version: 1.2.5
7
  * Author: Cameron Jones
8
  * Author URI: http://cameronjones.x10.mx
9
  * License: GPLv2
@@ -35,17 +35,20 @@ function facebook_page_plugin( $filter ) {
35
  $return = NULL;
36
  $a = shortcode_atts( array(
37
  'href' => NULL,
38
- 'width' => 280,
39
  'height' => 130,
40
  'cover' => NULL,
41
  'facepile' => NULL,
42
  'posts' => NULL,
43
- 'language' => get_bloginfo('language')
 
 
 
44
  ), $filter );
45
  if(isset($a['href']) && !empty($a['href'])){
46
  $a['language'] = str_replace("-", "_", $a['language']);
47
- $return .= '<div id="fb-root" data-version="1.2.5"></div><script async>(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "//connect.facebook.net/' . $a['language'] . '/sdk.js#xfbml=1&appId=191521884244670&version=v2.3";fjs.parentNode.insertBefore(js, fjs); }(document, \'script\', \'facebook-jssdk\'));</script>';
48
- $return .= '<div class="fb-page" data-version="1.2.5" data-href="https://facebook.com/' . $a["href"] . '" ';
49
  if(isset($a['width']) && !empty($a['width'])){
50
  $return .= ' data-width="' . $a['width'] . '"';
51
  }
@@ -53,21 +56,28 @@ function facebook_page_plugin( $filter ) {
53
  $return .= ' data-height="' . $a['height'] . '"';
54
  }
55
  if(isset($a['cover']) && !empty($a['cover'])){
56
- switch($a['cover']){
57
- case "true":
58
- $a['cover'] = false;
59
- break;
60
- case "false":
61
- $a['cover'] = true;
62
- break;
63
- }
64
- $return .= ' data-hide-cover="' . $a['cover'] . '"';
65
  }
66
  if(isset($a['facepile']) && !empty($a['facepile'])){
67
  $return .= ' data-show-facepile="' . $a['facepile'] . '"';
68
  }
69
  if(isset($a['posts']) && !empty($a['posts'])){
70
- $return .= ' data-show-posts="true"';
 
 
 
 
 
 
 
 
 
 
 
71
  }
72
  $return .= '></div>';
73
  }
@@ -91,11 +101,14 @@ function facebook_page_plugin_dashboard_widget_callback() {
91
  }
92
  echo '<form>';
93
  echo '<p><label>Facebook Page URL: <input type="url" id="fbpp-href" /></label></p>';
94
- echo '<p><label>Width (pixels): <input type="number" max="500" min="280" id="fbpp-width" /></label></p>';
95
- echo '<p><label>Height (pixels): <input type="number" min="130" id="fbpp-height" /></label></p>';
96
  echo '<p><label>Show Cover Photo: <input type="checkbox" value="true" id="fbpp-cover" /></label></p>';
97
  echo '<p><label>Show Facepile: <input type="checkbox" value="true" id="fbpp-facepile" /></label></p>';
98
  echo '<p><label>Show Posts Feed: <input type="checkbox" value="true" id="fbpp-posts" /></label></p>';
 
 
 
99
  echo '<p><label>Language: <select id="fbpp-lang" /><option value="">Site Language</option>';
100
  if(isset($langs) && !empty($langs)){
101
  foreach($langs as $lang){
@@ -154,6 +167,21 @@ class facebook_page_plugin_widget extends WP_Widget {
154
  } else {
155
  $posts = NULL;
156
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
  if(isset($instance['language']) && !empty($instance['language'])){
158
  $language = $instance['language'];
159
  } else {
@@ -183,6 +211,15 @@ class facebook_page_plugin_widget extends WP_Widget {
183
  if(isset($language) && !empty($language)){
184
  $shortcode .= ' language="' . $language . '"';
185
  }
 
 
 
 
 
 
 
 
 
186
  $shortcode .= ']';
187
  echo do_shortcode( $shortcode );
188
  }
@@ -224,6 +261,21 @@ class facebook_page_plugin_widget extends WP_Widget {
224
  } else {
225
  $posts = 'false';
226
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
227
  if ( isset( $instance[ 'language' ] ) ) {
228
  $language = $instance[ 'language' ];
229
  } else {
@@ -255,13 +307,13 @@ class facebook_page_plugin_widget extends WP_Widget {
255
  echo '<label for="<?php' . $this->get_field_id( 'width' ) . '">';
256
  echo _e( 'Width:' );
257
  echo '</label>';
258
- echo '<input class="widefat" id="' . $this->get_field_id( 'width' ) . '" name="' . $this->get_field_name( 'width' ) . '" type="number" min="280" max="500" value="' . esc_attr( $width ) . '" />';
259
  echo '</p>';
260
  echo '<p>';
261
  echo '<label for="<?php' . $this->get_field_id( 'height' ) . '">';
262
  echo _e( 'Height:' );
263
  echo '</label>';
264
- echo '<input class="widefat" id="' . $this->get_field_id( 'height' ) . '" name="' . $this->get_field_name( 'height' ) . '" type="number" min="130" value="' . esc_attr( $height ) . '" />';
265
  echo '</p>';
266
  echo '<p>';
267
  echo '<label for="<?php' . $this->get_field_id( 'cover' ) . '">';
@@ -280,6 +332,24 @@ class facebook_page_plugin_widget extends WP_Widget {
280
  echo _e( 'Show Posts:' );
281
  echo '</label>';
282
  echo ' <input class="widefat" id="' . $this->get_field_id( 'posts' ) . '" name="' . $this->get_field_name( 'posts' ) . '" type="checkbox" value="true" ' . checked( esc_attr( $posts ), 'true', false ) . ' />';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
283
  echo '</p>';
284
  echo '<p>';
285
  echo '<label for="<?php' . $this->get_field_id( 'language' ) . '">';
@@ -306,6 +376,9 @@ class facebook_page_plugin_widget extends WP_Widget {
306
  $instance['cover'] = ( ! empty( $new_instance['cover'] ) ) ? strip_tags( $new_instance['cover'] ) : '';
307
  $instance['facepile'] = ( ! empty( $new_instance['facepile'] ) ) ? strip_tags( $new_instance['facepile'] ) : '';
308
  $instance['posts'] = ( ! empty( $new_instance['posts'] ) ) ? strip_tags( $new_instance['posts'] ) : '';
 
 
 
309
  $instance['language'] = ( ! empty( $new_instance['language'] ) ) ? strip_tags( $new_instance['language'] ) : '';
310
  return $instance;
311
  }
3
  * Plugin Name: Facebook Page Plugin
4
  * Plugin URI: https://cameronjones.x10.mx/projects/facebook-page-plugin
5
  * Description: It's time to upgrade from your old like box! Display the Facebook Page Plugin from the Graph API using a shortcode or widget. Now available in 136 different languages
6
+ * Version: 1.3.0
7
  * Author: Cameron Jones
8
  * Author URI: http://cameronjones.x10.mx
9
  * License: GPLv2
35
  $return = NULL;
36
  $a = shortcode_atts( array(
37
  'href' => NULL,
38
+ 'width' => 340,
39
  'height' => 130,
40
  'cover' => NULL,
41
  'facepile' => NULL,
42
  'posts' => NULL,
43
+ 'language' => get_bloginfo('language'),
44
+ 'cta' => NULL,
45
+ 'small' => NULL,
46
+ 'adapt' => NULL,
47
  ), $filter );
48
  if(isset($a['href']) && !empty($a['href'])){
49
  $a['language'] = str_replace("-", "_", $a['language']);
50
+ $return .= '<div id="fb-root" data-version="1.2.6"></div><script async>(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "//connect.facebook.net/' . $a['language'] . '/sdk.js#xfbml=1&appId=191521884244670&version=v2.3";fjs.parentNode.insertBefore(js, fjs); }(document, \'script\', \'facebook-jssdk\'));</script>';
51
+ $return .= '<div class="fb-page" data-version="1.2.6" data-href="https://facebook.com/' . $a["href"] . '" ';
52
  if(isset($a['width']) && !empty($a['width'])){
53
  $return .= ' data-width="' . $a['width'] . '"';
54
  }
56
  $return .= ' data-height="' . $a['height'] . '"';
57
  }
58
  if(isset($a['cover']) && !empty($a['cover'])){
59
+ if($a['cover'] == "false"){
60
+ $return .= ' data-hide-cover="true"';
61
+ } else if($a['cover'] == "true"){
62
+ $return .= ' data-hide-cover="false"';
63
+ }
 
 
 
 
64
  }
65
  if(isset($a['facepile']) && !empty($a['facepile'])){
66
  $return .= ' data-show-facepile="' . $a['facepile'] . '"';
67
  }
68
  if(isset($a['posts']) && !empty($a['posts'])){
69
+ $return .= ' data-show-posts="' . $a['posts'] . '"';
70
+ }
71
+ if(isset($a['cta']) && !empty($a['cta'])){
72
+ $return .= ' data-hide-cta="' . $a['cta'] . '"';
73
+ }
74
+ if(isset($a['small']) && !empty($a['small'])){
75
+ $return .= ' data-small-header="' . $a['small'] . '"';
76
+ }
77
+ if(isset($a['adapt']) && !empty($a['adapt'])){
78
+ $return .= ' data-adapt-container-width="' . $a['adapt'] . '"';
79
+ } else {
80
+ $return .= ' data-adapt-container-width="false"';
81
  }
82
  $return .= '></div>';
83
  }
101
  }
102
  echo '<form>';
103
  echo '<p><label>Facebook Page URL: <input type="url" id="fbpp-href" /></label></p>';
104
+ echo '<p><label>Width (pixels): <input type="number" max="500" min="180" id="fbpp-width" /></label></p>';
105
+ echo '<p><label>Height (pixels): <input type="number" min="70" id="fbpp-height" /></label></p>';
106
  echo '<p><label>Show Cover Photo: <input type="checkbox" value="true" id="fbpp-cover" /></label></p>';
107
  echo '<p><label>Show Facepile: <input type="checkbox" value="true" id="fbpp-facepile" /></label></p>';
108
  echo '<p><label>Show Posts Feed: <input type="checkbox" value="true" id="fbpp-posts" /></label></p>';
109
+ echo '<p><label>Hide Call To Action: <input type="checkbox" value="true" id="fbpp-cta" /></label></p>';
110
+ echo '<p><label>Small Header: <input type="checkbox" value="true" id="fbpp-small" /></label></p>';
111
+ echo '<p><label>Adaptive Width: <input type="checkbox" value="true" id="fbpp-adapt" checked /></label></p>';
112
  echo '<p><label>Language: <select id="fbpp-lang" /><option value="">Site Language</option>';
113
  if(isset($langs) && !empty($langs)){
114
  foreach($langs as $lang){
167
  } else {
168
  $posts = NULL;
169
  }
170
+ if(isset($instance['cta']) && !empty($instance['cta'])){
171
+ $cta = $instance['cta'];
172
+ } else {
173
+ $cta = NULL;
174
+ }
175
+ if(isset($instance['small']) && !empty($instance['small'])){
176
+ $small = $instance['small'];
177
+ } else {
178
+ $small = NULL;
179
+ }
180
+ if(isset($instance['adapt']) && !empty($instance['adapt'])){
181
+ $adapt = $instance['adapt'];
182
+ } else {
183
+ $adapt = NULL;
184
+ }
185
  if(isset($instance['language']) && !empty($instance['language'])){
186
  $language = $instance['language'];
187
  } else {
211
  if(isset($language) && !empty($language)){
212
  $shortcode .= ' language="' . $language . '"';
213
  }
214
+ if(isset($cta) && !empty($cta)){
215
+ $shortcode .= ' cta="' . $cta . '"';
216
+ }
217
+ if(isset($small) && !empty($small)){
218
+ $shortcode .= ' small="' . $small . '"';
219
+ }
220
+ if(isset($adapt) && !empty($adapt)){
221
+ $shortcode .= ' adapt="' . $adapt . '"';
222
+ }
223
  $shortcode .= ']';
224
  echo do_shortcode( $shortcode );
225
  }
261
  } else {
262
  $posts = 'false';
263
  }
264
+ if ( isset( $instance[ 'cta' ] ) ) {
265
+ $cta = $instance[ 'cta' ];
266
+ } else {
267
+ $cta = 'false';
268
+ }
269
+ if ( isset( $instance[ 'small' ] ) ) {
270
+ $small = $instance[ 'small' ];
271
+ } else {
272
+ $small = 'false';
273
+ }
274
+ if ( isset( $instance[ 'adapt' ] ) ) {
275
+ $adapt = $instance[ 'adapt' ];
276
+ } else {
277
+ $adapt = 'true';
278
+ }
279
  if ( isset( $instance[ 'language' ] ) ) {
280
  $language = $instance[ 'language' ];
281
  } else {
307
  echo '<label for="<?php' . $this->get_field_id( 'width' ) . '">';
308
  echo _e( 'Width:' );
309
  echo '</label>';
310
+ echo '<input class="widefat" id="' . $this->get_field_id( 'width' ) . '" name="' . $this->get_field_name( 'width' ) . '" type="number" min="180" max="500" value="' . esc_attr( $width ) . '" />';
311
  echo '</p>';
312
  echo '<p>';
313
  echo '<label for="<?php' . $this->get_field_id( 'height' ) . '">';
314
  echo _e( 'Height:' );
315
  echo '</label>';
316
+ echo '<input class="widefat" id="' . $this->get_field_id( 'height' ) . '" name="' . $this->get_field_name( 'height' ) . '" type="number" min="70" value="' . esc_attr( $height ) . '" />';
317
  echo '</p>';
318
  echo '<p>';
319
  echo '<label for="<?php' . $this->get_field_id( 'cover' ) . '">';
332
  echo _e( 'Show Posts:' );
333
  echo '</label>';
334
  echo ' <input class="widefat" id="' . $this->get_field_id( 'posts' ) . '" name="' . $this->get_field_name( 'posts' ) . '" type="checkbox" value="true" ' . checked( esc_attr( $posts ), 'true', false ) . ' />';
335
+ echo '</p>';
336
+ echo '<p>';
337
+ echo '<label for="<?php' . $this->get_field_id( 'cta' ) . '">';
338
+ echo _e( 'Hide Call To Action:' );
339
+ echo '</label>';
340
+ echo ' <input class="widefat" id="' . $this->get_field_id( 'cta' ) . '" name="' . $this->get_field_name( 'cta' ) . '" type="checkbox" value="true" ' . checked( esc_attr( $cta ), 'true', false ) . ' />';
341
+ echo '</p>';
342
+ echo '<p>';
343
+ echo '<label for="<?php' . $this->get_field_id( 'small' ) . '">';
344
+ echo _e( 'Small Header:' );
345
+ echo '</label>';
346
+ echo ' <input class="widefat" id="' . $this->get_field_id( 'small' ) . '" name="' . $this->get_field_name( 'small' ) . '" type="checkbox" value="true" ' . checked( esc_attr( $small ), 'true', false ) . ' />';
347
+ echo '</p>';
348
+ echo '<p>';
349
+ echo '<label for="<?php' . $this->get_field_id( 'adapt' ) . '">';
350
+ echo _e( 'Adaptive Width:' );
351
+ echo '</label>';
352
+ echo ' <input class="widefat" id="' . $this->get_field_id( 'adapt' ) . '" name="' . $this->get_field_name( 'adapt' ) . '" type="checkbox" value="true" ' . checked( esc_attr( $adapt ), 'true', false ) . ' />';
353
  echo '</p>';
354
  echo '<p>';
355
  echo '<label for="<?php' . $this->get_field_id( 'language' ) . '">';
376
  $instance['cover'] = ( ! empty( $new_instance['cover'] ) ) ? strip_tags( $new_instance['cover'] ) : '';
377
  $instance['facepile'] = ( ! empty( $new_instance['facepile'] ) ) ? strip_tags( $new_instance['facepile'] ) : '';
378
  $instance['posts'] = ( ! empty( $new_instance['posts'] ) ) ? strip_tags( $new_instance['posts'] ) : '';
379
+ $instance['cta'] = ( ! empty( $new_instance['cta'] ) ) ? strip_tags( $new_instance['cta'] ) : '';
380
+ $instance['small'] = ( ! empty( $new_instance['small'] ) ) ? strip_tags( $new_instance['small'] ) : '';
381
+ $instance['adapt'] = ( ! empty( $new_instance['adapt'] ) ) ? strip_tags( $new_instance['adapt'] ) : '';
382
  $instance['language'] = ( ! empty( $new_instance['language'] ) ) ? strip_tags( $new_instance['language'] ) : '';
383
  return $instance;
384
  }
js/facebook-page-plugin-admin.js CHANGED
@@ -27,11 +27,17 @@
27
  $shortcode += 'facepile="' + $facepile + '" ';
28
  var $posts = $('#fbpp-posts').prop("checked");
29
  $shortcode += 'posts="' + $posts + '" ';
 
 
 
 
 
 
30
  var $lang = $('#fbpp-lang').val();
31
  if($lang.length > 0){
32
  $shortcode += 'lang="' + $lang + '" ';
33
  }
34
- $shortcode += ' ]';
35
  $('#facebook-page-plugin-shortcode-generator-output').val($shortcode);
36
  }
37
  });
27
  $shortcode += 'facepile="' + $facepile + '" ';
28
  var $posts = $('#fbpp-posts').prop("checked");
29
  $shortcode += 'posts="' + $posts + '" ';
30
+ var $cta = $('#fbpp-cta').prop("checked");
31
+ $shortcode += 'cta="' + $cta + '" ';
32
+ var $small = $('#fbpp-small').prop("checked");
33
+ $shortcode += 'small="' + $small + '" ';
34
+ var $adapt = $('#fbpp-adapt').prop("checked");
35
+ $shortcode += 'adapt="' + $adapt + '" ';
36
  var $lang = $('#fbpp-lang').val();
37
  if($lang.length > 0){
38
  $shortcode += 'lang="' + $lang + '" ';
39
  }
40
+ $shortcode += ']';
41
  $('#facebook-page-plugin-shortcode-generator-output').val($shortcode);
42
  }
43
  });
readme.txt CHANGED
@@ -4,14 +4,14 @@ Tags: facebook,social,like,facepile,activity feed,recommendations,shortcode,widg
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=WLV5HPHSPM2BG&lc=AU&item_name=Cameron%20Jones%20Web%20Development�cy_code=AUD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
5
  Requires at least: 4.0
6
  Tested up to: 4.2.2
7
- Stable tag: 1.2.5
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
10
 
11
  It's time to upgrade from your old like box! Display the Facebook Page Plugin from the Graph API using a shortcode or widget.
12
 
13
  == Description ==
14
- Facebook are depreciating many of their old social plugins on June 23rd 2015, including Activity Feed, Facepile, Like Box and Recommendations. As such, many WordPress plugins that utilise these social plugins will soon stop working. This plugin instead uses the Graph API v2.3 to guarantee your WordPress site continues to have full Facebook support.
15
 
16
  This plugin can be used by added the widget to a widget area and filling out the form, or by using the `[facebook-page-plugin]` shortcode to display the plugin wherever you like, as often as you like.
17
 
@@ -23,7 +23,7 @@ Features:
23
 
24
  * Includes a shortcode generator on the admin dashboard for easy generating of the shortcode
25
 
26
- * Uses your site language by default, but you can display your Facebook page in all 136 languages that Facebook supports, including English, Spanish, Arabic, German, French and many more
27
 
28
  If you like the plugin, please take the time to leave a review.
29
 
@@ -55,9 +55,9 @@ Available settings:
55
 
56
  `href` (URL path that comes after facebook.com/)
57
 
58
- `width` (number, in pixels, between 280 and 500, default 340)
59
 
60
- `height` (number, in pixels, minimum 130, default 500)
61
 
62
  `cover` (true/false, show page cover photo, default true)
63
 
@@ -65,7 +65,13 @@ Available settings:
65
 
66
  `posts` (true/false, display page posts, default false)
67
 
68
- 'language' (languageCode_countryCode eg: en_US, language of the plugin, default site language)
 
 
 
 
 
 
69
 
70
  Example: `[facebook-page-plugin href="facebook" width="300" height="500" cover="true" facepile="true" posts="true"]`
71
  This will display a Facebook page feed that loads in the page `facebook.com/facebook` that is 300px wide, 500px high, displaying the page's cover photo, facepile and recent posts in the same language as the site. See the screenshots tab for a demonstration of how it will appear
@@ -86,6 +92,9 @@ Shortcodes were introduced in WordPress 2.5, so theorectially it should work on
86
  3. The new shortcode generator dashboard widget
87
 
88
  == Changelog ==
 
 
 
89
  = 1.2.5 =
90
  * Fixed close icon on notice
91
  = 1.2.4 =
@@ -112,6 +121,8 @@ Shortcodes were introduced in WordPress 2.5, so theorectially it should work on
112
  * Initial release
113
 
114
  == Upgrade Notice ==
 
 
115
  = 1.2.3 =
116
  This version fixes a bug where the admin dashboard and widgets pages would break if the WordPress installation is running on localhost and there is no internet connection. While not imperative to most sites it is recommeded that you update if you work on a localhost or virtual machine
117
  = 1.2.2 =
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=WLV5HPHSPM2BG&lc=AU&item_name=Cameron%20Jones%20Web%20Development�cy_code=AUD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
5
  Requires at least: 4.0
6
  Tested up to: 4.2.2
7
+ Stable tag: 1.3.0
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
10
 
11
  It's time to upgrade from your old like box! Display the Facebook Page Plugin from the Graph API using a shortcode or widget.
12
 
13
  == Description ==
14
+ As of June 23rd 2015, Facebook **has now deprecated many of their old social plugins**, including Activity Feed, Facepile, Like Box and Recommendations. As such, many WordPress plugins that utilise these social plugins will soon stop working. This plugin instead uses the Graph API v2.3 to guarantee your WordPress site continues to have full Facebook support.
15
 
16
  This plugin can be used by added the widget to a widget area and filling out the form, or by using the `[facebook-page-plugin]` shortcode to display the plugin wherever you like, as often as you like.
17
 
23
 
24
  * Includes a shortcode generator on the admin dashboard for easy generating of the shortcode
25
 
26
+ * Uses your site language by default, but you can display your Facebook page in all 136 languages that Facebook supports, including English, Spanish, Arabic, German, French, Russian and many more
27
 
28
  If you like the plugin, please take the time to leave a review.
29
 
55
 
56
  `href` (URL path that comes after facebook.com/)
57
 
58
+ `width` (number, in pixels, between 180 and 500, default 340)
59
 
60
+ `height` (number, in pixels, minimum 70, default 500)
61
 
62
  `cover` (true/false, show page cover photo, default true)
63
 
65
 
66
  `posts` (true/false, display page posts, default false)
67
 
68
+ `cta` (true/false, hide custom call to action if applicable, default false)
69
+
70
+ `small` (true/false, display small header (must be true for height to be lower than 130px), default false)
71
+
72
+ `adapt` (true/false, force plugin to be responsive, default true)
73
+
74
+ `language` (languageCode_countryCode eg: en_US, language of the plugin, default site language)
75
 
76
  Example: `[facebook-page-plugin href="facebook" width="300" height="500" cover="true" facepile="true" posts="true"]`
77
  This will display a Facebook page feed that loads in the page `facebook.com/facebook` that is 300px wide, 500px high, displaying the page's cover photo, facepile and recent posts in the same language as the site. See the screenshots tab for a demonstration of how it will appear
92
  3. The new shortcode generator dashboard widget
93
 
94
  == Changelog ==
95
+ = 1.3.0 =
96
+ * Added hide-cta, small-header and adapt-container-width settings
97
+ * Adjusted min height and width
98
  = 1.2.5 =
99
  * Fixed close icon on notice
100
  = 1.2.4 =
121
  * Initial release
122
 
123
  == Upgrade Notice ==
124
+ = 1.3.0 =
125
+ This version adds new settings. Please update for the best possible experience.
126
  = 1.2.3 =
127
  This version fixes a bug where the admin dashboard and widgets pages would break if the WordPress installation is running on localhost and there is no internet connection. While not imperative to most sites it is recommeded that you update if you work on a localhost or virtual machine
128
  = 1.2.2 =