Changeset 2999457
- Timestamp:
- 11/21/2023 09:47:22 AM (2 years ago)
- Location:
- nd-shortcodes/trunk
- Files:
-
- 6 edited
-
addons/themes/admin-style.css (modified) (2 diffs)
-
css/admin-style.css (modified) (2 diffs)
-
inc/settings/admin-style.css (modified) (2 diffs)
-
inc/settings/import-elementor/index.php (modified) (5 diffs)
-
nd-shortcodes.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nd-shortcodes/trunk/addons/themes/admin-style.css
r2131078 r2999457 49 49 .nd_options_padding_right_20 { padding-right: 20px; } 50 50 .nd_options_padding_left_2 { padding-left: 2px; } 51 .nd_options_padding_left_13 { padding-left: 13px; } 51 52 52 53 /*margin*/ … … 112 113 .nd_options_text_decoration_initial { text-decoration: initial; } 113 114 114 115 /*list-style*/ 116 .nd_options_list_style_disc { list-style: disc; } -
nd-shortcodes/trunk/css/admin-style.css
r2883780 r2999457 51 51 .nd_options_padding_right_20 { padding-right: 20px; } 52 52 .nd_options_padding_left_2 { padding-left: 2px; } 53 .nd_options_padding_left_13 { padding-left: 13px; } 53 54 54 55 /*margin*/ … … 121 122 .nd_options_font_size_14 { font-size: 14px; } 122 123 124 125 /*list-style*/ 126 .nd_options_list_style_disc { list-style: disc; } 127 128 -
nd-shortcodes/trunk/inc/settings/admin-style.css
r2979935 r2999457 62 62 .nd_options_padding_left_20 { padding-left: 20px; } 63 63 .nd_options_padding_bottom_40 { padding-bottom: 40px; } 64 .nd_options_padding_left_13 { padding-left: 13px; } 64 65 65 66 … … 136 137 .nd_options_font_weight_normal { font-weight: normal; } 137 138 139 /*list-style*/ 140 .nd_options_list_style_disc { list-style: disc; } 138 141 139 142 /****************************THEME OPTIONS MENU ADJUST****************************/ -
nd-shortcodes/trunk/inc/settings/import-elementor/index.php
r2982555 r2999457 406 406 407 407 $nicdark_elementorpro_path = 'elementor-pro/elementor-pro.php'; 408 if ( is_plugin_active($nicdark_elementorpro_path) ) { 408 $nicdark_proelements_path = 'pro-elements/pro-elements.php'; 409 if ( is_plugin_active($nicdark_elementorpro_path) or is_plugin_active($nicdark_proelements_path) ) { 409 410 410 411 }else{ … … 414 415 <div class="nd_options_box_sizing_border_box nd_options_padding_20 nd_options_float_left nd_options_width_100_percentage"> 415 416 <div class="notice notice-error nd_options_padding_20 nd_options_margin_top_30 nd_options_margin_0 nd_options_background_color_d6363917"> 416 <p><strong>'.esc_html__('ELEMENTOR PRO','nd-shortcodes').' : </strong>'.esc_html__('The plugin is not installed and activated. Some components and features will not be imported. You bought this theme with "Elementor PRO" indication needed to use some demos.','nd-shortcodes').'</p> 417 <a target="blank" href="https://www.nicdark.com/demos-with-elementor-pro/">'.esc_html__('Check This Important Article for GET THE PLUGIN','nd-shortcodes').'<p></p></a> 417 <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> 418 419 420 <ul class="nd_options_padding_left_13 nd_options_list_style_disc"> 421 <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> 422 <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> 423 <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> 424 </ul> 425 426 427 <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> 418 428 </div> 419 429 </div> … … 511 521 512 522 523 524 525 /*START DISPLAY ONLY IF ELEMENTOR PRO IS ACTIVATED*/ 526 if ( $nd_options_elementorpro == 1 ) { 527 528 $nicdark_elementorpro_path = 'elementor-pro/elementor-pro.php'; 529 $nicdark_proelements_path = 'pro-elements/pro-elements.php'; 530 531 if ( is_plugin_active($nicdark_elementorpro_path) or is_plugin_active($nicdark_proelements_path) ) { 532 533 $nd_options_step_demo_3 .= ' 534 <div class="nd_options_section"> 535 <div class="nd_options_width_100_percentage nd_options_padding_20 nd_options_box_sizing_border_box nd_options_float_left"> 536 <h2 class="nd_options_section nd_options_margin_0">'.esc_html__('1 - Import the Content','nd-shortcodes').'</h2> 537 <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> 538 <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> 539 <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> 540 </div> 541 </div> 542 543 544 <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> 545 546 547 <div class="nd_options_section"> 548 <div class="nd_options_width_100_percentage nd_options_padding_20 nd_options_box_sizing_border_box nd_options_float_left"> 549 <h2 class="nd_options_section nd_options_margin_0">'.esc_html__('2 - Import the Style','nd-shortcodes').'</h2> 550 <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> 551 552 553 <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> 554 <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> 555 556 </div> 557 </div> 558 559 560 <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> 561 562 563 <div class="nd_options_section"> 564 <div class="nd_options_width_40_percentage nd_options_padding_20 nd_options_box_sizing_border_box nd_options_float_left"> 565 566 <form action="'.esc_url(admin_url('themes.php')).'" method="get"> 567 <input type="hidden" name="page" value="nicdark-welcome-theme-page"> 568 <input type="hidden" name="step" value="4"> 569 <input class="button button-primary" type="submit" value="'.esc_html__('Go to the last Step ','nd-shortcodes').'*"> 570 </form> 571 572 <p>* '.esc_html__('Mandatory step to import some important options of the chosen demo','nd-shortcodes').'</p> 573 574 </div> 575 </div>'; 576 577 } 578 579 } 580 /*END DISPLAY ONLY IF ELEMENTOR PRO IS ACTIVATED*/ 581 582 583 584 585 586 587 588 513 589 $nd_options_step_demo_3 .= ' 514 <div class="nd_options_section">515 <div class="nd_options_width_50_percentage nd_options_padding_20 nd_options_box_sizing_border_box nd_options_float_left">516 <h2 class="nd_options_section nd_options_margin_0">'.esc_html__('1 - Import the Content','nd-shortcodes').'</h2>517 <p class="nd_options_color_666666 nd_options_section nd_options_margin_0 nd_options_margin_top_10">'.esc_html__('Download the Content.xml by clicking on the button beside, 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>518 </div>519 <div class="nd_options_width_50_percentage nd_options_padding_20 nd_options_box_sizing_border_box nd_options_float_left">520 521 <div class="nd_options_section nd_options_padding_left_20 nd_options_padding_right_20 nd_options_box_sizing_border_box">522 523 <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>524 525 </div>526 527 </div>528 </div>529 530 531 <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>532 533 534 <div class="nd_options_section">535 <div class="nd_options_width_50_percentage nd_options_padding_20 nd_options_box_sizing_border_box nd_options_float_left">536 <h2 class="nd_options_section nd_options_margin_0">'.esc_html__('2 - Import the Style','nd-shortcodes').'</h2>537 <p class="nd_options_color_666666 nd_options_section nd_options_margin_0 nd_options_margin_top_10">'.esc_html__('Download the Style.zip by clicking on the button beside, 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>538 </div>539 <div class="nd_options_width_50_percentage nd_options_padding_20 nd_options_box_sizing_border_box nd_options_float_left">540 541 <div class="nd_options_section nd_options_padding_left_20 nd_options_padding_right_20 nd_options_box_sizing_border_box">542 543 <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>544 545 </div>546 547 </div>548 </div>549 550 551 <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>552 553 554 <div class="nd_options_section">555 <div class="nd_options_width_40_percentage nd_options_padding_20 nd_options_box_sizing_border_box nd_options_float_left">556 557 <form action="'.esc_url(admin_url('themes.php')).'" method="get">558 <input type="hidden" name="page" value="nicdark-welcome-theme-page">559 <input type="hidden" name="step" value="4">560 <input class="button button-primary" type="submit" value="'.esc_html__('Go to the last Step ','nd-shortcodes').'*">561 </form>562 563 <p>* '.esc_html__('Mandatory step to import some important options of the chosen demo','nd-shortcodes').'</p>564 565 </div>566 </div>567 568 569 590 <div class="nd_options_section"> 570 591 <div class="nd_options_width_100_percentage nd_options_padding_20 nd_options_box_sizing_border_box nd_options_float_left"> … … 726 747 ], 727 748 749 'br' => [ 750 'class' => [], 751 ], 752 728 753 'p' => [ 754 'class' => [], 755 'u' => [], 756 'br' => [], 757 ], 758 759 'ul' => [ 760 'class' => [], 761 ], 762 763 'li' => [ 729 764 'class' => [], 730 765 ], … … 855 890 856 891 857 <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>';892 <div class="nd_options_section nd_options_height_1 nd_options_margin_top_10 nd_options_margin_bottom_10"></div>'; 858 893 859 894 860 895 861 896 862 /*START Elementor PRO message*/ 863 $nicdark_elementor_pro_path = 'elementor-pro/elementor-pro.php'; 864 865 if ( is_plugin_active($nicdark_elementor_pro_path) ) { 866 867 868 $nd_options_step_demo_4 .= ' 869 <div class="nd_options_section"> 870 <div class="nd_options_width_50_percentage nd_options_padding_20 nd_options_box_sizing_border_box nd_options_float_left"> 871 <h1 class="nd_options_section nd_options_margin_0 nd_options_margin_top_10">'.esc_html__('Elementor PRO : License Activation','nd-shortcodes').'</h1> 872 <p class="nd_options_color_666666 nd_options_section nd_options_margin_0 nd_options_margin_top_20 nd_options_margin_bottom_20">'.esc_html__('If you want to activate Elementor PRO with the license and benefit from all the PRO features of the plugin, read this important article.','nd-shortcodes').'</p> 873 <a class="button button-primary " target="blank" href="https://www.nicdark.com/elementor-pro-license-activation/">'.esc_html__('Request The License','nd-shortcodes').'</a> 874 </div> 875 </div>'; 876 877 878 }else{ 879 880 881 $nd_options_step_demo_4 .= ' 882 <div class="nd_options_section"> 883 <div class="nd_options_width_50_percentage nd_options_padding_20 nd_options_box_sizing_border_box nd_options_float_left"> 884 <h1 class="nd_options_section nd_options_margin_0 nd_options_margin_top_10">'.esc_html__('Elementor PRO : Get the plugin','nd-shortcodes').'</h1> 885 <p class="nd_options_color_666666 nd_options_section nd_options_margin_0 nd_options_margin_top_20 nd_options_margin_bottom_20">'.esc_html__('You bought this theme with "Elementor PRO" indication needed to use some demos. Please read this important article for understand how to get Elementor PRO.','nd-shortcodes').'</p> 886 <a class="button button-primary " target="blank" href="https://www.nicdark.com/demos-with-elementor-pro/">'.esc_html__('Get Elementor PRO','nd-shortcodes').'</a> 887 </div> 888 </div>'; 889 890 891 } 892 /*END Elementor PRO message*/ 893 894 897 895 898 896 899 -
nd-shortcodes/trunk/nd-shortcodes.php
r2976962 r2999457 3 3 Plugin Name: ND Shortcodes 4 4 Description: The plugin adds some useful components to your page builder ( Elementor or WP Bakery Page Builder ). All components are full responsive and retina ready. 5 Version: 7. 15 Version: 7.2 6 6 Plugin URI: https://nicdark.com 7 7 Author: Nicdark -
nd-shortcodes/trunk/readme.txt
r2976962 r2999457 3 3 Tags: wp bakery page builder, components, elementor, shortcodes, elementor library, post-grid, elementor templates, elementor pages, elementor sections, services 4 4 Requires at least: 4.5 5 Tested up to: 6. 26 Stable tag: 7. 15 Tested up to: 6.4 6 Stable tag: 7.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 27 27 28 28 == Changelog == 29 30 = 7.2 = 31 * implemented import elementor demo 29 32 30 33 = 7.1 =
Note: See TracChangeset
for help on using the changeset viewer.