BlossomThemes Toolkit - Version 2.1.6

Version Description

Released on: 7th January, 2020

Fixes:

  • Changes for Elementor Compatibility.
  • Minor bug fixes.
Download this release

Release Info

Developer blossomthemes
Plugin Icon 128x128 BlossomThemes Toolkit
Version 2.1.6
Comparing to
See all releases

Code changes from version 2.1.5 to 2.1.6

README.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: blossomthemes
3
  Donate link: https://blossomthemes.com
4
  Tags: toolkit, blossom
5
  Requires at least: 4.4.0
6
- Tested up to: 5.3
7
  Requires PHP: 5.6
8
- Stable tag: 2.1.5
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -46,6 +46,28 @@ BlossomThemes Toolkit is a lightweight and safe plugin that generates 12 much-ne
46
 
47
  == Changelog ==
48
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  = 2.1.5 =
50
 
51
  Released on: 18th November, 2019
3
  Donate link: https://blossomthemes.com
4
  Tags: toolkit, blossom
5
  Requires at least: 4.4.0
6
+ Tested up to: 5.4
7
  Requires PHP: 5.6
8
+ Stable tag: 2.1.7
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
46
 
47
  == Changelog ==
48
 
49
+ = 2.1.7 =
50
+
51
+ Released on: 3rd May, 2020
52
+
53
+ Enhancements:
54
+
55
+ * Plugin registered Post type and Taxonomy strings translated
56
+
57
+ Fixes:
58
+
59
+ * Plugin registered Page Template update failed issue in Gutenberg fixed.
60
+ * Minor bug fixes.
61
+
62
+ = 2.1.6 =
63
+
64
+ Released on: 7th January, 2020
65
+
66
+ Fixes:
67
+
68
+ * Changes for Elementor Compatibility.
69
+ * Minor bug fixes.
70
+
71
  = 2.1.5 =
72
 
73
  Released on: 18th November, 2019
