[wordpress插件] Child Themes Helper儿童主题助手

wordpress 插件 文章 2020-03-23 00:40 619 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

    1. The Child Themes Helper is a tool….

      儿童主题帮助器是一个工具...。

      …developed for those child theme developers who write or modify PHP code in the development of their child themes.

      …是为那些在其子主题的开发中编写或修改PHP代码的子主题开发者开发的。

      Previous versions of the Child Themes Helper required the child theme being modified be the activated theme.

      早期版本的“子主题帮助器”要求将被修改的子主题作为激活的主题。

      That is no longer the case.

      这已不再是这种情况。

      However, you will still need to set a child theme to be an “Active Theme” on the Options tab, but it does not have to be the activated theme.

      但是,您仍然需要在“选项”选项卡上将子主题设置为“活动主题”,但不必将其设置为已激活主题。

    2. Copy files from Parent Theme to Child Theme

      将文件从父主题复制到子主题

      The primary purpose of the Child Themes Helper plugin is to copy files from a parent theme (also called the template theme) to a child theme.

      子主题帮助器插件的主要目的是将文件从父主题(也称为模板主题)复制到子主题。

      The folder path in the parent theme is duplicated in the child theme during the copy.

      复制期间,父主题中的文件夹路径在子主题中重复。

    3. Edit Child Theme Files

      编辑子主题文件

      Starting with the Child Themes Helper version 2.1, you can now edit your child theme files and save the changes.

      从子主题帮助器2.1版开始,您现在可以编辑子主题文件并保存更改。

      You can also “edit” your parent theme files, but they are marked read-only and you will not be able to save any changes that you make.

      您也可以“编辑”父主题文件,但是它们被标记为只读,并且您将无法保存所做的任何更改。

      This is not meant to be the primary method of editing your files, but rather a way to make a quick change or to peer inside of a file without having to go elsewhere to make a quick change.

      这并不意味着它是编辑文件的主要方法,而是一种进行快速更改或浏览文件内部而无需到其他地方进行快速更改的方法。

    4. Remove files from the Child Theme

      从儿童主题中删除文件

      The Child Themes Helper plugin will also remove any files that you no longer want in the child theme.

      子主题帮助器插件还将删除子主题中不再需要的所有文件。

      Any folders that are made empty by the removal of a file or folder, will also be removed.

      通过删除文件或文件夹而腾空的所有文件夹也将被删除。

    5. Prompt before removal

      删除前提示

      The Child Themes Helper plugin will detect when a child theme file is different from its parent theme counterpart.

      Child Themes Helper插件将检测子主题文件何时与其父主题对应文件不同。

      If the files are not identical, the user will be prompted before allowing a parent theme file to be copied over an existing child theme file, or before allowing a child theme file to be removed.

      如果文件不相同,则会在允许将父主题文件复制到现有子主题文件上或允许删除子主题文件之前提示用户。

    6. Create a child theme

      创建子主题

      The primary functionality of the Child Themes Helper plugin requires the existence of a child theme.

      子主题帮助器插件的主要功能要求存在子主题。

      If a child theme has not already been created, this plugin will help you to create a child theme of any of the currently installed themes (not other child themes) on the website.

      如果尚未创建子主题,则此插件将帮助您创建网站上当前安装的任何主题(不是其他子主题)的子主题。

    7. Generate a temporary graphic for the Themes page

      为“主题”页面生成临时图形

      Creating a child theme does not create a graphic for your new theme on the WordPress themes page.

      创建子主题不会在WordPress主题页面上为您的新主题创建图形。

      The Child Themes Helper plugin can create a graphic for your child theme.

      子主题帮助器插件可以为您的子主题创建图形。

      You’re free to select the foreground and background colors for that graphic and choose from up to a couple of dozen Google Fonts.

      您可以自由选择该图形的前景色和背景色,并从数十种Google字体中选择。

      If you would like a different font, you only need to copy the .ttf file into the Child Themes Helper plugin’s assets/fonts folder.

      如果您希望使用其他字体,则只需将.ttf文件复制到Child Themes Helper插件的asset / fonts文件夹中。

      The next time you open the Options page, the newly downloaded font will be displayed with a sample string.

      下次打开“选项”页面时,将显示新下载的字体并带有示例字符串。

    8. Notes

      注释

        • Troubleshooting Installation Issues

          安装问题故障排除

          If you are upgrading the Child Themes Helper from a version prior to version 2.0, you might have problems installing the upgrade.

          如果要从2.0之前的版本升级Child Themes Helper,则在安装升级时可能会遇到问题。

          The most frequent problem is that the upgrade fails and displays a nasty message at the top of the plugins page.

          最常见的问题是升级失败,并在插件页面顶部显示了讨厌的消息。

          WordPress then politely deactivates the Child Themes Helper plugin.

          然后WordPress会礼貌地停用Child Themes Helper插件。

          If you experience this problem, the solution is to: deactivate the plugin if it isn’t already deactivated.

          如果遇到此问题,解决方案是:停用插件(如果尚未停用)。

          Delete the plugin.

          删除插件

          And then reinstall the Child Themes Helper directly from the WordPress plugins repository.

          然后直接从WordPress插件存储库中直接重新安装Child Themes Helper

          New with Child Themes Helper v2.0, the primary folder name (“~/plugins/pasChildThemes) and the primary file name (pasChildThemes.php) were changed to (~/plugins/child-themes-helper) and (

          Child Themes Helper v2.0的新增功能,主文件夹名称(“〜/ plugins / pasChildThemes)和主文件名称(pasChildThemes.php)更改为(〜/ plugins / child-themes-helper)和(

          child-themes-helper.php) to make the plugin match the WordPress assigned slug.

          child-themes-helper.php),以使插件与WordPress分配的子弹相匹配。

          Under certain circumstances, probably due to either browser caching or website caching, this causes the upgrade to fail.

          在某些情况下,可能是由于浏览器缓存或网站缓存所致,这导致升级失败。

        • PHP Developer Tool

          PHP开发人员工具

          The Child Themes Helper is meant as a PHP developer’s tool to help the WordPress PHP developer make direct changes to a child theme’s PHP code.

          Child Themes Helper是PHP开发人员的工具,可帮助WordPress PHP开发人员直接更改子主题的PHP代码。

          It is NOT a GUI, drag -n- drop tool to help non-developers build a child theme.

          它是的GUI,拖放工具可帮助非开发人员构建子主题。

        • Child Themes Helper on GitHub

          GitHub上的

          儿童主题助手

          The GitHub repository for this plugin can be found here.

          可以在此处找到该插件的GitHub存储库。

          Stable versions are usually found on the WordPress SVN repository.

          稳定版本通常可以在WordPress SVN存储库中找到。

          Intermediate versions are often found on GitHub.

          中间版本通常在GitHub上找到。

        • Child Themes Helper access

          儿童主题助手访问权限

          The Child Themes Helper is accessed from the WordPress dashboard under the heading “Child Themes Helper”.

          可从WordPress仪表板的“儿童主题助手”标题下访问“儿童主题助手”。

          The menu item may be found immediately below the Appearance Dashboard menu item.

          可以在外观仪表板菜单项的正下方找到该菜单项。

        • Platform Support

          平台支持

          The Child Themes Helper was developed on Microsoft IIS 10 and tested on both Windows’ and Linux -based web servers.

          Child Themes Helper是在Microsoft IIS 10上开发的,并已在基于Windows和Linux的Web服务器上进行了测试。

        • If you like the Child Themes Helper plugin, please consider writing a review

          如果您喜欢Child Themes Helper插件,请考虑撰写评论

          >here.

          >这里。

          Thank you.

          谢谢。

        • Development versions

          开发版本

          Versions 2.1, 1.2 are available for download and install.

          可以下载并安装2.1、1.2版本。

        • Screenshot

          屏幕截图

          The temporary graphic is referred to as the ScreenShot because the filename is “screenshot.png” and is located in the root folder of your theme.

          临时图形被称为ScreenShot,因为文件名是“ screenshot.png”,并且位于主题的根文件夹中。

          The filename and the location are defined by the WordPress core and cannot be changed by this (or any) plugin.

          文件名和位置是由WordPress核心定义的,不能通过此(或任何)插件进行更改。

          Your browser will cache the screenshot file whenever possible.

          您的浏览器将尽可能地缓存屏幕截图文件。

          If you modify the ScreenShot graphic and you do not see any changes when you generate a new one, then you will need to clear your browser’s image and file cache.

          如果您修改了ScreenShot图形,并且在生成新图形时看不到任何更改,则需要清除浏览器的图像和文件缓存。

          If you generate a screenshot graphic and you only see the background (i.e., no words), just generate the screenshot again.

          如果您生成屏幕截图图形,而您仅看到背景(即没有文字),则只需再次生成屏幕截图即可。

          This happens when the selected font does not exist in the assets/fonts folder of the Child Themes Helper plugin.

          当“子主题助手”插件的assets / fonts文件夹中不存在所选字体时,会发生这种情况。

          If you are updating from version 1.0, you will see this happen the first time that you generate a screenshot since the original fonts were deleted and replaced by Google Fonts.

          如果您要从1.0版进行更新,由于原始字体已被删除并由Google字体替换,因此您第一次生成屏幕截图时就会看到这种情况。

          Most developers will replace this generated screenshot file with a graphic of their own.

          大多数开发人员将使用自己的图形替换生成的屏幕截图文件。

          This feature is meant to provide a temporary graphic that quickly and easily identifies the child theme name and its parent theme.

          此功能旨在提供一个临时图形,可以快速轻松地标识子主题名称及其父主题。

          In a future release, there will be a lock feature on the options page to prevent accidental overwrites of the screenshot file.

          在将来的版本中,选项页面上将提供锁定功能,以防止意外覆盖屏幕快照文件。

          Also, in a future release, there will be the ability to select an existing graphic and crop it as necessary, instead of generating one.

          另外,在将来的版本中,将能够选择现有图形并根据需要裁剪它,而不是生成图形。

        • Known Bug

          已知错误

          Although the Child Themes Helper plugin is mostly responsive, the Edit File functionality doesn’t work very well on small screens.

          尽管Child Themes Helper插件大多具有响应能力,但“编辑文件”功能在小屏幕上效果不佳。

          But does anybody actually modify themes on smartphones and tablets?

          但是,实际上有人在智能手机和平板电脑上修改主题吗?

          (Please say ‘No’).

          (请说“不”)。

