درون ریزی نسخه نمایشی با یک کلیک

توضیحات

بهترین ویژگی این افزونه این است که نویسندگان پوسته می توانند فایل های درون ریزی را در تم های خود تعریف کنند و بنابراین تنها کاری که شما (کاربر پوسته) باید انجام دهید این است که روی دکمه “درون ریزی محتوای نمایشی” کلیک کنید.

آیا شما یک نویسنده پوسته هستید

درون ریزی محتوای نمایشی با یک کلیک را برای پوسته خود راه اندازی کنید و کاربران شمل برای آن از شما تشکر خواهند کرد

این راهنمای آسان را برای چگونگی تنظیم این افزونه برای پوسته خود دنبال کنید

آیا شما یک کاربر پوسته هستید

با نویسنده پوسته خود تماس بگیرید و آنها را از این افزونه مطلع کنید . نویسندگان پوسته می توانند هر پوسته ای را در 15 دقیقه با این افزونه سازگار کرده و کاربرپسندتر کنند.

کجا میتوانم راه ارتباط با نویسنده پوسته را پیدا کنم

لطفاً برای اطلاعات بیشتر در مورد چگونگی درون ریزی نسخه نمایشی محتوای خود نگاهی به مستندات افزونه ما بیندازید

This plugin is using the modified version of the improved WP import 2.0 that is still in development and can be found here: https://github.com/humanmade/WordPress-Importer.

NOTE: There is no setting to “connect” authors from the demo import file to the existing users in your WP site (like there is in the original WP Importer plugin). All demo content will be imported under the current user.

Do you want to contribute?

Please refer to our official GitHub repository.

عکس‌های صفحه

  • Example of multiple predefined demo imports, that a user can choose from.
  • How the import page looks like, when only one demo import is predefined.
  • نمونه ای از نحوه ظاهر صفحه واردات ، هنگامی که هیچ واردات نمایشی از طریق واردات دستی از پیش تعریف نشده است.
  • چگونه & افزونه های مورد نیاز پوسته قبل از مرحله درون ریزی توسیه میشود

نصب

From your WordPress dashboard

  1. Visit ‘Plugins > Add New’,
  2. عبارت ‘One Click Demo Import’ را جستجو کرده و افزونه را نصب کنید ،
  3. Activate ‘One Click Demo Import’ from your Plugins page.

From WordPress.org

  1. Download ‘One Click Demo Import’.
  2. Upload the ‘one-click-demo-import’ directory to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…)
  3. Activate ‘One Click Demo Import’ from your Plugins page.

Once the plugin is activated you will find the actual import page in: Appearance -> Import Demo Data.

سوالات متداول

من افزونه رو فعال کردم صفحه “وارد کردن داده های نمایشی” کجاست؟

شما میتوانید صفحه درون ریزی را در پیشخوان -> ظاهر -> درون ریزی محتواپیدا کنید.

فایلهای وارداتی نسخه ی نمایشی و فایلهای گزارش در کجا ذخیره می شوند؟

The files used in the demo import will be saved to the default WordPress uploads directory. An example of that directory would be: ../wp-content/uploads/2023/03/.

The log file will also be registered in the wp-admin -> Media section, so you can access it easily.

چگونه می توان واردات نسخه ی نمایشی را از پیش تعریف کرد؟

این سوال برای نویسندگان موضوع است. برای از پیش تعریف واردات نسخه ی نمایشی ، فقط باید ساختار کد زیر را با مقادیر خود به موضوع خود اضافه کنید (با استفاده از فیلتر ocdi/import_files ):

