Gallery by BestWebSoft - Version 4.4.6

Version Description

  • 13.10.2016 =
  • Update : The compatibility with Pagination plugin improved.
Download this release

Release Info

Developer bestwebsoft
Plugin Icon 128x128 Gallery by BestWebSoft
Version 4.4.6
Comparing to
See all releases

Code changes from version 4.4.5 to 4.4.6

bws_menu/bws_functions.php CHANGED
@@ -219,7 +219,7 @@ if ( ! function_exists( 'bws_plugin_banner' ) ) {
219
  <span><?php _e( 'Extend standard plugin functionality with new great options.', 'bestwebsoft' ); ?></span>
220
  </div>
221
  <div class="button_div">
222
- <a class="button" target="_blank" href="http://bestwebsoft.com/products/<?php echo $link_slug; ?>/?k=<?php echo $link_key; ?>&amp;pn=<?php echo $link_pn; ?>&amp;v=<?php echo $plugin_info["Version"]; ?>&amp;wp_v=<?php echo $wp_version; ?>"><?php _e( 'Learn More', 'bestwebsoft' ); ?></a>
223
  </div>
224
  </div>
225
  </div>
@@ -470,7 +470,7 @@ if ( ! function_exists( 'bws_go_pro_tab_show' ) ) {
470
  <form method="post" action="">
471
  <p>
472
  <?php _e( 'Enter your license key to install and activate', 'bestwebsoft' ); ?>
473
- <a href="http://bestwebsoft.com/products/<?php echo $link_slug; ?>/?k=<?php echo $link_key; ?>&amp;pn=<?php echo $link_pn; ?>&amp;v=<?php echo $plugin_info["Version"]; ?>&amp;wp_v=<?php echo $wp_version; ?>" target="_blank" title="<?php echo $plugin_info["Name"]; ?> Pro">Pro</a>
474
  <?php _e( 'version of the plugin.', 'bestwebsoft' ); ?><br />
475
  <span class="bws_info">
476
  <?php _e( 'License key can be found in the', 'bestwebsoft' ); ?>
@@ -479,7 +479,7 @@ if ( ! function_exists( 'bws_go_pro_tab_show' ) ) {
479
  </span>
480
  </p>
481
  <?php if ( $trial_days_number !== false )
482
- $trial_days_number = __( 'or', 'bestwebsoft' ) . ' <a href="http://bestwebsoft.com/products/' . $link_slug . '/trial/" target="_blank">' . sprintf( __( 'Start Your Free %s-Day Trial Now', 'bestwebsoft' ), $trial_days_number ) . '</a>';
483
  if ( isset( $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] ) &&
484
  '5' < $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] &&
485
  $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['time'] > ( time() - ( 24 * 60 * 60 ) ) ) { ?>
@@ -511,7 +511,7 @@ if ( ! function_exists( 'bws_go_pro_from_trial_tab' ) ) {
511
  if ( $trial_license_is_set ) { ?>
512
  <form method="post" action="">
513
  <p>
514
- <?php echo sprintf( __( 'In order to continue using the plugin it is necessary to buy a %s license.', 'bestwebsoft' ), '<a href="http://bestwebsoft.com/products/' . $link_slug . '/?k=' . $link_key . '&amp;pn=' . $link_pn . '&amp;v=' . $plugin_info["Version"] . '&amp;wp_v=' . $wp_version .'" target="_blank" title="' . $plugin_info["Name"] . '">Pro</a>' ) . ' ';
515
  _e( 'After that you can activate it by entering your license key.', 'bestwebsoft' ); ?><br />
516
  <span class="bws_info">
517
  <?php _e( 'License key can be found in the', 'bestwebsoft' ); ?>
@@ -607,7 +607,7 @@ if ( ! function_exists( 'bws_check_pro_license' ) ) {
607
  $result['message'] .= ' ' . __( 'Your license will expire on', 'bestwebsoft' ) . ' ' . $value->time_out . '.';
608
 
609
  if ( isset( $value->trial ) && $trial_plugin != false )
610
- $result['message'] .= ' ' . sprintf( __( 'In order to continue using the plugin it is necessary to buy a %s license.', 'bestwebsoft' ), '<a href="http://bestwebsoft.com/products/' . $trial_plugin['link_slug'] . '/?k=' . $trial_plugin['link_key'] . '&pn=' . $trial_plugin['link_pn'] . '&v=' . $trial_plugin['plugin_info']['Version'] . '&wp_v=' . $wp_version . '" target="_blank" title="' . $trial_plugin['plugin_info']['Name'] . '">Pro</a>' );
611
 
612
  if ( isset( $value->trial ) ) {
613
  $bstwbsftwppdtplgns_options['trial'][ $plugin_basename ] = 1;
@@ -701,7 +701,7 @@ if ( ! function_exists ( 'bws_plugin_update_row' ) ) {
701
  if ( $wp_version >= 4.6 )
702
  echo '<p>';
703
  if ( isset( $bstwbsftwppdtplgns_options['trial'][ $plugin_key ] ) && $link_slug != false ) {
704
- echo __( 'Notice: Your Pro Trial license has expired. To continue using the plugin you should buy a Pro license', 'bestwebsoft' ) . ' - <a href="http://bestwebsoft.com/products/' . $link_slug .'/">http://bestwebsoft.com/products/' . $link_slug . '/</a>';
705
  } else {
706
  echo __( 'Your license has expired. To continue getting top-priority support and plugin updates you should extend it.', 'bestwebsoft' ) . ' <a target="_new" href="http://support.bestwebsoft.com/entries/53487136">' . __( "Learn more", 'bestwebsoft' ) . '</a>';
707
  }
@@ -749,19 +749,19 @@ if ( ! function_exists ( 'bws_plugin_banner_timeout' ) ) {
749
  $(document).ready( function() {
750
  var hide_message = $.cookie( "<?php echo $plugin_prefix; ?>_timeout_hide_banner_on_plugin_page" );
751
  if ( hide_message == "true" ) {
752
- $( ".<?php echo $plugin_prefix; ?>_message" ).css( "display", "none" );
753
  } else {
754
- $( ".<?php echo $plugin_prefix; ?>_message" ).css( "display", "block" );
755
  }
756
  $( ".<?php echo $plugin_prefix; ?>_close_icon" ).click( function() {
757
- $( ".<?php echo $plugin_prefix; ?>_message" ).css( "display", "none" );
758
  $.cookie( "<?php echo $plugin_prefix; ?>_timeout_hide_banner_on_plugin_page", "true", { expires: 30 } );
759
  });
760
  });
761
  })(jQuery);
762
  </script>
763
  <div class="updated" style="padding: 0; margin: 0; border: none; background: none;">
764
- <div class="<?php echo $plugin_prefix; ?>_message bws_banner_on_plugin_page bws_banner_timeout" style="display:none;">
765
  <button class="<?php echo $plugin_prefix; ?>_close_icon close_icon notice-dismiss bws_hide_settings_notice" title="<?php _e( 'Close notice', 'bestwebsoft' ); ?>"></button>
766
  <div class="icon">
767
  <img title="" src="<?php echo $banner_url; ?>" alt="" />
219
  <span><?php _e( 'Extend standard plugin functionality with new great options.', 'bestwebsoft' ); ?></span>
220
  </div>
221
  <div class="button_div">
222
+ <a class="button" target="_blank" href="http://bestwebsoft.com/products/wordpress/plugins/<?php echo $link_slug; ?>/?k=<?php echo $link_key; ?>&amp;pn=<?php echo $link_pn; ?>&amp;v=<?php echo $plugin_info["Version"]; ?>&amp;wp_v=<?php echo $wp_version; ?>"><?php _e( 'Learn More', 'bestwebsoft' ); ?></a>
223
  </div>
224
  </div>
225
  </div>
470
  <form method="post" action="">
471
  <p>
472
  <?php _e( 'Enter your license key to install and activate', 'bestwebsoft' ); ?>
473
+ <a href="http://bestwebsoft.com/products/wordpress/plugins/<?php echo $link_slug; ?>/?k=<?php echo $link_key; ?>&amp;pn=<?php echo $link_pn; ?>&amp;v=<?php echo $plugin_info["Version"]; ?>&amp;wp_v=<?php echo $wp_version; ?>" target="_blank" title="<?php echo $plugin_info["Name"]; ?> Pro">Pro</a>
474
  <?php _e( 'version of the plugin.', 'bestwebsoft' ); ?><br />
475
  <span class="bws_info">
476
  <?php _e( 'License key can be found in the', 'bestwebsoft' ); ?>
479
  </span>
480
  </p>
481
  <?php if ( $trial_days_number !== false )
482
+ $trial_days_number = __( 'or', 'bestwebsoft' ) . ' <a href="http://bestwebsoft.com/products/wordpress/plugins/' . $link_slug . '/trial/" target="_blank">' . sprintf( __( 'Start Your Free %s-Day Trial Now', 'bestwebsoft' ), $trial_days_number ) . '</a>';
483
  if ( isset( $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] ) &&
484
  '5' < $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['count'] &&
485
  $bstwbsftwppdtplgns_options['go_pro'][ $bws_license_plugin ]['time'] > ( time() - ( 24 * 60 * 60 ) ) ) { ?>
511
  if ( $trial_license_is_set ) { ?>
512
  <form method="post" action="">
513
  <p>
514
+ <?php echo sprintf( __( 'In order to continue using the plugin it is necessary to buy a %s license.', 'bestwebsoft' ), '<a href="http://bestwebsoft.com/products/wordpress/plugins/' . $link_slug . '/?k=' . $link_key . '&amp;pn=' . $link_pn . '&amp;v=' . $plugin_info["Version"] . '&amp;wp_v=' . $wp_version .'" target="_blank" title="' . $plugin_info["Name"] . '">Pro</a>' ) . ' ';
515
  _e( 'After that you can activate it by entering your license key.', 'bestwebsoft' ); ?><br />
516
  <span class="bws_info">
517
  <?php _e( 'License key can be found in the', 'bestwebsoft' ); ?>
607
  $result['message'] .= ' ' . __( 'Your license will expire on', 'bestwebsoft' ) . ' ' . $value->time_out . '.';
608
 
609
  if ( isset( $value->trial ) && $trial_plugin != false )
610
+ $result['message'] .= ' ' . sprintf( __( 'In order to continue using the plugin it is necessary to buy a %s license.', 'bestwebsoft' ), '<a href="http://bestwebsoft.com/products/wordpress/plugins/' . $trial_plugin['link_slug'] . '/?k=' . $trial_plugin['link_key'] . '&pn=' . $trial_plugin['link_pn'] . '&v=' . $trial_plugin['plugin_info']['Version'] . '&wp_v=' . $wp_version . '" target="_blank" title="' . $trial_plugin['plugin_info']['Name'] . '">Pro</a>' );
611
 
612
  if ( isset( $value->trial ) ) {
613
  $bstwbsftwppdtplgns_options['trial'][ $plugin_basename ] = 1;
701
  if ( $wp_version >= 4.6 )
702
  echo '<p>';
703
  if ( isset( $bstwbsftwppdtplgns_options['trial'][ $plugin_key ] ) && $link_slug != false ) {
704
+ echo __( 'Notice: Your Pro Trial license has expired. To continue using the plugin you should buy a Pro license', 'bestwebsoft' ) . ' - <a href="http://bestwebsoft.com/products/wordpress/plugins/' . $link_slug .'/">http://bestwebsoft.com/products/wordpress/plugins/' . $link_slug . '/</a>';
705
  } else {
706
  echo __( 'Your license has expired. To continue getting top-priority support and plugin updates you should extend it.', 'bestwebsoft' ) . ' <a target="_new" href="http://support.bestwebsoft.com/entries/53487136">' . __( "Learn more", 'bestwebsoft' ) . '</a>';
707
  }
749
  $(document).ready( function() {
750
  var hide_message = $.cookie( "<?php echo $plugin_prefix; ?>_timeout_hide_banner_on_plugin_page" );
751
  if ( hide_message == "true" ) {
752
+ $( ".<?php echo $plugin_prefix; ?>_message_timeout" ).css( "display", "none" );
753
  } else {
754
+ $( ".<?php echo $plugin_prefix; ?>_message_timeout" ).css( "display", "block" );
755
  }
756
  $( ".<?php echo $plugin_prefix; ?>_close_icon" ).click( function() {
757
+ $( ".<?php echo $plugin_prefix; ?>_message_timeout" ).css( "display", "none" );
758
  $.cookie( "<?php echo $plugin_prefix; ?>_timeout_hide_banner_on_plugin_page", "true", { expires: 30 } );
759
  });
760
  });
761
  })(jQuery);
762
  </script>
763
  <div class="updated" style="padding: 0; margin: 0; border: none; background: none;">
764
+ <div class="<?php echo $plugin_prefix; ?>_message_timeout bws_banner_on_plugin_page bws_banner_timeout" style="display:none;">
765
  <button class="<?php echo $plugin_prefix; ?>_close_icon close_icon notice-dismiss bws_hide_settings_notice" title="<?php _e( 'Close notice', 'bestwebsoft' ); ?>"></button>
766
  <div class="icon">
767
  <img title="" src="<?php echo $banner_url; ?>" alt="" />
bws_menu/bws_menu.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Function for displaying BestWebSoft menu
4
- * Version: 1.9.2
5
  */
6
 
7
  if ( ! function_exists ( 'bws_admin_enqueue_scripts' ) )
@@ -696,7 +696,8 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
696
  if ( ! function_exists( 'bws_get_banner_array' ) ) {
697
  function bws_get_banner_array() {
698
  global $bstwbsftwppdtplgns_banner_array;
699
- $bstwbsftwppdtplgns_banner_array = array(
 
700
  array( 'crrntl_hide_banner_on_plugin_page', 'car-rental/car-rental.php', '1.0.0' ),
701
  array( 'lnkdn_hide_banner_on_plugin_page', 'bws-linkedin/bws-linkedin.php', '1.0.1' ),
702
  array( 'pntrst_hide_banner_on_plugin_page', 'bws-pinterest/bws-pinterest.php', '1.0.1' ),
1
  <?php
2
  /*
3
  * Function for displaying BestWebSoft menu
4
+ * Version: 1.9.3
5
  */
6
 
7
  if ( ! function_exists ( 'bws_admin_enqueue_scripts' ) )
696
  if ( ! function_exists( 'bws_get_banner_array' ) ) {
697
  function bws_get_banner_array() {
698
  global $bstwbsftwppdtplgns_banner_array;
699
+ $bstwbsftwppdtplgns_banner_array = array(
700
+ array( 'pgntn_hide_banner_on_plugin_page', 'pagination/pagination.php', '1.0.6' ),
701
  array( 'crrntl_hide_banner_on_plugin_page', 'car-rental/car-rental.php', '1.0.0' ),
702
  array( 'lnkdn_hide_banner_on_plugin_page', 'bws-linkedin/bws-linkedin.php', '1.0.1' ),
703
  array( 'pntrst_hide_banner_on_plugin_page', 'bws-pinterest/bws-pinterest.php', '1.0.1' ),
bws_menu/css/style.css CHANGED
@@ -179,6 +179,7 @@ a.toplevel_page_bws_panel.wp-has-current-submenu:after {
179
  .bws_error {
180
  color: #c5412b;
181
  margin-top: 1px;
 
182
  }
183
  .bws_error a {
184
  color: #fff;
179
  .bws_error {
180
  color: #c5412b;
181
  margin-top: 1px;
182
+ max-width: 230px;
183
  }
184
  .bws_error a {
185
  color: #fff;
bws_menu/product_list.php CHANGED
@@ -20,82 +20,82 @@ $bws_plugins = array(
20
  'category' => array( 'security', 'recommended' ),
21
  'name' => 'Captcha',
22
  'description' => 'Protect WordPress website forms from spam entries by means of math logic.',
23
- 'link' => 'http://bestwebsoft.com/products/captcha/?k=d678516c0990e781edfb6a6c874f0b8a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
24
  'settings' => 'admin.php?page=captcha.php',
25
  'pro_version' => 'captcha-pro/captcha_pro.php',
26
- 'purchase' => 'http://bestwebsoft.com/products/captcha/buy/?k=ff7d65e55e5e7f98f219be9ed711094e&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
27
  'pro_settings' => 'admin.php?page=captcha_pro.php'
28
  ),
29
  'car-rental/car-rental.php' => array(
30
  'category' => array( 'content-and-media' ),
31
  'name' => 'Car Rental',
32
  'description' => 'Create your personal car rental/booking and reservation website.',
33
- 'link' => 'http://bestwebsoft.com/products/car-rental/?k=444cac6df9a0d3a9763ab4753d24941b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
34
  'settings' => 'admin.php?page=car-rental-settings',
35
  'pro_version' => 'car-rental-pro/car-rental-pro.php',
36
- 'purchase' => 'http://bestwebsoft.com/products/car-rental/buy/?k=7643d4f0698252fa1159de078d22269c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
37
  'pro_settings' => 'admin.php?page=car-rental-pro-settings'
38
  ),
39
  'contact-form-plugin/contact_form.php' => array(
40
  'category' => array( 'other', 'recommended' ),
41
  'name' => 'Contact Form',
42
  'description' => 'Allow customers to reach you using secure contact form plugin any website must have.',
43
- 'link' => 'http://bestwebsoft.com/products/contact-form/?k=012327ef413e5b527883e031d43b088b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
44
  'settings' => 'admin.php?page=contact_form.php',
45
  'pro_version' => 'contact-form-pro/contact_form_pro.php',
46
- 'purchase' => 'http://bestwebsoft.com/products/contact-form/buy/?k=773dc97bb3551975db0e32edca1a6d71&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
47
  'pro_settings' => 'admin.php?page=contact_form_pro.php'
48
  ),
49
  'contact-form-multi/contact-form-multi.php' => array(
50
  'category' => array( 'other', 'recommended' ),
51
  'name' => 'Contact Form Multi',
52
  'description' => 'Add unlimited number of contact forms to WordPress website.',
53
- 'link' => 'http://bestwebsoft.com/products/contact-form-multi/?k=83cdd9e72a9f4061122ad28a67293c72&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
54
  'settings' => '',
55
  'pro_version' => 'contact-form-multi-pro/contact-form-multi-pro.php',
56
- 'purchase' => 'http://bestwebsoft.com/products/contact-form-multi/buy/?k=fde3a18581c143654f060c398b07e8ac&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
57
  'pro_settings' => ''
58
  ),
59
  'contact-form-to-db/contact_form_to_db.php' => array(
60
  'category' => array( 'other', 'recommended' ),
61
  'name' => 'Contact Form to DB',
62
  'description' => 'Save and manage contact form messages. Never lose important data.',
63
- 'link' => 'http://bestwebsoft.com/products/contact-form-to-db/?k=ba3747d317c2692e4136ca096a8989d6&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
64
  'settings' => 'admin.php?page=cntctfrmtdb_settings',
65
  'pro_version' => 'contact-form-to-db-pro/contact_form_to_db_pro.php',
66
- 'purchase' => 'http://bestwebsoft.com/products/contact-form-to-db/buy/?k=6ce5f4a9006ec906e4db643669246c6a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
67
  'pro_settings' => 'admin.php?page=cntctfrmtdbpr_settings'
68
  ),
69
  'custom-admin-page/custom-admin-page.php' => array(
70
  'category' => array( 'utilities' ),
71
  'name' => 'Custom Admin Page',
72
  'description' => 'Add unlimited custom pages to WordPress admin dashboard.',
73
- 'link' => 'http://bestwebsoft.com/products/custom-admin-page/?k=9ac03f16c25e845e8e055a221c3e1467&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
74
  'settings' => 'admin.php?page=custom-admin-page.php'
75
  ),
76
  'custom-fields-search/custom-fields-search.php' => array(
77
  'category' => array( 'content-and-media' ),
78
  'name' => 'Custom Fields Search',
79
  'description' => 'Add custom fields to WordPress website search results.',
80
- 'link' => 'http://bestwebsoft.com/products/custom-fields-search/?k=f3f8285bb069250c42c6ffac95ed3284&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
81
  'settings' => 'admin.php?page=custom_fields_search.php'
82
  ),
83
  'custom-search-plugin/custom-search-plugin.php' => array(
84
  'category' => array( 'content-and-media' ),
85
  'name' => 'Custom Search',
86
  'description' => 'Add custom post types to WordPress website search results.',
87
- 'link' => 'http://bestwebsoft.com/products/custom-search/?k=933be8f3a8b8719d95d1079d15443e29&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
88
  'settings' => 'admin.php?page=custom_search.php',
89
  'pro_version' => 'custom-search-pro/custom-search-pro.php',
90
- 'purchase' => 'http://bestwebsoft.com/products/custom-search/buy/?k=062b652ac6ac8ba863c9f30fc21d62c6&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
91
  'pro_settings' => 'admin.php?page=custom_search_pro.php'
92
  ),
93
  'db-manager/db-manager.php' => array(
94
  'category' => array( 'utilities' ),
95
  'name' => 'DB Manager',
96
  'description' => 'Manage database and file system right from your WordPress admin dashboard.',
97
- 'link' => 'http://bestwebsoft.com/products/db-manager/?k=01ed9731780d87f85f5901064b7d76d8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
98
- 'install_url' => 'http://bestwebsoft.com/products/db-manager/download/?k=01ed9731780d87f85f5901064b7d76d8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
99
  'settings' => 'admin.php?page=db-manager.php',
100
  'icon' => plugins_url( 'icons/plugins/', __FILE__ ) . 'db-manager.png'
101
  ),
@@ -103,373 +103,376 @@ $bws_plugins = array(
103
  'category' => array( 'other' ),
104
  'name' => 'Donate',
105
  'description' => 'Add PayPal and 2CO donate buttons to receive charity payments.',
106
- 'link' => 'http://bestwebsoft.com/products/donate/?k=a8b2e2a56914fb1765dd20297c26401b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
107
  'settings' => 'admin.php?page=donate.php'
108
  ),
109
  'email-queue/email-queue.php' => array(
110
  'category' => array( 'other' ),
111
  'name' => 'Email Queue',
112
  'description' => 'Automatically add outgoing email messages to queue instead of sending them immediately.',
113
- 'link' => 'http://bestwebsoft.com/products/email-queue/?k=e345e1b6623f0dca119bc2d9433b130b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
114
  'settings' => 'admin.php?page=mlq_settings'
115
  ),
116
  'error-log-viewer/error-log-viewer.php' => array(
117
  'category' => array( 'utilities' ),
118
  'name' => 'Error Log Viewer',
119
  'description' => 'Get latest error log messages to diagnose website problems. Define and fix issues faster.',
120
- 'link' => 'http://bestwebsoft.com/products/error-log-viewer/?k=da0de8bd2c7a0b2fea5df64d55a368b3&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
121
  'settings' => 'admin.php?page=rrrlgvwr.php&tab=settings'
122
  ),
123
  'facebook-button-plugin/facebook-button-plugin.php' => array(
124
  'category' => array( 'social' ),
125
  'name' => 'Facebook Button',
126
  'description' => 'Add Facebook Like, Share and Profile buttons to WordPress posts, pages and widgets.',
127
- 'link' => 'http://bestwebsoft.com/products/facebook-like-button/?k=05ec4f12327f55848335802581467d55&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
128
  'settings' => 'admin.php?page=facebook-button-plugin.php',
129
  'pro_version' => 'facebook-button-pro/facebook-button-pro.php',
130
- 'purchase' => 'http://bestwebsoft.com/products/facebook-like-button/buy/?k=8da168e60a831cfb3525417c333ad275&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
131
  'pro_settings' => 'admin.php?page=facebook-button-pro.php'
132
  ),
133
  'bws-featured-posts/bws-featured-posts.php' => array(
134
  'category' => array( 'content-and-media' ),
135
  'name' => 'Featured Posts',
136
  'description' => 'Add featured posts to WordPress posts or widgets. Highlight important information.',
137
- 'link' => 'http://bestwebsoft.com/products/featured-posts/?k=f0afb31185ba7c7d6d598528d69f6d97&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
138
  'settings' => 'admin.php?page=featured-posts.php'
139
  ),
140
  'gallery-plugin/gallery-plugin.php' => array(
141
  'category' => array( 'content-and-media', 'recommended' ),
142
  'name' => 'Gallery',
143
  'description' => 'Add beautiful galleries, albums & images to your Wordpress website in few clicks.',
144
- 'link' => 'http://bestwebsoft.com/products/gallery/?k=2da21c0a64eec7ebf16337fa134c5f78&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
145
  'settings' => 'admin.php?page=gallery-plugin.php',
146
  'pro_version' => 'gallery-plugin-pro/gallery-plugin-pro.php',
147
- 'purchase' => 'http://bestwebsoft.com/products/gallery/buy/?k=382e5ce7c96a6391f5ffa5e116b37fe0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
148
  'pro_settings' => 'admin.php?page=gallery-plugin-pro.php'
149
  ),
150
  'gallery-categories/gallery-categories.php' => array(
151
  'category' => array( 'content-and-media' ),
152
  'name' => 'Gallery Categories',
153
  'description' => 'Add unlimited gallery categories. Organize images to make the navigation through content easier.',
154
- 'link' => 'http://bestwebsoft.com/products/gallery-categories/?k=7d68c7bfec2486dc350c67fff57ad433&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
155
  'settings' => ''
156
  ),
157
  'google-one/google-plus-one.php' => array(
158
  'category' => array( 'social' ),
159
  'name' => 'Google +1',
160
  'description' => 'Add Google +1 Share, Follow, Hangout buttons and profile badge to WordPress posts, pages and widgets.',
161
- 'link' => 'http://bestwebsoft.com/products/google-plus-one/?k=ce7a88837f0a857b3a2bb142f470853c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
162
  'settings' => 'admin.php?page=google-plus-one.php',
163
  'pro_version' => 'google-one-pro/google-plus-one-pro.php',
164
- 'purchase' => 'http://bestwebsoft.com/products/google-plus-one/buy/?k=f4b0a62d155c9df9601a0531ad5bd832&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
165
  'pro_settings' => 'admin.php?page=google-plus-one-pro.php'
166
  ),
167
  'adsense-plugin/adsense-plugin.php' => array(
168
  'category' => array( 'advertisement' ),
169
  'name' => 'Google AdSense',
170
  'description' => 'Add Adsense ads to pages, posts, custom posts, search results, categories, tags, pages, and widgets.',
171
- 'link' => 'http://bestwebsoft.com/products/google-adsense/?k=60e3979921e354feb0347e88e7d7b73d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
172
  'settings' => 'admin.php?page=adsense-plugin.php',
173
  'pro_version' => 'adsense-pro/adsense-pro.php',
174
- 'purchase' => 'http://bestwebsoft.com/products/google-adsense/buy/?k=c23889b293d62aa1ad2c96513405f0e1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
175
  'pro_settings' => 'admin.php?page=adsense-pro.php'
176
  ),
177
  'bws-google-analytics/bws-google-analytics.php' => array(
178
  'category' => array( 'site-stats' ),
179
  'name' => 'Google Analytics',
180
  'description' => 'Add Google Analytics code to WordPress website and track basic stats.',
181
- 'link' => 'http://bestwebsoft.com/products/bws-google-analytics/?k=261c74cad753fb279cdf5a5db63fbd43&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
182
  'settings' => 'admin.php?page=bws-google-analytics.php',
183
  'pro_version' => 'bws-google-analytics-pro/bws-google-analytics-pro.php',
184
- 'purchase' => 'http://bestwebsoft.com/products/bws-google-analytics/buy/?k=83796e84fec3f70ecfcc8894a73a6c4a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
185
  'pro_settings' => 'admin.php?page=bws-google-analytics-pro.php'
186
  ),
187
  'google-captcha/google-captcha.php' => array(
188
  'category' => array( 'security', 'recommended' ),
189
  'name' => 'Google Captcha (reCAPTCHA)',
190
  'description' => 'Protect WordPress website forms from spam entries with Google Captcha (reCaptcha).',
191
- 'link' => 'http://bestwebsoft.com/products/google-captcha/?k=7b59fbe542acf950b29f3e020d5ad735&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
192
  'settings' => 'admin.php?page=google-captcha.php',
193
  'pro_version' => 'google-captcha-pro/google-captcha-pro.php',
194
- 'purchase' => 'http://bestwebsoft.com/products/google-captcha/buy/?k=773d30149acf1edc32e5c0766b96c134&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
195
  'pro_settings' => 'admin.php?page=google-captcha-pro.php'
196
  ),
197
  'bws-google-maps/bws-google-maps.php' => array(
198
  'category' => array( 'content-and-media' ),
199
  'name' => 'Google Maps',
200
  'description' => 'Add customized Google maps to WordPress posts, pages and widgets.',
201
- 'link' => 'http://bestwebsoft.com/products/bws-google-maps/?k=d8fac412d7359ebaa4ff53b46572f9f7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
202
  'settings' => 'admin.php?page=bws-google-maps.php',
203
  'pro_version' => 'bws-google-maps-pro/bws-google-maps-pro.php',
204
- 'purchase' => 'http://bestwebsoft.com/products/bws-google-maps/buy/?k=117c3f9fc17f2c83ef430a8a9dc06f56&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
205
  'pro_settings' => 'admin.php?page=bws-google-maps-pro.php'
206
  ),
207
  'google-sitemap-plugin/google-sitemap-plugin.php' => array(
208
  'category' => array( 'other', 'recommended' ),
209
  'name' => 'Google Sitemap',
210
  'description' => 'Generate and add XML sitemap to WordPress website. Help search engines index your blog.',
211
- 'link' => 'http://bestwebsoft.com/products/google-sitemap/?k=5202b2f5ce2cf85daee5e5f79a51d806&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
212
  'settings' => 'admin.php?page=google-sitemap-plugin.php',
213
  'pro_version' => 'google-sitemap-pro/google-sitemap-pro.php',
214
- 'purchase' => 'http://bestwebsoft.com/products/google-sitemap/buy/?k=7ea384a5cc36cb4c22741caa20dcd56d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
215
  'pro_settings' => 'admin.php?page=google-sitemap-pro.php'
216
  ),
217
  'google-shortlink/google-shortlink.php' => array(
218
  'category' => array( 'other' ),
219
  'name' => 'Google Shortlink',
220
  'description' => 'Replace external WordPress website links with Google shortlinks and track click stats.',
221
- 'link' => 'http://bestwebsoft.com/products/google-shortlink/?k=afcf3eaed021bbbbeea1090e16bc22db&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
222
  'settings' => 'admin.php?page=gglshrtlnk_options'
223
  ),
224
  'htaccess/htaccess.php' => array(
225
  'category' => array( 'security' ),
226
  'name' => 'Htaccess',
227
  'description' => 'Protect WordPress website – allow and deny access for certain IP addresses, hostnames, etc.',
228
- 'link' => 'http://bestwebsoft.com/products/htaccess/?k=2b865fcd56a935d22c5c4f1bba52ed46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
229
  'settings' => 'admin.php?page=htaccess.php',
230
  'pro_version' => 'htaccess-pro/htaccess-pro.php',
231
- 'purchase' => 'http://bestwebsoft.com/products/htaccess/buy/?k=59e9209a32864be534fda77d5e591c15&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
232
  'pro_settings' => 'admin.php?page=htaccess-pro.php'
233
  ),
234
  'job-board/job-board.php' => array(
235
  'category' => array( 'content-and-media' ),
236
  'name' => 'Job Board',
237
  'description' => 'Create your personal job board and listing WordPress website. Search jobs, submit CV/resumes, choose candidates.',
238
- 'link' => 'http://bestwebsoft.com/products/job-board/?k=b0c504c9ce6edd6692e04222af3fed6f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
239
  'settings' => 'admin.php?page=job-board.php'
240
  ),
241
  'bws-latest-posts/bws-latest-posts.php' => array(
242
  'category' => array( 'content-and-media' ),
243
  'name' => 'Latest Posts',
244
  'description' => 'Add latest posts or latest posts for selected categories widgets to WordPress website.',
245
- 'link' => 'http://bestwebsoft.com/products/latest-posts/?k=ef4e125aadadd8d219140daa184a9399&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
246
  'settings' => 'admin.php?page=latest-posts.php'
247
  ),
248
  'limit-attempts/limit-attempts.php' => array(
249
  'category' => array( 'security', 'recommended' ),
250
  'name' => 'Limit Attempts',
251
  'description' => 'Protect WordPress website against brute force attacks. Limit rate of login attempts.',
252
- 'link' => 'http://bestwebsoft.com/products/limit-attempts/?k=b14e1697ee4d008abcd4bd34d492573a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
253
  'settings' => 'admin.php?page=limit-attempts.php',
254
  'pro_version' => 'limit-attempts-pro/limit-attempts-pro.php',
255
- 'purchase' => 'http://bestwebsoft.com/products/limit-attempts/buy/?k=9d42cdf22c7fce2c4b6b447e6a2856e0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
256
  'pro_settings' => 'admin.php?page=limit-attempts-pro.php'
257
  ),
258
  'bws-linkedin/bws-linkedin.php' => array(
259
  'category' => array( 'social' ),
260
  'name' => 'LinkedIn',
261
  'description' => 'Add LinkedIn Share and Follow buttons to WordPress posts, pages and widgets. 5 plugins included – profile, insider, etc.',
262
- 'link' => 'http://bestwebsoft.com/products/linkedin/?k=d63c7319622ccc5f589dd2d545c1d77c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
263
  'settings' => 'admin.php?page=linkedin.php',
264
  'pro_version' => 'bws-linkedin-pro/bws-linkedin-pro.php',
265
- 'purchase' => 'http://bestwebsoft.com/products/linkedin/buy/?k=41dcc36192994408d24b103a02134567&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
266
  'pro_settings' => 'admin.php?page=linkedin-pro.php'
267
  ),
268
  'multilanguage/multilanguage.php' => array(
269
  'category' => array( 'content-and-media', 'recommended' ),
270
  'name' => 'Multilanguage',
271
  'description' => 'Translate WordPress website content to other languages manually. Create multilingual pages, posts, widgets, menus, etc.',
272
- 'link' => 'http://bestwebsoft.com/products/multilanguage/?k=7d68c7bfec2486dc350c67fff57ad433&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
273
  'settings' => 'admin.php?page=mltlngg_settings',
274
  'pro_version' => 'multilanguage-pro/multilanguage-pro.php',
275
- 'purchase' => 'http://bestwebsoft.com/products/multilanguage/buy/?k=2d1121cd9a5ced583fc29eefd51bdf57&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
276
  'pro_settings' => 'admin.php?page=mltlnggpr_settings'
277
  ),
278
  'pagination/pagination.php' => array(
279
  'category' => array( 'content-and-media' ),
280
  'name' => 'Pagination',
281
  'description' => 'Add customizable pagination to WordPress website. Split long content to multiple pages for better navigation.',
282
- 'link' => 'http://bestwebsoft.com/products/pagination/?k=22adb940256f149559ba8fedcd728ac8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
283
- 'settings' => 'admin.php?page=pagination.php'
 
 
 
284
  ),
285
  'pdf-print/pdf-print.php' => array(
286
  'category' => array( 'other' ),
287
  'name' => 'PDF & Print',
288
  'description' => 'Generate PDF files and print WordPress posts/pages. Customize document header/footer styles and appearance.',
289
- 'link' => 'http://bestwebsoft.com/products/pdf-print/?k=bfefdfb522a4c0ff0141daa3f271840c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
290
  'settings' => 'admin.php?page=pdf-print.php',
291
  'pro_version' => 'pdf-print-pro/pdf-print-pro.php',
292
- 'purchase' => 'http://bestwebsoft.com/products/pdf-print/buy/?k=fd43a0e659ddc170a9060027cbfdcc3a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
293
  'pro_settings' => 'admin.php?page=pdf-print-pro.php'
294
  ),
295
  'bws-pinterest/bws-pinterest.php' => array(
296
  'category' => array( 'social' ),
297
  'name' => 'Pinterest',
298
  'description' => 'Add Pinterest Follow, Pin It buttons and profile widgets (Pin, Board, Profile) to WordPress posts, pages and widgets.',
299
- 'link' => 'http://bestwebsoft.com/products/pinterest/?k=504107b6213f247a67fe7ffb94e97c78&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
300
  'settings' => 'admin.php?page=pinterest.php',
301
  'pro_version' => 'bws-pinterest-pro/bws-pinterest-pro.php',
302
- 'purchase' => 'http://bestwebsoft.com/products/pinterest/buy/?k=ab0069edd1914a3ca8f541bfd88bb0bb&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
303
  'pro_settings' => 'admin.php?page=pinterest-pro.php'
304
  ),
305
  'bws-popular-posts/bws-popular-posts.php' => array(
306
  'category' => array( 'content-and-media', 'recommended' ),
307
  'name' => 'Popular Posts',
308
  'description' => 'Track views, comments and add most popular posts to Wordpress widgets.',
309
- 'link' => 'http://bestwebsoft.com/products/popular-posts/?k=4d529f116d2b7f7df3a78018c383f975&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
310
  'settings' => 'admin.php?page=popular-posts.php'
311
  ),
312
  'portfolio/portfolio.php' => array(
313
  'category' => array( 'content-and-media', 'recommended' ),
314
  'name' => 'Portfolio',
315
  'description' => 'Create your personal portfolio WordPress website. Manage and showcase past projects to get more clients.',
316
- 'link' => 'http://bestwebsoft.com/products/portfolio/?k=1249a890c5b7bba6bda3f528a94f768b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
317
  'settings' => 'admin.php?page=portfolio.php',
318
  'pro_version' => 'portfolio-pro/portfolio-pro.php',
319
- 'purchase' => 'http://bestwebsoft.com/products/portfolio/buy/?k=2cc716026197d36538a414b728e49fdd&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
320
  'pro_settings' => 'admin.php?page=portfolio-pro.php'
321
  ),
322
  'post-to-csv/post-to-csv.php' => array(
323
  'category' => array( 'utilities' ),
324
  'name' => 'Post to CSV',
325
  'description' => 'Export WordPress posts to CSV file format easily. Configure data order.',
326
- 'link' => 'http://bestwebsoft.com/products/post-to-csv/?k=653aa55518ae17409293a7a894268b8f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
327
  'settings' => 'admin.php?page=post-to-csv.php'
328
  ),
329
  'profile-extra-fields/profile-extra-fields.php' => array(
330
  'category' => array( 'management' ),
331
  'name' => 'Profile Extra Fields',
332
  'description' => 'Add extra fields to default WordPress user profile. The easiest way to create and manage additional custom values.',
333
- 'link' => 'http://bestwebsoft.com/products/profile-extra-fields/?k=fe3b6c3dbc80bd4b1cf9a27a2f339820&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
334
  'settings' => 'admin.php?page=profile-extra-fields.php'
335
  ),
336
  'promobar/promobar.php' => array(
337
  'category' => array( 'advertisement' ),
338
  'name' => 'PromoBar',
339
  'description' => 'Add and display HTML advertisement on WordPress website. Customize bar styles and appearance.',
340
- 'link' => 'http://bestwebsoft.com/products/promobar/?k=619eac2232d9cfa382c4e678c3b14766&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
341
  'settings' => 'admin.php?page=promobar.php',
342
  'pro_version' => 'promobar-pro/promobar-pro.php',
343
- 'purchase' => 'http://bestwebsoft.com/products/promobar/buy/?k=a9b09708502f12a1483532ba12fe2103&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
344
  'pro_settings' => 'admin.php?page=promobar-pro.php'
345
  ),
346
  'quotes-and-tips/quotes-and-tips.php' => array(
347
  'category' => array( 'content-and-media' ),
348
  'name' => 'Quotes and Tips',
349
  'description' => 'Add customizable quotes and tips blocks to WordPress posts, pages and widgets.',
350
- 'link' => 'http://bestwebsoft.com/products/quotes-and-tips/?k=5738a4e85a798c4a5162240c6515098d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
351
  'settings' => 'admin.php?page=quotes-and-tips.php'
352
  ),
353
  'realty/realty.php' => array(
354
  'category' => array( 'content-and-media' ),
355
  'name' => 'Realty',
356
  'description' => 'Create your personal real estate WordPress website. Sell, rent and buy properties. Add, search and browse listings easily.',
357
- 'link' => 'http://bestwebsoft.com/products/realty/?k=d55de979dbbbb7af0b2ff1d7f43884fa&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
358
  'settings' => 'admin.php?page=realty_settings',
359
  'pro_version' => 'realty-pro/realty-pro.php',
360
- 'purchase' => 'http://bestwebsoft.com/products/realty/buy/?k=c7791f0a72acfb36f564a614dbccb474&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
361
  'pro_settings' => 'admin.php?page=realty_pro_settings'
362
  ),
363
  're-attacher/re-attacher.php' => array(
364
  'category' => array( 'utilities' ),
365
  'name' => 'Re-attacher',
366
  'description' => 'Attach, unattach and re-attach media files quickly to WordPress posts and pages.',
367
- 'link' => 'http://bestwebsoft.com/products/re-attacher/?k=4d529f116d2b7f7df3a78018c383f975&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
368
  'settings' => 'admin.php?page=re-attacher.php'
369
  ),
370
  'relevant/related-posts-plugin.php' => array(
371
  'category' => array( 'content-and-media', 'recommended' ),
372
  'name' => 'Relevant - Related Posts',
373
  'description' => 'Add related posts to WordPress posts or widgets. Link your readers to relevant content.',
374
- 'link' => 'http://bestwebsoft.com/products/related-posts/?k=73fb737037f7141e66415ec259f7e426&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
375
  'settings' => 'admin.php?page=related-posts-plugin.php'
376
  ),
377
  'sender/sender.php' => array(
378
  'category' => array( 'social', 'recommended' ),
379
  'name' => 'Sender',
380
  'description' => 'Send bulk email messages to WordPress users. Custom templates, advanced settings and detailed reports.',
381
- 'link' => 'http://bestwebsoft.com/products/sender/?k=89c297d14ba85a8417a0f2fc05e089c7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
382
  'settings' => 'admin.php?page=sndr_settings',
383
  'pro_version' => 'sender-pro/sender-pro.php',
384
- 'purchase' => 'http://bestwebsoft.com/products/sender/buy/?k=dc5d1a87bdc8aeab2de40ffb99b38054&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
385
  'pro_settings' => 'admin.php?page=sndrpr_settings'
386
  ),
387
  'bws-smtp/bws-smtp.php' => array(
388
  'category' => array( 'utilities' ),
389
  'name' => 'SMTP',
390
  'description' => 'Configure SMTP server to receive email messages from WordPress to Gmail, Yahoo, Hotmail and other services.',
391
- 'link' => 'http://bestwebsoft.com/products/smtp/?k=0546419f962704429ad2d9b88567752f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
392
  'settings' => 'admin.php?page=bwssmtp_settings'
393
  ),
394
  'social-buttons-pack/social-buttons-pack.php' => array(
395
  'category' => array( 'social', 'recommended' ),
396
  'name' => 'Social Buttons Pack',
397
  'description' => 'Add social media buttons and widgets to WordPress posts, pages and widgets. FB, Twitter, G+1, Pinterest, LinkedIn.',
398
- 'link' => 'http://bestwebsoft.com/products/social-buttons-pack/?k=b6440fad9f54274429e536b0c61b42da&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
399
  'settings' => 'admin.php?page=social-buttons.php'
400
  ),
401
  'subscriber/subscriber.php' => array(
402
  'category' => array( 'social', 'recommended' ),
403
  'name' => 'Subscriber',
404
  'description' => 'Add email newsletter sign up form to WordPress posts, pages and widgets. Collect data and subscribe your users.',
405
- 'link' => 'http://bestwebsoft.com/products/subscriber/?k=a4ecc1b7800bae7329fbe8b4b04e9c88&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
406
  'settings' => 'admin.php?page=sbscrbr_settings_page',
407
  'pro_version' => 'subscriber-pro/subscriber-pro.php',
408
- 'purchase' => 'http://bestwebsoft.com/products/subscriber/buy/?k=02dbb8b549925d9b74e70adc2a7282e4&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
409
  'pro_settings' => 'admin.php?page=sbscrbrpr_settings_page'
410
  ),
411
  'bws-testimonials/bws-testimonials.php' => array(
412
  'category' => array( 'content-and-media', 'recommended' ),
413
  'name' => 'Testimonials',
414
  'description' => 'Add testimonials and feedbacks from your customers to WordPress posts, pages and widgets.',
415
- 'link' => 'http://bestwebsoft.com/products/testimonials/?k=3fe4bb89dc901c98e43a113e08f8db73&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
416
  'settings' => 'admin.php?page=testimonials.php'
417
  ),
418
  'timesheet/timesheet.php' => array(
419
  'category' => array( 'management' ),
420
  'name' => 'Timesheet',
421
  'description' => 'Best timesheet plugin for WordPress. Track employee time, streamline attendance and generate reports.',
422
- 'link' => 'http://bestwebsoft.com/products/timesheet/?k=06a58bb78c17a43df01825925f05a5c1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
423
  'settings' => 'admin.php?page=timesheet_settings'
424
  ),
425
  'twitter-plugin/twitter.php' => array(
426
  'category' => array( 'social' ),
427
  'name' => 'Twitter',
428
  'description' => 'Add Twitter Follow, Tweet, Hashtag, and Mention buttons to WordPress posts, pages and widgets.',
429
- 'link' => 'http://bestwebsoft.com/products/twitter/?k=f8cb514e25bd7ec4974d64435c5eb333&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
430
  'settings' => 'admin.php?page=twitter.php',
431
  'pro_version' => 'twitter-pro/twitter-pro.php',
432
- 'purchase' => 'http://bestwebsoft.com/products/twitter/buy/?k=63ecbf0cc9cebf060b5a3c9362299700&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
433
  'pro_settings' => 'admin.php?page=twitter-pro.php'
434
  ),
435
  'updater/updater.php' => array(
436
  'category' => array( 'utilities', 'recommended' ),
437
  'name' => 'Updater',
438
  'description' => 'Automatically check and update WordPress website core with all installed plugins and themes to the latest versions.',
439
- 'link' => 'http://bestwebsoft.com/products/updater/?k=66f3ecd4c1912009d395c4bb30f779d1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
440
  'settings' => 'admin.php?page=updater-options',
441
  'pro_version' => 'updater-pro/updater_pro.php',
442
- 'purchase' => 'http://bestwebsoft.com/products/updater/buy/?k=cf633acbefbdff78545347fe08a3aecb&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
443
  'pro_settings' => 'admin.php?page=updater-pro-options'
444
  ),
445
  'user-role/user-role.php' => array(
446
  'category' => array( 'utilities' ),
447
  'name' => 'User Role',
448
  'description' => 'Powerful user role management plugin for WordPress website. Create, edit, copy, and delete user roles.',
449
- 'link' => 'http://bestwebsoft.com/products/user-role/?k=dfe2244835c6fbf601523964b3f34ccc&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
450
  'settings' => 'admin.php?page=user-role.php',
451
  'pro_version' => 'user-role-pro/user-role-pro.php',
452
- 'purchase' => 'http://bestwebsoft.com/products/user-role/buy/?k=cfa9cea6613fb3d7c0a3622fa2faaf46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
453
  'pro_settings' => 'admin.php?page=user-role-pro.php'
454
  ),
455
  'visitors-online/visitors-online.php' => array(
456
  'category' => array( 'site-stats' ),
457
  'name' => 'Visitors Online',
458
  'description' => 'Display live count of online visitors who are currently browsing your WordPress website.',
459
- 'link' => 'http://bestwebsoft.com/products/visitors-online/?k=93c28013a4f830671b3bba9502ed5177&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
460
  'settings' => 'admin.php?page=visitors-online.php',
461
  'pro_version' => 'visitors-online-pro/visitors-online-pro.php',
462
- 'purchase' => 'http://bestwebsoft.com/products/visitors-online/buy/?k=f9a746075ff8a0a6cb192cb46526afd2&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
463
  'pro_settings' => 'admin.php?page=visitors-online-pro.php'
464
  ),
465
  'zendesk-help-center/zendesk-help-center.php' => array(
466
  'category' => array( 'utilities' ),
467
  'name' => 'Zendesk Help Center',
468
  'description' => 'Backup and export Zendesk Help Center content automatically to your WordPress website database.',
469
- 'link' => 'http://bestwebsoft.com/products/zendesk-help-center/?k=2a5fd2f4b2f4bde46f2ca44b8d15846d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
470
  'settings' => 'admin.php?page=zendesk_hc.php&action=settings',
471
  'pro_version' => 'zendesk-help-center-pro/zendesk-help-center-pro.php',
472
- 'purchase' => 'http://bestwebsoft.com/products/zendesk-help-center/buy/?k=45199e4538b5befe4d9566868a61a3aa&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
473
  'pro_settings' => 'admin.php?page=zendesk_hc_pro.php&tab=settings'
474
  )
475
  );
@@ -478,21 +481,21 @@ $themes = array(
478
  (object) array(
479
  'name' => 'Opening',
480
  'slug' => 'opening',
481
- 'href' => 'http://bestwebsoft.com/products/opening-job-board-wordpress-theme/'
482
  ),
483
  (object) array(
484
  'name' => 'Real Estate',
485
  'slug' => 'realestate',
486
- 'href' => 'http://bestwebsoft.com/products/real-estate-creative-wordpress-theme/'
487
  ),
488
  (object) array(
489
  'name' => 'Renty',
490
  'slug' => 'renty',
491
- 'href' => 'http://bestwebsoft.com/products/renty-car-rental-booking-wordpress-theme/'
492
  ),
493
  (object) array(
494
  'name' => 'Unity',
495
  'slug' => 'unity',
496
- 'href' => 'http://bestwebsoft.com/products/unity-multipurpose-wordpress-theme/'
497
  )
498
  );
20
  'category' => array( 'security', 'recommended' ),
21
  'name' => 'Captcha',
22
  'description' => 'Protect WordPress website forms from spam entries by means of math logic.',
23
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/captcha/?k=d678516c0990e781edfb6a6c874f0b8a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
24
  'settings' => 'admin.php?page=captcha.php',
25
  'pro_version' => 'captcha-pro/captcha_pro.php',
26
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/captcha/buy/?k=ff7d65e55e5e7f98f219be9ed711094e&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
27
  'pro_settings' => 'admin.php?page=captcha_pro.php'
28
  ),
29
  'car-rental/car-rental.php' => array(
30
  'category' => array( 'content-and-media' ),
31
  'name' => 'Car Rental',
32
  'description' => 'Create your personal car rental/booking and reservation website.',
33
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/car-rental/?k=444cac6df9a0d3a9763ab4753d24941b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
34
  'settings' => 'admin.php?page=car-rental-settings',
35
  'pro_version' => 'car-rental-pro/car-rental-pro.php',
36
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/car-rental/buy/?k=7643d4f0698252fa1159de078d22269c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
37
  'pro_settings' => 'admin.php?page=car-rental-pro-settings'
38
  ),
39
  'contact-form-plugin/contact_form.php' => array(
40
  'category' => array( 'other', 'recommended' ),
41
  'name' => 'Contact Form',
42
  'description' => 'Allow customers to reach you using secure contact form plugin any website must have.',
43
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/contact-form/?k=012327ef413e5b527883e031d43b088b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
44
  'settings' => 'admin.php?page=contact_form.php',
45
  'pro_version' => 'contact-form-pro/contact_form_pro.php',
46
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/contact-form/buy/?k=773dc97bb3551975db0e32edca1a6d71&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
47
  'pro_settings' => 'admin.php?page=contact_form_pro.php'
48
  ),
49
  'contact-form-multi/contact-form-multi.php' => array(
50
  'category' => array( 'other', 'recommended' ),
51
  'name' => 'Contact Form Multi',
52
  'description' => 'Add unlimited number of contact forms to WordPress website.',
53
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/contact-form-multi/?k=83cdd9e72a9f4061122ad28a67293c72&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
54
  'settings' => '',
55
  'pro_version' => 'contact-form-multi-pro/contact-form-multi-pro.php',
56
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/contact-form-multi/buy/?k=fde3a18581c143654f060c398b07e8ac&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
57
  'pro_settings' => ''
58
  ),
59
  'contact-form-to-db/contact_form_to_db.php' => array(
60
  'category' => array( 'other', 'recommended' ),
61
  'name' => 'Contact Form to DB',
62
  'description' => 'Save and manage contact form messages. Never lose important data.',
63
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/contact-form-to-db/?k=ba3747d317c2692e4136ca096a8989d6&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
64
  'settings' => 'admin.php?page=cntctfrmtdb_settings',
65
  'pro_version' => 'contact-form-to-db-pro/contact_form_to_db_pro.php',
66
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/contact-form-to-db/buy/?k=6ce5f4a9006ec906e4db643669246c6a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
67
  'pro_settings' => 'admin.php?page=cntctfrmtdbpr_settings'
68
  ),
69
  'custom-admin-page/custom-admin-page.php' => array(
70
  'category' => array( 'utilities' ),
71
  'name' => 'Custom Admin Page',
72
  'description' => 'Add unlimited custom pages to WordPress admin dashboard.',
73
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/custom-admin-page/?k=9ac03f16c25e845e8e055a221c3e1467&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
74
  'settings' => 'admin.php?page=custom-admin-page.php'
75
  ),
76
  'custom-fields-search/custom-fields-search.php' => array(
77
  'category' => array( 'content-and-media' ),
78
  'name' => 'Custom Fields Search',
79
  'description' => 'Add custom fields to WordPress website search results.',
80
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/custom-fields-search/?k=f3f8285bb069250c42c6ffac95ed3284&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
81
  'settings' => 'admin.php?page=custom_fields_search.php'
82
  ),
83
  'custom-search-plugin/custom-search-plugin.php' => array(
84
  'category' => array( 'content-and-media' ),
85
  'name' => 'Custom Search',
86
  'description' => 'Add custom post types to WordPress website search results.',
87
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/custom-search/?k=933be8f3a8b8719d95d1079d15443e29&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
88
  'settings' => 'admin.php?page=custom_search.php',
89
  'pro_version' => 'custom-search-pro/custom-search-pro.php',
90
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/custom-search/buy/?k=062b652ac6ac8ba863c9f30fc21d62c6&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
91
  'pro_settings' => 'admin.php?page=custom_search_pro.php'
92
  ),
93
  'db-manager/db-manager.php' => array(
94
  'category' => array( 'utilities' ),
95
  'name' => 'DB Manager',
96
  'description' => 'Manage database and file system right from your WordPress admin dashboard.',
97
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/db-manager/?k=01ed9731780d87f85f5901064b7d76d8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
98
+ 'install_url' => 'http://bestwebsoft.com/products/wordpress/plugins/db-manager/download/?k=01ed9731780d87f85f5901064b7d76d8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
99
  'settings' => 'admin.php?page=db-manager.php',
100
  'icon' => plugins_url( 'icons/plugins/', __FILE__ ) . 'db-manager.png'
101
  ),
103
  'category' => array( 'other' ),
104
  'name' => 'Donate',
105
  'description' => 'Add PayPal and 2CO donate buttons to receive charity payments.',
106
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/donate/?k=a8b2e2a56914fb1765dd20297c26401b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
107
  'settings' => 'admin.php?page=donate.php'
108
  ),
109
  'email-queue/email-queue.php' => array(
110
  'category' => array( 'other' ),
111
  'name' => 'Email Queue',
112
  'description' => 'Automatically add outgoing email messages to queue instead of sending them immediately.',
113
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/email-queue/?k=e345e1b6623f0dca119bc2d9433b130b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
114
  'settings' => 'admin.php?page=mlq_settings'
115
  ),
116
  'error-log-viewer/error-log-viewer.php' => array(
117
  'category' => array( 'utilities' ),
118
  'name' => 'Error Log Viewer',
119
  'description' => 'Get latest error log messages to diagnose website problems. Define and fix issues faster.',
120
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/error-log-viewer/?k=da0de8bd2c7a0b2fea5df64d55a368b3&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
121
  'settings' => 'admin.php?page=rrrlgvwr.php&tab=settings'
122
  ),
123
  'facebook-button-plugin/facebook-button-plugin.php' => array(
124
  'category' => array( 'social' ),
125
  'name' => 'Facebook Button',
126
  'description' => 'Add Facebook Like, Share and Profile buttons to WordPress posts, pages and widgets.',
127
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/facebook-like-button/?k=05ec4f12327f55848335802581467d55&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
128
  'settings' => 'admin.php?page=facebook-button-plugin.php',
129
  'pro_version' => 'facebook-button-pro/facebook-button-pro.php',
130
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/facebook-like-button/buy/?k=8da168e60a831cfb3525417c333ad275&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
131
  'pro_settings' => 'admin.php?page=facebook-button-pro.php'
132
  ),
133
  'bws-featured-posts/bws-featured-posts.php' => array(
134
  'category' => array( 'content-and-media' ),
135
  'name' => 'Featured Posts',
136
  'description' => 'Add featured posts to WordPress posts or widgets. Highlight important information.',
137
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/featured-posts/?k=f0afb31185ba7c7d6d598528d69f6d97&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
138
  'settings' => 'admin.php?page=featured-posts.php'
139
  ),
140
  'gallery-plugin/gallery-plugin.php' => array(
141
  'category' => array( 'content-and-media', 'recommended' ),
142
  'name' => 'Gallery',
143
  'description' => 'Add beautiful galleries, albums & images to your Wordpress website in few clicks.',
144
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/gallery/?k=2da21c0a64eec7ebf16337fa134c5f78&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
145
  'settings' => 'admin.php?page=gallery-plugin.php',
146
  'pro_version' => 'gallery-plugin-pro/gallery-plugin-pro.php',
147
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/gallery/buy/?k=382e5ce7c96a6391f5ffa5e116b37fe0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
148
  'pro_settings' => 'admin.php?page=gallery-plugin-pro.php'
149
  ),
150
  'gallery-categories/gallery-categories.php' => array(
151
  'category' => array( 'content-and-media' ),
152
  'name' => 'Gallery Categories',
153
  'description' => 'Add unlimited gallery categories. Organize images to make the navigation through content easier.',
154
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/gallery-categories/?k=7d68c7bfec2486dc350c67fff57ad433&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
155
  'settings' => ''
156
  ),
157
  'google-one/google-plus-one.php' => array(
158
  'category' => array( 'social' ),
159
  'name' => 'Google +1',
160
  'description' => 'Add Google +1 Share, Follow, Hangout buttons and profile badge to WordPress posts, pages and widgets.',
161
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/google-plus-one/?k=ce7a88837f0a857b3a2bb142f470853c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
162
  'settings' => 'admin.php?page=google-plus-one.php',
163
  'pro_version' => 'google-one-pro/google-plus-one-pro.php',
164
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/google-plus-one/buy/?k=f4b0a62d155c9df9601a0531ad5bd832&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
165
  'pro_settings' => 'admin.php?page=google-plus-one-pro.php'
166
  ),
167
  'adsense-plugin/adsense-plugin.php' => array(
168
  'category' => array( 'advertisement' ),
169
  'name' => 'Google AdSense',
170
  'description' => 'Add Adsense ads to pages, posts, custom posts, search results, categories, tags, pages, and widgets.',
171
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/google-adsense/?k=60e3979921e354feb0347e88e7d7b73d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
172
  'settings' => 'admin.php?page=adsense-plugin.php',
173
  'pro_version' => 'adsense-pro/adsense-pro.php',
174
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/google-adsense/buy/?k=c23889b293d62aa1ad2c96513405f0e1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
175
  'pro_settings' => 'admin.php?page=adsense-pro.php'
176
  ),
177
  'bws-google-analytics/bws-google-analytics.php' => array(
178
  'category' => array( 'site-stats' ),
179
  'name' => 'Google Analytics',
180
  'description' => 'Add Google Analytics code to WordPress website and track basic stats.',
181
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/bws-google-analytics/?k=261c74cad753fb279cdf5a5db63fbd43&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
182
  'settings' => 'admin.php?page=bws-google-analytics.php',
183
  'pro_version' => 'bws-google-analytics-pro/bws-google-analytics-pro.php',
184
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/bws-google-analytics/buy/?k=83796e84fec3f70ecfcc8894a73a6c4a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
185
  'pro_settings' => 'admin.php?page=bws-google-analytics-pro.php'
186
  ),
187
  'google-captcha/google-captcha.php' => array(
188
  'category' => array( 'security', 'recommended' ),
189
  'name' => 'Google Captcha (reCAPTCHA)',
190
  'description' => 'Protect WordPress website forms from spam entries with Google Captcha (reCaptcha).',
191
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/google-captcha/?k=7b59fbe542acf950b29f3e020d5ad735&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
192
  'settings' => 'admin.php?page=google-captcha.php',
193
  'pro_version' => 'google-captcha-pro/google-captcha-pro.php',
194
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/google-captcha/buy/?k=773d30149acf1edc32e5c0766b96c134&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
195
  'pro_settings' => 'admin.php?page=google-captcha-pro.php'
196
  ),
197
  'bws-google-maps/bws-google-maps.php' => array(
198
  'category' => array( 'content-and-media' ),
199
  'name' => 'Google Maps',
200
  'description' => 'Add customized Google maps to WordPress posts, pages and widgets.',
201
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/bws-google-maps/?k=d8fac412d7359ebaa4ff53b46572f9f7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
202
  'settings' => 'admin.php?page=bws-google-maps.php',
203
  'pro_version' => 'bws-google-maps-pro/bws-google-maps-pro.php',
204
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/bws-google-maps/buy/?k=117c3f9fc17f2c83ef430a8a9dc06f56&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
205
  'pro_settings' => 'admin.php?page=bws-google-maps-pro.php'
206
  ),
207
  'google-sitemap-plugin/google-sitemap-plugin.php' => array(
208
  'category' => array( 'other', 'recommended' ),
209
  'name' => 'Google Sitemap',
210
  'description' => 'Generate and add XML sitemap to WordPress website. Help search engines index your blog.',
211
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/google-sitemap/?k=5202b2f5ce2cf85daee5e5f79a51d806&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
212
  'settings' => 'admin.php?page=google-sitemap-plugin.php',
213
  'pro_version' => 'google-sitemap-pro/google-sitemap-pro.php',
214
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/google-sitemap/buy/?k=7ea384a5cc36cb4c22741caa20dcd56d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
215
  'pro_settings' => 'admin.php?page=google-sitemap-pro.php'
216
  ),
217
  'google-shortlink/google-shortlink.php' => array(
218
  'category' => array( 'other' ),
219
  'name' => 'Google Shortlink',
220
  'description' => 'Replace external WordPress website links with Google shortlinks and track click stats.',
221
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/google-shortlink/?k=afcf3eaed021bbbbeea1090e16bc22db&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
222
  'settings' => 'admin.php?page=gglshrtlnk_options'
223
  ),
224
  'htaccess/htaccess.php' => array(
225
  'category' => array( 'security' ),
226
  'name' => 'Htaccess',
227
  'description' => 'Protect WordPress website – allow and deny access for certain IP addresses, hostnames, etc.',
228
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/htaccess/?k=2b865fcd56a935d22c5c4f1bba52ed46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
229
  'settings' => 'admin.php?page=htaccess.php',
230
  'pro_version' => 'htaccess-pro/htaccess-pro.php',
231
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/htaccess/buy/?k=59e9209a32864be534fda77d5e591c15&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
232
  'pro_settings' => 'admin.php?page=htaccess-pro.php'
233
  ),
234
  'job-board/job-board.php' => array(
235
  'category' => array( 'content-and-media' ),
236
  'name' => 'Job Board',
237
  'description' => 'Create your personal job board and listing WordPress website. Search jobs, submit CV/resumes, choose candidates.',
238
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/job-board/?k=b0c504c9ce6edd6692e04222af3fed6f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
239
  'settings' => 'admin.php?page=job-board.php'
240
  ),
241
  'bws-latest-posts/bws-latest-posts.php' => array(
242
  'category' => array( 'content-and-media' ),
243
  'name' => 'Latest Posts',
244
  'description' => 'Add latest posts or latest posts for selected categories widgets to WordPress website.',
245
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/latest-posts/?k=ef4e125aadadd8d219140daa184a9399&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
246
  'settings' => 'admin.php?page=latest-posts.php'
247
  ),
248
  'limit-attempts/limit-attempts.php' => array(
249
  'category' => array( 'security', 'recommended' ),
250
  'name' => 'Limit Attempts',
251
  'description' => 'Protect WordPress website against brute force attacks. Limit rate of login attempts.',
252
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/limit-attempts/?k=b14e1697ee4d008abcd4bd34d492573a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
253
  'settings' => 'admin.php?page=limit-attempts.php',
254
  'pro_version' => 'limit-attempts-pro/limit-attempts-pro.php',
255
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/limit-attempts/buy/?k=9d42cdf22c7fce2c4b6b447e6a2856e0&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
256
  'pro_settings' => 'admin.php?page=limit-attempts-pro.php'
257
  ),
258
  'bws-linkedin/bws-linkedin.php' => array(
259
  'category' => array( 'social' ),
260
  'name' => 'LinkedIn',
261
  'description' => 'Add LinkedIn Share and Follow buttons to WordPress posts, pages and widgets. 5 plugins included – profile, insider, etc.',
262
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/linkedin/?k=d63c7319622ccc5f589dd2d545c1d77c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
263
  'settings' => 'admin.php?page=linkedin.php',
264
  'pro_version' => 'bws-linkedin-pro/bws-linkedin-pro.php',
265
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/linkedin/buy/?k=41dcc36192994408d24b103a02134567&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
266
  'pro_settings' => 'admin.php?page=linkedin-pro.php'
267
  ),
268
  'multilanguage/multilanguage.php' => array(
269
  'category' => array( 'content-and-media', 'recommended' ),
270
  'name' => 'Multilanguage',
271
  'description' => 'Translate WordPress website content to other languages manually. Create multilingual pages, posts, widgets, menus, etc.',
272
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/multilanguage/?k=7d68c7bfec2486dc350c67fff57ad433&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
273
  'settings' => 'admin.php?page=mltlngg_settings',
274
  'pro_version' => 'multilanguage-pro/multilanguage-pro.php',
275
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/multilanguage/buy/?k=2d1121cd9a5ced583fc29eefd51bdf57&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
276
  'pro_settings' => 'admin.php?page=mltlnggpr_settings'
277
  ),
278
  'pagination/pagination.php' => array(
279
  'category' => array( 'content-and-media' ),
280
  'name' => 'Pagination',
281
  'description' => 'Add customizable pagination to WordPress website. Split long content to multiple pages for better navigation.',
282
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/pagination/?k=22adb940256f149559ba8fedcd728ac8&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
283
+ 'settings' => 'admin.php?page=pagination.php',
284
+ 'pro_version' => 'pagination-pro/pagination-pro.php',
285
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/pagination/buy/?k=b87201d5a0505c621d0b14f4e8d4ccd6&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
286
+ 'pro_settings' => 'admin.php?page=pagination-pro.php'
287
  ),
288
  'pdf-print/pdf-print.php' => array(
289
  'category' => array( 'other' ),
290
  'name' => 'PDF & Print',
291
  'description' => 'Generate PDF files and print WordPress posts/pages. Customize document header/footer styles and appearance.',
292
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/pdf-print/?k=bfefdfb522a4c0ff0141daa3f271840c&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
293
  'settings' => 'admin.php?page=pdf-print.php',
294
  'pro_version' => 'pdf-print-pro/pdf-print-pro.php',
295
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/pdf-print/buy/?k=fd43a0e659ddc170a9060027cbfdcc3a&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
296
  'pro_settings' => 'admin.php?page=pdf-print-pro.php'
297
  ),
298
  'bws-pinterest/bws-pinterest.php' => array(
299
  'category' => array( 'social' ),
300
  'name' => 'Pinterest',
301
  'description' => 'Add Pinterest Follow, Pin It buttons and profile widgets (Pin, Board, Profile) to WordPress posts, pages and widgets.',
302
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/pinterest/?k=504107b6213f247a67fe7ffb94e97c78&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
303
  'settings' => 'admin.php?page=pinterest.php',
304
  'pro_version' => 'bws-pinterest-pro/bws-pinterest-pro.php',
305
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/pinterest/buy/?k=ab0069edd1914a3ca8f541bfd88bb0bb&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
306
  'pro_settings' => 'admin.php?page=pinterest-pro.php'
307
  ),
308
  'bws-popular-posts/bws-popular-posts.php' => array(
309
  'category' => array( 'content-and-media', 'recommended' ),
310
  'name' => 'Popular Posts',
311
  'description' => 'Track views, comments and add most popular posts to Wordpress widgets.',
312
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/popular-posts/?k=4d529f116d2b7f7df3a78018c383f975&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
313
  'settings' => 'admin.php?page=popular-posts.php'
314
  ),
315
  'portfolio/portfolio.php' => array(
316
  'category' => array( 'content-and-media', 'recommended' ),
317
  'name' => 'Portfolio',
318
  'description' => 'Create your personal portfolio WordPress website. Manage and showcase past projects to get more clients.',
319
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/portfolio/?k=1249a890c5b7bba6bda3f528a94f768b&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
320
  'settings' => 'admin.php?page=portfolio.php',
321
  'pro_version' => 'portfolio-pro/portfolio-pro.php',
322
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/portfolio/buy/?k=2cc716026197d36538a414b728e49fdd&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
323
  'pro_settings' => 'admin.php?page=portfolio-pro.php'
324
  ),
325
  'post-to-csv/post-to-csv.php' => array(
326
  'category' => array( 'utilities' ),
327
  'name' => 'Post to CSV',
328
  'description' => 'Export WordPress posts to CSV file format easily. Configure data order.',
329
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/post-to-csv/?k=653aa55518ae17409293a7a894268b8f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
330
  'settings' => 'admin.php?page=post-to-csv.php'
331
  ),
332
  'profile-extra-fields/profile-extra-fields.php' => array(
333
  'category' => array( 'management' ),
334
  'name' => 'Profile Extra Fields',
335
  'description' => 'Add extra fields to default WordPress user profile. The easiest way to create and manage additional custom values.',
336
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/profile-extra-fields/?k=fe3b6c3dbc80bd4b1cf9a27a2f339820&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
337
  'settings' => 'admin.php?page=profile-extra-fields.php'
338
  ),
339
  'promobar/promobar.php' => array(
340
  'category' => array( 'advertisement' ),
341
  'name' => 'PromoBar',
342
  'description' => 'Add and display HTML advertisement on WordPress website. Customize bar styles and appearance.',
343
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/promobar/?k=619eac2232d9cfa382c4e678c3b14766&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
344
  'settings' => 'admin.php?page=promobar.php',
345
  'pro_version' => 'promobar-pro/promobar-pro.php',
346
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/promobar/buy/?k=a9b09708502f12a1483532ba12fe2103&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
347
  'pro_settings' => 'admin.php?page=promobar-pro.php'
348
  ),
349
  'quotes-and-tips/quotes-and-tips.php' => array(
350
  'category' => array( 'content-and-media' ),
351
  'name' => 'Quotes and Tips',
352
  'description' => 'Add customizable quotes and tips blocks to WordPress posts, pages and widgets.',
353
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/quotes-and-tips/?k=5738a4e85a798c4a5162240c6515098d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
354
  'settings' => 'admin.php?page=quotes-and-tips.php'
355
  ),
356
  'realty/realty.php' => array(
357
  'category' => array( 'content-and-media' ),
358
  'name' => 'Realty',
359
  'description' => 'Create your personal real estate WordPress website. Sell, rent and buy properties. Add, search and browse listings easily.',
360
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/realty/?k=d55de979dbbbb7af0b2ff1d7f43884fa&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
361
  'settings' => 'admin.php?page=realty_settings',
362
  'pro_version' => 'realty-pro/realty-pro.php',
363
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/realty/buy/?k=c7791f0a72acfb36f564a614dbccb474&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
364
  'pro_settings' => 'admin.php?page=realty_pro_settings'
365
  ),
366
  're-attacher/re-attacher.php' => array(
367
  'category' => array( 'utilities' ),
368
  'name' => 'Re-attacher',
369
  'description' => 'Attach, unattach and re-attach media files quickly to WordPress posts and pages.',
370
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/re-attacher/?k=4d529f116d2b7f7df3a78018c383f975&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
371
  'settings' => 'admin.php?page=re-attacher.php'
372
  ),
373
  'relevant/related-posts-plugin.php' => array(
374
  'category' => array( 'content-and-media', 'recommended' ),
375
  'name' => 'Relevant - Related Posts',
376
  'description' => 'Add related posts to WordPress posts or widgets. Link your readers to relevant content.',
377
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/related-posts/?k=73fb737037f7141e66415ec259f7e426&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
378
  'settings' => 'admin.php?page=related-posts-plugin.php'
379
  ),
380
  'sender/sender.php' => array(
381
  'category' => array( 'social', 'recommended' ),
382
  'name' => 'Sender',
383
  'description' => 'Send bulk email messages to WordPress users. Custom templates, advanced settings and detailed reports.',
384
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/sender/?k=89c297d14ba85a8417a0f2fc05e089c7&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
385
  'settings' => 'admin.php?page=sndr_settings',
386
  'pro_version' => 'sender-pro/sender-pro.php',
387
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/sender/buy/?k=dc5d1a87bdc8aeab2de40ffb99b38054&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
388
  'pro_settings' => 'admin.php?page=sndrpr_settings'
389
  ),
390
  'bws-smtp/bws-smtp.php' => array(
391
  'category' => array( 'utilities' ),
392
  'name' => 'SMTP',
393
  'description' => 'Configure SMTP server to receive email messages from WordPress to Gmail, Yahoo, Hotmail and other services.',
394
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/smtp/?k=0546419f962704429ad2d9b88567752f&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
395
  'settings' => 'admin.php?page=bwssmtp_settings'
396
  ),
397
  'social-buttons-pack/social-buttons-pack.php' => array(
398
  'category' => array( 'social', 'recommended' ),
399
  'name' => 'Social Buttons Pack',
400
  'description' => 'Add social media buttons and widgets to WordPress posts, pages and widgets. FB, Twitter, G+1, Pinterest, LinkedIn.',
401
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/social-buttons-pack/?k=b6440fad9f54274429e536b0c61b42da&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
402
  'settings' => 'admin.php?page=social-buttons.php'
403
  ),
404
  'subscriber/subscriber.php' => array(
405
  'category' => array( 'social', 'recommended' ),
406
  'name' => 'Subscriber',
407
  'description' => 'Add email newsletter sign up form to WordPress posts, pages and widgets. Collect data and subscribe your users.',
408
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/subscriber/?k=a4ecc1b7800bae7329fbe8b4b04e9c88&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
409
  'settings' => 'admin.php?page=sbscrbr_settings_page',
410
  'pro_version' => 'subscriber-pro/subscriber-pro.php',
411
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/subscriber/buy/?k=02dbb8b549925d9b74e70adc2a7282e4&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
412
  'pro_settings' => 'admin.php?page=sbscrbrpr_settings_page'
413
  ),
414
  'bws-testimonials/bws-testimonials.php' => array(
415
  'category' => array( 'content-and-media', 'recommended' ),
416
  'name' => 'Testimonials',
417
  'description' => 'Add testimonials and feedbacks from your customers to WordPress posts, pages and widgets.',
418
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/testimonials/?k=3fe4bb89dc901c98e43a113e08f8db73&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
419
  'settings' => 'admin.php?page=testimonials.php'
420
  ),
421
  'timesheet/timesheet.php' => array(
422
  'category' => array( 'management' ),
423
  'name' => 'Timesheet',
424
  'description' => 'Best timesheet plugin for WordPress. Track employee time, streamline attendance and generate reports.',
425
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/timesheet/?k=06a58bb78c17a43df01825925f05a5c1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
426
  'settings' => 'admin.php?page=timesheet_settings'
427
  ),
428
  'twitter-plugin/twitter.php' => array(
429
  'category' => array( 'social' ),
430
  'name' => 'Twitter',
431
  'description' => 'Add Twitter Follow, Tweet, Hashtag, and Mention buttons to WordPress posts, pages and widgets.',
432
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/twitter/?k=f8cb514e25bd7ec4974d64435c5eb333&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
433
  'settings' => 'admin.php?page=twitter.php',
434
  'pro_version' => 'twitter-pro/twitter-pro.php',
435
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/twitter/buy/?k=63ecbf0cc9cebf060b5a3c9362299700&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
436
  'pro_settings' => 'admin.php?page=twitter-pro.php'
437
  ),
438
  'updater/updater.php' => array(
439
  'category' => array( 'utilities', 'recommended' ),
440
  'name' => 'Updater',
441
  'description' => 'Automatically check and update WordPress website core with all installed plugins and themes to the latest versions.',
442
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/updater/?k=66f3ecd4c1912009d395c4bb30f779d1&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
443
  'settings' => 'admin.php?page=updater-options',
444
  'pro_version' => 'updater-pro/updater_pro.php',
445
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/updater/buy/?k=cf633acbefbdff78545347fe08a3aecb&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
446
  'pro_settings' => 'admin.php?page=updater-pro-options'
447
  ),
448
  'user-role/user-role.php' => array(
449
  'category' => array( 'utilities' ),
450
  'name' => 'User Role',
451
  'description' => 'Powerful user role management plugin for WordPress website. Create, edit, copy, and delete user roles.',
452
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/user-role/?k=dfe2244835c6fbf601523964b3f34ccc&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
453
  'settings' => 'admin.php?page=user-role.php',
454
  'pro_version' => 'user-role-pro/user-role-pro.php',
455
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/user-role/buy/?k=cfa9cea6613fb3d7c0a3622fa2faaf46&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
456
  'pro_settings' => 'admin.php?page=user-role-pro.php'
457
  ),
458
  'visitors-online/visitors-online.php' => array(
459
  'category' => array( 'site-stats' ),
460
  'name' => 'Visitors Online',
461
  'description' => 'Display live count of online visitors who are currently browsing your WordPress website.',
462
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/visitors-online/?k=93c28013a4f830671b3bba9502ed5177&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
463
  'settings' => 'admin.php?page=visitors-online.php',
464
  'pro_version' => 'visitors-online-pro/visitors-online-pro.php',
465
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/visitors-online/buy/?k=f9a746075ff8a0a6cb192cb46526afd2&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
466
  'pro_settings' => 'admin.php?page=visitors-online-pro.php'
467
  ),
468
  'zendesk-help-center/zendesk-help-center.php' => array(
469
  'category' => array( 'utilities' ),
470
  'name' => 'Zendesk Help Center',
471
  'description' => 'Backup and export Zendesk Help Center content automatically to your WordPress website database.',
472
+ 'link' => 'http://bestwebsoft.com/products/wordpress/plugins/zendesk-help-center/?k=2a5fd2f4b2f4bde46f2ca44b8d15846d&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
473
  'settings' => 'admin.php?page=zendesk_hc.php&action=settings',
474
  'pro_version' => 'zendesk-help-center-pro/zendesk-help-center-pro.php',
475
+ 'purchase' => 'http://bestwebsoft.com/products/wordpress/plugins/zendesk-help-center/buy/?k=45199e4538b5befe4d9566868a61a3aa&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
476
  'pro_settings' => 'admin.php?page=zendesk_hc_pro.php&tab=settings'
477
  )
478
  );
481
  (object) array(
482
  'name' => 'Opening',
483
  'slug' => 'opening',
484
+ 'href' => 'http://bestwebsoft.com/products/wordpress/themes/opening-job-board-wordpress-theme/'
485
  ),
486
  (object) array(
487
  'name' => 'Real Estate',
488
  'slug' => 'realestate',
489
+ 'href' => 'http://bestwebsoft.com/products/wordpress/themes/real-estate-creative-wordpress-theme/'
490
  ),
491
  (object) array(
492
  'name' => 'Renty',
493
  'slug' => 'renty',
494
+ 'href' => 'http://bestwebsoft.com/products/wordpress/themes/renty-car-rental-booking-wordpress-theme/'
495
  ),
496
  (object) array(
497
  'name' => 'Unity',
498
  'slug' => 'unity',
499
+ 'href' => 'http://bestwebsoft.com/products/wordpress/themes/unity-multipurpose-wordpress-theme/'
500
  )
501
  );
gallery-plugin.php CHANGED
@@ -1,12 +1,12 @@
1
  <?php
2
  /*
3
  Plugin Name: Gallery by BestWebSoft
4
- Plugin URI: http://bestwebsoft.com/products/gallery/
5
  Description: Add beautiful galleries, albums & images to your Wordpress website in few clicks.
6
  Author: BestWebSoft
7
  Text Domain: gallery-plugin
8
  Domain Path: /languages
9
- Version: 4.4.5
10
  Author URI: http://bestwebsoft.com/
11
  License: GPLv2 or later
12
  */
@@ -149,7 +149,6 @@ if ( ! function_exists( 'gllr_settings' ) ) {
149
  'display_demo_notice' => 1,
150
  'display_settings_notice' => 1,
151
  'first_install' => strtotime( "now" ),
152
- 'template_update' => '',
153
  'suggest_feature_banner' => 1,
154
  'post_type_name' => 'bws-gallery'
155
  );
@@ -176,8 +175,6 @@ if ( ! function_exists( 'gllr_settings' ) ) {
176
  if ( 'menu_order' == $gllr_options['order_by'] )
177
  $gllr_options['order_by'] = 'meta_value_num';
178
  gllr_plugin_upgrade( false );
179
-
180
- $gllr_options['template_update'] = 0;
181
  }
182
  /* using old post type name for updated plugin version */
183
  if ( ! isset( $gllr_options['post_type_name'] ) ) {
@@ -291,75 +288,8 @@ if ( ! function_exists( 'gllr_plugin_install' ) ) {
291
  @fwrite( $handle, $contents );
292
  @fclose( $handle );
293
  @chmod( $gllr_themepath . $filename, octdec( 755 ) );
294
- } elseif ( 'gallery-single-template.php' == $filename && file_exists( $gllr_themepath . $filename ) && isset( $gllr_options['template_update'] ) && $gllr_options['template_update'] == 0 ) {
295
- /* replace get_posts query for new functionality */
296
- $handle = @fopen( $gllr_themepath . $filename, "r" );
297
- $contents = @fread( $handle, filesize( $gllr_themepath . $filename ) );
298
- @fclose( $handle );
299
- if ( ! ( $handle = @fopen( $gllr_themepath . $filename . '.bak', 'w' ) ) )
300
- return false;
301
- @fwrite( $handle, $contents );
302
- @fclose( $handle );
303
-
304
- $handle = @fopen( $gllr_filepath . $filename, "r" );
305
- @fclose( $handle );
306
- if ( ! ( $handle = @fopen( $gllr_themepath . $filename, 'w' ) ) )
307
- return false;
308
-
309
- $contents = str_replace( '$posts = get_posts( array(', '$images_id = get_post_meta( $post->ID, "_gallery_images", true );' . "\n" . '$posts = get_posts( array(', $contents );
310
- $contents = str_replace( '"post_parent" => $post->ID', '"post__in" => explode( \',\', $images_id ),' . "\n" . '"meta_key" => "_gallery_order_" . $post->ID', $contents );
311
-
312
- @fwrite( $handle, $contents );
313
- @fclose( $handle );
314
- @chmod( $gllr_themepath . $filename, octdec( 755 ) );
315
-
316
- $template_update_complete = true;
317
- } elseif ( 'gallery-template.php' == $filename && file_exists( $gllr_themepath . $filename ) && isset( $gllr_options['template_update'] ) && $gllr_options['template_update'] == 0 ) {
318
- /* replace get_posts query for new functionality */
319
- $handle = @fopen( $gllr_themepath . $filename, "r" );
320
- $contents = @fread( $handle, filesize( $gllr_themepath . $filename ) );
321
- @fclose( $handle );
322
- if ( ! ( $handle = @fopen( $gllr_themepath . $filename . '.bak', 'w' ) ) )
323
- return false;
324
- @fwrite( $handle, $contents );
325
- @fclose( $handle );
326
-
327
- $handle = @fopen( $gllr_filepath . $filename, "r" );
328
- @fclose( $handle );
329
- if ( ! ( $handle = @fopen( $gllr_themepath . $filename, 'w' ) ) )
330
- return false;
331
-
332
- $contents = str_replace( '$image_attributes = wp_get_attachment_image_src( $id, ' . "'album-thumb' );",
333
- '$images_id = get_post_meta( $post->ID, "_gallery_images", true );
334
- $attachments = get_posts( array(
335
- "showposts" => 1,
336
- "what_to_show" => "posts",
337
- "post_status" => "inherit",
338
- "post_type" => "attachment",
339
- "orderby" => $gllr_options["order_by"],
340
- "order" => $gllr_options["order"],
341
- "post_mime_type" => "image/jpeg,image/gif,image/jpg,image/png",
342
- "post__in" => explode( ",", $images_id ),
343
- "meta_key" => "_gallery_order_" . $post->ID
344
- ));
345
- if ( ! empty( $attachments[0] ) ) {
346
- $first_attachment = $attachments[0];
347
- $image_attributes = wp_get_attachment_image_src( $first_attachment->ID, "album-thumb" );
348
- } else
349
- $image_attributes = array( "" );',
350
- $contents );
351
-
352
- @fwrite( $handle, $contents );
353
- @fclose( $handle );
354
- @chmod( $gllr_themepath . $filename, octdec( 755 ) );
355
-
356
- $template_update_complete = true;
357
  }
358
  }
359
- if ( isset( $template_update_complete ) ) {
360
- $gllr_options['template_update'] = 1;
361
- update_option( 'gllr_options', $gllr_options );
362
- }
363
  }
364
  }
365
 
@@ -568,7 +498,7 @@ if ( ! function_exists( 'gllr_gallery_categories' ) ) {
568
  </div>
569
  </div>
570
  </div>
571
- <div id="gllr_show_gallery_categories_notice"><?php _e( 'Install plugin', 'gallery-plugin'); ?> <a href="http://bestwebsoft.com/products/gallery-categories/">Gallery Categories</a></div>
572
  <?php }
573
  }
574
 
@@ -810,7 +740,7 @@ if ( ! function_exists( 'gllr_template_content' ) ) {
810
  </a><?php } ?>
811
  <div class="gallery_detail_box">
812
  <div><?php the_title(); ?></div>
813
- <div><?php if ( function_exists( 'gllr_the_excerpt_max_charlength' ) ) echo gllr_the_excerpt_max_charlength( 100 ); ?></div>
814
  <a href="<?php echo get_permalink(); ?>"><?php echo $gllr_options["read_more_link_text"]; ?></a>
815
  </div><!-- .gallery_detail_box -->
816
  <div class="gllr_clear"></div>
@@ -854,14 +784,16 @@ if ( ! function_exists( 'gllr_template_pagination' ) ) {
854
  /* this function prints content for single gallery template */
855
  if ( ! function_exists( 'gllr_single_template_content' ) ) {
856
  function gllr_single_template_content() {
857
- global $post, $wp_query, $gllr_options, $gllr_inline_script;
858
- wp_enqueue_script( 'gllr_js', plugins_url( 'js/frontend_script.js', __FILE__ ), array( 'jquery' ) );
 
 
859
  $args = array(
860
  'post_type' => $gllr_options['post_type_name'],
861
  'post_status' => 'publish',
862
  'name' => $wp_query->query_vars['name'],
863
  'posts_per_page' => 1
864
- );
865
  $second_query = new WP_Query( $args );
866
  if ( $second_query->have_posts() ) {
867
  while ( $second_query->have_posts() ) {
@@ -939,49 +871,18 @@ if ( ! function_exists( 'gllr_single_template_content' ) ) {
939
  <div class="return_link gllr_return_link"><a href="<?php echo $gllr_options["return_link_url"]; ?>"><?php echo $gllr_options['return_link_text']; ?></a></div>
940
  <?php }
941
  }
 
 
 
 
 
 
 
942
  } else { ?>
943
  <p><?php echo get_the_password_form(); ?></p>
944
  <?php } ?>
945
  </div><!-- .gallery_box_single -->
946
- <?php }
947
- $download_link_title = addslashes( __( 'Download high resolution image', 'gallery-plugin' ) );
948
- ob_start(); ?>
949
- <script type="text/javascript">
950
- ( function() {
951
- var gllr_onload = window.onload;
952
- function gllr_fancy_init() {
953
- jQuery( document ).ready( function() {
954
- jQuery("a[rel=gallery_fancybox<?php if ( 0 == $gllr_options['single_lightbox_for_multiple_galleries'] ) echo '_' . $post->ID; ?>]").fancybox( {
955
- 'transitionIn' : 'elastic',
956
- 'transitionOut' : 'elastic',
957
- 'titlePosition' : 'inside',
958
- 'speedIn' : 500,
959
- 'speedOut' : 300,
960
- 'titleFormat' : function( title, currentArray, currentIndex, currentOpts ) {
961
- return '<div id="fancybox-title-inside">' + ( title.length ? '<span id="bws_gallery_image_title">' + title.replace(/&/g, '&amp;').replace(/"/g, '&quot;').replace(/'/g, '&#039;').replace(/</g, '&lt;').replace(/>/g, '&gt;') + '</span><br />' : '' ) + '<span id="bws_gallery_image_counter"><?php _e( "Image", "gallery-plugin" ); ?> ' + ( currentIndex + 1 ) + ' / ' + currentArray.length + '</span></div><?php if( get_post_meta( $post->ID, 'gllr_download_link', true ) != '' ){?><a id="bws_gallery_download_link" href="' + jQuery( currentOpts.orig ).attr('rel') + '" download="' + jQuery( currentOpts.orig ).attr('rel').substring( jQuery( currentOpts.orig ).attr('rel').lastIndexOf('/') + 1 ) + '" target="_blank"><?php echo $download_link_title; ?> </a><?php } ?>';
962
- }<?php if ( $gllr_options['start_slideshow'] == 1 ) { ?>,
963
- 'onComplete': function() {
964
- clearTimeout( jQuery.fancybox.slider );
965
- jQuery.fancybox.slider = setTimeout("jQuery.fancybox.next()",<?php echo $gllr_options['slideshow_interval']; ?>);
966
- }<?php } ?>
967
- } );
968
- } );
969
- }
970
- if ( typeof gllr_onload === 'function' ) {
971
- window.onload = function() {
972
- gllr_onload();
973
- gllr_fancy_init();
974
- }
975
- } else {
976
- window.onload = gllr_fancy_init;
977
- }
978
- } )( 0 );
979
- </script>
980
- <?php if ( empty( $gllr_inline_script ) ) {
981
- $gllr_inline_script = ob_get_clean();
982
- } else {
983
- $gllr_inline_script .= ob_get_clean();
984
- }
985
  } else { ?>
986
  <div class="gallery_box_single">
987
  <p class="not_found"><?php _e( 'Sorry, nothing found.', 'gallery-plugin' ); ?></p>
@@ -1403,7 +1304,8 @@ if ( ! function_exists( 'gllr_add_pdf_print_content' ) ) {
1403
  "order" => $gllr_options['order'],
1404
  "post_mime_type" => "image/jpeg,image/gif,image/jpg,image/png",
1405
  'post__in' => explode( ',', $images_id ),
1406
- 'meta_key' => '_gallery_order_' . $post->ID
 
1407
  ) );
1408
 
1409
  if ( count( $posts ) > 0 ) {
@@ -1824,10 +1726,10 @@ if ( ! function_exists( 'gllr_settings_page' ) ) {
1824
  </div>
1825
  <div class="bws_pro_links">
1826
  <span class="bws_trial_info">
1827
- <a href="http://bestwebsoft.com/products/gallery/trial/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=<?php echo $gllr_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Gallery Pro Plugin"><?php _e( 'Start Your Trial', 'gallery-plugin' ); ?></a>
1828
  <?php _e( 'or', 'gallery-plugin' ); ?>
1829
  </span>
1830
- <a class="bws_button" href="http://bestwebsoft.com/products/gallery/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=<?php echo $gllr_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Gallery Pro Plugin"><?php _e( 'Learn More', 'gallery-plugin' ); ?></a>
1831
  </div>
1832
  <div class="gllr_clear"></div>
1833
  </div>
@@ -1955,7 +1857,7 @@ if ( ! function_exists( 'gllr_settings_page' ) ) {
1955
  <?php }
1956
  } else { ?>
1957
  <input disabled="disabled" type="checkbox" name="gllr_add_to_search" value="1" />
1958
- <span class="bws_info">(<?php _e( 'Using', 'gallery-plugin' ); ?> Custom Search <?php _e( 'powered by', 'gallery-plugin' ); ?> <a href="http://bestwebsoft.com/products/">bestwebsoft.com</a>) <a href="http://bestwebsoft.com/products/custom-search/"><?php _e( 'Download', 'gallery-plugin' ); ?> Custom Search</a></span>
1959
  <?php } ?>
1960
  </td>
1961
  </tr>
@@ -2080,10 +1982,10 @@ if ( ! function_exists( 'gllr_settings_page' ) ) {
2080
  </div>
2081
  <div class="bws_pro_links">
2082
  <span class="bws_trial_info">
2083
- <a href="http://bestwebsoft.com/products/gallery/trial/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=<?php echo $gllr_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Gallery Pro Plugin"><?php _e( 'Start Your Trial', 'gallery-plugin' ); ?></a>
2084
  <?php _e( 'or', 'gallery-plugin' ); ?>
2085
  </span>
2086
- <a class="bws_button" href="http://bestwebsoft.com/products/gallery/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=<?php echo $gllr_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Gallery Pro Plugin"><?php _e( 'Learn More', 'gallery-plugin' ); ?></a>
2087
  </div>
2088
  <div class="gllr_clear"></div>
2089
  </div>
@@ -2220,7 +2122,7 @@ if ( ! function_exists ( 'gllr_admin_head' ) ) {
2220
  'click' => true,
2221
  'onload' => true,
2222
  ),
2223
- 'content' => '<h3>' . __( 'Add multiple gallery categories', 'gallery-plugin' ) . '</h3><p>' . __( "Install Gallery Categories plugin to add unlimited number of categories.", 'gallery-plugin' ) . ' <a href="http://bestwebsoft.com/products/gallery-categories/?k=bb17b69bfb50827f3e2a9b3a75978760&pn=79&v=' . $gllr_plugin_info["Version"] . '&wp_v=' . $wp_version . '" target="_blank">' . $learn_more . '</a></p>',
2224
  'buttons' => array(
2225
  array(
2226
  'type' => 'link',
@@ -2273,30 +2175,36 @@ if ( ! function_exists( 'gllr_wp_head' ) ) {
2273
 
2274
  if ( ! function_exists ( 'gllr_wp_footer' ) ) {
2275
  function gllr_wp_footer() {
2276
- if ( wp_script_is( 'gllr_js', 'enqueued' ) ) {
2277
- require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
2278
- if ( ! ( is_plugin_active( 'portfolio-pro/portfolio-pro.php' ) && wp_script_is( 'prtfl_front_script', 'registered' ) ) ) {
2279
- wp_enqueue_script( 'gllr_fancybox_mousewheel_js', plugins_url( 'fancybox/jquery.mousewheel-3.0.4.pack.js', __FILE__ ), array( 'jquery' ), true );
2280
- wp_enqueue_script( 'gllr_fancybox_js', plugins_url( 'fancybox/jquery.fancybox-1.3.4.pack.js', __FILE__ ), array( 'jquery' ), true );
2281
- wp_enqueue_script( 'gllr_inline_fancybox_script', gllr_inline_fancy_script(), array( 'jquery', 'gllr_js' ), true );
2282
- }
 
 
 
 
2283
  }
 
 
 
2284
  }
2285
  }
2286
 
2287
- if ( ! function_exists ( 'gllr_inline_fancy_script' ) ) {
2288
- function gllr_inline_fancy_script() {
2289
- if ( wp_script_is( 'gllr_js', 'enqueued' ) ) {
2290
- global $gllr_inline_script;
2291
- echo $gllr_inline_script;
2292
- }
2293
  }
2294
  }
2295
 
2296
  if ( ! function_exists ( 'gllr_shortcode' ) ) {
2297
  function gllr_shortcode( $attr ) {
2298
- global $gllr_options, $gllr_inline_script;
2299
- wp_enqueue_script( 'gllr_js', plugins_url( 'js/frontend_script.js', __FILE__ ), array( 'jquery' ) );
 
2300
 
2301
  if ( isset( $_GET['print'] ) ) {
2302
  return gllr_add_pdf_print_content( '', $attr );
@@ -2360,7 +2268,7 @@ if ( ! function_exists ( 'gllr_shortcode' ) ) {
2360
  </a>
2361
  <div class="gallery_detail_box">
2362
  <div><?php the_title(); ?></div>
2363
- <div><?php echo gllr_the_excerpt_max_charlength( 100 ); ?></div>
2364
  <a href="<?php echo get_permalink( $post->ID ); ?>"><?php echo $gllr_options["read_more_link_text"]; ?></a>
2365
  </div><!-- .gallery_detail_box -->
2366
  <div class="gllr_clear"></div>
@@ -2421,7 +2329,7 @@ if ( ! function_exists ( 'gllr_shortcode' ) ) {
2421
  </a>
2422
  <div class="gallery_detail_box">
2423
  <div><?php the_title(); ?></div>
2424
- <div><?php echo gllr_the_excerpt_max_charlength( 100 ); ?></div>
2425
  <a href="<?php echo get_permalink( $post->ID ); ?>"><?php echo $gllr_options["read_more_link_text"]; ?></a>
2426
  </div><!-- .gallery_detail_box -->
2427
  <div class="gllr_clear"></div>
@@ -2508,56 +2416,18 @@ if ( ! function_exists ( 'gllr_shortcode' ) ) {
2508
  </div><!-- .gallery_box_single -->
2509
  <div class="gllr_clear"></div>
2510
  <?php }
 
 
 
 
 
 
 
2511
  } else { ?>
2512
  <div class="gallery_box_single">
2513
  <p class="not_found"><?php _e( 'Sorry, nothing found.', 'gallery-plugin' ); ?></p>
2514
  </div><!-- .gallery_box_single -->
2515
- <?php }
2516
- $script_post_id = ( 0 == $gllr_options['single_lightbox_for_multiple_galleries'] ) ? '_' . $post->ID : '';
2517
- $script_download_link = ( get_post_meta( $post->ID, 'gllr_download_link', true ) != '' ) ?
2518
- '<a id="bws_gallery_download_link" href="\' + jQuery( currentOpts.orig ).attr( \'rel\' ) + \'" download="\' + jQuery( currentOpts.orig ).attr(\'rel\').substring( jQuery( currentOpts.orig ).attr(\'rel\').lastIndexOf(\'/\') + 1 ) + \'" target="_blank">' . addslashes( __( "Download high resolution image", "gallery-plugin" ) ) . ' </a>'
2519
- :
2520
- '';
2521
- $script = "
2522
- <script type=\"text/javascript\">
2523
- ( function() {
2524
- var gllr_onload = window.onload;
2525
- function gllr_fancy_init() {
2526
- jQuery(document).ready( function() {
2527
- jQuery( \"a[rel=gallery_fancybox" . $script_post_id . "]\" ).fancybox( {
2528
- 'transitionIn' : 'elastic',
2529
- 'transitionOut' : 'elastic',
2530
- 'titlePosition' : 'inside',
2531
- 'speedIn' : 500,
2532
- 'speedOut' : 300,
2533
- 'titleFormat' : function( title, currentArray, currentIndex, currentOpts ) {";
2534
- $script .= " return '<div id=\"fancybox-title-inside\">' + ( title.length ? '<span id=\"bws_gallery_image_title\">' + title.replace(/&/g, '&amp;').replace(/\"/g, '&quot;').replace(/'/g, '&#039;').replace(/</g, '&lt;').replace(/>/g, '&gt;') + '</span><br />' : '' ) + '<span id=\"bws_gallery_image_counter\">" . __( "Image", "gallery-plugin" ) . " ' + ( currentIndex + 1 ) + ' / ' + currentArray.length + '</span></div>" . $script_download_link . "';
2535
- }";
2536
- if ( 1 == $gllr_options['start_slideshow'] ) {
2537
- $script .= ",
2538
- 'onComplete': function() {
2539
- clearTimeout( jQuery.fancybox.slider );
2540
- jQuery.fancybox.slider = setTimeout( \"jQuery.fancybox.next()\"," . $gllr_options['slideshow_interval'] . " );
2541
- }";
2542
- }
2543
- $script .= " });
2544
- });
2545
- }
2546
- if ( typeof gllr_onload === 'function' ) {
2547
- window.onload = function() {
2548
- gllr_onload();
2549
- gllr_fancy_init();
2550
- }
2551
- } else {
2552
- window.onload = gllr_fancy_init;
2553
- }
2554
- })( 0 );
2555
- </script>";
2556
- if ( empty( $gllr_inline_script ) ) {
2557
- $gllr_inline_script = $script;
2558
- } else {
2559
- $gllr_inline_script .= $script;
2560
- }
2561
  }
2562
  wp_reset_query();
2563
  $wp_query = $old_wp_query;
@@ -2567,6 +2437,46 @@ if ( ! function_exists ( 'gllr_shortcode' ) ) {
2567
  }
2568
  }
2569
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2570
  if ( ! function_exists ( 'gllr_update_image' ) ) {
2571
  function gllr_update_image() {
2572
  global $wpdb, $gllr_options;
@@ -3154,7 +3064,7 @@ if ( $wp_version > '3.3' ) {
3154
  $alt_tag_key = "gllr_image_alt_tag";
3155
  $image_attributes = wp_get_attachment_image_src( $post->ID, 'large' ); ?>
3156
  <div class="gllr-pro-version-block">
3157
- <a class="button bws_plugin_pro_version" href="http://bestwebsoft.com/products/gallery/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=<?php echo $gllr_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="<?php _e( 'Go Pro', 'gallery-plugin' ); ?>"><?php _e( 'Pro version', 'gallery-plugin' ); ?>
3158
  </a>
3159
  <div class="gllr-pro-settings">
3160
  <?php _e( 'This setting is available in Pro version', 'gallery-plugin' ); ?>
@@ -3670,6 +3580,8 @@ add_action( 'admin_enqueue_scripts', 'gllr_admin_head' );
3670
  add_action( 'wp_head', 'gllr_wp_head' );
3671
  add_action( 'wp_footer', 'gllr_wp_footer' );
3672
 
 
 
3673
  /* add theme name as class to body tag */
3674
  add_filter( 'body_class', 'gllr_theme_body_classes' );
3675
 
1
  <?php
2
  /*
3
  Plugin Name: Gallery by BestWebSoft
4
+ Plugin URI: http://bestwebsoft.com/products/wordpress/plugins/gallery/
5
  Description: Add beautiful galleries, albums & images to your Wordpress website in few clicks.
6
  Author: BestWebSoft
7
  Text Domain: gallery-plugin
8
  Domain Path: /languages
9
+ Version: 4.4.6
10
  Author URI: http://bestwebsoft.com/
11
  License: GPLv2 or later
12
  */
149
  'display_demo_notice' => 1,
150
  'display_settings_notice' => 1,
151
  'first_install' => strtotime( "now" ),
 
152
  'suggest_feature_banner' => 1,
153
  'post_type_name' => 'bws-gallery'
154
  );
175
  if ( 'menu_order' == $gllr_options['order_by'] )
176
  $gllr_options['order_by'] = 'meta_value_num';
177
  gllr_plugin_upgrade( false );
 
 
178
  }
179
  /* using old post type name for updated plugin version */
180
  if ( ! isset( $gllr_options['post_type_name'] ) ) {
288
  @fwrite( $handle, $contents );
289
  @fclose( $handle );
290
  @chmod( $gllr_themepath . $filename, octdec( 755 ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
291
  }
292
  }
 
 
 
 
293
  }
294
  }
295
 
498
  </div>
499
  </div>
500
  </div>
501
+ <div id="gllr_show_gallery_categories_notice"><?php _e( 'Install plugin', 'gallery-plugin'); ?> <a href="http://bestwebsoft.com/products/wordpress/plugins/gallery-categories/">Gallery Categories</a></div>
502
  <?php }
503
  }
504
 
740
  </a><?php } ?>
741
  <div class="gallery_detail_box">
742
  <div><?php the_title(); ?></div>
743
+ <div><?php gllr_the_excerpt_max_charlength( 100 ); ?></div>
744
  <a href="<?php echo get_permalink(); ?>"><?php echo $gllr_options["read_more_link_text"]; ?></a>
745
  </div><!-- .gallery_detail_box -->
746
  <div class="gllr_clear"></div>
784
  /* this function prints content for single gallery template */
785
  if ( ! function_exists( 'gllr_single_template_content' ) ) {
786
  function gllr_single_template_content() {
787
+ global $post, $wp_query, $gllr_options, $gllr_vars_for_inline_script;
788
+
789
+ wp_register_script( 'gllr_js', plugins_url( 'js/frontend_script.js', __FILE__ ), array( 'jquery' ) );
790
+
791
  $args = array(
792
  'post_type' => $gllr_options['post_type_name'],
793
  'post_status' => 'publish',
794
  'name' => $wp_query->query_vars['name'],
795
  'posts_per_page' => 1
796
+ );
797
  $second_query = new WP_Query( $args );
798
  if ( $second_query->have_posts() ) {
799
  while ( $second_query->have_posts() ) {
871
  <div class="return_link gllr_return_link"><a href="<?php echo $gllr_options["return_link_url"]; ?>"><?php echo $gllr_options['return_link_text']; ?></a></div>
872
  <?php }
873
  }
874
+ $gllr_vars_for_inline_script['single_script'][] = array(
875
+ 'post_id' => $post->ID
876
+ );
877
+
878
+ if ( defined( 'BWS_ENQUEUE_ALL_SCRIPTS' ) ) {
879
+ gllr_echo_inline_script();
880
+ }
881
  } else { ?>
882
  <p><?php echo get_the_password_form(); ?></p>
883
  <?php } ?>
884
  </div><!-- .gallery_box_single -->
885
+ <?php }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
886
  } else { ?>
887
  <div class="gallery_box_single">
888
  <p class="not_found"><?php _e( 'Sorry, nothing found.', 'gallery-plugin' ); ?></p>
1304
  "order" => $gllr_options['order'],
1305
  "post_mime_type" => "image/jpeg,image/gif,image/jpg,image/png",
1306
  'post__in' => explode( ',', $images_id ),
1307
+ 'meta_key' => '_gallery_order_' . $post->ID,
1308
+ "posts_per_page" => -1
1309
  ) );
1310
 
1311
  if ( count( $posts ) > 0 ) {
1726
  </div>
1727
  <div class="bws_pro_links">
1728
  <span class="bws_trial_info">
1729
+ <a href="http://bestwebsoft.com/products/wordpress/plugins/gallery/trial/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=<?php echo $gllr_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Gallery Pro Plugin"><?php _e( 'Start Your Trial', 'gallery-plugin' ); ?></a>
1730
  <?php _e( 'or', 'gallery-plugin' ); ?>
1731
  </span>
1732
+ <a class="bws_button" href="http://bestwebsoft.com/products/wordpress/plugins/gallery/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=<?php echo $gllr_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Gallery Pro Plugin"><?php _e( 'Learn More', 'gallery-plugin' ); ?></a>
1733
  </div>
1734
  <div class="gllr_clear"></div>
1735
  </div>
1857
  <?php }
1858
  } else { ?>
1859
  <input disabled="disabled" type="checkbox" name="gllr_add_to_search" value="1" />
1860
+ <span class="bws_info">(<?php _e( 'Using', 'gallery-plugin' ); ?> Custom Search <?php _e( 'powered by', 'gallery-plugin' ); ?> <a href="http://bestwebsoft.com/products/">bestwebsoft.com</a>) <a href="http://bestwebsoft.com/products/wordpress/plugins/custom-search/"><?php _e( 'Download', 'gallery-plugin' ); ?> Custom Search</a></span>
1861
  <?php } ?>
1862
  </td>
1863
  </tr>
1982
  </div>
1983
  <div class="bws_pro_links">
1984
  <span class="bws_trial_info">
1985
+ <a href="http://bestwebsoft.com/products/wordpress/plugins/gallery/trial/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=<?php echo $gllr_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Gallery Pro Plugin"><?php _e( 'Start Your Trial', 'gallery-plugin' ); ?></a>
1986
  <?php _e( 'or', 'gallery-plugin' ); ?>
1987
  </span>
1988
+ <a class="bws_button" href="http://bestwebsoft.com/products/wordpress/plugins/gallery/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=<?php echo $gllr_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Gallery Pro Plugin"><?php _e( 'Learn More', 'gallery-plugin' ); ?></a>
1989
  </div>
1990
  <div class="gllr_clear"></div>
1991
  </div>
2122
  'click' => true,
2123
  'onload' => true,
2124
  ),
2125
+ 'content' => '<h3>' . __( 'Add multiple gallery categories', 'gallery-plugin' ) . '</h3><p>' . __( "Install Gallery Categories plugin to add unlimited number of categories.", 'gallery-plugin' ) . ' <a href="http://bestwebsoft.com/products/wordpress/plugins/gallery-categories/?k=bb17b69bfb50827f3e2a9b3a75978760&pn=79&v=' . $gllr_plugin_info["Version"] . '&wp_v=' . $wp_version . '" target="_blank">' . $learn_more . '</a></p>',
2126
  'buttons' => array(
2127
  array(
2128
  'type' => 'link',
2175
 
2176
  if ( ! function_exists ( 'gllr_wp_footer' ) ) {
2177
  function gllr_wp_footer() {
2178
+ if ( ! defined( 'BWS_ENQUEUE_ALL_SCRIPTS' ) && ! wp_script_is( 'gllr_js', 'registered' ) )
2179
+ return;
2180
+
2181
+ if ( ! wp_script_is( 'gllr_js', 'registered' ) )
2182
+ wp_enqueue_script( 'gllr_js', plugins_url( 'js/frontend_script.js', __FILE__ ), array( 'jquery' ) );
2183
+ else
2184
+ wp_enqueue_script( 'gllr_js' );
2185
+ require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
2186
+ if ( ! ( is_plugin_active( 'portfolio-pro/portfolio-pro.php' ) && wp_script_is( 'prtfl_front_script', 'registered' ) ) ) {
2187
+ wp_enqueue_script( 'gllr_fancybox_mousewheel_js', plugins_url( 'fancybox/jquery.mousewheel-3.0.4.pack.js', __FILE__ ), array( 'jquery' ), true );
2188
+ wp_enqueue_script( 'gllr_fancybox_js', plugins_url( 'fancybox/jquery.fancybox-1.3.4.pack.js', __FILE__ ), array( 'jquery' ), true );
2189
  }
2190
+
2191
+ if ( ! defined( 'BWS_ENQUEUE_ALL_SCRIPTS' ) )
2192
+ wp_enqueue_script( 'gllr_inline_fancybox_script', gllr_echo_inline_script(), array( 'jquery' ), true );
2193
  }
2194
  }
2195
 
2196
+ if ( ! function_exists( 'gllr_pagination_callback' ) ) {
2197
+ function gllr_pagination_callback( $content ) {
2198
+ $content .= '$( ".gllr_grid:visible" ).trigger( "resize" ); if ( typeof gllr_fancy_init === "function" ) { gllr_fancy_init(); }';
2199
+ return $content;
 
 
2200
  }
2201
  }
2202
 
2203
  if ( ! function_exists ( 'gllr_shortcode' ) ) {
2204
  function gllr_shortcode( $attr ) {
2205
+ global $gllr_options, $gllr_vars_for_inline_script;
2206
+
2207
+ wp_register_script( 'gllr_js', plugins_url( 'js/frontend_script.js', __FILE__ ), array( 'jquery' ) );
2208
 
2209
  if ( isset( $_GET['print'] ) ) {
2210
  return gllr_add_pdf_print_content( '', $attr );
2268
  </a>
2269
  <div class="gallery_detail_box">
2270
  <div><?php the_title(); ?></div>
2271
+ <div><?php gllr_the_excerpt_max_charlength( 100 ); ?></div>
2272
  <a href="<?php echo get_permalink( $post->ID ); ?>"><?php echo $gllr_options["read_more_link_text"]; ?></a>
2273
  </div><!-- .gallery_detail_box -->
2274
  <div class="gllr_clear"></div>
2329
  </a>
2330
  <div class="gallery_detail_box">
2331
  <div><?php the_title(); ?></div>
2332
+ <div><?php gllr_the_excerpt_max_charlength( 100 ); ?></div>
2333
  <a href="<?php echo get_permalink( $post->ID ); ?>"><?php echo $gllr_options["read_more_link_text"]; ?></a>
2334
  </div><!-- .gallery_detail_box -->
2335
  <div class="gllr_clear"></div>
2416
  </div><!-- .gallery_box_single -->
2417
  <div class="gllr_clear"></div>
2418
  <?php }
2419
+ $gllr_vars_for_inline_script['single_script'][] = array(
2420
+ 'post_id' => $post->ID
2421
+ );
2422
+
2423
+ if ( defined( 'BWS_ENQUEUE_ALL_SCRIPTS' ) ) {
2424
+ gllr_echo_inline_script();
2425
+ }
2426
  } else { ?>
2427
  <div class="gallery_box_single">
2428
  <p class="not_found"><?php _e( 'Sorry, nothing found.', 'gallery-plugin' ); ?></p>
2429
  </div><!-- .gallery_box_single -->
2430
+ <?php }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2431
  }
2432
  wp_reset_query();
2433
  $wp_query = $old_wp_query;
2437
  }
2438
  }
2439
 
2440
+ if ( ! function_exists( 'gllr_echo_inline_script' ) ) {
2441
+ function gllr_echo_inline_script() {
2442
+ global $gllr_vars_for_inline_script, $gllr_options;
2443
+
2444
+ if ( isset( $gllr_vars_for_inline_script['single_script'] ) ) {
2445
+ $download_link_title = addslashes( __( 'Download high resolution image', 'gallery-plugin' ) ); ?>
2446
+ <script type="text/javascript">
2447
+ var gllr_onload = window.onload;
2448
+ function gllr_fancy_init() {
2449
+ <?php foreach ( $gllr_vars_for_inline_script['single_script'] as $vars ) { ?>
2450
+ jQuery("a[rel=gallery_fancybox<?php if ( 0 == $gllr_options['single_lightbox_for_multiple_galleries'] ) echo '_' . $vars['post_id']; ?>]").fancybox( {
2451
+ 'transitionIn' : 'elastic',
2452
+ 'transitionOut' : 'elastic',
2453
+ 'titlePosition' : 'inside',
2454
+ 'speedIn' : 500,
2455
+ 'speedOut' : 300,
2456
+ 'titleFormat' : function( title, currentArray, currentIndex, currentOpts ) {
2457
+ return '<div id="fancybox-title-inside">' + ( title.length ? '<span id="bws_gallery_image_title">' + title.replace(/&/g, '&amp;').replace(/"/g, '&quot;').replace(/'/g, '&#039;').replace(/</g, '&lt;').replace(/>/g, '&gt;') + '</span><br />' : '' ) + '<span id="bws_gallery_image_counter"><?php _e( "Image", "gallery-plugin" ); ?> ' + ( currentIndex + 1 ) + ' / ' + currentArray.length + '</span></div><?php if ( get_post_meta( $vars['post_id'], 'gllr_download_link', true ) != '' ) { ?><a id="bws_gallery_download_link" href="' + jQuery( currentOpts.orig ).attr('rel') + '" download="' + jQuery( currentOpts.orig ).attr('rel').substring( jQuery( currentOpts.orig ).attr('rel').lastIndexOf('/') + 1 ) + '" target="_blank"><?php echo $download_link_title; ?></a><?php } ?>';
2458
+ }<?php if ( $gllr_options['start_slideshow'] == 1 ) { ?>,
2459
+ 'onComplete': function() {
2460
+ clearTimeout( jQuery.fancybox.slider );
2461
+ jQuery.fancybox.slider = setTimeout("jQuery.fancybox.next()",<?php echo $gllr_options['slideshow_interval']; ?>);
2462
+ }<?php } ?>
2463
+ } );
2464
+ <?php } ?>
2465
+ }
2466
+ if ( typeof gllr_onload === 'function' ) {
2467
+ window.onload = function() {
2468
+ gllr_onload();
2469
+ gllr_fancy_init();
2470
+ }
2471
+ } else {
2472
+ window.onload = gllr_fancy_init;
2473
+ }
2474
+ </script>
2475
+ <?php unset( $gllr_vars_for_inline_script );
2476
+ }
2477
+ }
2478
+ }
2479
+
2480
  if ( ! function_exists ( 'gllr_update_image' ) ) {
2481
  function gllr_update_image() {
2482
  global $wpdb, $gllr_options;
3064
  $alt_tag_key = "gllr_image_alt_tag";
3065
  $image_attributes = wp_get_attachment_image_src( $post->ID, 'large' ); ?>
3066
  <div class="gllr-pro-version-block">
3067
+ <a class="button bws_plugin_pro_version" href="http://bestwebsoft.com/products/wordpress/plugins/gallery/?k=63a36f6bf5de0726ad6a43a165f38fe5&pn=79&v=<?php echo $gllr_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="<?php _e( 'Go Pro', 'gallery-plugin' ); ?>"><?php _e( 'Pro version', 'gallery-plugin' ); ?>
3068
  </a>
3069
  <div class="gllr-pro-settings">
3070
  <?php _e( 'This setting is available in Pro version', 'gallery-plugin' ); ?>
3580
  add_action( 'wp_head', 'gllr_wp_head' );
3581
  add_action( 'wp_footer', 'gllr_wp_footer' );
3582
 
3583
+ add_filter( 'pgntn_callback', 'gllr_pagination_callback' );
3584
+
3585
  /* add theme name as class to body tag */
3586
  add_filter( 'body_class', 'gllr_theme_body_classes' );
3587
 
inc/demo-data/demo-data.php CHANGED
@@ -24,7 +24,7 @@ if ( ! function_exists( 'bws_demo_data_array' ) ) {
24
  'post_status' => 'publish',
25
  'post_type' => $post_type,
26
  'post_title' => 'DEMO Gastronomy',
27
- 'post_content' => 'Nowadays food photographing is becoming more and more popular. Today thousands of blogs are devoted to such pictures. Using our Gallery plugin you can post such images easily! For more information visit <a href="http://bestwebsoft.com/products/gallery/">Our Site</a>',
28
  'post_meta' => array(
29
  'gllr_download_link' => '1'
30
  ),
@@ -36,7 +36,7 @@ if ( ! function_exists( 'bws_demo_data_array' ) ) {
36
  'post_status' => 'publish',
37
  'post_type' => $post_type,
38
  'post_title' => 'DEMO Music',
39
- 'post_content' => 'Music is an integral part of our lives. It surrounds us everywhere. Save memorable moments of the concerts and festivals and share them with your friends! Our Gallery plugin will help you with this. For more information visit <a href="http://bestwebsoft.com/products/gallery/">Our Site</a>',
40
  'post_meta' => array(
41
  'gllr_download_link' => '1'
42
  ),
@@ -60,7 +60,7 @@ if ( ! function_exists( 'bws_demo_data_array' ) ) {
60
  'post_status' => 'publish',
61
  'post_type' => $post_type,
62
  'post_title' => 'DEMO Sport',
63
- 'post_content' => 'Sport is Life! And now you have a great opportunity to share your achievements with the whole world. And our Gallery plugin will help you with this. For more information visit <a href="http://bestwebsoft.com/products/gallery/">Our Site</a>',
64
  'post_meta' => array(
65
  'gllr_download_link' => '1'
66
  ),
@@ -72,7 +72,7 @@ if ( ! function_exists( 'bws_demo_data_array' ) ) {
72
  'post_status' => 'publish',
73
  'post_type' => $post_type,
74
  'post_title' => 'DEMO Nature',
75
- 'post_content' => 'Look for inspiration in the nature! You can admire its beauty all day long. With our Gallery plugin you can share beautiful pictures with your friends. For more information visit <a href="http://bestwebsoft.com/products/gallery/">Our Site</a>',
76
  'post_meta' => array(
77
  'gllr_download_link' => '1'
78
  ),
@@ -85,7 +85,7 @@ if ( ! function_exists( 'bws_demo_data_array' ) ) {
85
  'post_status' => 'publish',
86
  'post_type' => 'post',
87
  'post_title' => 'Gallery DEMO',
88
- 'post_content' => '<p>This is a demonstration of a Gallery plugin for Wordpress websites.</p><h2>Create amazing galleries in few clicks</h2><p>Gallery plugin helps you to collect images and display them on your website. Add unlimited galleries to your website - no programming knowledge required.</p><h2>Expand your possibilities with exclusive add-ons</h2><ul><li><a href="http://bestwebsoft.com/products/gallery-categories/" target="_blank">Gallery categories</a>: Create different categories of your galleries.</li><li><a href="http://bestwebsoft.com/products/re-attacher/" target="_blank">Re-attacher</a>: Re-attach previously uploaded images to other gallery without having to upload them again, as well as detach files from the gallery completely.</li></ul><h2><span id="result_box" class="short_text" lang="en"><span class="hps">Help &amp; Support</span></span></h2><p>If you have any questions, our friendly Support Team is happy to help. <a href="http://support.bestwebsoft.com/" target="_blank">Visit our Help Center</a></p><h2>Shortcodes</h2><p>Use <code><strong>&#91;print_gllr id=<i>gallery_id</i> display=short]</strong></code> shortcode for displaying short description and link to the single gallery.</p><div>[print_gllr id={last_post_id} display=short]</div><div></div>Use <code><strong>&#91;print_gllr id=<i>gallery_id</i>]</strong></code> shortcode for displaying all images in gallery.<div>[print_gllr id={last_post_id}]</div>&nbsp;<div>{template_page} | <a href="https://drive.google.com/drive/u/0/folders/0B5l8lO-CaKt9QkJNaERwVEJnSVE" target="_blank">Instructions</a></div>',
89
  ),
90
  );
91
 
24
  'post_status' => 'publish',
25
  'post_type' => $post_type,
26
  'post_title' => 'DEMO Gastronomy',
27
+ 'post_content' => 'Nowadays food photographing is becoming more and more popular. Today thousands of blogs are devoted to such pictures. Using our Gallery plugin you can post such images easily! For more information visit <a href="http://bestwebsoft.com/products/wordpress/plugins/gallery/">Our Site</a>',
28
  'post_meta' => array(
29
  'gllr_download_link' => '1'
30
  ),
36
  'post_status' => 'publish',
37
  'post_type' => $post_type,
38
  'post_title' => 'DEMO Music',
39
+ 'post_content' => 'Music is an integral part of our lives. It surrounds us everywhere. Save memorable moments of the concerts and festivals and share them with your friends! Our Gallery plugin will help you with this. For more information visit <a href="http://bestwebsoft.com/products/wordpress/plugins/gallery/">Our Site</a>',
40
  'post_meta' => array(
41
  'gllr_download_link' => '1'
42
  ),
60
  'post_status' => 'publish',
61
  'post_type' => $post_type,
62
  'post_title' => 'DEMO Sport',
63
+ 'post_content' => 'Sport is Life! And now you have a great opportunity to share your achievements with the whole world. And our Gallery plugin will help you with this. For more information visit <a href="http://bestwebsoft.com/products/wordpress/plugins/gallery/">Our Site</a>',
64
  'post_meta' => array(
65
  'gllr_download_link' => '1'
66
  ),
72
  'post_status' => 'publish',
73
  'post_type' => $post_type,
74
  'post_title' => 'DEMO Nature',
75
+ 'post_content' => 'Look for inspiration in the nature! You can admire its beauty all day long. With our Gallery plugin you can share beautiful pictures with your friends. For more information visit <a href="http://bestwebsoft.com/products/wordpress/plugins/gallery/">Our Site</a>',
76
  'post_meta' => array(
77
  'gllr_download_link' => '1'
78
  ),
85
  'post_status' => 'publish',
86
  'post_type' => 'post',
87
  'post_title' => 'Gallery DEMO',
88
+ 'post_content' => '<p>This is a demonstration of a Gallery plugin for Wordpress websites.</p><h2>Create amazing galleries in few clicks</h2><p>Gallery plugin helps you to collect images and display them on your website. Add unlimited galleries to your website - no programming knowledge required.</p><h2>Expand your possibilities with exclusive add-ons</h2><ul><li><a href="http://bestwebsoft.com/products/wordpress/plugins/gallery-categories/" target="_blank">Gallery categories</a>: Create different categories of your galleries.</li><li><a href="http://bestwebsoft.com/products/wordpress/plugins/re-attacher/" target="_blank">Re-attacher</a>: Re-attach previously uploaded images to other gallery without having to upload them again, as well as detach files from the gallery completely.</li></ul><h2><span id="result_box" class="short_text" lang="en"><span class="hps">Help &amp; Support</span></span></h2><p>If you have any questions, our friendly Support Team is happy to help. <a href="http://support.bestwebsoft.com/" target="_blank">Visit our Help Center</a></p><h2>Shortcodes</h2><p>Use <code><strong>&#91;print_gllr id=<i>gallery_id</i> display=short]</strong></code> shortcode for displaying short description and link to the single gallery.</p><div>[print_gllr id={last_post_id} display=short]</div><div></div>Use <code><strong>&#91;print_gllr id=<i>gallery_id</i>]</strong></code> shortcode for displaying all images in gallery.<div>[print_gllr id={last_post_id}]</div>&nbsp;<div>{template_page} | <a href="https://drive.google.com/drive/u/0/folders/0B5l8lO-CaKt9QkJNaERwVEJnSVE" target="_blank">Instructions</a></div>',
89
  ),
90
  );
91
 
inc/deprecated.php CHANGED
@@ -9,15 +9,19 @@
9
  if ( ! function_exists( 'gllr_check_old_options' ) ) {
10
  function gllr_check_old_options() {
11
  if ( $old_options = get_option( 'gllr_options' ) ) {
 
12
  if ( isset( $old_options['gllr_custom_size_name'] ) ) {
13
  $old_options['custom_size_name'] = $old_options['gllr_custom_size_name'];
14
  unset( $old_options['gllr_custom_size_name'] );
 
15
  }
16
  if ( isset( $old_options['gllr_custom_size_px'] ) ) {
17
  $old_options['custom_size_px'] = $old_options['gllr_custom_size_px'];
18
  unset( $old_options['gllr_custom_size_px'] );
 
19
  }
20
- update_option( 'gllr_options', $old_options );
 
21
  }
22
  }
23
  }
9
  if ( ! function_exists( 'gllr_check_old_options' ) ) {
10
  function gllr_check_old_options() {
11
  if ( $old_options = get_option( 'gllr_options' ) ) {
12
+ $update_option = false;
13
  if ( isset( $old_options['gllr_custom_size_name'] ) ) {
14
  $old_options['custom_size_name'] = $old_options['gllr_custom_size_name'];
15
  unset( $old_options['gllr_custom_size_name'] );
16
+ $update_option = true;
17
  }
18
  if ( isset( $old_options['gllr_custom_size_px'] ) ) {
19
  $old_options['custom_size_px'] = $old_options['gllr_custom_size_px'];
20
  unset( $old_options['gllr_custom_size_px'] );
21
+ $update_option = true;
22
  }
23
+ if ( true === $update_option )
24
+ update_option( 'gllr_options', $old_options );
25
  }
26
  }
27
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://bestwebsoft.com/donate/
4
  Tags: add album, add galleries, add images, add pictures, add albums, gallery, gallery plugin, gallery slider, fancy gallery, slideshow, lightbox, fullscreen gallery
5
  Requires at least: 3.8
6
  Tested up to: 4.6.1
7
- Stable tag: 4.4.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -14,6 +14,8 @@ Add beautiful galleries, albums & images to your Wordpress website in few clicks
14
 
15
  The best responsive gallery plugin for your Wordpress website. Create amazing galleries in few clicks. Add an unlimited number of images to your gallery, create albums, add comments, change appearance and much more.
16
 
 
 
17
  [View Demo](http://bestwebsoft.com/demo-for-gallery-pro/)
18
 
19
  http://www.youtube.com/watch?v=aydaTdOpaRM
@@ -25,7 +27,25 @@ http://www.youtube.com/watch?v=aydaTdOpaRM
25
  * Albums to gallery
26
  * Images to album
27
  * Change image for album cover and its dimensions
28
- * Change sorting order for images
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  * Install/delete demo data
30
  * Slideshow and full-size image displaying
31
  * Change border width and color
@@ -34,7 +54,7 @@ http://www.youtube.com/watch?v=aydaTdOpaRM
34
  * Comments to galleries
35
  * Images from WordPress media library
36
  * Descriptions to each album
37
- * Install [Gallery Categories](http://bestwebsoft.com/products/gallery-categories/) to organize your content
38
  * Add custom code via plugin settings page
39
  * Compatible with latest WordPress version
40
  * Incredibly simple settings for fast setup without modifying code
@@ -48,6 +68,9 @@ http://www.youtube.com/watch?v=aydaTdOpaRM
48
  > * Change gallery layout:
49
  > * Grid (default)
50
  > * Masonry
 
 
 
51
  > * Set:
52
  > * Lightbox image size
53
  > * Background color and the lightbox transparency
@@ -55,17 +78,22 @@ http://www.youtube.com/watch?v=aydaTdOpaRM
55
  > * Image crop position
56
  > * Horizontal
57
  > * Vertical
58
- > * Add lightbox helper (button or thumbnail)
 
 
 
 
 
 
 
59
  > * Select 'self'/'blank' for external URLs
60
- > * Show:
61
- > * Lightbox image description
62
- > * Social sharing buttons (Facebook, Twitter, Google Plus One, Pinterest)
63
  > * Add a button with URL to the lightbox
64
  > * Single gallery pagination
65
  > * Configure all subsites on the network
66
  > * Get answer to your support question within one business day ([Support Policy](http://bestwebsoft.com/support-policy/))
67
  >
68
- > [Upgrade to Pro Now](http://bestwebsoft.com/products/gallery/?k=57ad5c0c7fe312e2a45ef9a76f47334c)
69
 
70
  If you have a feature suggestion or idea you'd like to see in the plugin, we'd love to hear about it! [Suggest a Feature](http://support.bestwebsoft.com/hc/en-us/requests/new)
71
 
@@ -104,9 +132,9 @@ Some of these translations are not complete. We are constantly adding new featur
104
 
105
  = Recommended Plugins =
106
 
107
- * [Gallery Categories](http://bestwebsoft.com/products/gallery-categories/) - Add unlimited gallery categories. Organize images to make the navigation through content easier.
108
- * [Updater](http://bestwebsoft.com/products/updater/?k=6ed3f1f40908b8eb7248953196a4753a) - Automatically check and update WordPress core with all installed plugins to the latest versions. Manual mode, email notifications and backups of all your files and database before updating.
109
- * [Re-attacher](http://bestwebsoft.com/products/re-attacher/) - Attach, unattach and re-attach media files quickly to WordPress posts and pages.
110
 
111
  = Donate =
112
 
@@ -188,6 +216,9 @@ Please make sure that the problem hasn't been discussed yet on our forum (<http:
188
 
189
  == Changelog ==
190
 
 
 
 
191
  = V4.4.5 - 19.09.2016 =
192
  * Bugfix : The bug with displaying fancybox was fixed.
193
 
@@ -562,6 +593,9 @@ Please make sure that the problem hasn't been discussed yet on our forum (<http:
562
 
563
  == Upgrade Notice ==
564
 
 
 
 
565
  = V4.4.5 =
566
  * Bugs fixed.
567
 
4
  Tags: add album, add galleries, add images, add pictures, add albums, gallery, gallery plugin, gallery slider, fancy gallery, slideshow, lightbox, fullscreen gallery
5
  Requires at least: 3.8
6
  Tested up to: 4.6.1
7
+ Stable tag: 4.4.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
14
 
15
  The best responsive gallery plugin for your Wordpress website. Create amazing galleries in few clicks. Add an unlimited number of images to your gallery, create albums, add comments, change appearance and much more.
16
 
17
+ Showcase portfolio or just to show off useful images easily with gallery plugin to power up communication with your visitors, spark up your brand, and increase sales!
18
+
19
  [View Demo](http://bestwebsoft.com/demo-for-gallery-pro/)
20
 
21
  http://www.youtube.com/watch?v=aydaTdOpaRM
27
  * Albums to gallery
28
  * Images to album
29
  * Change image for album cover and its dimensions
30
+ * Set sorting order for images by:
31
+ * Attachment ID
32
+ * Image Name
33
+ * Date
34
+ * Sorting order in the Gallery
35
+ * Random
36
+ * ASC (ascending order from lowest to highest values)
37
+ * DESC (descending order from highest to lowest values)
38
+ * Set sorting order for galleries by:
39
+ * Gallery ID
40
+ * Title
41
+ * Date
42
+ * Last modified date
43
+ * Comment count
44
+ * Sorting order
45
+ * Author
46
+ * Random
47
+ * ASC (ascending order from lowest to highest values)
48
+ * DESC (descending order from highest to lowest values)
49
  * Install/delete demo data
50
  * Slideshow and full-size image displaying
51
  * Change border width and color
54
  * Comments to galleries
55
  * Images from WordPress media library
56
  * Descriptions to each album
57
+ * Install [Gallery Categories](http://bestwebsoft.com/products/wordpress/plugins/gallery-categories/) to organize your content
58
  * Add custom code via plugin settings page
59
  * Compatible with latest WordPress version
60
  * Incredibly simple settings for fast setup without modifying code
68
  > * Change gallery layout:
69
  > * Grid (default)
70
  > * Masonry
71
+ > * Display image text:
72
+ > * Under image
73
+ > * By mouse hover
74
  > * Set:
75
  > * Lightbox image size
76
  > * Background color and the lightbox transparency
78
  > * Image crop position
79
  > * Horizontal
80
  > * Vertical
81
+ > * Add and display Like buttons:
82
+ > * Facebook
83
+ > * Twitter
84
+ > * Pinterest
85
+ > * Google +1
86
+ > * Enable lightbox helper:
87
+ > * Button
88
+ > * Thumbnail
89
  > * Select 'self'/'blank' for external URLs
90
+ > * Add lightbox image description
 
 
91
  > * Add a button with URL to the lightbox
92
  > * Single gallery pagination
93
  > * Configure all subsites on the network
94
  > * Get answer to your support question within one business day ([Support Policy](http://bestwebsoft.com/support-policy/))
95
  >
96
+ > [Upgrade to Pro Now](http://bestwebsoft.com/products/wordpress/plugins/gallery/?k=57ad5c0c7fe312e2a45ef9a76f47334c)
97
 
98
  If you have a feature suggestion or idea you'd like to see in the plugin, we'd love to hear about it! [Suggest a Feature](http://support.bestwebsoft.com/hc/en-us/requests/new)
99
 
132
 
133
  = Recommended Plugins =
134
 
135
+ * [Gallery Categories](http://bestwebsoft.com/products/wordpress/plugins/gallery-categories/) - Add unlimited gallery categories. Organize images to make the navigation through content easier.
136
+ * [Updater](http://bestwebsoft.com/products/wordpress/plugins/updater/?k=6ed3f1f40908b8eb7248953196a4753a) - Automatically check and update WordPress core with all installed plugins to the latest versions. Manual mode, email notifications and backups of all your files and database before updating.
137
+ * [Re-attacher](http://bestwebsoft.com/products/wordpress/plugins/re-attacher/) - Attach, unattach and re-attach media files quickly to WordPress posts and pages.
138
 
139
  = Donate =
140
 
216
 
217
  == Changelog ==
218
 
219
+ = V4.4.6 - 13.10.2016 =
220
+ * Update : The compatibility with Pagination plugin improved.
221
+
222
  = V4.4.5 - 19.09.2016 =
223
  * Bugfix : The bug with displaying fancybox was fixed.
224
 
593
 
594
  == Upgrade Notice ==
595
 
596
+ = V4.4.6 =
597
+ * The compatibility with new Pagination version updated.
598
+
599
  = V4.4.5 =
600
  * Bugs fixed.
601