Easy Facebook Like Box (Facebook Page Plugin) – Custom Facebook Feed – Auto PopUp - Version 1.0.1

Version Description

  • Updated the plugin to avoid possible conflict with other plugins. Must update.
Download this release

Release Info

Developer sjaved
Plugin Icon 128x128 Easy Facebook Like Box (Facebook Page Plugin) – Custom Facebook Feed – Auto PopUp
Version 1.0.1
Comparing to
See all releases

Code changes from version 1.0 to 1.0.1

README.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Easy Facebook Likebox ===
2
  Contributors: sjaved
3
- Tags: facebook, likebox, widget, shortcode
4
- Donate link: http://jwebsol.com/
5
  Requires at least: 3.3
6
  Tested up to: 3.9
7
- Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -13,9 +13,25 @@ Mobile friendly easy to use facebook like box wigdet and shortcode
13
  == Description ==
14
  Easily embed facebook fan page in WordPress using widget or shortcode. You can use the shortcode generated after saving the widget. Its completely customizable with lots of optional settings. Its also responsive at the same time.
15
 
16
- Features:
 
17
  1. Responsive
18
- 2. Generate shortcode using widget form.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
 
20
  == Installation ==
21
  1. Upload "easy-facebook-likebox" to the "/wp-content/plugins/" directory.
@@ -25,11 +41,15 @@ Features:
25
  == Upgrade Notice ==
26
  =1.0.0=
27
  Initial release.
 
 
28
 
29
  == Frequently Asked Questions ==
30
  = Width not working =
31
  If width parameter is not working then it could be due to facebook responsive styling.
32
 
 
 
33
 
34
  == Screenshots ==
35
  1. screenshot-1.png
@@ -37,5 +57,11 @@ If width parameter is not working then it could be due to facebook responsive st
37
  3. screenshot-3.png
38
 
39
  == Changelog ==
 
 
 
 
 
40
  = 1.0.0 =
41
- * Initial release.
 
1
  === Easy Facebook Likebox ===
2
  Contributors: sjaved
3
+ Tags: facebook, facebook likebox, likebox, like box, facebook like box, widget, shortcode, plugin
4
+ Donate link: http://jwebsol.com/?track=donate
5
  Requires at least: 3.3
6
  Tested up to: 3.9
7
+ Stable tag: 1.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
13
  == Description ==
14
  Easily embed facebook fan page in WordPress using widget or shortcode. You can use the shortcode generated after saving the widget. Its completely customizable with lots of optional settings. Its also responsive at the same time.
15
 
16
+ Features:
17
+
18
  1. Responsive