function ocdi_import_files() {
    return array(
        array(
            'import_file_name'           => 'Demo Import 1',
            'categories'                 => array( 'Category 1', 'Category 2' ),
            'import_file_url'            => 'http://www.your_domain.com/ocdi/demo-content.xml',
            'import_widget_file_url'     => 'http://www.your_domain.com/ocdi/widgets.json',
            'import_customizer_file_url' => 'http://www.your_domain.com/ocdi/customizer.dat',
            'import_redux'               => array(
                array(
                    'file_url'    => 'http://www.your_domain.com/ocdi/redux.json',
                    'option_name' => 'redux_option_name',
                ),
            ),
            'import_preview_image_url'   => 'http://www.your_domain.com/ocdi/preview_import_image1.jpg',
            'import_notice'              => __( 'After you import this demo, you will have to setup the slider separately.', 'your-textdomain' ),
            'preview_url'                => 'http://www.your_domain.com/my-demo-1',
        ),
        array(
            'import_file_name'           => 'Demo Import 2',
            'categories'                 => array( 'New category', 'Old category' ),
            'import_file_url'            => 'http://www.your_domain.com/ocdi/demo-content2.xml',
            'import_widget_file_url'     => 'http://www.your_domain.com/ocdi/widgets2.json',
            'import_customizer_file_url' => 'http://www.your_domain.com/ocdi/customizer2.dat',
            'import_redux'               => array(
                array(
                    'file_url'    => 'http://www.your_domain.com/ocdi/redux.json',
                    'option_name' => 'redux_option_name',
                ),
                array(
                    'file_url'    => 'http://www.your_domain.com/ocdi/redux2.json',
                    'option_name' => 'redux_option_name_2',
                ),
            ),
            'import_preview_image_url'   => 'http://www.your_domain.com/ocdi/preview_import_image2.jpg',
            'import_notice'              => __( 'A special note for this import.', 'your-textdomain' ),
            'preview_url'                => 'http://www.your_domain.com/my-demo-2',
        ),
    );
}
add_filter( 'ocdi/import_files', 'ocdi_import_files' );

می توانید درون ریزی محتوا ، ابزارک ها ، سفارشی ساز و فایل های درون ریزی چارچوب Redux را تنظیم کنید. همچنین می توانید یک تصویر پیش نمایش تعریف کنید ، که فقط در صورت تعریف چندین درون ریزی نمایشی استفاده می شود ، به طوری که کاربر تفاوت بین درون ریزی را مشاهده می کند. دسته ها را می توان به هر درون ریزی نسخه ی نمایشی اختصاص داد ، به طوری که می توان آنها را به راحتی فیلتر کرد.آدرس اینترنتی پیش نمایش دکمه “‌‌‌‌‌پیشنمایش “‌ را در مورد نسخه ی نمایشی از پیش تعریف شده نمایش می دهد ، که این آدرس اینترنتی را در یک برگه جدید باز می کند و کاربر می تواند نحوه نمای سایت نمایشی را مشاهده کند. شما می توانید درون ریزی محتوا ، ویجت ها ، سفارشی ساز و فایلهای درون ریزی چارچوب Redux را تنظیم کنید به همچنین می توانید یک تصویر پیش نمایش تعریف کنید ، که فقط در صورت تعریف چندین درون ریزی نمایشی استفاده می شود ، به طوری که کاربر تفاوت بین درون ریزی را مشاهده می کند. دسته ها را می توان به هر درون ریزی نسخه ی نمایشی اختصاص داد ، به طوری که می توان آنها را به راحتی فیلتر کرد. آدرس اینترنتی پیش نمایش دکمه “پیش نمایش” را در مورد نسخه ی نمایشی از پیش تعیین شده نمایش می دهد ، که این ادرس اینترنتی را در یک برگه جدید باز می کند و کاربر می تواند ظاهر سایت نمایشی را مشاهده کند.

How to automatically assign “Front page”, “Posts page” and menu locations after the importer is done?

You can do that, with the ocdi/after_import action hook. The code would look something like this:

