Version Description
=
- Bug fixed - Mobile devices.
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
Release Info
Developer | wpdevart |
Plugin | WpDevArt Facebook comments |
Version | 2.1.4 |
Comparing to | |
See all releases |
Code changes from version 2.1.3 to 2.1.4
- facebook-comment.php +1 -1
- includes/library.php +1 -1
- readme.txt +6 -2
@@ -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: 2.1.
|
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: 2.1.4
|
8 |
* Author: wpdevart
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
*/
|
@@ -51,7 +51,7 @@ class wpdevart_comment_setting{
|
|
51 |
$output_code.='<div id="'.$params['iframe_id'].'" style="width:'.( (strpos($params['width'],'%')===false)?$params['width'].'px':$params['width']).';text-align:'.$params['title_text_position'].';">
|
52 |
<span style="padding: 10px;font-size:'.$params['title_text_font_size'].'px;font-family:'.$params['title_text_font_famely'].';color:'.$params['title_text_color'].';">'.$params['title_text'].'</span>
|
53 |
<div class="fb-comments" data-href="'.$params['curent_url'].'" data-order-by="'.$params['order_type'].'" data-numposts="'.$params['count_of_comments'].'" data-width="'.$params['width'].'" style="display:block;"></div></div>';
|
54 |
-
$output_code.= '<style>#'.$params['iframe_id'].' span,#'.$params['iframe_id'].' iframe{'.( (strpos($params['width'],'%')===false)?'':'width:'.$params['width'].' !important;').'}</style>';
|
55 |
return $output_code;
|
56 |
}
|
57 |
// Animation effects list
|
51 |
$output_code.='<div id="'.$params['iframe_id'].'" style="width:'.( (strpos($params['width'],'%')===false)?$params['width'].'px':$params['width']).';text-align:'.$params['title_text_position'].';">
|
52 |
<span style="padding: 10px;font-size:'.$params['title_text_font_size'].'px;font-family:'.$params['title_text_font_famely'].';color:'.$params['title_text_color'].';">'.$params['title_text'].'</span>
|
53 |
<div class="fb-comments" data-href="'.$params['curent_url'].'" data-order-by="'.$params['order_type'].'" data-numposts="'.$params['count_of_comments'].'" data-width="'.$params['width'].'" style="display:block;"></div></div>';
|
54 |
+
$output_code.= '<style>#'.$params['iframe_id'].' span,#'.$params['iframe_id'].' iframe{'.( (strpos($params['width'],'%')===false)?'':'width:'.$params['width'].' !important;').'} #'.$params['iframe_id'].' iframe{max-height: 100% !important;}</style>';
|
55 |
return $output_code;
|
56 |
}
|
57 |
// Animation effects list
|
@@ -3,7 +3,7 @@ Contributors: wpdevart
|
|
3 |
Tags: Facebook, facebook comments, social comments, comments, wordpress comments
|
4 |
Requires at least: 2.9
|
5 |
Tested up to: 5.7.1
|
6 |
-
Stable tag: 2.1.
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -17,7 +17,7 @@ You can disable it on any page/post you need. There are some useful features tha
|
|
17 |
|
18 |
### View our plugin Demo page:
|
19 |
|
20 |
-
[Demo Page](
|
21 |
|
22 |
### Features of free version
|
23 |
|
@@ -484,6 +484,10 @@ Yes, If you are logged in(Fb account) then you will see the moderate options for
|
|
484 |
|
485 |
* Added a tutorial link to the admin menu page.
|
486 |
|
|
|
|
|
|
|
|
|
487 |
==Step by step guide==
|
488 |
|
489 |
### Main options
|
3 |
Tags: Facebook, facebook comments, social comments, comments, wordpress comments
|
4 |
Requires at least: 2.9
|
5 |
Tested up to: 5.7.1
|
6 |
+
Stable tag: 2.1.4
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
17 |
|
18 |
### View our plugin Demo page:
|
19 |
|
20 |
+
[Demo Page](https://demo.wpdevart.com/facebook-comments-box)
|
21 |
|
22 |
### Features of free version
|
23 |
|
484 |
|
485 |
* Added a tutorial link to the admin menu page.
|
486 |
|
487 |
+
= 2.1.4 ==
|
488 |
+
|
489 |
+
* Bug fixed - Mobile devices.
|
490 |
+
|
491 |
==Step by step guide==
|
492 |
|
493 |
### Main options
|