🔞 ADULT: Changeset/ - Collection

Changeset 3088254


Ignore:
Timestamp:
05/17/2024 11:03:41 AM (20 months ago)
Author:
nicdark
Message:

edit files for version 7.3

Location:
nd-shortcodes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • nd-shortcodes/tags/7.3/inc/settings/import-elementor/index.php

    r3062123 r3088254  
    202202                  if ( $nd_options_import_demo->image == 'bakery' ) {
    203203
    204                     $nd_options_step_demo_2_bakery = '
    205 
    206                     <div class="nd_options_box_sizing_border_box nd_options_padding_20 nd_options_float_left nd_options_width_100_percentage">
    207                       <div class="notice notice-error nd_options_padding_20 nd_options_margin_top_30 nd_options_margin_0">
    208                         <p><strong>'.esc_html__('WP BAKERY DEMOS','nd-shortcodes').' : </strong>
    209                           '.esc_html__('If you are looking for demos using ','nd-shortcodes').'
    210                           <u>'.esc_html__('WP Bakery Page Builder','nd-shortcodes').'</u>
    211                           '.esc_html__(' plugin check','nd-shortcodes').'
    212                           <a target="_blank" href="'.$nd_options_import_demo->url.'">'.esc_html__('this link','nd-shortcodes').'</a>
    213                         </p>
     204                    //check theme name
     205                    $nd_options_theme_name = '';
     206                    $nd_options_theme_name = wp_get_theme();
     207                    $nd_options_theme_name = $nd_options_theme_name->get('TextDomain');
     208
     209
     210                    //start if is love travel for wp bakery alert
     211                    if ( $nd_options_theme_name == 'lovetravel' ) {
     212
     213                    }else{
     214
     215
     216                      $nd_options_step_demo_2_bakery = '
     217
     218                      '.$nd_options_theme_name.'
     219
     220                      <div class="nd_options_box_sizing_border_box nd_options_padding_20 nd_options_float_left nd_options_width_100_percentage">
     221                        <div class="notice notice-error nd_options_padding_20 nd_options_margin_top_30 nd_options_margin_0">
     222                          <p><strong>'.esc_html__('WP BAKERY DEMOS','nd-shortcodes').' : </strong>
     223                            '.esc_html__('If you are looking for demos using ','nd-shortcodes').'
     224                            <u>'.esc_html__('WP Bakery Page Builder','nd-shortcodes').'</u>
     225                            '.esc_html__(' plugin check','nd-shortcodes').'
     226                            <a target="_blank" href="'.$nd_options_import_demo->url.'">'.esc_html__('this link','nd-shortcodes').'</a>
     227                          </p>
     228                        </div>
    214229                      </div>
    215                     </div>
    216 
    217                     ';
     230
     231                      ';
     232
     233
     234                    }
     235                    //end love travel check
     236
    218237
    219238                  }else{
     
    416435                <div class="nd_options_box_sizing_border_box nd_options_padding_20 nd_options_float_left nd_options_width_100_percentage">
    417436                  <div class="notice notice-error nd_options_padding_20 nd_options_margin_top_30 nd_options_margin_0 nd_options_background_color_d6363917">
    418                     <p><strong>'.esc_html__('FREE PRO Elements or Elementor PRO plugins required','nd-shortcodes').' : </strong><br/>'.esc_html__('One of these two plugins are not installed. You bought this theme with "Elementor PRO" indication needed to use some demos. You have 3 solutions, chose the best for you and download one of these ( Once you have installed and activated one of these two plugins, return and reload this page to import your demo ) : ','nd-shortcodes').'</p>
    419 
    420 
    421                     <ul class="nd_options_padding_left_13 nd_options_list_style_disc">
    422                         <li><p>'.esc_html__('Download PRO Elements now ( FREE )','nd-shortcodes').' <a target="_blank" href="https://proelements.org/">'.esc_html__('Download','nd-shortcodes').'</a></p></li>
    423                         <li><p>'.esc_html__('Purchase Elementor PRO official by Nicdark ( $ 9 / year )','nd-shortcodes').' <a target="_blank" href="https://www.nicdark.com/themes/elementor-pro/">'.esc_html__('Download','nd-shortcodes').'</a></p></li>
    424                         <li><p>'.esc_html__('Purchase Elementor PRO official by Elementor ( $ 59 / year )','nd-shortcodes').' <a target="_blank" href="https://elementor.com/pricing-plugin/">'.esc_html__('Download','nd-shortcodes').'</a></p></li>
    425                     </ul>
    426 
    427 
     437                    <p><strong>'.esc_html__('FREE PRO Elements or Elementor PRO plugins required','nd-shortcodes').' : </strong><br/><br/>'.esc_html__('One of these two plugins are not installed. You bought this theme with "Elementor PRO" indication needed to use some demos. You have 3 solutions, chose the best for you and download one of these ( Once you have installed and activated one of these two plugins, return and reload this page to import your demo ) : ','nd-shortcodes').'</p>
     438
     439
     440                    <br/>
    428441                    <a target="blank" href="https://www.nicdark.com/demos-with-elementor-pro/">'.esc_html__('IMPORTANT : Compare the various possibilities here','nd-shortcodes').'<p></p></a>
    429442                  </div>
     
    532545              if ( is_plugin_active($nicdark_elementorpro_path) or is_plugin_active($nicdark_proelements_path) ) {
    533546
    534                 $nd_options_step_demo_3 .= '
    535                 <div class="nd_options_section">
    536                   <div class="nd_options_width_100_percentage nd_options_padding_20 nd_options_box_sizing_border_box nd_options_float_left">
    537                     <h2 class="nd_options_section nd_options_margin_0">'.esc_html__('1 - Import the Content','nd-shortcodes').'</h2>
    538                     <p class="nd_options_color_666666 nd_options_section nd_options_margin_0 nd_options_margin_top_10 nd_options_margin_bottom_15">'.esc_html__('Download the Content.xml by clicking on the button below, save the file on your desktop and then upload the file Content.xml on WordPress Importer','nd-shortcodes').' <a target="_blank" href="'.admin_url().'admin.php?import=wordpress">'.esc_html__('here','nd-shortcodes').'</a></p>
    539                     <a class="button" href="'.esc_url( get_template_directory_uri().'/import/'.$nd_options_demo.'/content.xml').'" download>'.esc_html__('Donwload Content.xml','nd-shortcodes').'</a>
    540                     <p class="nd_options_color_666666 nd_options_section nd_options_margin_0 nd_options_margin_top_10">* '.esc_html__('If your server blocks the download of the file, get it from this path','nd-shortcodes').' : <u>'.esc_url( get_template_directory_uri().'/import/'.$nd_options_demo.'/content.xml').'</u></p>
    541                   </div>
    542                 </div>
    543 
    544 
    545                 <div class="nd_options_section nd_options_height_1 nd_options_background_color_E7E7E7 nd_options_margin_top_10 nd_options_margin_bottom_10"></div>
    546 
    547 
    548                 <div class="nd_options_section">
    549                   <div class="nd_options_width_100_percentage nd_options_padding_20 nd_options_box_sizing_border_box nd_options_float_left">
    550                     <h2 class="nd_options_section nd_options_margin_0">'.esc_html__('2 - Import the Style','nd-shortcodes').'</h2>
    551                     <p class="nd_options_color_666666 nd_options_section nd_options_margin_0 nd_options_margin_top_10 nd_options_margin_bottom_15">'.esc_html__('Download the Style.zip by clicking on the button below, save the file on your desktop and then upload the file Style.zip on Elementor Import Tool','nd-shortcodes').' <a target="_blank" href="'.admin_url().'admin.php?page=elementor-app#/import">'.esc_html__('here','nd-shortcodes').'</a></p>
    552 
    553 
    554                     <a class="button" href="'.esc_url( get_template_directory_uri().'/import/'.$nd_options_demo.'/style.zip').'" download >'.esc_html__('Donwload Style.zip','nd-shortcodes').'</a>
    555                     <p class="nd_options_color_666666 nd_options_section nd_options_margin_0 nd_options_margin_top_10">* '.esc_html__('If your server blocks the download of the file, get it from this path','nd-shortcodes').' : <u>'.esc_url( get_template_directory_uri().'/import/'.$nd_options_demo.'/style.zip').'</u></p>
    556 
    557                   </div>
    558                 </div>
    559 
    560 
    561                 <div class="nd_options_section nd_options_height_1 nd_options_background_color_E7E7E7 nd_options_margin_top_10 nd_options_margin_bottom_10"></div>
    562 
    563 
    564                 <div class="nd_options_section">
    565                   <div class="nd_options_width_40_percentage nd_options_padding_20 nd_options_box_sizing_border_box nd_options_float_left">
    566                    
    567                     <form action="'.esc_url(admin_url('themes.php')).'" method="get">