WP Facebook Auto Publish - Version 2.2

Version Description

= Facebook Auto Publish 1.0.1 = If you had issues with default image used for auto publishing, you may apply this upgrade.

= Facebook Auto Publish 1.0 = First official launch.

Download this release

Release Info

Developer f1logic
Plugin Icon 128x128 WP Facebook Auto Publish
Version 2.2
Comparing to
See all releases

Code changes from version 2.1 to 2.2

admin/about.php CHANGED
@@ -1,12 +1,12 @@
1
  <?php
2
  if( !defined('ABSPATH') ){ exit();}
3
  ?>
4
- <h1 style="visibility: visible;">WP Facebook Auto Publish (V <?php echo xyz_fbap_plugin_get_version(); ?>)</h1>
5
 
6
  <div style="width: 99%">
7
  <p style="text-align: justify">
8
- WP Facebook Auto Publish automatically publishes posts from your blog to your Facebook pages. It allows you to filter posts based on post-types and categories.
9
- WP Facebook Auto Publish is developed and maintained by <a href="https://xyzscripts.com">xyzscripts</a>.</p>
10
 
11
 
12
 
@@ -28,7 +28,7 @@ WP Facebook Auto Publish is developed and maintained by <a href="https://xyzscri
28
  </tr>
29
  <!-- Supported Media -->
30
  <tr>
31
- <td rowspan="6"><h4>Supported Media</h4></td>
32
  <td>Facebook</td>
33
  <td><img src="<?php echo plugins_url("images/tick.png",XYZ_FBAP_PLUGIN_FILE);?>">
34
  </td>
@@ -64,24 +64,18 @@ WP Facebook Auto Publish is developed and maintained by <a href="https://xyzscri
64
  <td><img src="<?php echo plugins_url("images/tick.png",XYZ_FBAP_PLUGIN_FILE);?>">
65
  </td>
66
  </tr>
67
- <tr>
68
- <td>Google Plus<span style="color: #FF8000;font-size: 14px;font-weight: bold;">*</span></td>
69
- <td><img src="<?php echo plugins_url("images/cross.png",XYZ_FBAP_PLUGIN_FILE);?>">
70
- </td>
71
- <td><img src="<?php echo plugins_url("images/tick.png",XYZ_FBAP_PLUGIN_FILE);?>">
72
- </td>
73
- </tr>
74
  <!-- Posting Options -->
75
  <tr>
76
- <td rowspan="15"><h4>Posting Options</h4></td>
77
- <td>Publish to facebook profile/pages</td>
78
  <td><img src="<?php echo plugins_url("images/tick.png",XYZ_FBAP_PLUGIN_FILE);?>">
79
  </td>
80
  <td><img src="<?php echo plugins_url("images/tick.png",XYZ_FBAP_PLUGIN_FILE);?>">
81
  </td>
82
  </tr>
83
  <tr>
84
- <td>Publish to facebook groups/events</td>
85
  <td><img src="<?php echo plugins_url("images/cross.png",XYZ_FBAP_PLUGIN_FILE);?>">
86
  </td>
87
  <td><img src="<?php echo plugins_url("images/tick.png",XYZ_FBAP_PLUGIN_FILE);?>">
@@ -118,14 +112,6 @@ WP Facebook Auto Publish is developed and maintained by <a href="https://xyzscri
118
  <td><img src="<?php echo plugins_url("images/tick.png",XYZ_FBAP_PLUGIN_FILE);?>">
119
  </td>
120
  </tr>
121
-
122
- <tr>
123
- <td>Publish to google plus profile/pages</td>
124
- <td><img src="<?php echo plugins_url("images/cross.png",XYZ_FBAP_PLUGIN_FILE);?>">
125
- </td>
126
- <td><img src="<?php echo plugins_url("images/tick.png",XYZ_FBAP_PLUGIN_FILE);?>">
127
- </td>
128
- </tr>
129
  <tr>
130
  <td>Option to add twitter image description for visually impaired people</td>
131
  <td><img src="<?php echo plugins_url("images/cross.png",XYZ_FBAP_PLUGIN_FILE);?>">
@@ -166,7 +152,7 @@ WP Facebook Auto Publish is developed and maintained by <a href="https://xyzscri
166
  </tr>
167
 
168
  <tr>
169
- <td>Hash Tags support for Facebook, Twitter, Linkedin, Pinterest and Google plus</td>
170
  <td><img src="<?php echo plugins_url("images/cross.png",XYZ_FBAP_PLUGIN_FILE);?>">
171
  </td>
172
  <td><img src="<?php echo plugins_url("images/tick.png",XYZ_FBAP_PLUGIN_FILE);?>">
@@ -444,7 +430,7 @@ WP Facebook Auto Publish is developed and maintained by <a href="https://xyzscri
444
  </table>
445
  <br/>
446
  <div style="clear: both;"></div>
447
- <span style="color: #FF8000;font-size: 14px;font-weight: bold;"> * </span> Pinterest and Google Plus are added on experimental basis.
448
  <?php
449
 
450
  ?>
1
  <?php
2
  if( !defined('ABSPATH') ){ exit();}
3
  ?>
4
+ <h1 style="visibility: visible;">WP2FB Auto Publish (V <?php echo xyz_fbap_plugin_get_version(); ?>)</h1>
5
 
6
  <div style="width: 99%">
7
  <p style="text-align: justify">
8
+ WP2FB Auto Publish automatically publishes posts from your blog to your Facebook pages. It allows you to filter posts based on post-types and categories.
9
+ WP2FB Auto Publish is developed and maintained by <a href="https://xyzscripts.com">xyzscripts</a>.</p>
10
 
11
 
12
 
28
  </tr>
29
  <!-- Supported Media -->
30
  <tr>
31
+ <td rowspan="5"><h4>Supported Media</h4></td>
32
  <td>Facebook</td>
33
  <td><img src="<?php echo plugins_url("images/tick.png",XYZ_FBAP_PLUGIN_FILE);?>">
34
  </td>
64
  <td><img src="<?php echo plugins_url("images/tick.png",XYZ_FBAP_PLUGIN_FILE);?>">
65
  </td>
66
  </tr>
67
+
 
 
 
 
 
 
68
  <!-- Posting Options -->
69
  <tr>
70
+ <td rowspan="14"><h4>Posting Options</h4></td>
71
+ <td>Publish to facebook pages</td>
72
  <td><img src="<?php echo plugins_url("images/tick.png",XYZ_FBAP_PLUGIN_FILE);?>">
73
  </td>
74
  <td><img src="<?php echo plugins_url("images/tick.png",XYZ_FBAP_PLUGIN_FILE);?>">
75
  </td>
76
  </tr>
77
  <tr>
78
+ <td>Publish to facebook groups</td>
79
  <td><img src="<?php echo plugins_url("images/cross.png",XYZ_FBAP_PLUGIN_FILE);?>">
80
  </td>
81
  <td><img src="<?php echo plugins_url("images/tick.png",XYZ_FBAP_PLUGIN_FILE);?>">
112
  <td><img src="<?php echo plugins_url("images/tick.png",XYZ_FBAP_PLUGIN_FILE);?>">
113
  </td>
114
  </tr>
 
 
 
 
 
 
 
 
115
  <tr>
116
  <td>Option to add twitter image description for visually impaired people</td>
117
  <td><img src="<?php echo plugins_url("images/cross.png",XYZ_FBAP_PLUGIN_FILE);?>">
152
  </tr>
153
 
154
  <tr>
155
+ <td>Hash Tags support for Facebook, Twitter, Linkedin and Pinterest</td>
156
  <td><img src="<?php echo plugins_url("images/cross.png",XYZ_FBAP_PLUGIN_FILE);?>">
157
  </td>
158
  <td><img src="<?php echo plugins_url("images/tick.png",XYZ_FBAP_PLUGIN_FILE);?>">
430
  </table>
431
  <br/>
432
  <div style="clear: both;"></div>
433
+ <span style="color: #FF8000;font-size: 14px;font-weight: bold;"> * </span> Pinterest is added on experimental basis.
434
  <?php
435
 
436
  ?>
admin/admin-notices.php CHANGED
@@ -5,19 +5,19 @@ function wp_fbap_admin_notice()
5
  add_thickbox();
6
  $sharelink_text_array_fb = array
7
  (
8
- "I use WP Facebook Auto Publish wordpress plugin from @xyzscripts and you should too.",
9
- "WP Facebook Auto Publish wordpress plugin from @xyzscripts is awesome",
10
  "Thanks @xyzscripts for developing such a wonderful Facebook auto publishing wordpress plugin",
11
  "I was looking for a Facebook publishing plugin and I found this. Thanks @xyzscripts",
12
- "Its very easy to use WP Facebook Auto Publish wordpress plugin from @xyzscripts",
13
- "I installed WP Facebook Auto Publish from @xyzscripts,it works flawlessly",
14
- "WP Facebook Auto Publish wordpress plugin that i use works terrific",
15
- "I am using WP Facebook Auto Publish wordpress plugin from @xyzscripts and I like it",
16
- "The WP Facebook Auto Publish plugin from @xyzscripts is simple and works fine",
17
  "I've been using this Facebook plugin for a while now and it is really good",
18
- "WP Facebook Auto Publish wordpress plugin is a fantastic plugin",
19
- "WP Facebook Auto Publish wordpress plugin is easy to use and works great. Thank you!",
20
- "Good and flexible WP Facebook Auto publish plugin especially for beginners",
21
  "The best Facebook Auto publish wordpress plugin I have used ! THANKS @xyzscripts",
22
  );
23
  $sharelink_text_fb = array_rand($sharelink_text_array_fb, 1);
@@ -33,7 +33,7 @@ $xyz_fbap_notice = wp_nonce_url($xyz_fbap_notice,'fbap-shw');
33
  }
34
  </script>
35
  <div id="fbap_notice_td" class="error" style="color: #666666;margin-left: 2px; padding: 5px;line-height:16px;">
36
- <p>Thank you for using <a href="https://wordpress.org/plugins/facebook-auto-publish/" target="_blank"> WP Facebook Auto Publish </a> plugin from <a href="https://xyzscripts.com/" target="_blank">xyzscripts.com</a>. Would you consider supporting us with the continued development of the plugin using any of the below methods?</p>
37
  <p>
38
  <a href="https://wordpress.org/support/plugin/facebook-auto-publish/reviews" class="button xyz_rate_btn" target="_blank">Rate it 5★\'s on wordpress</a>';
39
  if(get_option('xyz_credit_link')=="0")
@@ -49,7 +49,6 @@ $xyz_fbap_notice = wp_nonce_url($xyz_fbap_notice,'fbap-shw');
49
  <a class="button" style="background-color:#3b5998;color:white;margin-right:4px;margin-left:100px;margin-top: 25px;" href="http://www.facebook.com/sharer/sharer.php?u=https://xyzscripts.com/wordpress-plugins/Facebook-auto-publish/" target="_blank">Facebook</a>
50
  <a class="button" style="background-color:#00aced;color:white;margin-right:4px;margin-left:20px;margin-top: 25px;" href="http://Twitter.com/share?url=https://xyzscripts.com/wordpress-plugins/Facebook-auto-publish/&text='.$sharelink_text_fb.'" target="_blank">Twitter</a>
51
  <a class="button" style="background-color:#007bb6;color:white;margin-right:4px;margin-left:20px;margin-top: 25px;" href="http://www.linkedin.com/shareArticle?mini=true&url=https://xyzscripts.com/wordpress-plugins/Facebook-auto-publish/" target="_blank">LinkedIn</a>
52
- <a class="button" style="background-color:#dd4b39;color:white;margin-right:4px;margin-left:20px;margin-top: 25px;" href="https://plus.google.com/share?&hl=en&url=https://xyzscripts.com/wordpress-plugins/Facebook-auto-publish/" target="_blank">google+</a>
53
  </div>
54
  </div>';
55
  }
5
  add_thickbox();
6
  $sharelink_text_array_fb = array
7
  (
8
+ "I use WP2FB Auto Publish wordpress plugin from @xyzscripts and you should too.",
9
+ "WP2FB Auto Publish wordpress plugin from @xyzscripts is awesome",
10
  "Thanks @xyzscripts for developing such a wonderful Facebook auto publishing wordpress plugin",
11
  "I was looking for a Facebook publishing plugin and I found this. Thanks @xyzscripts",
12
+ "Its very easy to use WP2FB Auto Publish wordpress plugin from @xyzscripts",
13
+ "I installed WP2FB Auto Publish from @xyzscripts,it works flawlessly",
14
+ "WP2FB Auto Publish wordpress plugin that i use works terrific",
15
+ "I am using WP2FB Auto Publish wordpress plugin from @xyzscripts and I like it",
16
+ "The WP2FB Auto Publish plugin from @xyzscripts is simple and works fine",
17
  "I've been using this Facebook plugin for a while now and it is really good",
18
+ "WP2FB Auto Publish wordpress plugin is a fantastic plugin",
19
+ "WP2FB Auto Publish wordpress plugin is easy to use and works great. Thank you!",
20
+ "Good and flexible WP2FB Auto Publish plugin especially for beginners",
21
  "The best Facebook Auto publish wordpress plugin I have used ! THANKS @xyzscripts",
22
  );
23
  $sharelink_text_fb = array_rand($sharelink_text_array_fb, 1);
33
  }
34
  </script>
35
  <div id="fbap_notice_td" class="error" style="color: #666666;margin-left: 2px; padding: 5px;line-height:16px;">
