Version Description
- Bug fixed.
Facebook comments WordPress step by step guide
Facebook Comments plugin main options
- APP ID - Type here your Facebook App ID
- Title - Type here Facebook comments box title
- Color scheme - Select Facebook comments box Color scheme
- Title text color - Select Facebook comments box title text color
- Title font-size - Type Facebook comments box title font-size
- Title font family - Select Facebook comments box title font family
- Title position - Select Facebook comments box title position
- Display comment on - Select where to display Facebook comments
- Comment box width - Type here the Facebook comments box width
- Number of comments show - Type here the comments of Facebook comments to display
- Animation effect - Select the animation effect for Facebook comments box
- Background color - Select Facebook comments background color
- Facebook comments position -Select Facebook comments box position(before or after WordPress standard comments)
- Facebook comments language - Type here Facebook comments language code(en_US,de_DE...)
Adding Facebook Comments 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="Facebook Comment" 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="Facebook Comment" 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 Facebook comments shortcode attributes.
curent_url - Type the URL of a page from where you need to show Facebook comments title_text - Type here Facebook comments box title title_text_color - Select Facebook comments box title color title_text_font_size - Type Facebook comments box title font-size title_text_font_famely - Select Facebook comments box title font family title_text_position - Select Facebook comments box title position width - Type here the Facebook comments box width count_of_comments - Type here the comments of Facebook comments to display bg_color - Select Facebook comments background color animation_effect - Select the animation effect for Facebook comments box
The Best Offer From WpDevArt
You can check the best offer page here - Best Price
Dear users, we also recommend you to take a look for this useful plugins - WordPress Coming Soon, WordPress booking calendar, WordPress Poll plugin, WordPress Countdown plugin, WordPress YouTube, WordPress Facebook like box, WordPress lightbox .
Release Info
Developer | wpdevart |
Plugin | WpDevArt Facebook comments |
Version | 1.1.1 |
Comparing to | |
See all releases |
Code changes from version 1.1.0 to 1.1.1
- facebook-comment.php +1 -1
- includes/admin_menu.php +2 -2
- includes/front_end.php +4 -4
- includes/install_database.php +2 -2
- readme.txt +8 -4
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Wpdevart Facebook comments
|
4 |
* Plugin URI: http://wpdevart.com/wordpress-facebook-comments-plugin/
|
5 |
* Description: Our WordPress Facebook comments plugin will help you to display Facebook Comments box on your website. You can use Facebook Comments box on your pages/posts.
|
6 |
-
* Version: 1.1.
|
7 |
* Author: wpdevart
|
8 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
*/
|
3 |
* Plugin Name: Wpdevart Facebook comments
|
4 |
* Plugin URI: http://wpdevart.com/wordpress-facebook-comments-plugin/
|
5 |
* Description: Our WordPress Facebook comments plugin will help you to display Facebook Comments box on your website. You can use Facebook Comments box on your pages/posts.
|
6 |
+
* Version: 1.1.1
|
7 |
* Author: wpdevart
|
8 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
*/
|
@@ -37,7 +37,7 @@ class wpdevart_comment_admin_menu{
|
|
37 |
|
38 |
/*
|
39 |
* Use get_post_meta() to retrieve an existing value
|
40 |
-
*
|
41 |
*/
|
42 |
$value = get_post_meta( $post->ID, '_disabel_wpdevart_facebook_comment', true );
|
43 |
echo '<label for="wpdevart_disable_field">';
|
@@ -74,7 +74,7 @@ class wpdevart_comment_admin_menu{
|
|
74 |
update_post_meta( $post_id, '_disabel_wpdevart_facebook_comment', $my_data );
|
75 |
}
|
76 |
|
77 |
-
/*############################### Post/Page insert button
|
78 |
|
79 |
|
80 |
public function create_menu(){
|
37 |
|
38 |
/*
|
39 |
* Use get_post_meta() to retrieve an existing value
|
40 |
+
* From the database and use the value for the form.
|
41 |
*/
|
42 |
$value = get_post_meta( $post->ID, '_disabel_wpdevart_facebook_comment', true );
|
43 |
echo '<label for="wpdevart_disable_field">';
|
74 |
update_post_meta( $post_id, '_disabel_wpdevart_facebook_comment', $my_data );
|
75 |
}
|
76 |
|
77 |
+
/*############################### Post/Page insert button(shortcode) ########################################*/
|
78 |
|
79 |
|
80 |
public function create_menu(){
|
@@ -14,19 +14,19 @@ class wpdevart_comment_front_end{
|
|
14 |
function __construct($params){
|
15 |
|
16 |
$this->databese_parametrs=$params['databese_parametrs'];
|
17 |
-
//
|
18 |
if(isset($params['plugin_url']))
|
19 |
$this->plugin_url=$params['plugin_url'];
|
20 |
else
|
21 |
$this->plugin_url=trailingslashit(dirname(plugins_url('',__FILE__)));
|
22 |
-
//
|
23 |
add_action( 'wp_head',array($this,'generete_front_javascript'));
|
24 |
add_action( 'wp_footer',array($this,'generete_facbook_js_sdk'));
|
25 |
-
//
|
26 |
add_shortcode( 'wpdevart_facebook_comment', array($this,'wpdevart_comment_shortcode') );
|
27 |
add_action('the_content',array($this,'insert_facebook_comment_in_content'));
|
28 |
$this->params=$this->generete_params();
|
29 |
-
//
|
30 |
|
31 |
|
32 |
|
14 |
function __construct($params){
|
15 |
|
16 |
$this->databese_parametrs=$params['databese_parametrs'];
|
17 |
+
//If plugin url doesn't come in parent class
|
18 |
if(isset($params['plugin_url']))
|
19 |
$this->plugin_url=$params['plugin_url'];
|
20 |
else
|
21 |
$this->plugin_url=trailingslashit(dirname(plugins_url('',__FILE__)));
|
22 |
+
//Genereting js code for inserting footer
|
23 |
add_action( 'wp_head',array($this,'generete_front_javascript'));
|
24 |
add_action( 'wp_footer',array($this,'generete_facbook_js_sdk'));
|
25 |
+
// Genereting code for content
|
26 |
add_shortcode( 'wpdevart_facebook_comment', array($this,'wpdevart_comment_shortcode') );
|
27 |
add_action('the_content',array($this,'insert_facebook_comment_in_content'));
|
28 |
$this->params=$this->generete_params();
|
29 |
+
// Part of code for updated parametrs
|
30 |
|
31 |
|
32 |
|
@@ -1,10 +1,10 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
///
|
4 |
|
5 |
class wpdevart_comment_install_database{
|
6 |
|
7 |
-
public $installed_options; //
|
8 |
private $plugin_url;
|
9 |
|
10 |
function __construct(){
|
1 |
<?php
|
2 |
|
3 |
+
/// Here is the class for install databese
|
4 |
|
5 |
class wpdevart_comment_install_database{
|
6 |
|
7 |
+
public $installed_options; // All standart_options
|
8 |
private $plugin_url;
|
9 |
|
10 |
function __construct(){
|
@@ -3,7 +3,7 @@ Contributors: wpdevart
|
|
3 |
Tags: facebook comments, facebook comment, facebook comment notification, seo facebook comments, facebook comments import, facebook comment system, comments, comment, wordpress comment, wordpress comments, Facebook, facebook badge, facebook connect, facebook group, facebook integration, Facebook like widget, facebook meta, facebook meta tag, Facebook Open Graph, Facebook Page, facebook platform, facebook plugin, post to facebook, Facebook feed, facebook wall for wordpress, Facebook Stream, social, responsive comments
|
4 |
Requires at least: 2.9
|
5 |
Tested up to: 4.3.1
|
6 |
-
Stable tag: 1.1.
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -147,6 +147,10 @@ Dear users, we also recommend you to take a look for this useful plugins - [Word
|
|
147 |
|
148 |
* Change some comments for developers.
|
149 |
|
|
|
|
|
|
|
|
|
150 |
==Facebook comments WordPress step by step guide==
|
151 |
|
152 |
### Facebook Comments plugin main options
|
@@ -166,15 +170,15 @@ Dear users, we also recommend you to take a look for this useful plugins - [Word
|
|
166 |
* Facebook comments position -Select Facebook comments box position(before or after WordPress standard comments)
|
167 |
* Facebook comments language - Type here Facebook comments language code(en_US,de_DE...)
|
168 |
|
169 |
-
### Adding Facebook Comments plugin shortcode
|
170 |
|
171 |
-
Here is an example of using the shortcode in posts
|
172 |
`[wpdevart_facebook_comment facebook_app_id="1638418549774901" curent_url="http://developers.facebook.com/docs/plugins/comments/" title_text="Facebook Comment" 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" ]`
|
173 |
|
174 |
Here's an example of using the shortcode in PHP code:
|
175 |
`<?php echo do_shortcode('[wpdevart_facebook_comment facebook_app_id="1638418549774901" curent_url="http://developers.facebook.com/docs/plugins/comments/" title_text="Facebook Comment" 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" ]'); ?>`
|
176 |
|
177 |
-
Here are explanation of Facebook comments
|
178 |
|
179 |
curent_url - Type the URL of a page from where you need to show Facebook comments
|
180 |
title_text - Type here Facebook comments box title
|
3 |
Tags: facebook comments, facebook comment, facebook comment notification, seo facebook comments, facebook comments import, facebook comment system, comments, comment, wordpress comment, wordpress comments, Facebook, facebook badge, facebook connect, facebook group, facebook integration, Facebook like widget, facebook meta, facebook meta tag, Facebook Open Graph, Facebook Page, facebook platform, facebook plugin, post to facebook, Facebook feed, facebook wall for wordpress, Facebook Stream, social, responsive comments
|
4 |
Requires at least: 2.9
|
5 |
Tested up to: 4.3.1
|
6 |
+
Stable tag: 1.1.1
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
147 |
|
148 |
* Change some comments for developers.
|
149 |
|
150 |
+
= 1.1.1 =
|
151 |
+
|
152 |
+
* Bug fixed.
|
153 |
+
|
154 |
==Facebook comments WordPress step by step guide==
|
155 |
|
156 |
### Facebook Comments plugin main options
|
170 |
* Facebook comments position -Select Facebook comments box position(before or after WordPress standard comments)
|
171 |
* Facebook comments language - Type here Facebook comments language code(en_US,de_DE...)
|
172 |
|
173 |
+
### Adding Facebook Comments plugin shortcode into pages, posts and in Php code
|
174 |
|
175 |
+
Here is an example of using the shortcode in posts/pages:
|
176 |
`[wpdevart_facebook_comment facebook_app_id="1638418549774901" curent_url="http://developers.facebook.com/docs/plugins/comments/" title_text="Facebook Comment" 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" ]`
|
177 |
|
178 |
Here's an example of using the shortcode in PHP code:
|
179 |
`<?php echo do_shortcode('[wpdevart_facebook_comment facebook_app_id="1638418549774901" curent_url="http://developers.facebook.com/docs/plugins/comments/" title_text="Facebook Comment" 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" ]'); ?>`
|
180 |
|
181 |
+
Here are explanation of Facebook comments shortcode attributes.
|
182 |
|
183 |
curent_url - Type the URL of a page from where you need to show Facebook comments
|
184 |
title_text - Type here Facebook comments box title
|