19
+ 1. Generate shortcode using widget form
20
+ 1. Likebox in PopUp (Modal window) is coming soon...
21
+
22
+ Options:
23
+
24
+ * Facebook Page URL - enter an URL address to the Facebook fan page
25
+ * Width - set the width of the module in pixels. The default width is 300px
26
+ * Height - With the stream displayed and 8 connections the default height is 556px. With no stream displayed and 8 connections the default height is 271px. With no connections and no stream the default height is 63px
27
+ * Color Scheme - choose the color scheme for the like box
28
+ * Show Faces - show/hide profile photos
29
+ * Stream - show/hide the latest wall posts
30
+ * Header - show/hide the Facebook header
31
+ * Border - show/hide the border around the like box
32
+
33
+ [Demo](http://jwebsol.com/easy-facebook-like-box-plugin-demo/ "See this plugin in action").
34
+
35
 
36
  == Installation ==
37
  1. Upload "easy-facebook-likebox" to the "/wp-content/plugins/" directory.
41
  == Upgrade Notice ==
42
  =1.0.0=
43
  Initial release.
44
+ =1.0.1=
45
+ Updated the plugin to avoid possible conflict with other plugins. Must update.
46
 
47
  == Frequently Asked Questions ==
48
  = Width not working =
49
  If width parameter is not working then it could be due to facebook responsive styling.
50
 
51
+ = Loading slow =
52
+ If like box loading slow and taking time to populate then make sure you have given right APP ID and url is correct in app settings.
53
 
54
  == Screenshots ==
55
  1. screenshot-1.png
57
  3. screenshot-3.png
58
 
59
  == Changelog ==
60
+
61
+ = 1.0.1 =
62
+
63
+ * Updated the plugin to avoid possible conflict with other plugins. Must update.
64
+
65
  = 1.0.0 =
66
+
67
+ * Initial release.
admin/easy-facebook-likebox-admin.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- /**
3
  * Plugin Name.
4
  *
5
  * @package Easy_Facebook_Likebox_Admin
@@ -136,7 +136,7 @@ class Easy_Facebook_Likebox_Admin {
136
 
137
  $screen = get_current_screen();
138
  if ( $this->plugin_screen_hook_suffix == $screen->id ) {
139
- wp_enqueue_style( $this->plugin_slug .'-admin-styles', plugins_url( 'assets/css/admin.css', __FILE__ ), array(), Plugin_Name::VERSION );
140
  }
141
 
142
  }
@@ -160,7 +160,7 @@ class Easy_Facebook_Likebox_Admin {
160
 
161
  $screen = get_current_screen();
162
  if ( $this->plugin_screen_hook_suffix == $screen->id ) {
163
- wp_enqueue_script( $this->plugin_slug . '-admin-script', plugins_url( 'assets/js/admin.js', __FILE__ ), array( 'jquery' ), Plugin_Name::VERSION );
164
  }
165
 
166
  }
@@ -187,8 +187,8 @@ class Easy_Facebook_Likebox_Admin {
187
  * For reference: http://codex.wordpress.org/Roles_and_Capabilities
188
  */
189
  $this->plugin_screen_hook_suffix = add_options_page(
190
- __( 'Page Title', $this->plugin_slug ),
191
- __( 'Menu Text', $this->plugin_slug ),
192
  'manage_options',
193
  $this->plugin_slug,
194
  array( $this, 'display_plugin_admin_page' )
1
  <?php
2
+ /**
3
  * Plugin Name.
4
  *
5
  * @package Easy_Facebook_Likebox_Admin
136
 
137
  $screen = get_current_screen();
138
  if ( $this->plugin_screen_hook_suffix == $screen->id ) {
139
+ wp_enqueue_style( $this->plugin_slug .'-admin-styles', plugins_url( 'assets/css/admin.css', __FILE__ ), array(), Easy_Facebook_Likebox::VERSION );
140
  }
141
 
142
  }
160
 
161
  $screen = get_current_screen();
162
  if ( $this->plugin_screen_hook_suffix == $screen->id ) {
163
+ wp_enqueue_script( $this->plugin_slug . '-admin-script', plugins_url( 'assets/js/admin.js', __FILE__ ), array( 'jquery' ), Easy_Facebook_Likebox::VERSION );
164
  }
165
 
166
  }
187
  * For reference: http://codex.wordpress.org/Roles_and_Capabilities
188
  */
189
  $this->plugin_screen_hook_suffix = add_options_page(
190
+ __( 'Easy Fcebook Likebox', $this->plugin_slug ),
191
+ __( 'Easy Fcebook Likebox', $this->plugin_slug ),
192
  'manage_options',
193
  $this->plugin_slug,
194
  array( $this, 'display_plugin_admin_page' )
admin/views/admin.php CHANGED
@@ -1,22 +1,35 @@
1
- <?php
2
- /**
3
- * Represents the view for the administration dashboard.
4
- *
5
- * This includes the header, options, and other information that should provide
6
- * The User Interface to the end user.
7
- *
8
- * @package Plugin_Name
9
- * @author Your Name <email@example.com>
10
- * @license GPL-2.0+
11
- * @link http://example.com
12
- * @copyright 2014 Your Name or Company Name
13
- */
14
- ?>
15
-
16
- <div class="wrap">
17
-
18
- <h2><?php echo esc_html( get_admin_page_title() ); ?></h2>
19
-
20
- <!-- @TODO: Provide markup for your options page here. -->
21
-
22
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Represents the view for the administration dashboard.
4
+ *
5
+ * This includes the header, options, and other information that should provide
6
+ * The User Interface to the end user.
7
+ *
8
+ * @package Plugin_Name
9
+ * @author Your Name <email@example.com>
10
+ * @license GPL-2.0+
11
+ * @link http://example.com
12
+ * @copyright 2014 Your Name or Company Name
13
+ */
14
+ ?>
15
+
16
+ <div class="wrap">
17
+
18
+ <h2><?php echo esc_html( get_admin_page_title() ); ?></h2>
19
+
20
+ <p>Thanks for installing the plugin.</p>
21
+
22
+ <p>Here are steps and ways you can use this plugin.
23
+ <ol>
24
+ <li> Add the "Easy Facebook Likebox" widget in sidebar to show the like box in your website sidebar</li>
25
+ <li> Add widget in sidebar and generate shortcode by saving the widgets optiosn to show likebox somewhere else on your website.</li>
26
+ <li> You can also directly add below shortcode (without quotes) in post/page editor and change default values with your custom one according to your needs and requirments.
27
+ "[efb_likebox fanpage_url="https://www.facebook.com/jwebsol" fb_appid="" box_width="300" box_height="" colorscheme="light" show_faces="1" show_header="1" show_stream="0" show_border="1" ]"
28
+ </li>
29
+ </ol>
30
+ </p>
31
+ <p>I am working on the betterment and improvement of this plugin so stay tuned.</p>
32
+
33
+ <!-- @TODO: Provide markup for your options page here. -->
34
+
35
+ </div>
easy-facebook-likebox.php CHANGED
@@ -1,10 +1,5 @@
1
- <?php
2
  /**
3
- * The WordPress Plugin Boilerplate.
4
- *
5
- * A foundation off of which to build well-documented WordPress plugins that
6
- * also follow WordPress Coding Standards and PHP best practices.
7
- *
8
  * @package Easy Facebook Likebox
9
  * @author Sajid Javed <email@example.com>
10
  * @license GPL-2.0+
@@ -15,7 +10,7 @@
15
  * Plugin Name: Easy Facebook Likebox
16
  * Plugin URI: httt://wordpress.org/plugins/easy-facebook-likebox
17
  * Description: Easily embed facebook fan page in WordPress using widget or shortcode. You can use the shortcode generated after saving the widget. Its completely customizable with lots of optional settings. Its also responsive at the same time.
18
- * Version: 1.0.0
19
  * Author: Sajid Javed
20
  * Author URI: http://jwebsol.com
21
  * Text Domain: easy-facebook-likebox
@@ -100,6 +95,6 @@ if ( is_admin() && ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) ) {
100
  require_once( plugin_dir_path( __FILE__ ) . 'includes/easy-facebook-likebox-widget.php' );
101
  // register Foo_Widget widget
102
  function register_fblx_widget() {
103
- register_widget( 'Facebook_Like_Box_Widget' );
104
  }
105
  add_action( 'widgets_init', 'register_fblx_widget' );
1
+ <?php
2
  /**
 
 
 
 
 
3
  * @package Easy Facebook Likebox
4
  * @author Sajid Javed <email@example.com>
5
  * @license GPL-2.0+
10
  * Plugin Name: Easy Facebook Likebox
11
  * Plugin URI: httt://wordpress.org/plugins/easy-facebook-likebox
12
  * Description: Easily embed facebook fan page in WordPress using widget or shortcode. You can use the shortcode generated after saving the widget. Its completely customizable with lots of optional settings. Its also responsive at the same time.
13
+ * Version: 1.0.1
14
  * Author: Sajid Javed
15
  * Author URI: http://jwebsol.com
16
  * Text Domain: easy-facebook-likebox
95
  require_once( plugin_dir_path( __FILE__ ) . 'includes/easy-facebook-likebox-widget.php' );
96
  // register Foo_Widget widget
97
  function register_fblx_widget() {
98
+ register_widget( 'Easy_Facebook_Like_Box_Widget' );
99
  }
100
  add_action( 'widgets_init', 'register_fblx_widget' );
includes/easy-facebook-likebox-widget.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- class Facebook_Like_Box_Widget extends WP_Widget {
3
 
4
  /**
5
  * Register widget with WordPress.
1
  <?php
2
+ class Easy_Facebook_Like_Box_Widget extends WP_Widget {
3
 
4
  /**
5
  * Register widget with WordPress.