36
+ <p>Thank you for using <a href="https://wordpress.org/plugins/facebook-auto-publish/" target="_blank"> WP2FB Auto Publish </a> plugin from <a href="https://xyzscripts.com/" target="_blank">xyzscripts.com</a>. Would you consider supporting us with the continued development of the plugin using any of the below methods?</p>
37
  <p>
38
  <a href="https://wordpress.org/support/plugin/facebook-auto-publish/reviews" class="button xyz_rate_btn" target="_blank">Rate it 5★\'s on wordpress</a>';
39
  if(get_option('xyz_credit_link')=="0")
49
  <a class="button" style="background-color:#3b5998;color:white;margin-right:4px;margin-left:100px;margin-top: 25px;" href="http://www.facebook.com/sharer/sharer.php?u=https://xyzscripts.com/wordpress-plugins/Facebook-auto-publish/" target="_blank">Facebook</a>
50
  <a class="button" style="background-color:#00aced;color:white;margin-right:4px;margin-left:20px;margin-top: 25px;" href="http://Twitter.com/share?url=https://xyzscripts.com/wordpress-plugins/Facebook-auto-publish/&text='.$sharelink_text_fb.'" target="_blank">Twitter</a>
51
  <a class="button" style="background-color:#007bb6;color:white;margin-right:4px;margin-left:20px;margin-top: 25px;" href="http://www.linkedin.com/shareArticle?mini=true&url=https://xyzscripts.com/wordpress-plugins/Facebook-auto-publish/" target="_blank">LinkedIn</a>
 
52
  </div>
53
  </div>';
54
  }