安装步骤

    • This plugin may be installed through the usual method of installing and activating WordPress plugins.

      可以通过安装和激活WordPress插件的常用方法来安装此插件。

      The first time you open the Child Themes Helper plugin page on your dashboard, it will look a bit different from the previous version.

      第一次打开仪表板上的“子主题帮助器”插件页面时,该页面看起来与以前的版本有所不同。

      Instead of a stack of menu options on the dashboard menu, there is a single menu option “Child Themes Helper” and it opens to a page featuring tabs across the top — one for each area of functionality.

      而不是仪表板菜单上的一堆菜单选项,只有一个菜单选项“ Child Themes Helper”,它打开到一个页面,页面顶部带有选项卡-每个功能区域一个。

      Previous versions worked on the currently active Child Theme, but effective with this release, you are free to modify any child theme that has been created.

      以前的版本可用于当前处于活动状态的子主题,但在此发行版中有效,您可以自由修改已创建的任何子主题。

      You will still need to specify the “active” theme, but it does not have to be the “activated” theme.

      您仍然需要指定“活动”主题,但不必是“已激活”主题。

      The first time you use it, you will only be able to set an active theme on the Options tab, or create a new child theme.

      第一次使用它时,将只能在“选项”选项卡上设置活动主题,或创建新的子主题。

    • If you experience problems installing or activating version 2.1 or later, after having an earlier version installed, please deactivate it, delete it, and then reinstall it.

      如果在安装或激活2.1或更高版本时遇到问题,请在安装较早版本后将其停用,将其删除,然后重新安装。

      The primary folder name and the primary plugin filename changed with this release.

      主文件夹名称和主插件文件名在此版本中已更改。

      It may conflict with an earlier version and crash upon install.

      它可能会与早期版本冲突并在安装时崩溃。

    • The Child Themes Helper plugin requires an active theme be specified (Options tab).

      “子主题帮助器”插件需要指定一个活动主题(“选项”选项卡)。

      Unlike previous versions, this “active theme” does NOT have to be the currently “Activated” theme.

      与以前的版本不同,此“活动主题”不必是当前的“已激活”主题。

    • If you downloaded the Child Themes Helper plugin, directly, from the WordPress Plugin Page<

      如果您直接从 WordPress插件页面下载了Child Themes Helper插件,

      /em>, then follow these instructions to install.

      / em>,然后按照以下说明进行安装。

        1. If you have already tried this plugin and you are trying a different version through this installation method, I highly recommend that you deactivate the plugin and delete it before following the next steps.

        2. 如果您已经尝试过该插件,并且正在通过此安装方法尝试使用其他版本,则强烈建议您先停用该插件并删除它,然后再执行下一步。

          There are multiple files that existed in earlier versions that do not exist or are no longer used in later versions.

          早期版本中存在多个文件,这些文件不存在或不再在更高版本中使用。

          If you don’t want to delete it, first, then at least deactivate it.

        3. 如果您不想删除它,请首先至少将其停用。

        4. Using your favorite FTP client, find the wp-content/plugins folder and create the child-themes-helper sub folder.
        5. 使用您喜欢的FTP客户端,找到wp-content / plugins文件夹并创建child-themes-helper子文件夹。

        6. Unzip the downloaded file and copy the contents to the wp-content/plugins/child-themes-helper folder on your web server.

        7. 解压缩下载的文件并将其内容复制到Web服务器上的wp-content / plugins / child-themes-helper文件夹中。

          Overwrite anything that previously existed.

        8. 覆盖以前存在的所有内容。

        9. Activate the Child Themes Helper plugin.
        10. 激活“子主题助手”插件。

        11. You’re ready to go.

        12. 您已经准备好出发了。

          You should see the menu option “Child Themes Helper” on your dashboard menu just below the Appearance menu item.

        13. 您应该在仪表板菜单的外观菜单项下方看到菜单选项“儿童主题助手”。

下载地址
https://downloads.wordpress.org/plugin/child-themes-helper.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Add Link to Copied Text将链接添加到复制的文本
[wordpress插件] AISee SEOAISee这
[wordpress插件] ClickerVolt &#8211; Affiliate Link &amp; Click Tracking for Performance MarketersClickerVolt –效果营销商的会员链接和点击跟踪
[wordpress插件] Checkmail validation for Contact Form 7联系表格7的Checkmail验证
[wordpress插件] Australia Post WooCommerce Extension澳大利亚邮政WooCommerce扩展
随便看看
微信公众号免300认证教程 4952
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 4069
小程序广告组件通过审核,但是小程序内没有显示广告? 4149
企业微信通讯录账号被管理员误/恶意删除,怎么办? 8013
问题? 7250
如何快速搭建抽奖助手小程序(无需代码知识) 5034
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 5987
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 5506
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 5202
如何解决渲染层网络错误Failed to load media? 16558