[wordpress插件] AP Theme Utility PluginAP Theme Utility插件

wordpress 插件 文章 2020-02-19 14:00 531 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Support

支持

Tested with WordPress 5.1.1

经过WordPress 5.1.1测试

Instant Demo Importer is a Free WordPress plugin to import the demo contents, widgets, theme settings and customizer settings with one click in your website!

即时演示导入器是一个免费的WordPress插件,只需在您的网站上单击一下即可导入演示内容,小部件,主题设置和定制程序设置!

You just need to create a new instance for the plugin class somewhere in your theme and define the path for the demo content, widgets, theme option settings and customizer settings and the path for the demo folder location.

您只需要在主题中某个位置为插件类创建一个新实例,并定义演示内容,小部件,主题选项设置和定制程序设置的路径以及演示文件夹位置的路径。

安装步骤

    1. Upload instant-demo-imporder folder to the /wp-content/plugins/ directory
    2. instant-demo-imporder 文件夹上传到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Create an object instance for the APTU_Class class within your theme file.
    6. 在主题文件中为 APTU_Class 类创建一个对象实例。

    7. Place <?php do_action('APTU_Class');

    8. 放置&lt;?php do_action('APTU_Class');

      ?> in your templates this will provide you with the default demo for the ScrollMe theme by AccessPress to install.

    9. ?&gt; 模板中的内容,这将为您提供由AccessPress安装的ScrollMe主题的默认演示。

    10. You may replace these default demo by adding your own demo content files to the theme folder and setting the demo file path location to the APTU_Class object.
    11. 您可以通过将自己的演示内容文件添加到主题文件夹并将演示文件路径位置设置为 APTU_Class 对象来替换这些默认演示。

    for e.g.
        

    例如
        

            

    <?php
            

    if(class_exists(‘APTU_Class’)) :

    if(class_exists('APTU_Class')):

            $demos = array(            

      $ demos = array(            

    'test-demo' => array(                

    'test-demo'=>数组(                

    'title' => __('Test Demo', 'parallaxsome-pro'),                

    'title'=> __('Test Demo','parallaxsome-pro'),                

    'name' => 'test-demo',                

    '名称'=>'测试演示',                

    'screenshot' => get_template_directory_uri().'/path/to/test-demo/screen.png',                

    '截图'=> get_template_directory_uri()。'/ path / to / test-demo / screen.png',                

    'home_page' => 'front-page',                

    'home_page'=>'首页',                

    'menus' => array(                    

    '菜单'=>数组(                    

    'Main Menu' => 'primary',                    

    '主菜单'=>'主要',                    

    'Footer Menu' => 'footer-menu',                

    'Footer Menu'=>'footer-menu',                

    )            

    )            

    ),        

    ),        

    );        

    );        

    $demoimporter = new APTU_Class( $demos, $demo_dir='path\to\demo\directory' );    

    $ demoimporter = new APTU_Class($ demos,$ demo_dir ='path \ to \ demo \ directory');    

    endif;

    万一;

    ?>

    ?&gt;

    Available Languages

    可用语言

      • English
      • 英语

      Features

      功能

        • Import all the contents of theme’s demo.
        • 导入主题演示的所有内容。

        • Import all widgets data.
        • 导入所有小部件数据。

        • Import all menu, customizer settings and other themes settings.
        • 导入所有菜单,定制器设置和其他主题设置。

        • Import posts, pages, images, categories, custom post.
        • 导入帖子,页面,图像,类别,自定义帖子。

        Some Useful Links

        一些有用的链接

          • Support Forum Link: http://accesspressthemes.com/support/
          • 支持论坛链接:http://accesspressthemes.com/support/

          • Website Link: http://accesspressthemes.com/
          • 网站链接:http://accesspressthemes.com/

          • Youtube channel link: https://www.youtube.com/watch?v=TjZNcVG3fDE
          • Youtube频道链接:https://www.youtube.com/watch?v=TjZNcVG3fDE

          • Facebook link: https://www.facebook.com/AccessPressThemes
          • Facebook链接:https://www.facebook.com/AccessPressThemes

下载地址
https://downloads.wordpress.org/plugin/ap-theme-utility-plugin.1.0.5.zip
-EOF-

AI助手支持GPT4.0