function ocdi_after_import_setup() {
    // Assign menus to their locations.
    $main_menu = get_term_by( 'name', 'Main Menu', 'nav_menu' );

    set_theme_mod( 'nav_menu_locations', array(
            'main-menu' => $main_menu->term_id, // replace 'main-menu' here with the menu location identifier from register_nav_menu() function
        )
    );

    // Assign front page and posts page (blog page).
    $front_page_id = get_page_by_title( 'Home' );
    $blog_page_id  = get_page_by_title( 'Blog' );

    update_option( 'show_on_front', 'page' );
    update_option( 'page_on_front', $front_page_id->ID );
    update_option( 'page_for_posts', $blog_page_id->ID );

}
add_action( 'ocdi/after_import', 'ocdi_after_import_setup' );

What about using local import files (from theme folder)?

شما باید از فیلتر مشابه مثال بالا استفاده کنید ، اما با کلیدهای آرایه کمی متفاوت: local_*. مقادیر باید مسیرهای مطلق (و نه نشانی اینترنتی) فایل های واردات شما باشند. برای استفاده از فایل های واردات محلی که در پوشه پوسته شما قرار دارند ، لطفاً از کد زیر استفاده کنید. توجه: مطمئن شوید فایل های وارداتی شما قابل خواندن هستند!

function ocdi_import_files() {
    return array(
        array(
            'import_file_name'             => 'Demo Import 1',
            'categories'                   => array( 'Category 1', 'Category 2' ),
            'local_import_file'            => trailingslashit( get_template_directory() ) . 'ocdi/demo-content.xml',
            'local_import_widget_file'     => trailingslashit( get_template_directory() ) . 'ocdi/widgets.json',
            'local_import_customizer_file' => trailingslashit( get_template_directory() ) . 'ocdi/customizer.dat',
            'local_import_redux'           => array(
                array(
                    'file_path'   => trailingslashit( get_template_directory() ) . 'ocdi/redux.json',
                    'option_name' => 'redux_option_name',
                ),
            ),
            'import_preview_image_url'     => 'http://www.your_domain.com/ocdi/preview_import_image1.jpg',
            'import_notice'                => __( 'After you import this demo, you will have to setup the slider separately.', 'your-textdomain' ),
            'preview_url'                  => 'http://www.your_domain.com/my-demo-1',
        ),
        array(
            'import_file_name'             => 'Demo Import 2',
            'categories'                   => array( 'New category', 'Old category' ),
            'local_import_file'            => trailingslashit( get_template_directory() ) . 'ocdi/demo-content2.xml',
            'local_import_widget_file'     => trailingslashit( get_template_directory() ) . 'ocdi/widgets2.json',
            'local_import_customizer_file' => trailingslashit( get_template_directory() ) . 'ocdi/customizer2.dat',
            'local_import_redux'           => array(
                array(
                    'file_path'   => trailingslashit( get_template_directory() ) . 'ocdi/redux.json',
                    'option_name' => 'redux_option_name',
                ),
                array(
                    'file_path'   => trailingslashit( get_template_directory() ) . 'ocdi/redux2.json',
                    'option_name' => 'redux_option_name_2',
                ),
            ),
            'import_preview_image_url'     => 'http://www.your_domain.com/ocdi/preview_import_image2.jpg',
            'import_notice'                => __( 'A special note for this import.', 'your-textdomain' ),
            'preview_url'                  => 'http://www.your_domain.com/my-demo-2',
        ),
    );
}
add_filter( 'ocdi/import_files', 'ocdi_import_files' );

بسته به نوع واردات از پیش تعیین شده ، چگونه “تنظیمات پس از واردات” مختلف را مدیریت کنیم؟

این سوال ممکن است توسط نویسنده پوسته ای که مایل است پیکربندی های متفاوتی را پس از واردات برای چندین واردات نمایشی از پیش تعریف شده پیاده کند ، مطرح شود. بگذارید بگوییم که ما دو واردات نسخه ی نمایشی را با نام های زیر از پیش تعریف کرده ایم: ‘درون ریزی نسخه نمایشی 1’ و ‘درون ریزی نسخه نمایشی2’ ، کد پس از وارد کردن تنظیمات (با استفاده از فیلتر ocdi/after_import ) خواهد بود:

