WpDevArt Facebook comments - Version 1.9.9

Version Description

=

  • Added support URL.

Step by step guide

Main options

  • APP ID - Type here your Fb App ID
  • Title - Type here the title
  • Color scheme - Select the Color scheme
  • Title text color - Select the title text color
  • Title font-size - Type the title font-size(px)
  • Title font family - Select the title font family
  • Title position - Select the title position
  • Display comment on - Select where to display Fb box
  • Width - Type here the width(px)
  • Number - Type here the number of remarks to display
  • Animation effect - Select animation effect
  • Background color - Select the background color
  • Position -Select the position
  • Language - Type here the language code(en_US,de_DE...)

Adding the plugin shortcode into pages, posts and in Php code

Here is an example of using the shortcode in posts/pages: [wpdevart_facebook_comment facebook_app_id="1638418549774901" curent_url="http://developers.facebook.com/docs/plugins/comments/" title_text="Title" title_text_color="#000000" title_text_font_size="22" title_text_font_famely="monospace" title_text_position="left" width="100%" bg_color="#CCCCCC" animation_effect="random" locale="en_US" count_of_comments="2" ]

Here's an example of using the shortcode in PHP code: <?php echo do_shortcode('[wpdevart_facebook_comment facebook_app_id="1638418549774901" curent_url="http://developers.facebook.com/docs/plugins/comments/" title_text="Fb title" title_text_color="#000000" title_text_font_size="22" title_text_font_famely="monospace" title_text_position="left" width="100%" bg_color="#CCCCCC" animation_effect="random" locale="en_US" count_of_comments="2" ]'); ?>

Here are explanation of shortcode attributes.

curent_url - Type the URL of the page from where you need to show the content title_text - Type here the title title_text_color - Select the title color title_text_font_size - Type the title font-size title_text_font_famely - Select the title font family title_text_position - Select the title position width - Type here the width count_of_comments - Type here the number of remarks to display bg_color - Select the background color animation_effect - Choose animation effect

Download this release

Release Info

Developer wpdevart
Plugin Icon 128x128 WpDevArt Facebook comments
Version 1.9.9
Comparing to
See all releases

Code changes from version 1.9.8 to 1.9.9

Files changed (3) hide show
  1. facebook-comment.php +1 -1
  2. includes/admin_menu.php +12 -2
  3. readme.txt +6 -2
facebook-comment.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://wpdevart.com/wordpress-facebook-comments-plugin
5
  * Author URI: https://wpdevart.com
6
  * Description: Social (Facebook) comments plugin will help you to display Facebook Comments box on your website. You can use Facebook Comments on your pages/posts.
7
- * Version: 1.9.8
8
  * Author: wpdevart
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
4
  * Plugin URI: https://wpdevart.com/wordpress-facebook-comments-plugin
5
  * Author URI: https://wpdevart.com
6
  * Description: Social (Facebook) comments plugin will help you to display Facebook Comments box on your website. You can use Facebook Comments on your pages/posts.
7
+ * Version: 1.9.9
8
  * Author: wpdevart
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
includes/admin_menu.php CHANGED
@@ -87,13 +87,23 @@ class wpdevart_comment_admin_menu{
87
  /*############################ Posts/Pages insert button shortcode part ###################################*/
88
 
89
  public function create_menu(){
 
 
90
  $main_page = add_menu_page( $this->menu_name, $this->menu_name, 'manage_options', str_replace( ' ', '-', $this->menu_name), array($this, 'main_menu_function'),$this->plugin_url.'images/facebook_menu_icon.png');
91
  $page_wpdevart_comment = add_submenu_page($this->menu_name, $this->menu_name, $this->menu_name, 'manage_options', str_replace( ' ', '-', $this->menu_name), array($this, 'main_menu_function'));
92
  $page_wpdevart_comment = add_submenu_page( str_replace( ' ', '-', $this->menu_name), 'Featured Plugins', 'Featured Plugins', 'manage_options', 'wpdevart-comment-featured-plugins', array($this, 'featured_plugins'));
93
  add_action('admin_print_styles-' .$main_page, array($this,'menu_requeried_scripts'));
94
- add_action('admin_print_styles-' .$page_wpdevart_comment, array($this,'menu_requeried_scripts'));
95
- }
96
 
 
 
 
 
 
 
 
 
 
97
  /*###################### Required scripts function ##################*/
98
 
99
  public function menu_requeried_scripts(){
87
  /*############################ Posts/Pages insert button shortcode part ###################################*/
88
 
89
  public function create_menu(){
90
+ global $submenu;
91
+ $sub_men_cap=str_replace( ' ', '-', $this->menu_name);
92
  $main_page = add_menu_page( $this->menu_name, $this->menu_name, 'manage_options', str_replace( ' ', '-', $this->menu_name), array($this, 'main_menu_function'),$this->plugin_url.'images/facebook_menu_icon.png');
93
  $page_wpdevart_comment = add_submenu_page($this->menu_name, $this->menu_name, $this->menu_name, 'manage_options', str_replace( ' ', '-', $this->menu_name), array($this, 'main_menu_function'));
94
  $page_wpdevart_comment = add_submenu_page( str_replace( ' ', '-', $this->menu_name), 'Featured Plugins', 'Featured Plugins', 'manage_options', 'wpdevart-comment-featured-plugins', array($this, 'featured_plugins'));
95
  add_action('admin_print_styles-' .$main_page, array($this,'menu_requeried_scripts'));
96
+ add_action('admin_print_styles-' .$page_wpdevart_comment, array($this,'menu_requeried_scripts'));
 
97
 
98
+ if(isset($submenu[$sub_men_cap]))
99
+ add_submenu_page( $sub_men_cap, "Support or Any Ideas?", "<span style='color:#00ff66' >Support or Any Ideas?</span>", 'manage_options',"wpdevart_fbcomments_any_ideas",array($this, 'any_ideas'),155);
100
+ if(isset($submenu[$sub_men_cap]))
101
+ $submenu[$sub_men_cap][2][2]=wpdevart_comment_support_url;
102
+ }
103
+
104
+ public function any_ideas(){
105
+
106
+ }
107
  /*###################### Required scripts function ##################*/
108
 
109
  public function menu_requeried_scripts(){
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: wpdevart
3
  Tags: Facebook, facebook comments, facebook comment plugin, comments, wordpress comments
4
  Requires at least: 2.9
5
- Tested up to: 5.4
6
- Stable tag: 1.9.8
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -424,6 +424,10 @@ Yes, If you are logged in(Fb account) then you will see the moderate options for
424
 
425
  * Changed some default options.
426
 
 
 
 
 
427
  ==Step by step guide==
428
 
429
  ### Main options
2
  Contributors: wpdevart
3
  Tags: Facebook, facebook comments, facebook comment plugin, comments, wordpress comments
4
  Requires at least: 2.9
5
+ Tested up to: 5.5
6
+ Stable tag: 1.9.9
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
424
 
425
  * Changed some default options.
426
 
427
+ = 1.9.9 ==
428
+
429
+ * Added support URL.
430
+
431
  ==Step by step guide==
432
 
433
  ### Main options