Version Description
=
- Updated SDK version.
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.0.9 |
Comparing to | |
See all releases |
Code changes from version 2.0.8 to 2.0.9
- facebook-comment.php +1 -1
- includes/admin_menu.php +1 -4
- includes/front_end.php +2 -2
- readme.txt +5 -1
@@ -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.0.
|
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.0.9
|
8 |
* Author: wpdevart
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
*/
|
@@ -159,10 +159,7 @@ class wpdevart_comment_admin_menu{
|
|
159 |
|
160 |
/*###################### Main menu function ##################*/
|
161 |
|
162 |
-
public function main_menu_function(){
|
163 |
-
|
164 |
-
$enable_disable=$this->generete_parametrs('general_save_parametr');
|
165 |
-
$enable_disable=$enable_disable['wpdevart_comment_page_mode'];
|
166 |
?>
|
167 |
<script>
|
168 |
var wpdevart_comment_ajaxurl="<?php echo admin_url( 'admin-ajax.php'); ?>";
|
159 |
|
160 |
/*###################### Main menu function ##################*/
|
161 |
|
162 |
+
public function main_menu_function(){
|
|
|
|
|
|
|
163 |
?>
|
164 |
<script>
|
165 |
var wpdevart_comment_ajaxurl="<?php echo admin_url( 'admin-ajax.php'); ?>";
|
@@ -111,11 +111,11 @@ class wpdevart_comment_front_end{
|
|
111 |
public function generete_facbook_js_sdk(){
|
112 |
?>
|
113 |
<div id="fb-root"></div>
|
114 |
-
<script>(function(d, s, id) {
|
115 |
var js, fjs = d.getElementsByTagName(s)[0];
|
116 |
if (d.getElementById(id)) return;
|
117 |
js = d.createElement(s); js.id = id;
|
118 |
-
js.src = "//connect.facebook.net/<?php echo $this->params['wpdevart_comments_box_locale']; ?>/sdk.js#xfbml=1&appId=<?php echo $this->params['wpdevart_comment_facebook_app_id']; ?>&version=
|
119 |
fjs.parentNode.insertBefore(js, fjs);
|
120 |
}(document, 'script', 'facebook-jssdk'));</script>
|
121 |
<?php
|
111 |
public function generete_facbook_js_sdk(){
|
112 |
?>
|
113 |
<div id="fb-root"></div>
|
114 |
+
<script async defer crossorigin="anonymous">(function(d, s, id) {
|
115 |
var js, fjs = d.getElementsByTagName(s)[0];
|
116 |
if (d.getElementById(id)) return;
|
117 |
js = d.createElement(s); js.id = id;
|
118 |
+
js.src = "//connect.facebook.net/<?php echo $this->params['wpdevart_comments_box_locale']; ?>/sdk.js#xfbml=1&appId=<?php echo $this->params['wpdevart_comment_facebook_app_id']; ?>&version=v10.0";
|
119 |
fjs.parentNode.insertBefore(js, fjs);
|
120 |
}(document, 'script', 'facebook-jssdk'));</script>
|
121 |
<?php
|
@@ -3,7 +3,7 @@ Contributors: wpdevart
|
|
3 |
Tags: Facebook, facebook comments, facebook comment plugin, comments, wordpress comments
|
4 |
Requires at least: 2.9
|
5 |
Tested up to: 5.7
|
6 |
-
Stable tag: 2.0.
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -464,6 +464,10 @@ Yes, If you are logged in(Fb account) then you will see the moderate options for
|
|
464 |
|
465 |
* Fixed a URL mistake.
|
466 |
|
|
|
|
|
|
|
|
|
467 |
==Step by step guide==
|
468 |
|
469 |
### Main options
|
3 |
Tags: Facebook, facebook comments, facebook comment plugin, comments, wordpress comments
|
4 |
Requires at least: 2.9
|
5 |
Tested up to: 5.7
|
6 |
+
Stable tag: 2.0.9
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
464 |
|
465 |
* Fixed a URL mistake.
|
466 |
|
467 |
+
= 2.0.9 ==
|
468 |
+
|
469 |
+
* Updated SDK version.
|
470 |
+
|
471 |
==Step by step guide==
|
472 |
|
473 |
### Main options
|