function ocdi_after_import( $selected_import ) {
    echo "This will be displayed on all after imports!";

    if ( 'Demo Import 1' === $selected_import['import_file_name'] ) {
        echo "This will be displayed only on after import if user selects Demo Import 1";

        // Set logo in customizer
        set_theme_mod( 'logo_img', get_template_directory_uri() . '/assets/images/logo1.png' );
    }
    elseif ( 'Demo Import 2' === $selected_import['import_file_name'] ) {
        echo "This will be displayed only on after import if user selects Demo Import 2";

        // Set logo in customizer
        set_theme_mod( 'logo_img', get_template_directory_uri() . '/assets/images/logo2.png' );
    }
}
add_action( 'ocdi/after_import', 'ocdi_after_import' );

Can I add some code before the widgets get imported?

Of course you can, use the ocdi/before_widgets_import action. You can also target different predefined demo imports like in the example above. Here is a simple example code of the ocdi/before_widgets_import action:

function ocdi_before_widgets_import( $selected_import ) {
    echo "Add your code here that will be executed before the widgets get imported!";
}
add_action( 'ocdi/before_widgets_import', 'ocdi_before_widgets_import' );

چطور میتوانم با وردپرس cli درون ریزی کنم

In the 2.4.0 version of this plugin we added two WP-CLI commands:

  • wp ocdi list-که هرگونه واردات نسخه ی نمایشی از پیش تعریف شده را که پوسته فعلی ممکن است داشته باشد لیست می کند ،
  • wp ocdi import – که دارای چند گزینه است که می توانید از آنها برای وارد کردن موارد مورد نظر خود (محتوا/ابزارک ها/سفارشی ساز/نسخه های نمایشی از پیش تعریف شده) استفاده کنید. اجازه دهید این گزینه های زیر را بررسی کنیم.

    گزینه های در ون ریزی وردپرس ocdi

    wp ocdi import [–content=] [–widgets=] [–customizer=] [–predefined=]

  • --content = & lt؛ file & gt؛ -درون ریزی محتوا را با فایل درون ریزی وردپرس مشخص شده در پارامتر & lt؛ file & gt؛ اجرا می کند ،

  • --widgets = & lt؛ file & gt؛ -واردات ویجت ها را با فایل واردات ابزارک ها مشخص شده در پارامتر & lt؛ file & gt؛ اجرا می کند ،
  • --customizer = & & lt؛ file & gt؛ -واردات تنظیمات شخصی ساز را با فایل وارد کننده شخصی ساز مشخص شده در پارامتر & lt؛ file & gt؛ اجرا می کند ،
  • --predefined = & lt؛ index & gt؛ -موضوع واردات از پیش تعریف شده موضوع را با نمایه واردات از پیش تعریف شده در پارامتر & lt؛ index & gt؛ اجرا می کند (می توانید از دستور wp ocdi list برای بررسی اینکه کدام شاخص برای هر واردات نسخه ی نمایشی از پیش تعیین شده استفاده می شود استفاده کنید)

محتوا ، ابزارک ها و گزینه های سفارشی سازی می توانند همزمان مخلوط شده و مورد استفاده قرار گیرند. اگر گزینه از پیش تعریف شده تنظیم شود ، همه گزینه های دیگر را نادیده می گیرد و داده های نمایشی از پیش تعریف شده را وارد می کند

I’m a theme author and I want to change the plugin intro text, how can I do that?

با استفاده از فیلتر ocdi/plugin_intro_text می توانید متن معرفی افزونه را تغییر دهید:

function ocdi_plugin_intro_text( $default_text ) {
    $default_text .= '<div class="ocdi__intro-text">This is a custom text added to this plugin intro text.</div>';

    return $default_text;
}
add_filter( 'ocdi/plugin_intro_text', 'ocdi_plugin_intro_text' );