admin/class-blossomthemes-toolkit-admin.php CHANGED
@@ -169,12 +169,18 @@ class Blossomthemes_Toolkit_Admin {
169
  * Portfolio template added.
170
  */
171
  function wpte_add_portfolio_templates() {
172
- if( is_admin() ) {
173
- add_filter( 'theme_page_templates', array($this, 'bttk_filter_admin_page_templates' ) );
174
- }
175
- else {
176
- add_filter( 'page_template', array( $this, 'bttk_get_portfolio_template' ) );
177
- }
 
 
 
 
 
 
178
  }
179
 
180
  /**
@@ -373,8 +379,37 @@ class Blossomthemes_Toolkit_Admin {
373
 
374
  $posts = array(
375
  'blossom-portfolio' => array(
376
- 'singular_name' => 'Portfolio',
377
- 'general_name' => 'Portfolios',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
378
  'dashicon' => 'dashicons-portfolio',
379
  'taxonomy' => 'blossom_portfolio_categories',
380
  'taxonomy_slug' => 'portfolio-category',
@@ -383,7 +418,10 @@ class Blossomthemes_Toolkit_Admin {
383
  'show_in_nav_menus' => true,
384
  'show_in_rest' => true,
385
  'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt' ),
386
- 'rewrite' => array( 'slug' => 'portfolio' ),
 
 
 
387
  ),
388
  );
389
  $posts = apply_filters( 'bttk_get_posttype_array', $posts );
@@ -398,57 +436,29 @@ class Blossomthemes_Toolkit_Admin {
398
  function bttk_register_post_types() {
399
  $myarray = $this->bttk_get_posttype_array();
400
  foreach ($myarray as $key => $value) {
401
- $labels = array(
402
- 'name' => _x( $value['general_name'], 'Post Type General Name', 'blossomthemes-toolkit' ),
403
- 'singular_name' => _x( $value['singular_name'], 'Post Type Singular Name', 'blossomthemes-toolkit' ),
404
- 'menu_name' => __( $value['general_name'], 'blossomthemes-toolkit' ),
405
- 'name_admin_bar' => __( $value['singular_name'], 'blossomthemes-toolkit' ),
406
- 'archives' => __( $value['singular_name'].' Archives', 'blossomthemes-toolkit' ),
407
- 'attributes' => __( $value['singular_name'].' Attributes', 'blossomthemes-toolkit' ),
408
- 'parent_item_colon' => __( 'Parent '. $value['singular_name'].':', 'blossomthemes-toolkit' ),
409
- 'all_items' => __( 'All '. $value['general_name'], 'blossomthemes-toolkit' ),
410
- 'add_new_item' => __( 'Add New '. $value['singular_name'], 'blossomthemes-toolkit' ),
411
- 'add_new' => __( 'Add New', 'blossomthemes-toolkit' ),
412
- 'new_item' => __( 'New '. $value['singular_name'], 'blossomthemes-toolkit' ),
413
- 'edit_item' => __( 'Edit '. $value['singular_name'], 'blossomthemes-toolkit' ),
414
- 'update_item' => __( 'Update '. $value['singular_name'], 'blossomthemes-toolkit' ),
415
- 'view_item' => __( 'View '. $value['singular_name'], 'blossomthemes-toolkit' ),
416
- 'view_items' => __( 'View '. $value['general_name'], 'blossomthemes-toolkit' ),
417
- 'search_items' => __( 'Search '. $value['singular_name'], 'blossomthemes-toolkit' ),
418
- 'not_found' => __( 'Not found', 'blossomthemes-toolkit' ),
419
- 'not_found_in_trash' => __( 'Not found in Trash', 'blossomthemes-toolkit' ),
420
- 'featured_image' => __( 'Featured Image', 'blossomthemes-toolkit' ),
421
- 'set_featured_image' => __( 'Set featured image', 'blossomthemes-toolkit' ),
422
- 'remove_featured_image' => __( 'Remove featured image', 'blossomthemes-toolkit' ),
423
- 'use_featured_image' => __( 'Use as featured image', 'blossomthemes-toolkit' ),
424
- 'insert_into_item' => __( 'Insert into '.$value['singular_name'], 'blossomthemes-toolkit' ),
425
- 'uploaded_to_this_item' => __( 'Uploaded to this '.$value['singular_name'], 'blossomthemes-toolkit' ),
426
- 'items_list' => __( $value['general_name'] .' list', 'blossomthemes-toolkit' ),
427
- 'items_list_navigation' => __( $value['general_name'] .' list navigation', 'blossomthemes-toolkit' ),
428
- 'filter_items_list' => __( 'Filter '. $value['general_name'] .'list', 'blossomthemes-toolkit' ),
429
- );
430
- $args = array(
431
- 'label' => __( $value['singular_name'].'', 'blossomthemes-toolkit' ),
432
- 'description' => __( $value['singular_name'].' Post Type', 'blossomthemes-toolkit' ),
433
- 'labels' => $labels,
434
- 'supports' => $value['supports'],
435
- 'hierarchical' => false,
436
- 'public' => true,
437
- 'show_ui' => true,
438
- 'show_in_menu' => true,
439
- 'show_in_rest' => $value['show_in_rest'],
440
- 'menu_icon' => $value['dashicon'],
441
- 'show_in_admin_bar' => true,
442
- 'show_in_nav_menus' => $value['show_in_nav_menus'],
443
- 'can_export' => true,
444
- 'has_archive' => $value['has_archive'],
445
- 'exclude_from_search' => $value['exclude_from_search'],
446
- 'publicly_queryable' => true,
447
- 'capability_type' => 'page',
448
- 'rewrite' => $value['rewrite'],
449
- );
450
- register_post_type( $key, $args );
451
- flush_rewrite_rules();
452
  }
453
  }
454
 
@@ -464,8 +474,8 @@ class Blossomthemes_Toolkit_Admin {
464
  if(isset($value['taxonomy']))
465
  {
466
  $labels = array(
467
- 'name' => _x( $value['singular_name'].' Categories', 'taxonomy general name', 'blossomthemes-toolkit' ),
468
- 'singular_name' => _x( $value['singular_name'].' Category', 'taxonomy singular name', 'blossomthemes-toolkit' ),
469
  'search_items' => __( 'Search Categories', 'blossomthemes-toolkit' ),
470
  'all_items' => __( 'All Categories', 'blossomthemes-toolkit' ),
471
  'parent_item' => __( 'Parent Categories', 'blossomthemes-toolkit' ),
@@ -474,7 +484,7 @@ class Blossomthemes_Toolkit_Admin {
474
  'update_item' => __( 'Update Categories', 'blossomthemes-toolkit' ),
475
  'add_new_item' => __( 'Add New Categories', 'blossomthemes-toolkit' ),
476
  'new_item_name' => __( 'New Categories Name', 'blossomthemes-toolkit' ),
477
- 'menu_name' => __( $value['singular_name'].' Categories', 'blossomthemes-toolkit' ),
478
  );
479
 
480
  $args = array(
169
  * Portfolio template added.
170
  */
171
  function wpte_add_portfolio_templates() {
172
+
173
+ // If REST_REQUEST is defined (by WordPress) and is a TRUE, then it's a REST API request.
174
+ $is_rest_route = (defined('REST_REQUEST') && REST_REQUEST);
175
+ if (
176
+ (is_admin() && !$is_rest_route) || // admin and AJAX (via admin-ajax.php) requests
177
+ (!is_admin() && $is_rest_route) // REST requests only
178
+ ) {
179
+ add_filter('theme_page_templates', array($this, 'bttk_filter_admin_page_templates'));
180
+ } else {
181
+ add_filter('page_template', array($this, 'bttk_get_portfolio_template'));
182
+ }
183
+
184
  }
185
 
186
  /**
379
 
380
  $posts = array(
381
  'blossom-portfolio' => array(
382
+ 'label' => __( 'Portfolio', 'blossomthemes-toolkit' ),
383
+ 'description' => __( 'Portfolio Post Type', 'blossomthemes-toolkit' ),
384
+ 'labels' => array(
385
+ 'name' => _x( 'Portfolios', 'Post Type General Name', 'blossomthemes-toolkit' ),
386
+ 'singular_name' => _x( 'Portfolio', 'Post Type Singular Name', 'blossomthemes-toolkit' ),
387
+ 'menu_name' => _x( 'Portfolios', 'admin menu', 'blossomthemes-toolkit' ),
388
+ 'name_admin_bar' => _x( 'Portfolio', 'add new on admin bar', 'blossomthemes-toolkit' ),
389
+ 'add_new' => _x( 'Add New', 'Portfolio', 'blossomthemes-toolkit' ),
390
+ 'add_new_item' => __( 'Add New Portfolio', 'blossomthemes-toolkit' ),
391
+ 'archives' => __( 'Portfolio Archives', 'blossomthemes-toolkit' ),
392
+ 'attributes' => __( 'Portfolio Attributes', 'blossomthemes-toolkit' ),
393
+ 'parent_item_colon' => __( 'Parent Portfolio:', 'blossomthemes-toolkit' ),
394
+ 'all_items' => __( 'All Portfolios', 'blossomthemes-toolkit' ),
395
+ 'new_item' => __( 'New Portfolio', 'blossomthemes-toolkit' ),
396
+ 'edit_item' => __( 'Edit Portfolio', 'blossomthemes-toolkit' ),
397
+ 'update_item' => __( 'Update Portfolio', 'blossomthemes-toolkit' ),
398
+ 'view_item' => __( 'View Portfolio', 'blossomthemes-toolkit' ),
399
+ 'view_items' => __( 'View Portfolios', 'blossomthemes-toolkit' ),
400
+ 'search_items' => __( 'Search Portfolio', 'blossomthemes-toolkit' ),
401
+ 'not_found' => __( 'Not found', 'blossomthemes-toolkit' ),
402
+ 'not_found_in_trash' => __( 'Not found in Trash', 'blossomthemes-toolkit' ),
403
+ 'featured_image' => __( 'Featured Image', 'blossomthemes-toolkit' ),
404
+ 'set_featured_image' => __( 'Set featured image', 'blossomthemes-toolkit' ),
405
+ 'remove_featured_image' => __( 'Remove featured image', 'blossomthemes-toolkit' ),
406
+ 'use_featured_image' => __( 'Use as featured image', 'blossomthemes-toolkit' ),
407
+ 'insert_into_item' => __( 'Insert into Portfolio', 'blossomthemes-toolkit' ),
408
+ 'uploaded_to_this_item' => __( 'Uploaded to this Portfolio', 'blossomthemes-toolkit' ),
409
+ 'items_list' => __( 'Portfolios list', 'blossomthemes-toolkit' ),
410
+ 'items_list_navigation' => __( 'Portfolios list navigation', 'blossomthemes-toolkit' ),
411
+ 'filter_items_list' => __( 'Filter Portfolios list', 'blossomthemes-toolkit' ),
412
+ ),
413
  'dashicon' => 'dashicons-portfolio',
414
  'taxonomy' => 'blossom_portfolio_categories',
415
  'taxonomy_slug' => 'portfolio-category',
418
  'show_in_nav_menus' => true,
419
  'show_in_rest' => true,
420
  'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt' ),
421
+ 'rewrite' => array( 'slug' => 'portfolio' ),
422
+ 'tax_general_name' => _x( 'Portfolios Categories', 'taxonomy general name', 'blossomthemes-toolkit' ),
423
+ 'tax_singular_name' => _x( 'Portfolio Category', 'taxonomy singular name', 'blossomthemes-toolkit' ),
424
+ 'tax_menu_name' => __( 'Portfolios Categories', 'blossomthemes-toolkit')
425
  ),
426
  );
427
  $posts = apply_filters( 'bttk_get_posttype_array', $posts );
436
  function bttk_register_post_types() {
437
  $myarray = $this->bttk_get_posttype_array();
438
  foreach ($myarray as $key => $value) {
439
+
440
+ $args = array(
441
+ 'label' => $value['label'],
442
+ 'description' => $value['description'],
443
+ 'labels' => $value['labels'],
444
+ 'supports' => $value['supports'],
445
+ 'hierarchical' => false,
446
+ 'public' => true,
447
+ 'show_ui' => true,
448
+ 'show_in_menu' => true,
449
+ 'show_in_rest' => $value['show_in_rest'],
450
+ 'menu_icon' => $value['dashicon'],
451
+ 'show_in_admin_bar' => true,
452
+ 'show_in_nav_menus' => $value['show_in_nav_menus'],
453
+ 'can_export' => true,
454
+ 'has_archive' => $value['has_archive'],
455
+ 'exclude_from_search' => $value['exclude_from_search'],
456
+ 'publicly_queryable' => true,
457
+ 'capability_type' => 'page',
458
+ 'rewrite' => $value['rewrite'],
459
+ );
460
+ register_post_type( $key, $args );
461
+ flush_rewrite_rules();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
462
  }
463
  }
464
 
474
  if(isset($value['taxonomy']))
475
  {
476
  $labels = array(
477
+ 'name' => $value['tax_general_name'],
478
+ 'singular_name' => $value['tax_singular_name'],
479
  'search_items' => __( 'Search Categories', 'blossomthemes-toolkit' ),
480
  'all_items' => __( 'All Categories', 'blossomthemes-toolkit' ),
481
  'parent_item' => __( 'Parent Categories', 'blossomthemes-toolkit' ),
484
  'update_item' => __( 'Update Categories', 'blossomthemes-toolkit' ),
485
  'add_new_item' => __( 'Add New Categories', 'blossomthemes-toolkit' ),
486
  'new_item_name' => __( 'New Categories Name', 'blossomthemes-toolkit' ),
487
+ 'menu_name' => $value['tax_menu_name'],
488
  );
489
 
490
  $args = array(
admin/js/blossomthemes-toolkit-admin.js CHANGED
@@ -2,7 +2,11 @@ jQuery(document).ready(function($){
2
  $('body').on('click', '#add-faq:visible', function(e) {
3
  e.preventDefault();
4
  da = $(this).siblings('.widget-client-faq-repeater').attr('id');
5
- suffix = da.match(/\d+/);
 
 
 
 
6
  len=0;
7
  $( '.faqs-repeat:visible' ).each(function() {
8
  var value = $(this).attr( 'data-id' );
@@ -304,7 +308,11 @@ jQuery(document).ready(function($){
304
  $('body').on('click', '#add-user-socicon', function (e){
305
  e.preventDefault();
306
  da = $(this).siblings('.bttk-sortable-icons').attr('id');
307
- suffix = da.match(/\d+/);
 
 
 
 
308
  var maximum=0;
309
  $( '.social-share-list' ).each(function() {
310
  var value = $(this).attr( 'data-id' );
@@ -331,7 +339,11 @@ jQuery(document).ready(function($){
331
  $('body').on('click', '.bttk-social-add', function(e) {
332
  e.preventDefault();
333
  da = $(this).siblings('.bttk-sortable-links').attr('id');
334
- suffix = da.match(/\d+/);
 
 
 
 
335
  var maximum=0;
336
  $( '.bttk-social-icon-wrap:visible' ).each(function() {
337
  var value = $(this).attr( 'data-id' );
@@ -380,7 +392,11 @@ jQuery(document).ready(function($){
380
  $('body').on('click', '.bttk-contact-social-add:visible', function(e) {
381
  e.preventDefault();
382
  da = $(this).siblings('.bttk-contact-sortable-links').attr('id');
383
- suffix = da.match(/\d+/);
 
 
 
 
384
  var maximum=0;
385
  $( '.bttk-contact-social-icon-wrap:visible' ).each(function() {
386
  var value = $(this).attr( 'data-id' );
@@ -422,7 +438,11 @@ jQuery(document).ready(function($){
422
  $('body').on('click', '.bttk-itw-add', function(e) {
423
  e.preventDefault();
424
  da = $(this).siblings('.bttk-img-text-outer').attr('id');
425
- suffix = da.match(/\d+/);
 
 
 
 
426
  var maximum=0;
427
  $( '.image-text-widget-wrap:visible' ).each(function() {
428
  var value = $(this).attr( 'data-id' );
@@ -474,7 +494,11 @@ jQuery(document).ready(function($){
474
  $('body').on('click', '.add-logo:visible', function(e) {
475
  e.preventDefault();
476
  da = $(this).siblings('.widget-client-logo-repeater').attr('id');
477
- suffix = da.match(/\d+/);
 
 
 
 
478
  var len = $('.link-image-repeat:visible').length;
479
  len++;
480
  var newinput = $('.bttk-client-logo-template').clone();
2
  $('body').on('click', '#add-faq:visible', function(e) {
3
  e.preventDefault();
4
  da = $(this).siblings('.widget-client-faq-repeater').attr('id');
5
+ if( $('body').hasClass('elementor-editor-active') ){
6
+ suffix = 'REPLACE_TO_ID';
7
+ }else{
8
+ suffix = da.match(/\d+/);
9
+ }
10
  len=0;
11
  $( '.faqs-repeat:visible' ).each(function() {
12
  var value = $(this).attr( 'data-id' );
308
  $('body').on('click', '#add-user-socicon', function (e){
309
  e.preventDefault();
310
  da = $(this).siblings('.bttk-sortable-icons').attr('id');
311
+ if( $('body').hasClass('elementor-editor-active') ){
312
+ suffix = 'REPLACE_TO_ID';
313
+ }else{
314
+ suffix = da.match(/\d+/);
315
+ }
316
  var maximum=0;
317
  $( '.social-share-list' ).each(function() {
318
  var value = $(this).attr( 'data-id' );
339
  $('body').on('click', '.bttk-social-add', function(e) {
340
  e.preventDefault();
341
  da = $(this).siblings('.bttk-sortable-links').attr('id');
342
+ if( $('body').hasClass('elementor-editor-active') ){
343
+ suffix = 'REPLACE_TO_ID';
344
+ }else{
345
+ suffix = da.match(/\d+/);
346
+ }
347
  var maximum=0;
348
  $( '.bttk-social-icon-wrap:visible' ).each(function() {
349
  var value = $(this).attr( 'data-id' );
392
  $('body').on('click', '.bttk-contact-social-add:visible', function(e) {
393
  e.preventDefault();
394
  da = $(this).siblings('.bttk-contact-sortable-links').attr('id');
395
+ if( $('body').hasClass('elementor-editor-active') ){
396
+ suffix = 'REPLACE_TO_ID';
397
+ }else{
398
+ suffix = da.match(/\d+/);
399
+ }
400
  var maximum=0;
401
  $( '.bttk-contact-social-icon-wrap:visible' ).each(function() {
402
  var value = $(this).attr( 'data-id' );
438
  $('body').on('click', '.bttk-itw-add', function(e) {
439
  e.preventDefault();
440
  da = $(this).siblings('.bttk-img-text-outer').attr('id');
441
+ if( $('body').hasClass('elementor-editor-active') ){
442
+ suffix = 'REPLACE_TO_ID';
443
+ }else{
444
+ suffix = da.match(/\d+/);
445
+ }
446
  var maximum=0;
447
  $( '.image-text-widget-wrap:visible' ).each(function() {
448
  var value = $(this).attr( 'data-id' );
494
  $('body').on('click', '.add-logo:visible', function(e) {
495
  e.preventDefault();
496
  da = $(this).siblings('.widget-client-logo-repeater').attr('id');
497
+ if( $('body').hasClass('elementor-editor-active') ){
498
+ suffix = 'REPLACE_TO_ID';
499
+ }else{
500
+ suffix = da.match(/\d+/);
501
+ }
502
  var len = $('.link-image-repeat:visible').length;
503
  len++;
504
  var newinput = $('.bttk-client-logo-template').clone();
blossomthemes-toolkit.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: BlossomThemes Toolkit
17
  * Plugin URI: https://wordpress.org/plugins/blossomthemes-toolkit/
18
  * Description: BlossomThemes Toolkit provides you necessary widgets for better and effective blogging.
19
- * Version: 2.1.5
20
  * Author: blossomthemes
21
  * Author URI: https://blossomthemes.com/
22
  * License: GPL-2.0+
@@ -30,7 +30,7 @@ if ( ! defined( 'WPINC' ) ) {
30
  die;
31
  }
32
 
33
- define( 'BTTK_PLUGIN_VERSION', '2.1.5' );
34
  define( 'BTTK_BASE_PATH', dirname( __FILE__ ) );
35
  define( 'BTTK_FILE_PATH', __FILE__ );
36
  define( 'BTTK_FILE_URL', rtrim( plugin_dir_url( __FILE__ ), '/' ) );
16
  * Plugin Name: BlossomThemes Toolkit
17
  * Plugin URI: https://wordpress.org/plugins/blossomthemes-toolkit/
18
  * Description: BlossomThemes Toolkit provides you necessary widgets for better and effective blogging.
19
+ * Version: 2.1.7
20
  * Author: blossomthemes
21
  * Author URI: https://blossomthemes.com/
22
  * License: GPL-2.0+
30
  die;
31
  }
32
 
33
+ define( 'BTTK_PLUGIN_VERSION', '2.1.7' );
34
  define( 'BTTK_BASE_PATH', dirname( __FILE__ ) );
35
  define( 'BTTK_FILE_PATH', __FILE__ );
36
  define( 'BTTK_FILE_URL', rtrim( plugin_dir_url( __FILE__ ), '/' ) );
includes/class-blossomthemes-toolkit.php CHANGED
@@ -291,6 +291,7 @@ class Blossomthemes_Toolkit {
291
  $this->loader->add_action( 'init', $plugin_admin, 'bttk_register_post_types' );
292
  $this->loader->add_action( 'init', $plugin_admin,'bttk_create_post_type_taxonomies', 0 );
293
  $this->loader->add_action( 'wp_loaded', $plugin_admin, 'wpte_add_portfolio_templates' );
 
294
  $this->loader->add_filter( 'template_include', $plugin_admin, 'bttk_include_template_function' );
295
  }
296
 
291
  $this->loader->add_action( 'init', $plugin_admin, 'bttk_register_post_types' );
292
  $this->loader->add_action( 'init', $plugin_admin,'bttk_create_post_type_taxonomies', 0 );
293
  $this->loader->add_action( 'wp_loaded', $plugin_admin, 'wpte_add_portfolio_templates' );
294
+ $this->loader->add_action( 'rest_api_init', $plugin_admin, 'wpte_add_portfolio_templates' );
295
  $this->loader->add_filter( 'template_include', $plugin_admin, 'bttk_include_template_function' );
296
  }
297
 
includes/widgets/widget-author-bio.php CHANGED
@@ -462,7 +462,7 @@ class Bttk_Author_Bio extends WP_Widget {
462
  $email = get_option('admin_email');
463
 
464
  $instance['title'] = ! empty( $new_instance['title'] ) ? sanitize_text_field( $new_instance['title'] ) : '';
465
- $instance['target'] = $new_instance['target'];
466
  $instance['name'] = ! empty( $new_instance['name'] ) ? sanitize_text_field( $new_instance['name'] ) : '';
467
  $instance['email'] = ! empty( $new_instance['email'] ) ? sanitize_text_field( $new_instance['email'] ) : $email;
468
  $instance['content'] = ! empty( $new_instance['content'] ) ? wp_kses_post( $new_instance['content'] ) : '';
462
  $email = get_option('admin_email');
463
 
464
  $instance['title'] = ! empty( $new_instance['title'] ) ? sanitize_text_field( $new_instance['title'] ) : '';
465
+ $instance['target'] = ! empty( $new_instance['target'] ) ? esc_attr( $new_instance['target'] ) : '';
466
  $instance['name'] = ! empty( $new_instance['name'] ) ? sanitize_text_field( $new_instance['name'] ) : '';
467
  $instance['email'] = ! empty( $new_instance['email'] ) ? sanitize_text_field( $new_instance['email'] ) : $email;
468
  $instance['content'] = ! empty( $new_instance['content'] ) ? wp_kses_post( $new_instance['content'] ) : '';
includes/widgets/widget-client-logo.php CHANGED
@@ -191,11 +191,20 @@ class Blossom_Client_Logo_Widget extends WP_Widget {
191
  $instance['display_bw'] = ! empty( $new_instance['display_bw'] ) ? esc_attr( $new_instance['display_bw'] ) : '' ;
192
  $instance['target'] = ! empty( $new_instance['target'] ) ? esc_attr( $new_instance['target'] ) : '';
193
 
194
- foreach ( $new_instance['image'] as $key => $value ) {
195
- $instance['image'][$key] = $value;
 
 
 
 
196
  }
197
- foreach ( $new_instance['link'] as $key => $value ) {
198
- $instance['link'][$key] = $value;
 
 
 
 
 
199
  }
200
 
201
  return $instance;
191
  $instance['display_bw'] = ! empty( $new_instance['display_bw'] ) ? esc_attr( $new_instance['display_bw'] ) : '' ;
192
  $instance['target'] = ! empty( $new_instance['target'] ) ? esc_attr( $new_instance['target'] ) : '';
193
 
194
+ if(isset($new_instance['image'])) {
195
+ if( count( array_filter( $new_instance['image'] ) ) != 0 ) {
196
+ foreach ( $new_instance['image'] as $key => $value ) {
197
+ $instance['image'][$key] = $value;
198
+ }
199
+ }
200
  }
201
+
202
+ if(isset($new_instance['link'])){
203
+ if( count( array_filter( $new_instance['link'] ) ) != 0 ){
204
+ foreach ( $new_instance['link'] as $key => $value ) {
205
+ $instance['link'][$key] = $value;
206
+ }
207
+ }
208
  }
209
 
210
  return $instance;
includes/widgets/widget-contact.php CHANGED
@@ -101,15 +101,18 @@ class Bttk_Contact_Social_Links extends WP_Widget {
101
 
102
  if( $telephone || $email || $address ){
103
  echo '<ul class="contact-list">';
104
- if( $telephone != '' )
105
  $telephone_class = apply_filters( 'bttk_telephone_class', '<i class="fa fa-phone"></i>' );
106
  echo '<li>'.$telephone_class.'<a href="' . esc_url( 'tel:' . preg_replace( '/\D/', '', $telephone ) ) . '">' . esc_html( $telephone ) . '</a></li>';
107
- if( $email !='' )
 
108
  $email_class = apply_filters( 'bttk_email_class', '<i class="fa fa-envelope"></i>' );
109
  echo '<li>'.$email_class.'<a href="' . esc_url( 'mailto:' . sanitize_email( $email ) ) . '">' . esc_html( $email ) . '</a></li>';
110
- if( $address !='' )
 
111
  $address_class = apply_filters( 'bttk_address_class', '<i class="fa fa-map-marker"></i>' );
112
  echo '<li>'.$address_class. esc_html( $address ) . '</li>';
 
113
  echo '</ul>';
114
  }
115
 
101
 
102
  if( $telephone || $email || $address ){
103
  echo '<ul class="contact-list">';
104
+ if( $telephone != '' ) {
105
  $telephone_class = apply_filters( 'bttk_telephone_class', '<i class="fa fa-phone"></i>' );
106
  echo '<li>'.$telephone_class.'<a href="' . esc_url( 'tel:' . preg_replace( '/\D/', '', $telephone ) ) . '">' . esc_html( $telephone ) . '</a></li>';
107
+ }
108
+ if( $email !='' ) {
109
  $email_class = apply_filters( 'bttk_email_class', '<i class="fa fa-envelope"></i>' );
110
  echo '<li>'.$email_class.'<a href="' . esc_url( 'mailto:' . sanitize_email( $email ) ) . '">' . esc_html( $email ) . '</a></li>';
111
+ }
112
+ if( $address !='' ) {
113
  $address_class = apply_filters( 'bttk_address_class', '<i class="fa fa-map-marker"></i>' );
114
  echo '<li>'.$address_class. esc_html( $address ) . '</li>';
115
+ }
116
  echo '</ul>';
117
  }
118
 
includes/widgets/widget-posts-category-slider.php CHANGED
@@ -25,7 +25,7 @@ class bttk_posts_category_slider_widget extends WP_Widget {
25
  // Creating widget front-end
26
  public function widget( $args, $instance ) {
27
 
28
- if ( is_active_widget( false, false, $this->id_base, true ) ) {
29
 
30
  wp_enqueue_style( 'owl-carousel', BTTK_FILE_URL . '/public/css/owl.carousel.min.css', array(), '2.2.1', 'all' );
31
  wp_enqueue_style( 'owl-theme-default', BTTK_FILE_URL . '/public/css/owl.theme.default.min.css', array(), '2.2.1', 'all' );
25
  // Creating widget front-end
26
  public function widget( $args, $instance ) {
27
 
28
+ if ( is_active_widget( false, false, $this->id_base, true ) || class_exists( 'Elementor\\Plugin' ) ) {
29
 
30
  wp_enqueue_style( 'owl-carousel', BTTK_FILE_URL . '/public/css/owl.carousel.min.css', array(), '2.2.1', 'all' );
31
  wp_enqueue_style( 'owl-theme-default', BTTK_FILE_URL . '/public/css/owl.theme.default.min.css', array(), '2.2.1', 'all' );
includes/widgets/widget-stat-counter.php CHANGED
@@ -38,7 +38,7 @@ class BlossomThemes_Toolkit_Stat_Counter_Widget extends WP_Widget {
38
  */
39
  public function widget( $args, $instance ) {
40
 
41
- if ( is_active_widget( false, false, $this->id_base, true ) ) {
42
 
43
  wp_enqueue_script( 'odometer', BTTK_FILE_URL . '/public/js/odometer.min.js', array( 'jquery' ), '0.4.6', false );
44
  wp_enqueue_script( 'waypoint', BTTK_FILE_URL . '/public/js/waypoint.min.js', array( 'jquery' ), '2.0.3', false );
@@ -174,10 +174,10 @@ class BlossomThemes_Toolkit_Stat_Counter_Widget extends WP_Widget {
174
  public function update( $new_instance, $old_instance ) {
175
  $instance = array();
176
 
177
- $instance['title'] = sanitize_text_field( $new_instance['title'] );
178
- $instance['counter'] = absint( $new_instance['counter'] );
179
- $instance['icon'] = esc_attr( $new_instance['icon'] );
180
- $instance['show_comma'] = absint( $new_instance['show_comma'] );
181
 
182
  return $instance;
183
  }
38
  */
39
  public function widget( $args, $instance ) {
40
 
41
+ if ( is_active_widget( false, false, $this->id_base, true ) || class_exists( 'Elementor\\Plugin' ) ) {
42
 
43
  wp_enqueue_script( 'odometer', BTTK_FILE_URL . '/public/js/odometer.min.js', array( 'jquery' ), '0.4.6', false );
44
  wp_enqueue_script( 'waypoint', BTTK_FILE_URL . '/public/js/waypoint.min.js', array( 'jquery' ), '2.0.3', false );
174
  public function update( $new_instance, $old_instance ) {
175
  $instance = array();
176
 
177
+ $instance['title'] = ! empty( $new_instance['title'] ) ? sanitize_text_field( $new_instance['title'] ) : '' ;
178
+ $instance['counter'] = ! empty( $new_instance['counter'] ) ? absint( $new_instance['counter'] ) : '';
179
+ $instance['icon'] = ! empty( $new_instance['icon'] ) ? esc_attr( $new_instance['icon'] ) : '';
180
+ $instance['show_comma'] = ! empty( $new_instance['show_comma'] ) ? absint( $new_instance['show_comma'] ) : '';
181
 
182
  return $instance;
183
  }
includes/widgets/widget-twitter-feeds.php CHANGED
@@ -196,8 +196,6 @@ class Bttk_Twitter_Feeds_Widget extends WP_Widget {
196
  $instance['tweetstoshow'] = ! empty( $new_instance['tweetstoshow'] ) ? absint( $new_instance['tweetstoshow'] ) : 3;
197
  $instance['theme'] = isset($new_instance['theme']) ? esc_attr($new_instance['theme']):'light';
198
 
199
- if( $old_instance['username'] != $new_instance['username'] ) delete_option( 'bttk_last_cache_time' );
200
-
201
  return $instance;
202
  }
203
  }
196
  $instance['tweetstoshow'] = ! empty( $new_instance['tweetstoshow'] ) ? absint( $new_instance['tweetstoshow'] ) : 3;
197
  $instance['theme'] = isset($new_instance['theme']) ? esc_attr($new_instance['theme']):'light';
198
 
 
 
199
  return $instance;
200
  }
201
  }
languages/blossomthemes-toolkit.pot CHANGED
@@ -1,14 +1,14 @@
1
- # Copyright (C) 2019 blossomthemes
2
  # This file is distributed under the GPL-2.0+.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: BlossomThemes Toolkit 2.1.5\n"
6
  "Report-Msgid-Bugs-To: \n"
7
- "POT-Creation-Date: 2019-11-18 11:33:13+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: WP Travel Engine\n"
13
  "Language-Team: \n"
14
  "X-Poedit-KeywordsList: "
@@ -50,23 +50,23 @@ msgstr ""
50
  msgid "Portfolio Template"
51
  msgstr ""
52
 
53
- #: admin/class-blossomthemes-toolkit-admin.php:202
54
- #: admin/class-blossomthemes-toolkit-admin.php:231
55
  msgid "Image"
56
  msgstr ""
57
 
58
- #: admin/class-blossomthemes-toolkit-admin.php:206
59
- #: admin/class-blossomthemes-toolkit-admin.php:242
60
  msgid "Add Image"
61
  msgstr ""
62
 
63
- #: admin/class-blossomthemes-toolkit-admin.php:207
64
- #: admin/class-blossomthemes-toolkit-admin.php:243
65
  #: includes/class-blossomthemes-toolkit-functions.php:135
66
  msgid "Remove Image"
67
  msgstr ""
68
 
69
- #: admin/class-blossomthemes-toolkit-admin.php:337
70
  #: includes/widgets/widget-advertisement.php:129
71
  #: includes/widgets/widget-client-logo.php:159
72
  #: includes/widgets/widget-cta.php:256
@@ -77,7 +77,7 @@ msgstr ""
77
  msgid "Upload Image"
78
  msgstr ""
79
 
80
- #: admin/class-blossomthemes-toolkit-admin.php:343
81
  #: includes/widgets/widget-advertisement.php:137
82
  #: includes/widgets/widget-client-logo.php:162
83
  #: includes/widgets/widget-image-text.php:44
@@ -85,71 +85,143 @@ msgstr ""
85
  msgid "Featured Link"
86
  msgstr ""
87
 
88
- #: admin/class-blossomthemes-toolkit-admin.php:357
89
  msgid "Question"
90
  msgstr ""
91
 
92
- #: admin/class-blossomthemes-toolkit-admin.php:359
93
  msgid "Answer"
94
  msgstr ""
95
 
96
- #: admin/class-blossomthemes-toolkit-admin.php:411
97
- msgid "Add New"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
98
  msgstr ""
99
 
100
- #: admin/class-blossomthemes-toolkit-admin.php:418
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
  msgid "Not found"
102
  msgstr ""
103
 
104
- #: admin/class-blossomthemes-toolkit-admin.php:419
105
  msgid "Not found in Trash"
106
  msgstr ""
107
 
108
- #: admin/class-blossomthemes-toolkit-admin.php:420
109
  msgid "Featured Image"
110
  msgstr ""
111
 
112
- #: admin/class-blossomthemes-toolkit-admin.php:421
113
  msgid "Set featured image"
114
  msgstr ""
115
 
116
- #: admin/class-blossomthemes-toolkit-admin.php:422
117
  msgid "Remove featured image"
118
  msgstr ""
119
 
120
- #: admin/class-blossomthemes-toolkit-admin.php:423
121
  msgid "Use as featured image"
122
  msgstr ""
123
 
124
- #: admin/class-blossomthemes-toolkit-admin.php:469
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
125
  msgid "Search Categories"
126
  msgstr ""
127
 
128
- #: admin/class-blossomthemes-toolkit-admin.php:470
129
  msgid "All Categories"
130
  msgstr ""
131
 
132
- #: admin/class-blossomthemes-toolkit-admin.php:471
133
  msgid "Parent Categories"
134
  msgstr ""
135
 
136
- #: admin/class-blossomthemes-toolkit-admin.php:472
137
  msgid "Parent Categories:"
138
  msgstr ""
139
 
140
- #: admin/class-blossomthemes-toolkit-admin.php:473
141
  msgid "Edit Categories"
142
  msgstr ""
143
 
144
- #: admin/class-blossomthemes-toolkit-admin.php:474
145
  msgid "Update Categories"
146
  msgstr ""
147
 
148
- #: admin/class-blossomthemes-toolkit-admin.php:475
149
  msgid "Add New Categories"
150
  msgstr ""
151
 
152
- #: admin/class-blossomthemes-toolkit-admin.php:476
153
  msgid "New Categories Name"
154
  msgstr ""
155
 
@@ -180,7 +252,7 @@ msgstr ""
180
  #: includes/widgets/widget-advertisement.php:117
181
  #: includes/widgets/widget-author-bio.php:338
182
  #: includes/widgets/widget-client-logo.php:137
183
- #: includes/widgets/widget-contact.php:239 includes/widgets/widget-cta.php:192
184
  #: includes/widgets/widget-facebook-page.php:107
185
  #: includes/widgets/widget-icon-text.php:112
186
  #: includes/widgets/widget-image-text.php:153
@@ -227,7 +299,7 @@ msgstr ""
227
  #: includes/widgets/widget-author-bio.php:100
228
  #: includes/widgets/widget-author-bio.php:428
229
  #: includes/widgets/widget-contact.php:60
230
- #: includes/widgets/widget-contact.php:298
231
  #: includes/widgets/widget-socialmedia.php:60
232
  #: includes/widgets/widget-socialmedia.php:248
233
  msgid "Social Icon"
@@ -242,7 +314,7 @@ msgstr ""
242
  #: includes/widgets/widget-author-bio.php:103
243
  #: includes/widgets/widget-author-bio.php:431
244
  #: includes/widgets/widget-contact.php:63
245
- #: includes/widgets/widget-contact.php:301
246
  #: includes/widgets/widget-socialmedia.php:63
247
  #: includes/widgets/widget-socialmedia.php:251
248
  msgid "Link"
@@ -275,7 +347,7 @@ msgid ""
275
  msgstr ""
276
 
277
  #: includes/widgets/widget-author-bio.php:364
278
- #: includes/widgets/widget-contact.php:244 includes/widgets/widget-cta.php:197
279
  #: includes/widgets/widget-icon-text.php:117
280
  #: includes/widgets/widget-team-member.php:190
281
  msgid "Description"
@@ -318,7 +390,7 @@ msgid "Add Social Profile"
318
  msgstr ""
319
 
320
  #: includes/widgets/widget-author-bio.php:446
321
- #: includes/widgets/widget-contact.php:317
322
  #: includes/widgets/widget-socialmedia.php:267
323
  msgid ""
324
  "Click on the above button to add social media icons. You can also change "
@@ -349,23 +421,23 @@ msgstr ""
349
  msgid "A Contact Widget"
350
  msgstr ""
351
 
352
- #: includes/widgets/widget-contact.php:249
353
  msgid "Telephone"
354
  msgstr ""
355
 
356
- #: includes/widgets/widget-contact.php:254
357
  msgid "Email"
358
  msgstr ""
359
 
360
- #: includes/widgets/widget-contact.php:259
361
  msgid "Address"
362
  msgstr ""
363
 
364
- #: includes/widgets/widget-contact.php:266
365
  msgid "Open Social Links in New Tab"
366
  msgstr ""
367
 
368
- #: includes/widgets/widget-contact.php:316
369
  #: includes/widgets/widget-socialmedia.php:266
370
  msgid "Add Social Icon"
371
  msgstr ""
@@ -928,4 +1000,39 @@ msgstr ""
928
 
929
  #. Author URI of the plugin/theme
930
  msgid "https://blossomthemes.com/"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
931
  msgstr ""
1
+ # Copyright (C) 2020 blossomthemes
2
  # This file is distributed under the GPL-2.0+.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: BlossomThemes Toolkit 2.1.7\n"
6
  "Report-Msgid-Bugs-To: \n"
7
+ "POT-Creation-Date: 2020-05-03 10:54:31+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: WP Travel Engine\n"
13
  "Language-Team: \n"
14
  "X-Poedit-KeywordsList: "
50
  msgid "Portfolio Template"
51
  msgstr ""
52
 
53
+ #: admin/class-blossomthemes-toolkit-admin.php:208
54
+ #: admin/class-blossomthemes-toolkit-admin.php:237
55
  msgid "Image"
56
  msgstr ""
57
 
58
+ #: admin/class-blossomthemes-toolkit-admin.php:212
59
+ #: admin/class-blossomthemes-toolkit-admin.php:248
60
  msgid "Add Image"
61
  msgstr ""
62
 
63
+ #: admin/class-blossomthemes-toolkit-admin.php:213
64
+ #: admin/class-blossomthemes-toolkit-admin.php:249
65
  #: includes/class-blossomthemes-toolkit-functions.php:135
66
  msgid "Remove Image"
67
  msgstr ""
68
 
69
+ #: admin/class-blossomthemes-toolkit-admin.php:343
70
  #: includes/widgets/widget-advertisement.php:129
71
  #: includes/widgets/widget-client-logo.php:159
72
  #: includes/widgets/widget-cta.php:256
77
  msgid "Upload Image"
78
  msgstr ""
79
 
80
+ #: admin/class-blossomthemes-toolkit-admin.php:349
81
  #: includes/widgets/widget-advertisement.php:137
82
  #: includes/widgets/widget-client-logo.php:162
83
  #: includes/widgets/widget-image-text.php:44
85
  msgid "Featured Link"
86
  msgstr ""
87
 
88
+ #: admin/class-blossomthemes-toolkit-admin.php:363
89
  msgid "Question"
90
  msgstr ""
91
 
92
+ #: admin/class-blossomthemes-toolkit-admin.php:365
93
  msgid "Answer"
94
  msgstr ""
95
 
96
+ #: admin/class-blossomthemes-toolkit-admin.php:382
97
+ msgid "Portfolio"
98
+ msgstr ""
99
+
100
+ #: admin/class-blossomthemes-toolkit-admin.php:383
101
+ msgid "Portfolio Post Type"
102
+ msgstr ""
103
+
104
+ #: admin/class-blossomthemes-toolkit-admin.php:390
105
+ msgid "Add New Portfolio"
106
+ msgstr ""
107
+
108
+ #: admin/class-blossomthemes-toolkit-admin.php:391
109
+ msgid "Portfolio Archives"
110
+ msgstr ""
111
+
112
+ #: admin/class-blossomthemes-toolkit-admin.php:392
113
+ msgid "Portfolio Attributes"
114
+ msgstr ""
115
+
116
+ #: admin/class-blossomthemes-toolkit-admin.php:393
117
+ msgid "Parent Portfolio:"
118
+ msgstr ""
119
+
120
+ #: admin/class-blossomthemes-toolkit-admin.php:394
121
+ msgid "All Portfolios"
122
  msgstr ""
123
 
124
+ #: admin/class-blossomthemes-toolkit-admin.php:395
125
+ msgid "New Portfolio"
126
+ msgstr ""
127
+
128
+ #: admin/class-blossomthemes-toolkit-admin.php:396
129
+ msgid "Edit Portfolio"
130
+ msgstr ""
131
+
132
+ #: admin/class-blossomthemes-toolkit-admin.php:397
133
+ msgid "Update Portfolio"
134
+ msgstr ""
135
+
136
+ #: admin/class-blossomthemes-toolkit-admin.php:398
137
+ msgid "View Portfolio"
138
+ msgstr ""
139
+
140
+ #: admin/class-blossomthemes-toolkit-admin.php:399
141
+ msgid "View Portfolios"
142
+ msgstr ""
143
+
144
+ #: admin/class-blossomthemes-toolkit-admin.php:400
145
+ msgid "Search Portfolio"
146
+ msgstr ""
147
+
148
+ #: admin/class-blossomthemes-toolkit-admin.php:401
149
  msgid "Not found"
150
  msgstr ""
151
 
152
+ #: admin/class-blossomthemes-toolkit-admin.php:402
153
  msgid "Not found in Trash"
154
  msgstr ""
155
 
156
+ #: admin/class-blossomthemes-toolkit-admin.php:403
157
  msgid "Featured Image"
158
  msgstr ""
159
 
160
+ #: admin/class-blossomthemes-toolkit-admin.php:404
161
  msgid "Set featured image"
162
  msgstr ""
163
 
164
+ #: admin/class-blossomthemes-toolkit-admin.php:405
165
  msgid "Remove featured image"
166
  msgstr ""
167
 
168
+ #: admin/class-blossomthemes-toolkit-admin.php:406
169
  msgid "Use as featured image"
170
  msgstr ""
171
 
172
+ #: admin/class-blossomthemes-toolkit-admin.php:407
173
+ msgid "Insert into Portfolio"
174
+ msgstr ""
175
+
176
+ #: admin/class-blossomthemes-toolkit-admin.php:408
177
+ msgid "Uploaded to this Portfolio"
178
+ msgstr ""
179
+
180
+ #: admin/class-blossomthemes-toolkit-admin.php:409
181
+ msgid "Portfolios list"
182
+ msgstr ""
183
+
184
+ #: admin/class-blossomthemes-toolkit-admin.php:410
185
+ msgid "Portfolios list navigation"
186
+ msgstr ""
187
+
188
+ #: admin/class-blossomthemes-toolkit-admin.php:411
189
+ msgid "Filter Portfolios list"
190
+ msgstr ""
191
+
192
+ #: admin/class-blossomthemes-toolkit-admin.php:424
193
+ msgid "Portfolios Categories"
194
+ msgstr ""
195
+
196
+ #: admin/class-blossomthemes-toolkit-admin.php:479
197
  msgid "Search Categories"
198
  msgstr ""
199
 
200
+ #: admin/class-blossomthemes-toolkit-admin.php:480
201
  msgid "All Categories"
202
  msgstr ""
203
 
204
+ #: admin/class-blossomthemes-toolkit-admin.php:481
205
  msgid "Parent Categories"
206
  msgstr ""
207
 
208
+ #: admin/class-blossomthemes-toolkit-admin.php:482
209
  msgid "Parent Categories:"
210
  msgstr ""
211
 
212
+ #: admin/class-blossomthemes-toolkit-admin.php:483
213
  msgid "Edit Categories"
214
  msgstr ""
215
 
216
+ #: admin/class-blossomthemes-toolkit-admin.php:484
217
  msgid "Update Categories"
218
  msgstr ""
219
 
220
+ #: admin/class-blossomthemes-toolkit-admin.php:485
221
  msgid "Add New Categories"
222
  msgstr ""
223
 
224
+ #: admin/class-blossomthemes-toolkit-admin.php:486
225
  msgid "New Categories Name"
226
  msgstr ""
227
 
252
  #: includes/widgets/widget-advertisement.php:117
253
  #: includes/widgets/widget-author-bio.php:338
254
  #: includes/widgets/widget-client-logo.php:137
255
+ #: includes/widgets/widget-contact.php:242 includes/widgets/widget-cta.php:192
256
  #: includes/widgets/widget-facebook-page.php:107
257
  #: includes/widgets/widget-icon-text.php:112
258
  #: includes/widgets/widget-image-text.php:153
299
  #: includes/widgets/widget-author-bio.php:100
300
  #: includes/widgets/widget-author-bio.php:428
301
  #: includes/widgets/widget-contact.php:60
302
+ #: includes/widgets/widget-contact.php:301
303
  #: includes/widgets/widget-socialmedia.php:60
304
  #: includes/widgets/widget-socialmedia.php:248
305
  msgid "Social Icon"
314
  #: includes/widgets/widget-author-bio.php:103
315
  #: includes/widgets/widget-author-bio.php:431
316
  #: includes/widgets/widget-contact.php:63
317
+ #: includes/widgets/widget-contact.php:304
318
  #: includes/widgets/widget-socialmedia.php:63
319
  #: includes/widgets/widget-socialmedia.php:251
320
  msgid "Link"
347
  msgstr ""
348
 
349
  #: includes/widgets/widget-author-bio.php:364
350
+ #: includes/widgets/widget-contact.php:247 includes/widgets/widget-cta.php:197
351
  #: includes/widgets/widget-icon-text.php:117
352
  #: includes/widgets/widget-team-member.php:190
353
  msgid "Description"
390
  msgstr ""
391
 
392
  #: includes/widgets/widget-author-bio.php:446
393
+ #: includes/widgets/widget-contact.php:320
394
  #: includes/widgets/widget-socialmedia.php:267
395
  msgid ""
396
  "Click on the above button to add social media icons. You can also change "
421
  msgid "A Contact Widget"
422
  msgstr ""
423
 
424
+ #: includes/widgets/widget-contact.php:252
425
  msgid "Telephone"
426
  msgstr ""
427
 
428
+ #: includes/widgets/widget-contact.php:257
429
  msgid "Email"
430
  msgstr ""
431
 
432
+ #: includes/widgets/widget-contact.php:262
433
  msgid "Address"
434
  msgstr ""
435
 
436
+ #: includes/widgets/widget-contact.php:269
437
  msgid "Open Social Links in New Tab"
438
  msgstr ""
439
 
440
+ #: includes/widgets/widget-contact.php:319
441
  #: includes/widgets/widget-socialmedia.php:266
442
  msgid "Add Social Icon"
443
  msgstr ""
1000
 
1001
  #. Author URI of the plugin/theme
1002
  msgid "https://blossomthemes.com/"
1003
+ msgstr ""
1004
+
1005
+ #: admin/class-blossomthemes-toolkit-admin.php:385
1006
+ msgctxt "Post Type General Name"
1007
+ msgid "Portfolios"
1008
+ msgstr ""
1009
+
1010
+ #: admin/class-blossomthemes-toolkit-admin.php:386
1011
+ msgctxt "Post Type Singular Name"
1012
+ msgid "Portfolio"
1013
+ msgstr ""
1014
+
1015
+ #: admin/class-blossomthemes-toolkit-admin.php:387
1016
+ msgctxt "admin menu"
1017
+ msgid "Portfolios"
1018
+ msgstr ""
1019
+
1020
+ #: admin/class-blossomthemes-toolkit-admin.php:388
1021
+ msgctxt "add new on admin bar"
1022
+ msgid "Portfolio"
1023
+ msgstr ""
1024
+
1025
+ #: admin/class-blossomthemes-toolkit-admin.php:389
1026
+ msgctxt "Portfolio"
1027
+ msgid "Add New"
1028
+ msgstr ""
1029
+
1030
+ #: admin/class-blossomthemes-toolkit-admin.php:422
1031
+ msgctxt "taxonomy general name"
1032
+ msgid "Portfolios Categories"
1033
+ msgstr ""
1034
+
1035
+ #: admin/class-blossomthemes-toolkit-admin.php:423
1036
+ msgctxt "taxonomy singular name"
1037
+ msgid "Portfolio Category"
1038
  msgstr ""
wpml-config.xml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <wpml-config>
2
+ <custom-types>
3
+ <custom-type translate="1">blossom-portfolio</custom-type>
4
+ </custom-types>
5
+ <taxonomies>
6
+ <taxonomy translate="1">blossom_portfolio_categories</taxonomy>
7
+ </taxonomies>
8
+ </wpml-config>