admin/footer.php CHANGED
@@ -28,7 +28,6 @@ if(get_option('xyz_fbap_premium_version_ads')==1){?>
28
  <h3 class="xyz_fbap_inner_head">Follow Us </h3>
29
  <a target="_blank" href="http://facebook.com/xyzscripts" class="xyz_home_fbook"></a>
30
  <a target="_blank" href="http://twitter.com/xyzscripts" class="xyz_home_twitt"></a>
31
- <a target="_blank" href="https://plus.google.com/+Xyzscripts/" class="xyz_home_gplus"></a>
32
  <a style="margin-right:0px;" target="_blank" href="https://www.linkedin.com/company/xyzscripts" class="xyz_home_linkedin"></a>
33
  </div>
34
 
@@ -142,7 +141,7 @@ type="text" placeholder="Email" style="" value="<?php echo $current_user->use
142
  <p class="xyz_fbap_plugin_head">Our Plugins : </p>
143
 
144
  <a target="_blank" href="https://wordpress.org/plugins/social-media-auto-publish/"><span>1</span>Social Media Auto Publish</a>
145
- <a target="_blank" href="https://wordpress.org/plugins/facebook-auto-publish/"><span>2</span>WP Facebook Auto Publish</a>
146
  <a target="_blank" href="https://wordpress.org/plugins/twitter-auto-publish/"><span>3</span>WP Twitter Auto Publish</a>
147
  <a target="_blank" href="https://wordpress.org/plugins/linkedin-auto-publish/"><span>4</span>WP to LinkedIn Auto Publish</a>
148
  <a target="_blank" href="https://wordpress.org/plugins/insert-html-snippet/"><span>5</span>Insert HTML Snippet</a>
28
  <h3 class="xyz_fbap_inner_head">Follow Us </h3>
29
  <a target="_blank" href="http://facebook.com/xyzscripts" class="xyz_home_fbook"></a>
30
  <a target="_blank" href="http://twitter.com/xyzscripts" class="xyz_home_twitt"></a>
 
31
  <a style="margin-right:0px;" target="_blank" href="https://www.linkedin.com/company/xyzscripts" class="xyz_home_linkedin"></a>
32
  </div>
33
 
141
  <p class="xyz_fbap_plugin_head">Our Plugins : </p>
142
 
143
  <a target="_blank" href="https://wordpress.org/plugins/social-media-auto-publish/"><span>1</span>Social Media Auto Publish</a>
144
+ <a target="_blank" href="https://wordpress.org/plugins/facebook-auto-publish/"><span>2</span>WP2FB Auto Publish</a>
145
  <a target="_blank" href="https://wordpress.org/plugins/twitter-auto-publish/"><span>3</span>WP Twitter Auto Publish</a>
146
  <a target="_blank" href="https://wordpress.org/plugins/linkedin-auto-publish/"><span>4</span>WP to LinkedIn Auto Publish</a>
147
  <a target="_blank" href="https://wordpress.org/plugins/insert-html-snippet/"><span>5</span>Insert HTML Snippet</a>
admin/install.php CHANGED
@@ -24,11 +24,11 @@ function fbap_install_free()
24
  {
25
  /*$pluginName = 'xyz-wp-smap/xyz-wp-smap.php';
26
  if (is_plugin_active($pluginName)) {
27
- wp_die( "The plugin WP Facebook Auto Publish cannot be activated unless the premium version of this plugin is deactivated. Back to <a href='".admin_url()."plugins.php'>Plugin Installation</a>." );
28
  }*/
29
  if (version_compare(PHP_VERSION, '5.4.0', '<')) {
30
 
31
- wp_die( "The plugin WP Facebook Auto Publish requires PHP version 5.4 or higher. Back to <a href='".admin_url()."plugins.php'>Plugin Installation</a>." );
32
 
33
  }
34
 
24
  {
25
  /*$pluginName = 'xyz-wp-smap/xyz-wp-smap.php';
26
  if (is_plugin_active($pluginName)) {
27
+ wp_die( "The plugin WP2FB Auto Publish cannot be activated unless the premium version of this plugin is deactivated. Back to <a href='".admin_url()."plugins.php'>Plugin Installation</a>." );
28
  }*/
29
  if (version_compare(PHP_VERSION, '5.4.0', '<')) {
30
 
31
+ wp_die( "The plugin WP2FB Auto Publish requires PHP version 5.4 or higher. Back to <a href='".admin_url()."plugins.php'>Plugin Installation</a>." );
32
 
33
  }
34
 
admin/menu.php CHANGED
@@ -19,7 +19,7 @@ add_action("admin_enqueue_scripts","xyz_fbap_add_admin_scripts");
19
 
20
  function xyz_fbap_menu()
21
  {
22
- add_menu_page('Facebook Auto Publish - Manage settings', 'WP Facebook Auto Publish', 'manage_options', 'facebook-auto-publish-settings', 'xyz_fbap_settings',plugin_dir_url( XYZ_FBAP_PLUGIN_FILE ) . 'images/fbap.png');
23
  add_submenu_page('facebook-auto-publish-settings', 'Facebook Auto Publish - Manage settings', ' Settings', 'manage_options', 'facebook-auto-publish-settings' ,'xyz_fbap_settings'); // 8 for admin
24
  if(get_option('xyz_fbap_xyzscripts_hash_val')!=''&& get_option('xyz_fbap_xyzscripts_user_id')!='')
25
  add_submenu_page('facebook-auto-publish-settings', 'Facebook Auto Publish - Manage Authorizations', 'Manage Authorizations', 'manage_options', 'facebook-auto-publish-manage-authorizations' ,'xyz_fbap_manage_authorizations');
19
 
20
  function xyz_fbap_menu()
21
  {
22
+ add_menu_page('Facebook Auto Publish - Manage settings', 'WP2FB Auto Publish', 'manage_options', 'facebook-auto-publish-settings', 'xyz_fbap_settings',plugin_dir_url( XYZ_FBAP_PLUGIN_FILE ) . 'images/fbap.png');
23
  add_submenu_page('facebook-auto-publish-settings', 'Facebook Auto Publish - Manage settings', ' Settings', 'manage_options', 'facebook-auto-publish-settings' ,'xyz_fbap_settings'); // 8 for admin
24
  if(get_option('xyz_fbap_xyzscripts_hash_val')!=''&& get_option('xyz_fbap_xyzscripts_user_id')!='')
25
  add_submenu_page('facebook-auto-publish-settings', 'Facebook Auto Publish - Manage Authorizations', 'Manage Authorizations', 'manage_options', 'facebook-auto-publish-manage-authorizations' ,'xyz_fbap_manage_authorizations');
admin/metabox.php CHANGED
@@ -51,13 +51,13 @@ if(isset($_GET['action']) && $_GET['action']=="edit" && !empty($_GET['post']))
51
 
52
 
53
  if((get_option('xyz_fbap_af')==0 && get_option('xyz_fbap_post_permission')==1 && ((get_option('xyz_fbap_fb_token')!=""&& (get_option('xyz_fbap_app_sel_mode')==0))|| (get_option('xyz_fbap_app_sel_mode')==1 && get_option('xyz_fbap_page_names')!=""))))
54
- add_meta_box( 'xyz_fbap', '<strong>WP Facebook Auto Publish </strong>', 'xyz_fbap_addpostmetatags',
55
  null, 'normal', 'high',
56
  array(
57
  '__block_editor_compatible_meta_box' => true,
58
  )
59
  );
60
- //add_meta_box( "xyz_fbap", '<strong>WP Facebook Auto Publish </strong>', 'xyz_fbap_addpostmetatags') ;
61
  }
62
  function xyz_fbap_addpostmetatags()
63
  {
@@ -112,7 +112,7 @@ jQuery(document).ready(function() {
112
  fbap_get_categorylist(1);
113
  });
114
 
115
- fbap_get_categorylist(1);
116
  jQuery('#category-all').on("click",'input[name="post_category[]"]',function() {
117
  fbap_get_categorylist(1);
118
  });
@@ -120,28 +120,52 @@ jQuery(document).ready(function() {
120
  jQuery('#category-pop').on("click",'input[type="checkbox"]',function() {
121
  fbap_get_categorylist(2);
122
  });
 
 
 
 
123
  });
124
 
125
  function fbap_get_categorylist(val)
126
  {
 
127
  var cat_list="";var chkdArray=new Array();var cat_list_array=new Array();
128
  var posttype="<?php echo get_post_type() ;?>";
129
  if(val==1){
130
  jQuery('input[name="post_category[]"]:checked').each(function() {
131
- cat_list+=this.value+",";
132
  });
133
  }else if(val==2)
134
  {
135
- jQuery('#category-pop input[type="checkbox"]:checked').each(function() {
136
-
137
- cat_list+=this.value+",";
 
138
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
139
  }
140
  if (cat_list.charAt(cat_list.length - 1) == ',') {
141
  cat_list = cat_list.substr(0, cat_list.length - 1);
142
  }
143
  jQuery('#cat_list').val(cat_list);
144
-
145
  var xyz_fbap_catlist="<?php echo $xyz_fbap_catlist;?>";
146
  if(xyz_fbap_catlist!="All")
147
  {
@@ -183,7 +207,25 @@ function inArray(needle, haystack) {
183
  <input type="hidden" name="cat_list" id="cat_list" value="">
184
  <input type="hidden" name="xyz_fbap_post" id="xyz_fbap_post" value="0" >
185
  <tr id="xyz_fbMetabox"><td colspan="2" >
186
- <?php if(get_option('xyz_fbap_post_permission')==1) {?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
187
  <table class="xyz_fbap_meta_acclist_table"><!-- FB META -->
188
 
189
 
@@ -199,8 +241,8 @@ function inArray(needle, haystack) {
199
  <td class="xyz_fbap_pleft15" width="60%">Enable auto publish post to my facebook account
200
  </td>
201
  <td class="switch-field">
202
- <label id="xyz_fbap_post_permission_yes"><input type="radio" name="xyz_fbap_post_permission" id="xyz_fbap_post_permission_1" value="1" checked/>Yes</label>
203
- <label id="xyz_fbap_post_permission_no"><input type="radio" name="xyz_fbap_post_permission" id="xyz_fbap_post_permission_0" value="0" />No</label>
204
 
205
  </td>
206
  </tr>
@@ -209,21 +251,21 @@ function inArray(needle, haystack) {
209
  </td>
210
  <td><select id="xyz_fbap_po_method" name="xyz_fbap_po_method">
211
  <option value="3"
212
- <?php if(get_option('xyz_fbap_po_method')==3) echo 'selected';?>>Simple text message</option>
213
 
214
  <optgroup label="Text message with image">
215
  <option value="4"
216
- <?php if(get_option('xyz_fbap_po_method')==4) echo 'selected';?>>Upload image to app album</option>
217
  <option value="5"
218
- <?php if(get_option('xyz_fbap_po_method')==5) echo 'selected';?>>Upload image to timeline album</option>
219
  </optgroup>
220
 
221
  <optgroup label="Text message with attached link">
222
  <option value="1"
223
- <?php if(get_option('xyz_fbap_po_method')==1) echo 'selected';?>>Attach
224
  your blog post</option>
225
  <option value="2"
226
- <?php if(get_option('xyz_fbap_po_method')==2) echo 'selected';?>>
227
  Share a link to your blog post</option>
228
  </optgroup>
229
  </select>
@@ -258,7 +300,7 @@ function inArray(needle, haystack) {
258
  </select> </td></tr>
259
 
260
  <tr id="fpabpmftarea"><td>&nbsp;</td><td>
261
- <textarea id="xyz_fbap_message" name="xyz_fbap_message" style="height:80px !important;" ><?php echo esc_textarea(get_option('xyz_fbap_message'));?></textarea>
262
  </td></tr>
263
 
264
  </table>
@@ -280,7 +322,7 @@ function inArray(needle, haystack) {
280
  var xyz_fbap_default_selection_edit="<?php echo esc_html(get_option('xyz_fbap_default_selection_edit'));?>";
281
  if(xyz_fbap_default_selection_edit=="")
282
  xyz_fbap_default_selection_edit=0;
283
- if(xyz_fbap_default_selection_edit==1)
284
  return;
285
  jQuery('#xyz_fbap_post_permission_0').attr('checked',true);
286
  displaycheck_fbap();
51
 
52
 
53
  if((get_option('xyz_fbap_af')==0 && get_option('xyz_fbap_post_permission')==1 && ((get_option('xyz_fbap_fb_token')!=""&& (get_option('xyz_fbap_app_sel_mode')==0))|| (get_option('xyz_fbap_app_sel_mode')==1 && get_option('xyz_fbap_page_names')!=""))))
54
+ add_meta_box( 'xyz_fbap', '<strong>WP2FB Auto Publish </strong>', 'xyz_fbap_addpostmetatags',
55
  null, 'normal', 'high',
56
  array(
57
  '__block_editor_compatible_meta_box' => true,
58
  )
59
  );
60
+ //add_meta_box( "xyz_fbap", '<strong>WP2FB Auto Publish </strong>', 'xyz_fbap_addpostmetatags') ;
61
  }
62
  function xyz_fbap_addpostmetatags()
63
  {
112
  fbap_get_categorylist(1);
113
  });
114
 
115
+ fbap_get_categorylist(1);fbap_get_categorylist(2);
116
  jQuery('#category-all').on("click",'input[name="post_category[]"]',function() {
117
  fbap_get_categorylist(1);
118
  });
120
  jQuery('#category-pop').on("click",'input[type="checkbox"]',function() {
121
  fbap_get_categorylist(2);
122
  });
123
+ /////////gutenberg category selection
124
+ jQuery(document).on('change', 'input[type="checkbox"]', function() {
125
+ fbap_get_categorylist(2);
126
+ });
127
  });
128
 
129
  function fbap_get_categorylist(val)
130
  {
131
+ var flag=true;
132
  var cat_list="";var chkdArray=new Array();var cat_list_array=new Array();
133
  var posttype="<?php echo get_post_type() ;?>";
134
  if(val==1){
135
  jQuery('input[name="post_category[]"]:checked').each(function() {
136
+ cat_list+=this.value+",";flag=false;
137
  });
138
  }else if(val==2)
139
  {
140
+ jQuery('#category-pop input[type="checkbox"]').each(function() {
141
+ if(jQuery(this).is(":checked"))
142
+ cat_list+=this.value+",";
143
+ flag=false;
144
  });
145
+ jQuery('.editor-post-taxonomies__hierarchical-terms-choice input[type="checkbox"]').each(function() { //gutenberg category checkbox
146
+ if(jQuery(this).is(":checked"))
147
+ cat_list+=this.value+",";
148
+ flag=false;
149
+ });
150
+ if(flag){
151
+ <?php
152
+ if (isset($_GET['post']))
153
+ $postid=intval($_GET['post']);
154
+ if (isset($GLOBALS['edit_flag']) && $GLOBALS['edit_flag']==1 && !empty($postid)){
155
+ $defaults = array('fields' => 'ids');
156
+ $categ_arr=wp_get_post_categories( $postid, $defaults );
157
+ $categ_str=implode(',', $categ_arr);
158
+ ?>
159
+ cat_list+='<?php echo $categ_str; ?>';
160
+ <?php }?>
161
+ flag=false;
162
+
163
+ }
164
  }
165
  if (cat_list.charAt(cat_list.length - 1) == ',') {
166
  cat_list = cat_list.substr(0, cat_list.length - 1);
167
  }
168
  jQuery('#cat_list').val(cat_list);
 
169
  var xyz_fbap_catlist="<?php echo $xyz_fbap_catlist;?>";
170
  if(xyz_fbap_catlist!="All")
171
  {
207
  <input type="hidden" name="cat_list" id="cat_list" value="">
208
  <input type="hidden" name="xyz_fbap_post" id="xyz_fbap_post" value="0" >
209
  <tr id="xyz_fbMetabox"><td colspan="2" >
210
+ <?php if(get_option('xyz_fbap_post_permission')==1) {
211
+ $postid=0;
212
+ if (isset($_GET['post']))
213
+ $postid=intval($_GET['post']);
214
+ $post_permission=1;
215
+ $get_post_meta_future_data='';
216
+ if (get_option('xyz_fbap_default_selection_edit')==2 && isset($GLOBALS['edit_flag']) && $GLOBALS['edit_flag']==1 && !empty($postid))
217
+ $get_post_meta_future_data=get_post_meta($postid,"xyz_fbap_future_to_publish",true);
218
+ if (!empty($get_post_meta_future_data)&& isset($get_post_meta_future_data['post_fb_permission']))
219
+ {
220
+ $post_permission=$get_post_meta_future_data['post_fb_permission'];
221
+ $xyz_fbap_po_method=$get_post_meta_future_data['xyz_fbap_po_method'];
222
+ $xyz_fbap_message=$get_post_meta_future_data['xyz_fbap_message'];
223
+ }
224
+ else {
225
+ $xyz_fbap_po_method=get_option('xyz_fbap_po_method');
226
+ $xyz_fbap_message=get_option('xyz_fbap_message');
227
+ }
228
+ ?>
229
  <table class="xyz_fbap_meta_acclist_table"><!-- FB META -->
230
 
231
 
241
  <td class="xyz_fbap_pleft15" width="60%">Enable auto publish post to my facebook account
242
  </td>
243
  <td class="switch-field">
244
+ <label id="xyz_fbap_post_permission_yes"><input type="radio" name="xyz_fbap_post_permission" id="xyz_fbap_post_permission_1" value="1" <?php if($post_permission==1) echo 'checked';?>/>Yes</label>
245
+ <label id="xyz_fbap_post_permission_no"><input type="radio" name="xyz_fbap_post_permission" id="xyz_fbap_post_permission_0" value="0" <?php if($post_permission==0) echo 'checked';?> />No</label>
246
 
247
  </td>
248
  </tr>
251
  </td>
252
  <td><select id="xyz_fbap_po_method" name="xyz_fbap_po_method">
253
  <option value="3"
254
+ <?php if($xyz_fbap_po_method==3) echo 'selected';?>>Simple text message</option>
255
 
256
  <optgroup label="Text message with image">
257
  <option value="4"
258
+ <?php if($xyz_fbap_po_method==4) echo 'selected';?>>Upload image to app album</option>
259
  <option value="5"
260
+ <?php if($xyz_fbap_po_method==5) echo 'selected';?>>Upload image to timeline album</option>
261
  </optgroup>
262
 
263
  <optgroup label="Text message with attached link">
264
  <option value="1"
265
+ <?php if($xyz_fbap_po_method==1) echo 'selected';?>>Attach
266
  your blog post</option>
267
  <option value="2"
268
+ <?php if($xyz_fbap_po_method==2) echo 'selected';?>>
269
  Share a link to your blog post</option>
270
  </optgroup>
271
  </select>
300
  </select> </td></tr>
301
 
302
  <tr id="fpabpmftarea"><td>&nbsp;</td><td>
303
+ <textarea id="xyz_fbap_message" name="xyz_fbap_message" style="height:80px !important;" ><?php echo esc_textarea($xyz_fbap_message);?></textarea>
304
  </td></tr>
305
 
306
  </table>
322
  var xyz_fbap_default_selection_edit="<?php echo esc_html(get_option('xyz_fbap_default_selection_edit'));?>";
323
  if(xyz_fbap_default_selection_edit=="")
324
  xyz_fbap_default_selection_edit=0;
325
+ if(xyz_fbap_default_selection_edit==1 || xyz_fbap_default_selection_edit==2)
326
  return;
327
  jQuery('#xyz_fbap_post_permission_0').attr('checked',true);
328
  displaycheck_fbap();
admin/publish.php CHANGED
@@ -23,10 +23,19 @@ function xyz_link_fbap_future_to_publish($new_status, $old_status, $post){
23
  $GLOBALS['fbap_dup_publish']=array();
24
  $postid =$post->ID;
25
  $get_post_meta=get_post_meta($postid,"xyz_fbap",true);
26
-
27
  $post_permissin=get_option('xyz_fbap_post_permission');
28
  if(isset($_POST['xyz_fbap_post_permission']))
 
29
  $post_permissin=intval($_POST['xyz_fbap_post_permission']);
 
 
 
 
 
 
 
 
30
  else
31
  {
32
  if ($post_permissin == 1) {
@@ -57,10 +66,17 @@ function xyz_link_fbap_future_to_publish($new_status, $old_status, $post){
57
  function xyz_fbap_link_publish($post_ID) {
58
  $_POST_CPY=$_POST;
59
  $_POST=stripslashes_deep($_POST);
60
-
 
61
  $post_permissin=get_option('xyz_fbap_post_permission');
62
  if(isset($_POST['xyz_fbap_post_permission']))
63
  $post_permissin=intval($_POST['xyz_fbap_post_permission']);
 
 
 
 
 
 
64
 
65
  if ($post_permissin != 1) {
66
  $_POST=$_POST_CPY;
@@ -87,12 +103,16 @@ function xyz_fbap_link_publish($post_ID) {
87
  $message=get_option('xyz_fbap_message');
88
  if(isset($_POST['xyz_fbap_message']))
89
  $message=$_POST['xyz_fbap_message'];
 
 
90
 
91
  //$fbid=get_option('xyz_fbap_fb_id');
92
 
93
  $posting_method=get_option('xyz_fbap_po_method');
94
  if(isset($_POST['xyz_fbap_po_method']))
95
  $posting_method=intval($_POST['xyz_fbap_po_method']);
 
 
96
 
97
  $af=get_option('xyz_fbap_af');
98
 
23
  $GLOBALS['fbap_dup_publish']=array();
24
  $postid =$post->ID;
25
  $get_post_meta=get_post_meta($postid,"xyz_fbap",true);
26
+ $get_post_meta_future_data=get_post_meta($postid,"xyz_fbap_future_to_publish",true);
27
  $post_permissin=get_option('xyz_fbap_post_permission');
28
  if(isset($_POST['xyz_fbap_post_permission']))
29
+ {
30
  $post_permissin=intval($_POST['xyz_fbap_post_permission']);
31
+ if ( (isset($_POST['xyz_fbap_post_permission']) && isset($_POST['xyz_fbap_po_method'])) )
32
+ {
33
+ $futToPubDataArray=array( 'post_fb_permission' => $post_permissin,
34
+ 'xyz_fbap_po_method' => $_POST['xyz_fbap_po_method'],
35
+ 'xyz_fbap_message' => $_POST['xyz_fbap_message']);
36
+ update_post_meta($postid, "xyz_fbap_future_to_publish", $futToPubDataArray);
37
+ }
38
+ }
39
  else
40
  {
41
  if ($post_permissin == 1) {
66
  function xyz_fbap_link_publish($post_ID) {
67
  $_POST_CPY=$_POST;
68
  $_POST=stripslashes_deep($_POST);
69
+ $get_post_meta_future_data=get_post_meta($post_ID,"xyz_fbap_future_to_publish",true);
70
+ $xyz_fbap_po_method=$xyz_fbap_message='';
71
  $post_permissin=get_option('xyz_fbap_post_permission');
72
  if(isset($_POST['xyz_fbap_post_permission']))
73
  $post_permissin=intval($_POST['xyz_fbap_post_permission']);
74
+ elseif(!empty($get_post_meta_future_data) && get_option('xyz_fbap_default_selection_edit')==2 )///select values from post meta
75
+ {
76
+ $post_permissin=$get_post_meta_future_data['post_fb_permission'];
77
+ $xyz_fbap_po_method=$get_post_meta_future_data['xyz_fbap_po_method'];
78
+ $xyz_fbap_message=$get_post_meta_future_data['xyz_fbap_message'];
79
+ }
80
 
81
  if ($post_permissin != 1) {
82
  $_POST=$_POST_CPY;
103
  $message=get_option('xyz_fbap_message');
104
  if(isset($_POST['xyz_fbap_message']))
105
  $message=$_POST['xyz_fbap_message'];
106
+ elseif($xyz_fbap_message !='')
107
+ $message=$xyz_fbap_message;
108
 
109
  //$fbid=get_option('xyz_fbap_fb_id');
110
 
111
  $posting_method=get_option('xyz_fbap_po_method');
112
  if(isset($_POST['xyz_fbap_po_method']))
113
  $posting_method=intval($_POST['xyz_fbap_po_method']);
114
+ elseif($xyz_fbap_po_method !='')
115
+ $posting_method=$xyz_fbap_po_method;
116
 
117
  $af=get_option('xyz_fbap_af');
118
 
admin/settings.php CHANGED
@@ -697,10 +697,10 @@ function dethide_fbap(id)
697
  <tr valign="top">
698
  <td scope="row" colspan="1" width="50%">Auto publish on editing posts/pages/custom post types
699
  </td>
700
- <td class="switch-field">
701
- <label id="xyz_fbap_default_selection_edit_yes"><input type="radio" name="xyz_fbap_default_selection_edit" value="1" <?php if($xyz_fbap_default_selection_edit==1) echo 'checked';?>/>Enabled</label>
702
- <label id="xyz_fbap_default_selection_edit_no"><input type="radio" name="xyz_fbap_default_selection_edit" value="0" <?php if($xyz_fbap_default_selection_edit==0) echo 'checked';?>/>Disabled</label>
703
-
704
  </td>
705
  </tr>
706
 
@@ -840,7 +840,7 @@ jQuery(document).ready(function() {
840
  XyzFbapToggleRadio(xyz_fbap_cat_all,'xyz_fbap_include_categories');
841
 
842
  var fbap_toggle_element_ids=['xyz_fbap_post_permission','xyz_fbap_include_pages',
843
- 'xyz_fbap_include_posts','xyz_fbap_default_selection_edit',
844
  'xyz_fbap_peer_verification','xyz_fbap_premium_version_ads'];
845
  jQuery.each(fbap_toggle_element_ids, function( index, value ) {
846
  checkedval= jQuery("input[name='"+value+"']:checked").val();
@@ -941,7 +941,7 @@ jQuery("#select_all_pages").click(function(){
941
  });
942
 
943
  var fbap_toggle_element_ids=['xyz_fbap_post_permission','xyz_fbap_include_pages',
944
- 'xyz_fbap_include_posts','xyz_fbap_default_selection_edit',
945
  'xyz_fbap_peer_verification','xyz_credit_link','xyz_fbap_premium_version_ads','xyz_fbap_include_categories'];
946
 
947
  jQuery.each(fbap_toggle_element_ids, function( index, value ) {
697
  <tr valign="top">
698
  <td scope="row" colspan="1" width="50%">Auto publish on editing posts/pages/custom post types
699
  </td>
700
+ <td >
701
+ <input type="radio" name="xyz_fbap_default_selection_edit" value="1" <?php if($xyz_fbap_default_selection_edit==1) echo 'checked';?>/>Enabled<br/>
702
+ <input type="radio" name="xyz_fbap_default_selection_edit" value="0" <?php if($xyz_fbap_default_selection_edit==0) echo 'checked';?>/>Disabled<br/>
703
+ <input type="radio" name="xyz_fbap_default_selection_edit" value="2" <?php if($xyz_fbap_default_selection_edit==2) echo 'checked';?>/>Use settings from post creation or post updation
704
  </td>
705
  </tr>
706
 
840
  XyzFbapToggleRadio(xyz_fbap_cat_all,'xyz_fbap_include_categories');
841
 
842
  var fbap_toggle_element_ids=['xyz_fbap_post_permission','xyz_fbap_include_pages',
843
+ 'xyz_fbap_include_posts',
844
  'xyz_fbap_peer_verification','xyz_fbap_premium_version_ads'];
845
  jQuery.each(fbap_toggle_element_ids, function( index, value ) {
846
  checkedval= jQuery("input[name='"+value+"']:checked").val();
941
  });
942
 
943
  var fbap_toggle_element_ids=['xyz_fbap_post_permission','xyz_fbap_include_pages',
944
+ 'xyz_fbap_include_posts',
945
  'xyz_fbap_peer_verification','xyz_credit_link','xyz_fbap_premium_version_ads','xyz_fbap_include_categories'];
946
 
947
  jQuery.each(fbap_toggle_element_ids, function( index, value ) {
css/style.css CHANGED
@@ -1,757 +1,757 @@
1
- #system_notice_area {
2
- position: fixed;
3
- margin-bottom:40px;
4
- left:25%;
5
- width:50%;
6
- height:20px;
7
- border-radius:5px;
8
- -moz-border-radius:5px;
9
- -webkit-border-radius:5px;
10
- font-weight:bold;
11
- display:none;
12
- padding:3px;
13
- color: #000000;
14
- text-align: center;
15
- top: 0px;
16
- z-index: 100000;
17
-
18
- }
19
- .xyz_suggest,.xyz_star,.xyz_donate,.xyz_fbook,.xyz_support,.xyz_twitt,.xyz_gplus,.xyz_linkdin{
20
- height:16px;
21
- background-repeat: no-repeat;
22
- background-size: contain;
23
- padding-left: 20px;
24
- text-decoration: none;
25
-
26
- vertical-align: middle;
27
- display: inline-block;
28
-
29
- }
30
- .xyz_suggest{
31
-
32
- background-image: url('../images/suggest.png');
33
- }
34
-
35
- .xyz_star{
36
- background-image: url('../images/star.png');
37
- }
38
-
39
- .xyz_donate{
40
-
41
- background-image: url('../images/donate.png');
42
- }
43
-
44
- .xyz_support{
45
-
46
- background-image: url('../images/support.png');
47
- }
48
- .xyz_home_fbook {
49
-
50
- background-image: url('../images/facebook.png');
51
- }
52
-
53
-
54
- .xyz_home_twitt {
55
-
56
- background-image: url('../images/twitter.png');
57
- }
58
- .xyz_home_gplus {
59
-
60
- background-image: url('../images/gplus.png');
61
- }
62
- .xyz_home_linkedin {
63
-
64
- background-image: url('../images/linkedin.png');
65
- }
66
- .xyz_fbook{
67
-
68
- background-image: url('../images/facebook.png');
69
- }
70
- .xyz_twitt{
71
-
72
- background-image: url('../images/twitter.png');
73
- }
74
- .xyz_gplus{
75
-
76
- background-image: url('../images/gplus.png');
77
- }
78
-
79
- .xyz_linkdin{
80
-
81
- background-image: url('../images/linkedin.png');
82
- }
83
-
84
-
85
- #facebook-auto-publish .xyz_fbook{
86
- margin-left: 3px;
87
- }
88
-
89
- #facebook-auto-publish .xyz_twitt{
90
- margin-left: 3px;
91
- }
92
-
93
- #facebook-auto-publish .xyz_gplus{
94
- margin-left: 3px;
95
- }
96
-
97
- #facebook-auto-publish .xyz_linkdin{
98
- margin-left: 3px;
99
- }
100
-
101
- #facebook-auto-publish .xyz_support{
102
- margin-left: 3px;margin-right: -3px;
103
- }
104
-
105
- #facebook-auto-publish .plugin-version-author-uri {
106
-
107
- background-color: #F4F4F4;
108
- min-height:16px;
109
- border-radius:5px;
110
- margin-bottom: 10px;
111
- font-weight:bold;
112
- padding: 5px;
113
- color: #111111;
114
-
115
- -webkit-box-shadow: 0 8px 6px -6px black;
116
- -moz-box-shadow: 0 8px 6px -6px black;
117
- box-shadow: 0 8px 6px -6px black;
118
-
119
- }
120
-
121
- #facebook-auto-publish th,#facebook-auto-publish td{
122
- background: #a9e8f5; /* Old browsers */
123
- background: linear-gradient( #ffffff,#a9e8f5 ); /* W3C */
124
- }
125
- #facebook-auto-publish .plugin-version-author-uri a,
126
- #facebook-auto-publish .plugin-version-author-uri a:link,
127
- #facebook-auto-publish .plugin-version-author-uri a:hover,
128
- #facebook-auto-publish .plugin-version-author-uri a:active,
129
- #facebook-auto-publish .plugin-version-author-uri a:visited{
130
- color: #111111;
131
- text-decoration: none;
132
-
133
- }
134
- #facebook-auto-publish .plugin-version-author-uri a:hover{
135
-
136
- color:#cc811a;
137
- }
138
- #facebook-auto-publish .plugin-title{
139
-
140
- background: url('images/xyz_logo.png'),linear-gradient( #ffffff,#a9e8f5 );
141
- background-repeat: no-repeat;
142
- background-position: left bottom;
143
-
144
- }
145
-
146
- .xyz-premium-comparison
147
- {
148
- width: 99%;
149
- padding:0px;
150
- border: 1px solid #CCCCCC;
151
- border-radius:3px;
152
- }
153
- .xyz-premium-comparison td
154
- {
155
- padding: 1px;
156
- border: 1px solid #CCCCCC;
157
- height: 25px;
158
- }
159
-
160
- /* Buy Now - button bounce style*/
161
- img.hoverImages {
162
- margin-bottom:20px;
163
- -webkit-transition: margin 0.2s ease-out;
164
- -moz-transition: margin 0.2s ease-out;
165
- -o-transition: margin 0.2s ease-out;
166
- }
167
- img.hoverImages:hover {
168
- cursor:pointer;
169
- margin-top: 5px;
170
- }
171
-
172
-
173
- #system_notice_area_dismiss{
174
- color: #FFFFFF;
175
- cursor: pointer;
176
- }
177
- .system_notice_area_style1 {
178
- background: #00C348;
179
- border: 1px solid green;
180
- }
181
-
182
- .system_notice_area_style0 {
183
- background: #FA5A6A;
184
- border: 1px solid brown;
185
- }
186
-
187
- .submit_fbap_new{
188
- background: #698600;
189
- color: #f7f7f7 !important;
190
- border-radius: 2px !important;
191
- border: none;
192
- font-family: "Helvetica Neue",sans-serif;
193
- font-size: 13px;
194
- cursor: pointer;
195
- padding: 8px 15px;
196
- font-weight: 500;
197
- text-transform: uppercase;
198
- outline: 0;
199
- }
200
-
201
- .fbap_informationdiv {
202
- background: none repeat scroll 0 0 #9FDAEE;
203
- border: 1px solid #209BD4;
204
- border-radius: 5px 5px 5px 5px;
205
- box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
206
- float: left;
207
- padding: 10px;
208
- position: absolute;
209
- z-index: 1200;
210
- }
211
- .xyz_feedback{
212
- background: #CEEAF7; /* Old browsers */
213
- border: 1px solid #64cfe8;
214
- border-radius:3px;
215
- width: 98%;
216
- min-height:40px;
217
- height:auto;
218
- padding-left: 10px;
219
- padding-top: 10px;
220
- font-weight: bold;
221
- line-height: 20px;
222
-
223
- }
224
-
225
- .xyz_feedback a{
226
- text-decoration: none
227
- }
228
-
229
- .xyz_subscribe{
230
- background: #bae598; /* Old browsers */
231
- border: 1px solid #4d8a1d;
232
- border-radius:3px;
233
- width: 98%;
234
- line-height:20px;
235
- min-height:45px;
236
- height:auto;
237
- padding-left: 10px;
238
- padding-top: 10px;
239
-
240
- }
241
- .xyz_subscribe td{
242
- padding:0;
243
- }
244
-
245
- .xyz_plugins{
246
- background: #F2F2F2; /* Old browsers */
247
- border: 1px solid #DFDFDF;
248
- border-radius:3px;
249
- width: 98%;
250
- padding-left: 10px;
251
- padding-top:10px;
252
- min-height:50px;
253
- height:auto;
254
- margin-top:13px;
255
- line-height: 20px;
256
-
257
- }
258
- .xyz_fbap_poweredBy{
259
- padding-top: 10px;float:left; text-align: center; width: 100%;
260
- }
261
-
262
- .xyz_fbap_poweredBy a{
263
- text-decoration: none;
264
- }
265
-
266
- .submit_fbap{
267
- background:#25A6E1;
268
- background:-moz-linear-gradient(top,#25A6E1 0%,#188BC0 100%);
269
- background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#25A6E1),color-stop(100%,#188BC0));
270
- background:-webkit-linear-gradient(top,#25A6E1 0%,#188BC0 100%);
271
- background:-o-linear-gradient(top,#25A6E1 0%,#188BC0 100%);
272
- background:-ms-linear-gradient(top,#25A6E1 0%,#188BC0 100%);
273
- background:linear-gradient(top,#25A6E1 0%,#188BC0 100%);
274
- filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#25A6E1",endColorstr="#188BC0",GradientType=0);
275
- color:#ffffff;
276
- font-family:"Helvetica Neue",sans-serif;
277
- font-size:13px;
278
- cursor:pointer;
279
- color:#FFFFFF !important;border-radius:4px !important;
280
- border:1px solid #1A87B9;height: 30px;
281
- padding-left: 15px;
282
- padding-right: 15px;
283
- }
284
- #xyz-wp-fbap-premium {
285
- border: 1px solid #FCC328;
286
- margin-bottom: 20px;
287
- margin-top: 20px;
288
- background-color: #FFF6D6;
289
- padding: 3px;
290
- width: 98%;
291
- border-radius:3px;
292
- float: left;
293
- }
294
- a.xyz_fbap_link:hover{text-decoration:underline;}
295
- .xyz_fbap_link{text-decoration:none;font-weight: bold;margin-left:8px;}
296
-
297
- .xyz_fbap_widefat_table input[type="text"], .xyz_fbap_widefat_table input[type="password"], .xyz_fbap_widefat_table input[type="email"], .xyz_fbap_widefat_table input[type="number"], .xyz_fbap_widefat_table input[type="search"], .xyz_fbap_widefat_table input[type="tel"], .xyz_fbap_widefat_table input[type="url"], .xyz_fbap_widefat_table select {
298
- width: 200px;padding: 5px !important;height: 2.35em !important;
299
- }
300
- .xyz_fbap_widefat_table textarea
301
- {
302
- width: 200px;padding: 5px !important;height: 80px !important;
303
- }
304
-
305
- .xyz_fbap_metalist_table{
306
- width: 100%;
307
- }
308
-
309
- .xyz_fbap_pleft15{
310
- padding-left: 15px;
311
- }
312
-
313
- .xyz_fbap_meta_acclist_table{
314
- width: 100%;border: 1px solid #DFDFDF;border-radius:3px; margin-top: 8px;padding-bottom: 5px;
315
- }
316
- .xyz_fbap_meta_acclist_table_td{
317
- background: linear-gradient(to top, #ECECEC, #F9F9F9) repeat scroll 0 0 #F1F1F1;border-bottom: 1px solid #DFDFDF;height: 25px;
318
- }
319
-
320
- .xyz_fbap_meta_acclist_table select ,.xyz_fbap_meta_acclist_table textarea{
321
- width: 200px;padding: 5px !important;height: 2.35em !important;
322
- }
323
-
324
- a {
325
- text-decoration: none;
326
- }
327
- /*new design start*/
328
- .xyz_fbap_social_media {
329
- background-color: #456a72;
330
- width: 22%;
331
- float: left;
332
- min-height: 130px;
333
- margin: 10px 10px 10px 0px;
334
- padding: 10px;
335
- border: 1px solid #456a72;
336
- border-radius: 3px;
337
- }
338
- .xyz_fbap_sugession {
339
- background-color: #571B35;
340
- width: 20%;
341
- float: left;
342
- min-height: 130px;
343
- margin: 10px 10px 10px 0px;
344
- padding: 10px;
345
- border: 1px solid #731C47;
346
- border-radius: 3px;
347
- font-size: 12px;
348
- color: #ffffff;
349
- }
350
- .xyz_fbap_new_subscribe {
351
- background-color: #c82e53;
352
- width: 27%;
353
- float: left;
354
- min-height: 130px;
355
- margin: 10px 10px 10px 0px;
356
- padding: 10px;
357
- border: 1px solid #BE2963;
358
- border-radius: 3px;
359
- }
360
- .xyz_fbap_inmotion {
361
-
362
- width: 21%;
363
- float: left;
364
- min-height: 130px;
365
- margin: 0px 0px 0px 0px;
366
- }
367
- .xyz_fbap_sugession a {
368
- color: #D7B740;
369
- text-decoration: underline;
370
- }
371
-
372
- .xyz_fbap_sugession a:hover{color:#fafa66; text-decoration:underline;}
373
- .xyz_fbap_sugession p{
374
- display: block;
375
- float: left;
376
- line-height: 20px;
377
- width: 100%;
378
- margin: 0px; width:50%;}
379
-
380
- .xyz_new_star{background-image: url(../images/new_star.png);
381
- width: 80px;
382
- height: 20px;
383
- display: block;
384
- background-repeat: no-repeat;
385
- float: left;
386
- }
387
-
388
- .sbmt_btn{ border: none;
389
- color: #ffffff;
390
- background-color: #4e0013;
391
- padding: 5px 10px;
392
- border-radius: 3px;
393
- cursor: pointer;}
394
-
395
- .xyz_fbap_inmotion a:hover{color:#94dbff; text-decoration:underline;}
396
-
397
- .xyz_fbap_inmotion_label{
398
- height: 169px !important;
399
- display: block;
400
- margin: auto;
401
- width:auto !important;}
402
-
403
- .xyz_fbap_new_subscribe input{font-size:11px;margin: 5px;}
404
-
405
- .xyz_fbap_social_media a{
406
- margin: 0px 13px 5px 0px;
407
- border: 1px solid #ddd;
408
- width: 30px;
409
- height: 30px;
410
- padding-left: 0px;
411
- display: block;
412
- float: left;}
413
-
414
- .xyz_fbap_inner_head{ color: #ffffff;
415
- font-weight: 300;
416
- border-bottom: 1px solid #eee;
417
- margin: 0px 0px 10px;
418
- padding-bottom: 10px;}
419
-
420
- .xyz_fbap_plugin_head{margin: 0px;
421
- font-size: 22px;
422
- font-weight: 300;
423
- padding: 0px 10px 5px;}
424
-
425
- .xyz_fbap_name{border:none !important; width:46% !important;}
426
- .xyz_fbap_email{border:none !important; width:46% !important;}
427
-
428
- .xyz_fbap_our_plugins_new a{
429
- text-decoration: none;
430
- display: block;
431
- background-color: #ddd;
432
- float: left;
433
- width: 23%;
434
- margin: 1px;
435
- padding: 0px 10px 0px 0px;
436
- color: #094969;
437
- outline: 0 !important;
438
- line-height: 27px;
439
- }
440
- .xyz_fbap_our_plugins_new a:hover{text-decoration:underline;}
441
-
442
- .xyz_fbap_our_plugins_new a:active{box-shadow:none !important;}
443
-
444
- .xyz_fbap_our_plugins_new a span{
445
- background-color: #00a0d2;
446
- color: #FFFFFF;
447
- width: 30px;
448
- min-height: 28px;
449
- display: block;
450
- float: left;
451
- text-align: center;
452
- margin-right: 10px;
453
- border-right: 2px solid #fff;}
454
-
455
- .xyz_rate_btn{color: #E77E22 !important;
456
- text-decoration: none !important;
457
- margin-right: 4px !important;
458
- font-weight: bold;
459
- background-color: #fff1d6 !important;
460
- border: 1px solid #E77E22 !important;
461
- box-shadow:none !important;}
462
-
463
- .xyz_backlink_btn{color: #00a016 !important;
464
- text-decoration: none !important;
465
- margin-right: 4px !important;
466
- font-weight: bold;
467
- background-color: #f0fff2 !important;
468
- border: 1px solid #00a016 !important;
469
- box-shadow:none !important;}
470
-
471
- .xyz_share_btn{color: #177ABD !important;
472
- text-decoration: none !important;
473
- margin-right: 4px !important;
474
- font-weight: bold;
475
- border: 1px solid #177ABD !important;
476
- background-color: #edf8ff !important;
477
- box-shadow:none !important;}
478
-
479
- .xyz_donate_btn{color: #C12AA2 !important;
480
- text-decoration: none !important;
481
- margin-right: 4px !important;
482
- font-weight: bold;
483
- border: 1px solid #C12AA2 !important;
484
- background-color: #feeafa !important;
485
- box-shadow:none !important;}
486
-
487
- .xyz_show_btn{color: #F15E77 !important;
488
- text-decoration: none !important;
489
- margin-right: 4px !important;
490
- font-weight: bold;
491
- border: 1px solid #F15E77 !important;
492
- background-color: #ffeddf !important;
493
- box-shadow: none !important;}
494
-
495
- @media screen and (max-width: 1351px) {
496
-
497
- .xyz_fbap_social_media{width:21%;}
498
-
499
- .xyz_fbap_new_subscribe{width:24%;}
500
-
501
- .xyz_fbap_inmotion{width:21%;}
502
-
503
- .xyz_fbap_sugession{width:20%;}
504
-
505
- .xyz_fbap_name{border:none !important; width:45% !important;}
506
-
507
- .xyz_fbap_email{border:none !important; width:45% !important;}
508
-
509
- .xyz_fbap_our_plugins_new a{width:23%;}
510
-
511
- }
512
-
513
- @media screen and (max-width: 1251px) {
514
-
515
- .xyz_fbap_social_media{width:21%;}
516
-
517
- .xyz_fbap_new_subscribe{width:24%;}
518
-
519
- .xyz_fbap_inmotion{width:21%;}
520
-
521
- .xyz_fbap_sugession{width:22%;}
522
-
523
- .xyz_fbap_name{border:none !important; width:45% !important;}
524
-
525
- .xyz_fbap_email{border:none !important; width:45% !important;}
526
-
527
- #xyz_fbap_submit_fbap{line-height:20px;}
528
-
529
-
530
- .xyz_fbap_our_plugins_new a{width:23.6%;}
531
- }
532
-
533
- @media screen and (max-width:1155px)
534
- {
535
- .xyz_fbap_social_media{width:45%;}
536
- .xyz_fbap_new_subscribe{width:45%;}
537
- .xyz_fbap_inmotion{width:45%;}
538
- .xyz_fbap_sugession{width:45%;}
539
- .xyz_fbap_our_plugins_new a{width:31%;}
540
- }
541
-
542
-
543
- @media screen and (max-width: 782px)
544
- {
545
- .xyz_fbap_social_media{width:44%;}
546
-
547
- .xyz_fbap_new_subscribe{width:44%;}
548
-
549
- .xyz_fbap_inmotion{width:44%;}
550
-
551
- .xyz_fbap_sugession{width:44%;}
552
-
553
- .xyz_fbap_our_plugins_new a{width:30%;}
554
-
555
- .xyz_fbap_name{border:none !important; width:46% !important;}
556
-
557
- .xyz_fbap_email{border:none !important; width:46% !important;}
558
- }
559
-
560
-
561
- @media screen and (max-width: 768px)
562
- {
563
- #xyz_fbap_submit_fbap{line-height:20px;}
564
- .xyz_fbap_our_plugins_new a{width:30%; font-size:11px !important;}
565
- }
566
-
567
-
568
- @media screen and (max-width: 675px)
569
- {
570
- .xyz_fbap_our_plugins_new a{width:45%; font-size:11px !important;}
571
- .xyz_fbap_name{border:none !important; width:95% !important;}
572
- .xyz_fbap_email {
573
- border: none !important;
574
- width: 95% !important;
575
- }
576
- .xyz_fbap_inmotion_label {
577
- height: 185px;
578
- display: block;
579
- margin: auto;
580
- }
581
- }
582
-
583
-
584
- @media screen and (max-width: 562px)
585
- {
586
- .xyz_fbap_sugession{width:92.5%;}
587
-
588
-
589
- .xyz_fbap_new_subscribe{width:92.5%;}
590
-
591
-
592
- .xyz_fbap_social_media{width:92.5%;}
593
- .xyz_fbap_inmotion{width:92.5%;}
594
- .xyz_fbap_email {
595
- border: none !important;
596
- width: 95% !important;
597
- }
598
- }
599
-
600
-
601
- @media screen and (max-width: 532px){
602
-
603
-
604
- .xyz_fbap_social_media{width:92.5%;}
605
-
606
- .xyz_fbap_new_subscribe{width:92.5%;}
607
-
608
- .xyz_fbap_inmotion{width:92.5%;}
609
-
610
- .xyz_fbap_sugession{width:92.5%;}
611
-
612
- .xyz_fbap_our_plugins_new a{width:92.5%;}
613
-
614
- .xyz_fbap_name{border:none !important; width:95% !important;}
615
-
616
- .xyz_fbap_email{border:none !important; width:95% !important;}
617
- }
618
-
619
-
620
- /*new design end*/
621
- .switch-field input[type=radio] {
622
- position: absolute !important;
623
- clip: rect(0, 0, 0, 0);
624
- height: 1px;
625
- width: 1px;
626
- border: 0;
627
- overflow: hidden;
628
- }
629
-
630
- .switch-field label {
631
- float: left;
632
- }
633
-
634
- .switch-field label {
635
- display: inline-block;
636
- color: rgba(0, 0, 0, 0.6);
637
- width: 50px;
638
- font-weight: normal;
639
- text-align: center;
640
- text-shadow: none;
641
- padding: 6px 14px;
642
- -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
643
- box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
644
- -webkit-transition: all 0.1s ease-in-out;
645
- -moz-transition: all 0.1s ease-in-out;
646
- -ms-transition: all 0.1s ease-in-out;
647
- -o-transition: all 0.1s ease-in-out;
648
- transition: all 0.1s ease-in-out;
649
- }
650
- .switch-field label:hover {
651
- cursor: pointer;
652
- }
653
- .switch-field label:first-of-type {
654
- border-radius: 4px 0 0 4px;min-width: 50px;width:auto;
655
- }
656
- .switch-field label:last-of-type {
657
- border-radius: 0 4px 4px 0;min-width: 50px;width:auto;
658
- }
659
- .scroll_checkbox
660
- {
661
- border: 2px solid #ccc;
662
- width: 200px;
663
- height: 150px;
664
- overflow-y: scroll;
665
- overflow-x: visible;
666
- }
667
- .toplevel_page_facebook-auto-publish-settings img{
668
- width:20px;
669
- height:auto;
670
- }
671
- .xyz_fbap_toggle_off
672
- {
673
- background-color:#dddddd !important;
674
- color:#888888 !important;
675
- font-weight:normal !important;
676
- }
677
- .xyz_fbap_toggle_on
678
- {
679
- background-color:#006CBF !important;
680
- color:#ffffff !important;
681
- font-weight:bold !important;
682
- }
683
- .xyz-fbap-buy-now{
684
- float: left;
685
- margin-top: 3px;
686
- }
687
- .xyz-fbap-buy-now img{
688
- width:148px !important;
689
- height:38px !important;
690
- }
691
- .xyz-fbap-buy-button {
692
- display:block;
693
- color:white;
694
- padding:5px 21px;
695
- background: #545454;
696
- border: 0;
697
- border-bottom: 2px solid #545454;
698
- cursor: pointer;
699
- -webkit-box-shadow: inset 0 -2px #545454;
700
- box-shadow: inset 0 -2px #545454;
701
- text-decoration: none;
702
- font-size: 14px;
703
- font-weight: bold;
704
- border-radius:3px;
705
- text-align: center;
706
- }
707
- .xyz_fbap_td_custom a {
708
- font-size:13px;
709
- }
710
- /* Style the tab */
711
- .xyz_fbap_tab {
712
- overflow: hidden;
713
- background-color: #f1f1f1;
714
- }
715
-
716
- /* Style the buttons inside the tab */
717
- .xyz_fbap_tab button {
718
- float: left;
719
- border: none;
720
- outline: none;
721
- cursor: pointer;
722
- padding: 14px 16px;
723
- transition: 0.3s;
724
- font-size: 17px;
725
- background-color: #cecece;
726
- color: #006CBF;
727
- margin-right: 2px;
728
- border-radius: 8px 8px 0px 0px;
729
- border-top: 1px solid #b9aeae;
730
- border-right: 1px solid #b9aeae;
731
- border-left: 1px solid #b9aeae;
732
- border-bottom: 1px solid #fff;
733
- font-weight: 600;
734
- }
735
-
736
- /* Change background color of buttons on hover */
737
- .xyz_fbap_tab button:hover {
738
- background-color: #cecece;
739
- }
740
-
741
- /* Create an active/current tablink class */
742
- .xyz_fbap_tab button.active {
743
- background-color: #ffffff;
744
- color: #006CBF;
745
- }
746
-
747
-
748
- /* Style the tab content */
749
- .xyz_fbap_tabcontent {
750
- display: none;
751
- padding: 6px 12px;
752
- border: 1px solid #ccc;
753
- margin-top: -2px;
754
- }
755
-
756
-
757
  .xyz_fbap_widefat_table h2{color: #006CBF;}
1
+ #system_notice_area {
2
+ position: fixed;
3
+ margin-bottom:40px;
4
+ left:25%;
5
+ width:50%;
6
+ height:20px;
7
+ border-radius:5px;
8
+ -moz-border-radius:5px;
9
+ -webkit-border-radius:5px;
10
+ font-weight:bold;
11
+ display:none;
12
+ padding:3px;
13
+ color: #000000;
14
+ text-align: center;
15
+ top: 0px;
16
+ z-index: 100000;
17
+
18
+ }
19
+ .xyz_suggest,.xyz_star,.xyz_donate,.xyz_fbook,.xyz_support,.xyz_twitt,.xyz_gplus,.xyz_linkdin{
20
+ height:16px;
21
+ background-repeat: no-repeat;
22
+ background-size: contain;
23
+ padding-left: 20px;
24
+ text-decoration: none;
25
+
26
+ vertical-align: middle;
27
+ display: inline-block;
28
+
29
+ }
30
+ .xyz_suggest{
31
+
32
+ background-image: url('../images/suggest.png');
33
+ }
34
+
35
+ .xyz_star{
36
+ background-image: url('../images/star.png');
37
+ }
38
+
39
+ .xyz_donate{
40
+
41
+ background-image: url('../images/donate.png');
42
+ }
43
+
44
+ .xyz_support{
45
+
46
+ background-image: url('../images/support.png');
47
+ }
48
+ .xyz_home_fbook {
49
+
50
+ background-image: url('../images/facebook.png');
51
+ }
52
+
53
+
54
+ .xyz_home_twitt {
55
+
56
+ background-image: url('../images/twitter.png');
57
+ }
58
+ .xyz_home_gplus {
59
+
60
+ background-image: url('../images/gplus.png');
61
+ }
62
+ .xyz_home_linkedin {
63
+
64
+ background-image: url('../images/linkedin.png');
65
+ }
66
+ .xyz_fbook{
67
+
68
+ background-image: url('../images/facebook.png');
69
+ }
70
+ .xyz_twitt{
71
+
72
+ background-image: url('../images/twitter.png');
73
+ }
74
+ .xyz_gplus{
75
+
76
+ background-image: url('../images/gplus.png');
77
+ }
78
+
79
+ .xyz_linkdin{
80
+
81
+ background-image: url('../images/linkedin.png');
82
+ }
83
+
84
+
85
+ #facebook-auto-publish .xyz_fbook{
86
+ margin-left: 3px;
87
+ }
88
+
89
+ #facebook-auto-publish .xyz_twitt{
90
+ margin-left: 3px;
91
+ }
92
+
93
+ #facebook-auto-publish .xyz_gplus{
94
+ margin-left: 3px;
95
+ }
96
+
97
+ #facebook-auto-publish .xyz_linkdin{
98
+ margin-left: 3px;
99
+ }
100
+
101
+ #facebook-auto-publish .xyz_support{
102
+ margin-left: 3px;margin-right: -3px;
103
+ }
104
+
105
+ #facebook-auto-publish .plugin-version-author-uri {
106
+
107
+ background-color: #F4F4F4;
108
+ min-height:16px;
109
+ border-radius:5px;
110
+ margin-bottom: 10px;
111
+ font-weight:bold;
112
+ padding: 5px;
113
+ color: #111111;
114
+
115
+ -webkit-box-shadow: 0 8px 6px -6px black;
116
+ -moz-box-shadow: 0 8px 6px -6px black;
117
+ box-shadow: 0 8px 6px -6px black;
118
+
119
+ }
120
+
121
+ #facebook-auto-publish th,#facebook-auto-publish td{
122
+ background: #a9e8f5; /* Old browsers */
123
+ background: linear-gradient( #ffffff,#a9e8f5 ); /* W3C */
124
+ }
125
+ #facebook-auto-publish .plugin-version-author-uri a,
126
+ #facebook-auto-publish .plugin-version-author-uri a:link,
127
+ #facebook-auto-publish .plugin-version-author-uri a:hover,
128
+ #facebook-auto-publish .plugin-version-author-uri a:active,
129
+ #facebook-auto-publish .plugin-version-author-uri a:visited{
130
+ color: #111111;
131
+ text-decoration: none;
132
+
133
+ }
134
+ #facebook-auto-publish .plugin-version-author-uri a:hover{
135
+
136
+ color:#cc811a;
137
+ }
138
+ #facebook-auto-publish .plugin-title{
139
+
140
+ background: url('images/xyz_logo.png'),linear-gradient( #ffffff,#a9e8f5 );
141
+ background-repeat: no-repeat;
142
+ background-position: left bottom;
143
+
144
+ }
145
+
146
+ .xyz-premium-comparison
147
+ {
148
+ width: 99%;
149
+ padding:0px;
150
+ border: 1px solid #CCCCCC;
151
+ border-radius:3px;
152
+ }
153
+ .xyz-premium-comparison td
154
+ {
155
+ padding: 1px;
156
+ border: 1px solid #CCCCCC;
157
+ height: 25px;
158
+ }
159
+
160
+ /* Buy Now - button bounce style*/
161
+ img.hoverImages {
162
+ margin-bottom:20px;
163
+ -webkit-transition: margin 0.2s ease-out;
164
+ -moz-transition: margin 0.2s ease-out;
165
+ -o-transition: margin 0.2s ease-out;
166
+ }
167
+ img.hoverImages:hover {
168
+ cursor:pointer;
169
+ margin-top: 5px;
170
+ }
171
+
172
+
173
+ #system_notice_area_dismiss{
174
+ color: #FFFFFF;
175
+ cursor: pointer;
176
+ }
177
+ .system_notice_area_style1 {
178
+ background: #00C348;
179
+ border: 1px solid green;
180
+ }
181
+
182
+ .system_notice_area_style0 {
183
+ background: #FA5A6A;
184
+ border: 1px solid brown;
185
+ }
186
+
187
+ .submit_fbap_new{
188
+ background: #698600;
189
+ color: #f7f7f7 !important;
190
+ border-radius: 2px !important;
191
+ border: none;
192
+ font-family: "Helvetica Neue",sans-serif;
193
+ font-size: 13px;
194
+ cursor: pointer;
195
+ padding: 8px 15px;
196
+ font-weight: 500;
197
+ text-transform: uppercase;
198
+ outline: 0;
199
+ }
200
+
201
+ .fbap_informationdiv {
202
+ background: none repeat scroll 0 0 #9FDAEE;
203
+ border: 1px solid #209BD4;
204
+ border-radius: 5px 5px 5px 5px;
205
+ box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
206
+ float: left;
207
+ padding: 10px;
208
+ position: absolute;
209
+ z-index: 1200;
210
+ }
211
+ .xyz_feedback{
212
+ background: #CEEAF7; /* Old browsers */
213
+ border: 1px solid #64cfe8;
214
+ border-radius:3px;
215
+ width: 98%;
216
+ min-height:40px;
217
+ height:auto;
218
+ padding-left: 10px;
219
+ padding-top: 10px;
220
+ font-weight: bold;
221
+ line-height: 20px;
222
+
223
+ }
224
+
225
+ .xyz_feedback a{
226
+ text-decoration: none
227
+ }
228
+
229
+ .xyz_subscribe{
230
+ background: #bae598; /* Old browsers */
231
+ border: 1px solid #4d8a1d;
232
+ border-radius:3px;
233
+ width: 98%;
234
+ line-height:20px;
235
+ min-height:45px;
236
+ height:auto;
237
+ padding-left: 10px;
238
+ padding-top: 10px;
239
+
240
+ }
241
+ .xyz_subscribe td{
242
+ padding:0;
243
+ }
244
+
245
+ .xyz_plugins{
246
+ background: #F2F2F2; /* Old browsers */
247
+ border: 1px solid #DFDFDF;
248
+ border-radius:3px;
249
+ width: 98%;
250
+ padding-left: 10px;
251
+ padding-top:10px;
252
+ min-height:50px;
253
+ height:auto;
254
+ margin-top:13px;
255
+ line-height: 20px;
256
+
257
+ }
258
+ .xyz_fbap_poweredBy{
259
+ padding-top: 10px;float:left; text-align: center; width: 100%;
260
+ }
261
+
262
+ .xyz_fbap_poweredBy a{
263
+ text-decoration: none;
264
+ }
265
+
266
+ .submit_fbap{
267
+ background:#25A6E1;
268
+ background:-moz-linear-gradient(top,#25A6E1 0%,#188BC0 100%);
269
+ background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#25A6E1),color-stop(100%,#188BC0));
270
+ background:-webkit-linear-gradient(top,#25A6E1 0%,#188BC0 100%);
271
+ background:-o-linear-gradient(top,#25A6E1 0%,#188BC0 100%);
272
+ background:-ms-linear-gradient(top,#25A6E1 0%,#188BC0 100%);
273
+ background:linear-gradient(top,#25A6E1 0%,#188BC0 100%);
274
+ filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#25A6E1",endColorstr="#188BC0",GradientType=0);
275
+ color:#ffffff;
276
+ font-family:"Helvetica Neue",sans-serif;
277
+ font-size:13px;
278
+ cursor:pointer;
279
+ color:#FFFFFF !important;border-radius:4px !important;
280
+ border:1px solid #1A87B9;height: 30px;
281
+ padding-left: 15px;
282
+ padding-right: 15px;
283
+ }
284
+ #xyz-wp-fbap-premium {
285
+ border: 1px solid #FCC328;
286
+ margin-bottom: 20px;
287
+ margin-top: 20px;
288
+ background-color: #FFF6D6;
289
+ padding: 3px;
290
+ width: 98%;
291
+ border-radius:3px;
292
+ float: left;
293
+ }
294
+ a.xyz_fbap_link:hover{text-decoration:underline;}
295
+ .xyz_fbap_link{text-decoration:none;font-weight: bold;margin-left:8px;}
296
+
297
+ .xyz_fbap_widefat_table input[type="text"], .xyz_fbap_widefat_table input[type="password"], .xyz_fbap_widefat_table input[type="email"], .xyz_fbap_widefat_table input[type="number"], .xyz_fbap_widefat_table input[type="search"], .xyz_fbap_widefat_table input[type="tel"], .xyz_fbap_widefat_table input[type="url"], .xyz_fbap_widefat_table select {
298
+ width: 200px;padding: 5px !important;height: 2.35em !important;
299
+ }
300
+ .xyz_fbap_widefat_table textarea
301
+ {
302
+ width: 200px;padding: 5px !important;height: 80px !important;
303
+ }
304
+
305
+ .xyz_fbap_metalist_table{
306
+ width: 100%;
307
+ }
308
+
309
+ .xyz_fbap_pleft15{
310
+ padding-left: 15px;
311
+ }
312
+
313
+ .xyz_fbap_meta_acclist_table{
314
+ width: 100%;border: 1px solid #DFDFDF;border-radius:3px; margin-top: 8px;padding-bottom: 5px;
315
+ }
316
+ .xyz_fbap_meta_acclist_table_td{
317
+ background: linear-gradient(to top, #ECECEC, #F9F9F9) repeat scroll 0 0 #F1F1F1;border-bottom: 1px solid #DFDFDF;height: 25px;
318
+ }
319
+
320
+ .xyz_fbap_meta_acclist_table select ,.xyz_fbap_meta_acclist_table textarea{
321
+ width: 200px;padding: 5px !important;height: 2.35em !important;
322
+ }
323
+
324
+ a {
325
+ text-decoration: none;
326
+ }
327
+ /*new design start*/
328
+ .xyz_fbap_social_media {
329
+ background-color: #456a72;
330
+ width: 22%;
331
+ float: left;
332
+ min-height: 130px;
333
+ margin: 10px 10px 10px 0px;
334
+ padding: 10px;
335
+ border: 1px solid #456a72;
336
+ border-radius: 3px;
337
+ }
338
+ .xyz_fbap_sugession {
339
+ background-color: #571B35;
340
+ width: 20%;
341
+ float: left;
342
+ min-height: 130px;
343
+ margin: 10px 10px 10px 0px;
344
+ padding: 10px;
345
+ border: 1px solid #731C47;
346
+ border-radius: 3px;
347
+ font-size: 12px;
348
+ color: #ffffff;
349
+ }
350
+ .xyz_fbap_new_subscribe {
351
+ background-color: #c82e53;
352
+ width: 27%;
353
+ float: left;
354
+ min-height: 130px;
355
+ margin: 10px 10px 10px 0px;
356
+ padding: 10px;
357
+ border: 1px solid #BE2963;
358
+ border-radius: 3px;
359
+ }
360
+ .xyz_fbap_inmotion {
361
+
362
+ width: 21%;
363
+ float: left;
364
+ min-height: 130px;
365
+ margin: 0px 0px 0px 0px;
366
+ }
367
+ .xyz_fbap_sugession a {
368
+ color: #D7B740;
369
+ text-decoration: underline;
370
+ }
371
+
372
+ .xyz_fbap_sugession a:hover{color:#fafa66; text-decoration:underline;}
373
+ .xyz_fbap_sugession p{
374
+ display: block;
375
+ float: left;
376
+ line-height: 20px;
377
+ width: 100%;
378
+ margin: 0px; width:50%;}
379
+
380
+ .xyz_new_star{background-image: url(../images/new_star.png);
381
+ width: 80px;
382
+ height: 20px;
383
+ display: block;
384
+ background-repeat: no-repeat;
385
+ float: left;
386
+ }
387
+
388
+ .sbmt_btn{ border: none;
389
+ color: #ffffff;
390
+ background-color: #4e0013;
391
+ padding: 5px 10px;
392
+ border-radius: 3px;
393
+ cursor: pointer;}
394
+
395
+ .xyz_fbap_inmotion a:hover{color:#94dbff; text-decoration:underline;}
396
+
397
+ .xyz_fbap_inmotion_label{
398
+ height: 169px !important;
399
+ display: block;
400
+ margin: auto;
401
+ width:auto !important;}
402
+
403
+ .xyz_fbap_new_subscribe input{font-size:11px;margin: 5px;}
404
+
405
+ .xyz_fbap_social_media a{
406
+ margin: 0px 13px 5px 0px;
407
+ border: 1px solid #ddd;
408
+ width: 30px;
409
+ height: 30px;
410
+ padding-left: 0px;
411
+ display: block;
412
+ float: left;}
413
+
414
+ .xyz_fbap_inner_head{ color: #ffffff;
415
+ font-weight: 300;
416
+ border-bottom: 1px solid #eee;
417
+ margin: 0px 0px 10px;
418
+ padding-bottom: 10px;}
419
+
420
+ .xyz_fbap_plugin_head{margin: 0px;
421
+ font-size: 22px;
422
+ font-weight: 300;
423
+ padding: 0px 10px 5px;}
424
+
425
+ .xyz_fbap_name{border:none !important; width:46% !important;}
426
+ .xyz_fbap_email{border:none !important; width:46% !important;}
427
+
428
+ .xyz_fbap_our_plugins_new a{
429
+ text-decoration: none;
430
+ display: block;
431
+ background-color: #ddd;
432
+ float: left;
433
+ width: 23%;
434
+ margin: 1px;
435
+ padding: 0px 10px 0px 0px;
436
+ color: #094969;
437
+ outline: 0 !important;
438
+ line-height: 27px;
439
+ }
440
+ .xyz_fbap_our_plugins_new a:hover{text-decoration:underline;}
441
+
442
+ .xyz_fbap_our_plugins_new a:active{box-shadow:none !important;}
443
+
444
+ .xyz_fbap_our_plugins_new a span{
445
+ background-color: #00a0d2;
446
+ color: #FFFFFF;
447
+ width: 30px;
448
+ min-height: 28px;
449
+ display: block;
450
+ float: left;
451
+ text-align: center;
452
+ margin-right: 10px;
453
+ border-right: 2px solid #fff;}
454
+
455
+ .xyz_rate_btn{color: #E77E22 !important;
456
+ text-decoration: none !important;
457
+ margin-right: 4px !important;
458
+ font-weight: bold;
459
+ background-color: #fff1d6 !important;
460
+ border: 1px solid #E77E22 !important;
461
+ box-shadow:none !important;}
462
+
463
+ .xyz_backlink_btn{color: #00a016 !important;
464
+ text-decoration: none !important;
465
+ margin-right: 4px !important;
466
+ font-weight: bold;
467
+ background-color: #f0fff2 !important;
468
+ border: 1px solid #00a016 !important;
469
+ box-shadow:none !important;}
470
+
471
+ .xyz_share_btn{color: #177ABD !important;
472
+ text-decoration: none !important;
473
+ margin-right: 4px !important;
474
+ font-weight: bold;
475
+ border: 1px solid #177ABD !important;
476
+ background-color: #edf8ff !important;
477
+ box-shadow:none !important;}
478
+
479
+ .xyz_donate_btn{color: #C12AA2 !important;
480
+ text-decoration: none !important;
481
+ margin-right: 4px !important;
482
+ font-weight: bold;
483
+ border: 1px solid #C12AA2 !important;
484
+ background-color: #feeafa !important;
485
+ box-shadow:none !important;}
486
+
487
+ .xyz_show_btn{color: #F15E77 !important;
488
+ text-decoration: none !important;
489
+ margin-right: 4px !important;
490
+ font-weight: bold;
491
+ border: 1px solid #F15E77 !important;
492
+ background-color: #ffeddf !important;
493
+ box-shadow: none !important;}
494
+
495
+ @media screen and (max-width: 1351px) {
496
+
497
+ .xyz_fbap_social_media{width:21%;}
498
+
499
+ .xyz_fbap_new_subscribe{width:24%;}
500
+
501
+ .xyz_fbap_inmotion{width:21%;}
502
+
503
+ .xyz_fbap_sugession{width:20%;}
504
+
505
+ .xyz_fbap_name{border:none !important; width:45% !important;}
506
+
507
+ .xyz_fbap_email{border:none !important; width:45% !important;}
508
+
509
+ .xyz_fbap_our_plugins_new a{width:23%;}
510
+
511
+ }
512
+
513
+ @media screen and (max-width: 1251px) {
514
+
515
+ .xyz_fbap_social_media{width:21%;}
516
+
517
+ .xyz_fbap_new_subscribe{width:24%;}
518
+
519
+ .xyz_fbap_inmotion{width:21%;}
520
+
521
+ .xyz_fbap_sugession{width:22%;}
522
+
523
+ .xyz_fbap_name{border:none !important; width:45% !important;}
524
+
525
+ .xyz_fbap_email{border:none !important; width:45% !important;}
526
+
527
+ #xyz_fbap_submit_fbap{line-height:20px;}
528
+
529
+
530
+ .xyz_fbap_our_plugins_new a{width:23.6%;}
531
+ }
532
+
533
+ @media screen and (max-width:1155px)
534
+ {
535
+ .xyz_fbap_social_media{width:45%;}
536
+ .xyz_fbap_new_subscribe{width:45%;}
537
+ .xyz_fbap_inmotion{width:45%;}
538
+ .xyz_fbap_sugession{width:45%;}
539
+ .xyz_fbap_our_plugins_new a{width:31%;}
540
+ }
541
+
542
+
543
+ @media screen and (max-width: 782px)
544
+ {
545
+ .xyz_fbap_social_media{width:44%;}
546
+
547
+ .xyz_fbap_new_subscribe{width:44%;}
548
+
549
+ .xyz_fbap_inmotion{width:44%;}
550
+
551
+ .xyz_fbap_sugession{width:44%;}
552
+
553
+ .xyz_fbap_our_plugins_new a{width:30%;}
554
+
555
+ .xyz_fbap_name{border:none !important; width:46% !important;}
556
+
557
+ .xyz_fbap_email{border:none !important; width:46% !important;}
558
+ }
559
+
560
+
561
+ @media screen and (max-width: 768px)
562
+ {
563
+ #xyz_fbap_submit_fbap{line-height:20px;}
564
+ .xyz_fbap_our_plugins_new a{width:30%; font-size:11px !important;}
565
+ }
566
+
567
+
568
+ @media screen and (max-width: 675px)
569
+ {
570
+ .xyz_fbap_our_plugins_new a{width:45%; font-size:11px !important;}
571
+ .xyz_fbap_name{border:none !important; width:95% !important;}
572
+ .xyz_fbap_email {
573
+ border: none !important;
574
+ width: 95% !important;
575
+ }
576
+ .xyz_fbap_inmotion_label {
577
+ height: 185px;
578
+ display: block;
579
+ margin: auto;
580
+ }
581
+ }
582
+
583
+
584
+ @media screen and (max-width: 562px)
585
+ {
586
+ .xyz_fbap_sugession{width:92.5%;}
587
+
588
+
589
+ .xyz_fbap_new_subscribe{width:92.5%;}
590
+
591
+
592
+ .xyz_fbap_social_media{width:92.5%;}
593
+ .xyz_fbap_inmotion{width:92.5%;}
594
+ .xyz_fbap_email {
595
+ border: none !important;
596
+ width: 95% !important;
597
+ }
598
+ }
599
+
600
+
601
+ @media screen and (max-width: 532px){
602
+
603
+
604
+ .xyz_fbap_social_media{width:92.5%;}
605
+
606
+ .xyz_fbap_new_subscribe{width:92.5%;}
607
+
608
+ .xyz_fbap_inmotion{width:92.5%;}
609
+
610
+ .xyz_fbap_sugession{width:92.5%;}
611
+
612
+ .xyz_fbap_our_plugins_new a{width:92.5%;}
613
+
614
+ .xyz_fbap_name{border:none !important; width:95% !important;}
615
+
616
+ .xyz_fbap_email{border:none !important; width:95% !important;}
617
+ }
618
+
619
+
620
+ /*new design end*/
621
+ .switch-field input[type=radio] {
622
+ position: absolute !important;
623
+ clip: rect(0, 0, 0, 0);
624
+ height: 1px;
625
+ width: 1px;
626
+ border: 0;
627
+ overflow: hidden;
628
+ }
629
+
630
+ .switch-field label {
631
+ float: left;
632
+ }
633
+
634
+ .switch-field label {
635
+ display: inline-block;
636
+ color: rgba(0, 0, 0, 0.6);
637
+ width: 50px;
638
+ font-weight: normal;
639
+ text-align: center;
640
+ text-shadow: none;
641
+ padding: 6px 14px;
642
+ -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
643
+ box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
644
+ -webkit-transition: all 0.1s ease-in-out;
645
+ -moz-transition: all 0.1s ease-in-out;
646
+ -ms-transition: all 0.1s ease-in-out;
647
+ -o-transition: all 0.1s ease-in-out;
648
+ transition: all 0.1s ease-in-out;
649
+ }
650
+ .switch-field label:hover {
651
+ cursor: pointer;
652
+ }
653
+ .switch-field label:first-of-type {
654
+ border-radius: 4px 0 0 4px;min-width: 50px;width:auto;
655
+ }
656
+ .switch-field label:last-of-type {
657
+ border-radius: 0 4px 4px 0;min-width: 50px;width:auto;
658
+ }
659
+ .scroll_checkbox
660
+ {
661
+ border: 2px solid #ccc;
662
+ width: 200px;
663
+ height: 150px;
664
+ overflow-y: scroll;
665
+ overflow-x: visible;
666
+ }
667
+ .toplevel_page_facebook-auto-publish-settings img{
668
+ width:20px;
669
+ height:auto;
670
+ }
671
+ .xyz_fbap_toggle_off
672
+ {
673
+ background-color:#dddddd !important;
674
+ color:#888888 !important;
675
+ font-weight:normal !important;
676
+ }
677
+ .xyz_fbap_toggle_on
678
+ {
679
+ background-color:#006CBF !important;
680
+ color:#ffffff !important;
681
+ font-weight:bold !important;
682
+ }
683
+ .xyz-fbap-buy-now{
684
+ float: left;
685
+ margin-top: 3px;
686
+ }
687
+ .xyz-fbap-buy-now img{
688
+ width:148px !important;
689
+ height:38px !important;
690
+ }
691
+ .xyz-fbap-buy-button {
692
+ display:block;
693
+ color:white;
694
+ padding:5px 21px;
695
+ background: #545454;
696
+ border: 0;
697
+ border-bottom: 2px solid #545454;
698
+ cursor: pointer;
699
+ -webkit-box-shadow: inset 0 -2px #545454;
700
+ box-shadow: inset 0 -2px #545454;
701
+ text-decoration: none;
702
+ font-size: 14px;
703
+ font-weight: bold;
704
+ border-radius:3px;
705
+ text-align: center;
706
+ }
707
+ .xyz_fbap_td_custom a {
708
+ font-size:13px;
709
+ }
710
+ /* Style the tab */
711
+ .xyz_fbap_tab {
712
+ overflow: hidden;
713
+ background-color: #f1f1f1;
714
+ }
715
+
716
+ /* Style the buttons inside the tab */
717
+ .xyz_fbap_tab button {
718
+ float: left;
719
+ border: none;
720
+ outline: none;
721
+ cursor: pointer;
722
+ padding: 14px 16px;
723
+ transition: 0.3s;
724
+ font-size: 17px;
725
+ background-color: #cecece;
726
+ color: #006CBF;
727
+ margin-right: 2px;
728
+ border-radius: 8px 8px 0px 0px;
729
+ border-top: 1px solid #b9aeae;
730
+ border-right: 1px solid #b9aeae;
731
+ border-left: 1px solid #b9aeae;
732
+ border-bottom: 1px solid #fff;
733
+ font-weight: 600;
734
+ }
735
+
736
+ /* Change background color of buttons on hover */
737
+ .xyz_fbap_tab button:hover {
738
+ background-color: #cecece;
739
+ }
740
+
741
+ /* Create an active/current tablink class */
742
+ .xyz_fbap_tab button.active {
743
+ background-color: #ffffff;
744
+ color: #006CBF;
745
+ }
746
+
747
+
748
+ /* Style the tab content */
749
+ .xyz_fbap_tabcontent {
750
+ display: none;
751
+ padding: 6px 12px;
752
+ border: 1px solid #ccc;
753
+ margin-top: -2px;
754
+ }
755
+
756
+
757
  .xyz_fbap_widefat_table h2{color: #006CBF;}
facebook-auto-publish.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php
2
  /*
3
- Plugin Name: WP Facebook Auto Publish
4
  Plugin URI: https://xyzscripts.com/wordpress-plugins/facebook-auto-publish/
5
  Description: Publish posts automatically from your blog to Facebook social media. You can publish your posts to Facebook as simple text message, text message with image or as attached link to your blog. The plugin supports filtering posts by custom post-types and categories.
6
- Version: 2.1
7
  Author: xyzscripts.com
8
  Author URI: https://xyzscripts.com/
9
  License: GPLv2 or later
@@ -61,7 +61,7 @@ if(get_option('xyz_credit_link')=="fbap"){
61
 
62
  }
63
  function xyz_fbap_credit() {
64
- $content = '<div style="clear:both;width:100%;text-align:center; font-size:11px; "><a target="_blank" title="WP Facebook Auto Publish" href="https://xyzscripts.com/wordpress-plugins/facebook-auto-publish/details" >WP Facebook Auto Publish</a> Powered By : <a target="_blank" title="PHP Scripts & Programs" href="http://www.xyzscripts.com" >XYZScripts.com</a></div>';
65
  echo $content;
66
  }
67
  if(!function_exists('get_post_thumbnail_id'))
1
  <?php
2
  /*
3
+ Plugin Name: WP2FB Auto Publish
4
  Plugin URI: https://xyzscripts.com/wordpress-plugins/facebook-auto-publish/
5
  Description: Publish posts automatically from your blog to Facebook social media. You can publish your posts to Facebook as simple text message, text message with image or as attached link to your blog. The plugin supports filtering posts by custom post-types and categories.
6
+ Version: 2.2
7
  Author: xyzscripts.com
8
  Author URI: https://xyzscripts.com/
9
  License: GPLv2 or later
61
 
62
  }
63
  function xyz_fbap_credit() {
64
+ $content = '<div style="clear:both;width:100%;text-align:center; font-size:11px; "><a target="_blank" title="WP2FB Auto Publish" href="https://xyzscripts.com/wordpress-plugins/facebook-auto-publish/details" >WP2FB Auto Publish</a> Powered By : <a target="_blank" title="PHP Scripts & Programs" href="http://www.xyzscripts.com" >XYZScripts.com</a></div>';
65
  echo $content;
66
  }
67
  if(!function_exists('get_post_thumbnail_id'))
readme.txt CHANGED
@@ -1,17 +1,17 @@
1
- === WP Facebook Auto Publish ===
2
  Contributors: f1logic
3
  Donate link: https://xyzscripts.com/donate/
4
- Tags: facebook, facebook auto publish,wp facebook auto publish,publish post to facebook, add link to facebook, facebook publishing, post to facebook, post to fb, social media auto publish, social media publishing, social network auto publish, social media, social network
5
  Requires at least: 3.0
6
- Tested up to: 5.0
7
- Stable tag: 2.1
8
  License: GPLv2 or later
9
 
10
- Publish posts automatically to Facebook page or profile.
11
 
12
  == Description ==
13
 
14
- A quick look into WP Facebook Auto Publish :
15
 
16
  ★ Publish message to Facebook with image
17
  ★ Attach post or share link to Facebook
@@ -21,11 +21,11 @@ A quick look into WP Facebook Auto Publish :
21
  ★ Customizable message formats for Facebook
22
 
23
 
24
- = WP Facebook Auto Publish Features in Detail =
25
 
26
- The WP Facebook Auto Publish lets you publish posts automatically from your blog to Facebook. You can publish your posts to Facebook as simple text message, text message with image or as attached link to your blog. The plugin supports filtering posts based on custom post-types as well as categories.
27
 
28
- The prominent features of the WP Facebook Auto Publish plugin are highlighted below.
29
 
30
  = Supported Mechanisms =
31
 
@@ -35,7 +35,6 @@ The various mechanisms of posting to Facebook are listed below.
35
  Text message with image
36
  Share a link to your blog post
37
  Attach your blog post
38
- Post to Facebook profile page
39
  Post to specific pages on Facebook
40
 
41
  = Filter Settings =
@@ -58,35 +57,36 @@ The supported post elements which can be published are given below.
58
  User nicename
59
  Post ID
60
  Post publish date
 
61
 
62
 
63
  = About =
64
 
65
- WP Facebook Auto Publish is developed and maintained by [XYZScripts](https://xyzscripts.com/ "xyzscripts.com"). For any support, you may [contact us](https://xyzscripts.com/support/ "XYZScripts Support").
66
 
67
- ★ [WP Facebook Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/user-guide/ "WP Facebook Auto Publish User Guide")
68
- ★ [WP Facebook Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP Facebook Auto Publish FAQ")
69
 
70
  == Installation ==
71
 
72
- ★ [WP Facebook Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/user-guide/ "WP Facebook Auto Publish User Guide")
73
- ★ [WP Facebook Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP Facebook Auto Publish FAQ")
74
 
75
  1. Extract `facebook-auto-publish.zip` to your `/wp-content/plugins/` directory.
76
- 2. In the admin panel under plugins activate WP Facebook Auto Publish.
77
- 3. You can configure the settings from WP Facebook Auto Publish menu. (Make sure to Authorize Facebook application after saving the settings.)
78
  4. Once these are done, posts should get automatically published based on your filter settings.
79
 
80
  If you need any further help, you may contact our [support desk](https://xyzscripts.com/support/ "XYZScripts Support").
81
 
82
  == Frequently Asked Questions ==
83
 
84
- ★ [WP Facebook Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/user-guide/ "WP Facebook Auto Publish User Guide")
85
- ★ [WP Facebook Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP Facebook Auto Publish FAQ")
86
 
87
- = 1. The WP Facebook Auto Publish is not working properly. =
88
 
89
- Please check the wordpress version you are using. Make sure it meets the minimum version recommended by us. Make sure all files of the `wp facebook auto publish` plugin are uploaded to the folder `wp-content/plugins/`
90
 
91
 
92
  = 2. Can I post to Facebook pages instead of profile ? =
@@ -122,10 +122,16 @@ SSL peer verification may not be functioning in your server. Please turn off SSL
122
  == Screenshots ==
123
 
124
  1. This is the Facebook configuration section.
125
- 2. Publishing options while creating a post.
 
126
 
127
  == Changelog ==
128
 
 
 
 
 
 
129
  = WP Facebook Auto Publish 2.1 =
130
  * Added page for managing authorizations of smapsolutions app
131
  * Compatibility with gutenberg editor
@@ -254,8 +260,8 @@ First official launch.
254
 
255
  == More Information ==
256
 
257
- ★ [WP Facebook Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/ "WP Facebook Auto Publish User Guide")
258
- ★ [WP Facebook Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP Facebook Auto Publish FAQ")
259
 
260
  = Troubleshooting =
261
 
@@ -268,4 +274,4 @@ Please read the FAQ first if you are having problems.
268
 
269
  = Feedback =
270
 
271
- We would like to receive your feedback and suggestions about WP Facebook Auto Publish plugin. You may submit them at our [support desk](https://xyzscripts.com/support/ "XYZScripts Support").
1
+ === WP2FB Auto Publish ===
2
  Contributors: f1logic
3
  Donate link: https://xyzscripts.com/donate/
4
+ Tags: facebook, facebook auto publish,wp2fb auto publish,wp facebook auto publish,publish post to facebook, add link to facebook, facebook publishing, post to facebook, post to fb, social media auto publish, social media publishing, social network auto publish, social media, social network
5
  Requires at least: 3.0
6
+ Tested up to: 5.2.1
7
+ Stable tag: 2.2
8
  License: GPLv2 or later
9
 
10
+ Publish posts automatically to Facebook page.
11
 
12
  == Description ==
13
 
14
+ A quick look into WP2FB Auto Publish :
15
 
16
  ★ Publish message to Facebook with image
17
  ★ Attach post or share link to Facebook
21
  ★ Customizable message formats for Facebook
22
 
23
 
24
+ = WP2FB Auto Publish Features in Detail =
25
 
26
+ The WP2FB Auto Publish lets you publish posts automatically from your blog to Facebook. You can publish your posts to Facebook as simple text message, text message with image or as attached link to your blog. The plugin supports filtering posts based on custom post-types as well as categories.
27
 
28
+ The prominent features of the WP2FB Auto Publish plugin are highlighted below.
29
 
30
  = Supported Mechanisms =
31
 
35
  Text message with image
36
  Share a link to your blog post
37
  Attach your blog post
 
38
  Post to specific pages on Facebook
39
 
40
  = Filter Settings =
57
  User nicename
58
  Post ID
59
  Post publish date
60
+ User display name
61
 
62
 
63
  = About =
64
 
65
+ WP2FB Auto Publish is developed and maintained by [XYZScripts](https://xyzscripts.com/ "xyzscripts.com"). For any support, you may [contact us](https://xyzscripts.com/support/ "XYZScripts Support").
66
 
67
+ ★ [WP2FB Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/user-guide/ "WP2FB Auto Publish User Guide")
68
+ ★ [WP2FB Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP2FB Auto Publish FAQ")
69
 
70
  == Installation ==
71
 
72
+ ★ [WP2FB Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/user-guide/ "WP2FB Auto Publish User Guide")
73
+ ★ [WP2FB Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP2FB Auto Publish FAQ")
74
 
75
  1. Extract `facebook-auto-publish.zip` to your `/wp-content/plugins/` directory.
76
+ 2. In the admin panel under plugins activate WP2FB Auto Publish.
77
+ 3. You can configure the settings from WP2FB Auto Publish menu. (Make sure to Authorize Facebook application after saving the settings.)
78
  4. Once these are done, posts should get automatically published based on your filter settings.
79
 
80
  If you need any further help, you may contact our [support desk](https://xyzscripts.com/support/ "XYZScripts Support").
81
 
82
  == Frequently Asked Questions ==
83
 
84
+ ★ [WP2FB Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/user-guide/ "WP2FB Auto Publish User Guide")
85
+ ★ [WP2FB Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP2FB Auto Publish FAQ")
86
 
87
+ = 1. The WP2FB Auto Publish is not working properly. =
88
 
89
+ Please check the wordpress version you are using. Make sure it meets the minimum version recommended by us. Make sure all files of the `wp2fb auto publish` plugin are uploaded to the folder `wp-content/plugins/`
90
 
91
 
92
  = 2. Can I post to Facebook pages instead of profile ? =
122
  == Screenshots ==
123
 
124
  1. This is the Facebook configuration section.
125
+ 2. This is the general settings section.
126
+ 3. Publishing options while creating a post.
127
 
128
  == Changelog ==
129
 
130
+ = WP2FB Auto Publish 2.2 =
131
+ * Plugin name changed to WP2FB Auto Publish, as per Facebook guidelines
132
+ * Fixed bug in specific category selection on edit posts
133
+ * Option to reuse last used auto publish settings on edit posts
134
+
135
  = WP Facebook Auto Publish 2.1 =
136
  * Added page for managing authorizations of smapsolutions app
137
  * Compatibility with gutenberg editor
260
 
261
  == More Information ==
262
 
263
+ ★ [WP2FB Auto Publish User Guide](http://help.xyzscripts.com/docs/facebook-auto-publish/ "WP2FB Auto Publish User Guide")
264
+ ★ [WP2FB Auto Publish FAQ](http://help.xyzscripts.com/docs/facebook-auto-publish/faq/ "WP2FB Auto Publish FAQ")
265
 
266
  = Troubleshooting =
267
 
274
 
275
  = Feedback =
276
 
277
+ We would like to receive your feedback and suggestions about WP2FB Auto Publish plugin. You may submit them at our [support desk](https://xyzscripts.com/support/ "XYZScripts Support").
xyz-functions.php CHANGED
@@ -53,7 +53,7 @@ if(!function_exists('xyz_fbap_links')){
53
  $links[] = '<a href="https://xyzscripts.com/support/" class="xyz_support" title="Support"></a>';
54
  $links[] = '<a href="https://twitter.com/xyzscripts" class="xyz_twitt" title="Follow us on twitter"></a>';
55
  $links[] = '<a href="https://www.facebook.com/xyzscripts" class="xyz_fbook" title="Facebook"></a>';
56
- $links[] = '<a href="https://plus.google.com/+Xyzscripts" class="xyz_gplus" title="+1"></a>';
57
  $links[] = '<a href="https://www.linkedin.com/company/xyzscripts" class="xyz_linkdin" title="Follow us on linkedIn"></a>';
58
  }
59
  return $links;
53
  $links[] = '<a href="https://xyzscripts.com/support/" class="xyz_support" title="Support"></a>';
54
  $links[] = '<a href="https://twitter.com/xyzscripts" class="xyz_twitt" title="Follow us on twitter"></a>';
55
  $links[] = '<a href="https://www.facebook.com/xyzscripts" class="xyz_fbook" title="Facebook"></a>';
56
+ // $links[] = '<a href="https://plus.google.com/+Xyzscripts" class="xyz_gplus" title="+1"></a>';
57
  $links[] = '<a href="https://www.linkedin.com/company/xyzscripts" class="xyz_linkdin" title="Follow us on linkedIn"></a>';
58
  }
59
  return $links;