To add some text in a separate “box”, you should wrap your text in a div with a class of ‘ocdi__intro-text’, like in the code example above.

How to disable generation of smaller images (thumbnails) during the content import

This will greatly improve the time needed to import the content (images), but only the original sized images will be imported. You can disable it with a filter, so just add this code to your theme function.php file:

add_filter( 'ocdi/regenerate_thumbnails_in_content_import', '__return_false' );

چگونه می توان مکان ، عنوان و سایر پارامترهای صفحه افزونه را تغییر داد؟

As a theme author you do not like the location of the “Import Demo Data” plugin page in Appearance -> Import Demo Data? You can change that with the filter below. Apart from the location, you can also change the title or the page/menu and some other parameters as well.

function ocdi_plugin_page_setup( $default_settings ) {
    $default_settings['parent_slug'] = 'themes.php';
    $default_settings['page_title']  = esc_html__( 'One Click Demo Import' , 'one-click-demo-import' );
    $default_settings['menu_title']  = esc_html__( 'Import Demo Data' , 'one-click-demo-import' );
    $default_settings['capability']  = 'import';
    $default_settings['menu_slug']   = 'one-click-demo-import';

    return $default_settings;
}
add_filter( 'ocdi/plugin_page_setup', 'ocdi_plugin_page_setup' );

چگونه قبل از اجرای درون ریزی محتوا ، کاری انجام دهیم؟

In version 2.0.0 there is a new action hook: ocdi/before_content_import, which will let you hook before the content import starts. An example of the code would look like this:

function ocdi_before_content_import( $selected_import ) {
    if ( 'Demo Import 1' === $selected_import['import_file_name'] ) {
        // Here you can do stuff for the "Demo Import 1" before the content import starts.
        echo "before import 1";
    }
    else {
        // Here you can do stuff for all other imports before the content import starts.
        echo "before import 2";
    }
}
add_action( 'ocdi/before_content_import', 'ocdi_before_content_import' );

How can I enable the `customize_save*` wp action hooks in the customizer import?

آسان است فقط این را به پوسته خود اضافه کنید

add_action( 'ocdi/enable_wp_customize_save_hooks', '__return_true' );

این امر هنگام وارد کردن داده های سفارشی ، قلاب های وردپرس زیر را فعال می کند: customize_save ، customize_save_* ، customize_save_after .

چگونه می توانم نشانی اینترنتی (پیوندهای موقت) آمازون S3 را به عنوان فایل خارجی ارسال کنم؟

اگر می خواهید فایل های محتوای درون ریزی خود را در آمازون S3 میزبانی کنید ، اما می خواهید آنها در دسترس عموم قرار بگیرند ، و نه از طریق API خود به عنوان URL های تعیین شده (که منقضی می شود) می توانید از فیلتر ocdi/pre_download_import_files که می توانید آدرس های اینترنتی خود را ارسال کنید ، به عنوان مثال:

add_filter( 'ocdi/pre_download_import_files', function( $import_file_info ){

    // In this example get_my_custom_urls` is supposedly making a `wp_remote_get` request, getting the urls from an API server where you're creating the presigned urls, [example here](https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/s3-presigned-url.html).
// This request should return an array containing all the 3 links - `import_file_url`, `import_widget_file_url`, `import_customizer_file_url`
$request = get_my_custom_urls( $import_file_info );

if ( !is_wp_error( $request ) )
{
    if ( isset($request['data']) && is_array($request['data']) )
    {
        if( isset($request['data']['import_file_url']) && $import_file_url = $request['data']['import_file_url'] ){
            $import_file_info['import_file_url'] = $import_file_url;
        }
        if( isset($request['data']['import_widget_file_url']) && $import_widget_file_url = $request['data']['import_widget_file_url'] ){
            $import_file_info['import_widget_file_url'] = $import_widget_file_url;
        }
        if( isset($request['data']['import_customizer_file_url']) && $import_customizer_file_url = $request['data']['import_customizer_file_url'] ){
            $import_file_info['import_customizer_file_url'] = $import_customizer_file_url;
        }
    }
}

return $import_file_info;

} );
`

من نمی توانم افزونه را فعال کنم ، به دلیل خطای مهلک ، چه کاری می توانم انجام دهم؟

Update: since version 1.2.0, there is now a admin error notice, stating that the minimal PHP version required for this plugin is 5.3.2.

می خواهید افزونه را فعال کنید ، اما این خطا نشان داده می شود:

Plugin could not be activated because it triggered a fatal error

این اتفاق می افتد ، زیرا سرور میزبانی شما از نسخه بسیار قدیمی PHP استفاده می کند. این افزونه به نسخه PHP حداقل 5.3.x نیاز دارد ، اما ما نسخه 5.6.x یا بهتر از آن 7.x را توصیه می کنیم. لطفاً با شرکت میزبانی خود تماس بگیرید و از آنها بخواهید نسخه PHP سایت شما را به روز کنند.

Issues with the import, that we can’t fix in the plugin

Please visit this docs page, for more answers to issues with importing data.

نقد و بررسی‌ها

2 سپتامبر 2022
Worked perfectly to help me import JSON files for my Divi theme layouts. What a great tool!
1 آوریل 2021 1 پاسخ
Hey guys, just wanted to say thank you for the amazing plugin and recent update. I couldn't believe the features that you've added at first when I read change log. Few months ago I paid to a developer to add recommended plugins feature, and now I see it in your new update. For me as a theme developer this is a game-changer and the most important addon and it's just mind-blowing. P.S Haven't tested everything yet, going try it later 🙂
خواندن تمامی 73 نقد و بررسی‌

توسعه دهندگان و همکاران

“درون ریزی نسخه نمایشی با یک کلیک” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

“درون ریزی نسخه نمایشی با یک کلیک” به 11 زبان ترجمه شده است. با تشکر از مترجمین برای همکاری و کمک‌هایشان.

ترجمه “درون ریزی نسخه نمایشی با یک کلیک” به زبان شما.

علاقه‌ مند به توسعه هستید؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

گزارش تغییرات

3.2.0

Release Date – 23rd November 2023

  • Added ocdi/import_successful_buttons filter hook that allow developers to add custom buttons in the import successful page.
  • Added loading="lazy" in import preview images for better performance.
  • Fixed PHP warning notice when importing non-string term metadata.
  • Fixed Navigation block not imported properly.
  • Fixed issue with failed media import resulting to infinite loop.
  • Fixed PHP deprecated notice when importing Redux Framework options.
  • Fixed issue with old action hook, pt-{$hook}, not running when the new {$hook} is also used.

3.1.2

Release Date – 8th July 2022

  • Fixed missing terms count update (fixes missing menu items after WP 6.0 update).

3.1.1

Release Date – 22nd March 2022

  • Fixed missing sanitization for the redux option name.

3.1.0

Release Date – 18th March 2022

  • Changed the minimal WordPress version to 5.2.
  • Fixed upload file types. Allow just whitelisted import file types.

3.0.2

تاریخ انتشار – 2 آوریل 2021

  • صفحه تنظیمات پیش فرض قدیمی از بین رفته (شکستن پیوندهای موجود به صفحه تنظیمات OCDI) برطرف شد.
  • رفع تذکرات PHP در ناحیه مدیریت شبکه برای وردپرس چند سایته.
  • سبک تصویر کارت پوسته در نوار کناری ثابت شد.

3.0.1

تاریخ انتشار – 31 مارس 2021

  • جزئیات بیشتری در مورد افزونه های توصیه شده اضافه شده است.
  • افزونه های توصیه شده را برای شرکت در برنامه تغییر داد.

3.0.0

تاریخ انتشار – 31 مارس 2021

  • مهم: پشتیبانی از PHP 5.5 یا پایین تر متوقف شده است. اگر یکی از آن نسخه ها را اجرا می کنید ، باید PHP را قبل از نصب یا ارتقاء به One Click Demo Import v3.0 ارتقا دهید. در صورت عدم انجام این کار ، قابلیت وارد کردن نسخه ی نمایشی با یک کلیک غیرفعال می شود.
  • مهم: پشتیبانی از هسته وردپرس v4.9 یا پایین تر متوقف شده است. اگر یکی از آن نسخه ها را اجرا می کنید ، قبل از نصب یا ارتقاء به One Click Demo Import v3.0 باید هسته وردپرس را ارتقا دهید. عدم انجام این کار می تواند مشکلاتی را در عملکرد وارد کردن نسخه ی نمایشی با یک کلیک ایجاد کند.
  • اضافه شدن پشتیبانی از افزونه های پوسته توصیه شده
  • واردات مفید محتوای نسخه ی نمایشی تک صفحه.
  • نصب کننده افزونه های توصیه شده اضافه شد.
  • UI/UX افزونه را به روز کرد.
  • هشدار PHP8 برطرف شد
  • عملکرد وردپرس منسوخ wp_slash_strings_only برطرف شد.

2.6.1

Release Date – 21 July 2020

  • Fixed Elementor import issues.

2.6.0

Release Date – 21 July 2020

  • Improved code execution: not loading plugin code on frontend.
  • Fixed incorrect post and post meta import (unicode and other special characters were not escaped properly).
  • Fixed error (500 – internal error) for Widgets import on PHP 7.x.
  • Fixed PHP notices for manual demo import.
  • اگر تابع set_time_limit غیرفعال باشد ، هشدار PHP برطرف می شود.
  • Fixed links for switching manual and predefined import modes.

2.5.2

تاریخ انتشار – 29 ژوئیه 2019

  • Improved documentation and code sample
  • Added pt-ocdi/pre_download_import_files filter
  • Added two action hooks to plugin-page.php
  • Bumped Tested up to tag

2.5.1

تاریخ انتشار – 25 اکتبر 2018

  • Fix missing translation strings

2.5.0

Release Date – 8 January 2018

  • Add OCDI as a WordPress import tool in Tools -> Import,
  • اگر پوسته دارای واردات نسخه ی نمایشی از پیش تعریف شده است ، تغییر را به واردات دستی اضافه کنید ،
  • Fix text domain loading

2.4.0

Release Date – 23 August 2017

  • Add WP-CLI commands for importing with this plugin,
  • Fix conflict with WooCommerce importer

2.3.0

تاریخ انتشار – 28 مه 2017

  • Add preview button option to the predefined demo import items,
  • هنگام تکمیل فرایند وارد کردن ، ماشه سفارشی رویداد JS را اضافه کنید ،
  • Add custom filter for plugin page title,
  • Remove content import as a required import. Now you can make separate imports for customizer, widgets or redux options.
  • Fix custom menu widgets imports, the menus will now be set correctly.

2.2.1

Release Date – 3 April 2017

  • Fix image importing error for server compressed files,
  • اصلاح مجدد تصاویر برجسته ،
  • Fix custom post type existing posts check (no more multiple imports for custom post types).

2.2.0

Release Date – 5 February 2017

  • Add ProteusThemes branding notice after successful import,
  • رفع مشکل گزارش خطای واردات (خطاهای تکراری نشان داده شد) ،
  • Fix some undefined variables in the plugin, causing PHP notices.

2.1.0

Release Date – 8 January 2017

  • افزودن فیلتر گزینه های بازشو تأیید واردات طرح شبکه ،
  • Fix term meta data double import,
  • Fix WooCommerce product attributes import.

2.0.2

Release Date – 13 December 2016

  • Fix issue with customizer options import

2.0.1

Release Date – 12 December 2016

  • Fix issue with some browsers (Safari and IE) not supporting some FormData methods.

2.0.0

تاریخ انتشار – 10 دسامبر 2016

  • Add new layout for multiple predefined demo imports (a grid layout instead of the dropdown selector),
  • Add support for Redux framework import,
  • Change the code structure of the plugin (plugin rewrite, namespaces, autoloading),
  • در حال حاضر کل واردات (محتوا ، ابزارک ها ، سفارشی ساز ، redux) حتی اگر مشکلی در واردات محتوا رخ دهد (قبل از خطاهای واردات محتوا ، واردات بیشتر را مسدود کند) ،
  • Add pt-ocdi/before_content_import action hook, that theme authors can use to hook into before the content import starts,
  • Fix frontend error reporting through multiple AJAX calls,
  • Fix post formats (video/quote/gallery,…) not importing,
  • Fix customizer import does not save some options (because of the missing WP actions – these can be enabled via a filter, more in the FAQ section).

1.4.0

تاریخ انتشار – 29 اکتبر 2016

  • Add support for WP term meta data in content importer,
  • Fix the issue of having both plugins (OCDI and the new WP importer v2) activated at the same time.

1.3.0

Release Date – 1 October 2016

  • Import/plugin page re-design. Updated the plugin page styles to match WordPress (thanks to Oliver Juhas).

1.2.0

Release Date – 9 July 2016

  • Now also accepts predefined local import files (from theme folder),
  • Fixes PHP fatal error on plugin activation, for sites using PHP versions older then 5.3.2 (added admin error notice),
  • Register log file in wp-admin -> Media, so that it’s easier to access,
  • دیگر خبری از پیام “[WARNING] نویسنده برای …” در فایل ورود به سیستم نیست.

1.1.3

Release Date – 17 June 2016

  • Updated plugin design,
  • نام فیلتر تنظیم صفحه افزونه را از pt-ocdi/plugin-page-setup به pt-ocdi/plugin_page_setup تغییر داد (به جای خط تیره به نویسه های زیر خط توجه کنید).

1.1.2

Release Date – 12 June 2016

  • فیلد “اعلان واردات” به تنظیمات از پیش تعیین شده واردات نسخه نمایشی اضافه شده است. این اعلان در بالای دکمه وارد کردن نمایش داده می شود (همچنین HTML را می پذیرد) ،
  • Now displays proper error message, if the file-system method is not set to “direct”,
  • This plugin is now compatible with the new Humanmade content importer plugin,
  • Added a filter to the plugin page creation, so that theme authors can now change the location of the plugin page (Demo data import) and some other parameters as well.

1.1.1

Release Date – 22 May 2016

  • Preview import images can now be defined for multiple predefined import files (check FAQ “How to predefine demo imports?” for more info),
  • اکنون می توانید تنظیمات سفارشی ساز را نیز وارد کنید.

1.1.0

Release Date – 14 May 2016

  • واردات محتوا اکنون در چندین درخواست AJAX وارد می شود ، بنابراین دیگر نباید خطای زمان سرور وجود داشته باشد ،
  • The setting for generation of multiple image sizes in the content import is again enabled by default,
  • Plugin textdomain was loaded, so that translations can be made.

1.0.3

Release Date – 27 April 2016

  • فیلتر اضافه شده برای بازسازی تصویر ،
  • Added filter to change the plugin intro text,
  • Added action to execute custom code before widget import,
  • Disabled author imports.

1.0.2

Release Date – 15 April 2016

  • Monkey fix for WP version 4.5. – disabled generation of multiple image sizes in the content import.

1.0.1

Release Date – 2 April 2016

Small code fixes:

  • Fixed undefined variable bug,
  • Fixed naming of downloaded files and their filters.

1.0.0

تاریخ انتشار – 25 مارس 2016

  • انتشار اولیه!