[wordpress插件] Debug Bar Shortcodes调试栏简码

wordpress 插件 文章 2020-04-14 04:01 494 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Debug Bar Shortcodes adds a new panel to the Debug Bar that displays the registered shortcodes for the current request.<

Debug Bar Shortcodes(调试栏简码)将一个新面板添加到 Debug Bar 中,以显示当前请求的已注册简码。

/p>

/ p>

Additionally it will show you:

此外,它还会显示:

    • Which function/method is called by the shortcode
    • 哪个功能/方法由短代码调用

    • Whether the shortcode is used on the current post/page/post type and how (only when on singular)
    • 是否在当前帖子/页面/帖子类型上使用了简码,以及如何使用(仅当使用单数时)

    • Any additional information available about the shortcode, such as a description, which parameters it takes, whether or not it is self-closing.

    • 有关短代码的任何其他可用信息,例如描述,使用什么参数,是否自动关闭。

      Want to control the additional information displayed about your own shortcodes ?

      是否要控制显示的有关您自己的简码的其他信息?

      You can!

      您可以!

      See the FAQ for more info.

    • 有关更多信息,请参见常见问题解答

    • Find out all pages/posts/etc on which a shortcode is used
    • 找出使用简码的所有页面/帖子/等

    This plugin is compatible with the LRH-Shortcode list and the LRH短代码列表

    /wordpress.org/plugins/shortcode-ui/">Shortcake/Shortcode UI plugins.

    /wordpress.org/plugins/shortcode-ui/">Shortcake/Shortcode UI 插件。

    Additional information about a shortcode provided to these plugins will be taken into account and made available through this plugin too.

    这些插件提供的有关简短代码的其他信息也将被考虑在内,也可以通过此插件使用。

    Why is it useful to have insight into the shortcodes ?

    为什么了解简码有什么用?

    There are a number of typical uses I can think of:

    我可以想到许多典型用途:

      • If you are a blog author:

        如果您是 博客作者

          • to know which shortcodes you can use in your posts/pages.
          • 了解您可以在帖子/页面中使用哪些简码。

          • if you switch plugins or remove a plugin, to know in which posts/pages you need to removeeplace old shortcodes
          • 如果您切换插件或删除插件,要知道您需要在哪些帖子/页面中删除/替换旧的短代码

        • If you are a web designer / web master:

          如果您是 网站设计师/网站管理员

安装步骤

    1. Install Debug Bar if not already installed (https://wordpress.org/plugins/debug-bar/)
    2. 如果尚未安装调试栏,请安装(https://wordpress.org/plugins/debug-bar/)

    3. Extract the .zip file for this plugin and upload its contents to the /wp-content/plugins/ directory.

    4. 为此插件提取.zip文件,然后将其内容上传到 / wp-content / plugins / 目录。

      Alternatively, you can install directly from the Plugin directory within your WordPress Install.

    5. 另外,您可以直接从WordPress安装中的Plugin目录安装。

    6. Activate the plugin through the “Plugins” menu in WordPress.
    7. 通过WordPress中的“插件”菜单激活插件。

    Be careful when you use this plugin on a live site.

    在实时站点上使用此插件时要小心。

    This plugin is intended for development purposes.

    该插件用于开发目的。

下载地址
https://downloads.wordpress.org/plugin/debug-bar-shortcodes.2.0.3.zip
-EOF-

AI助手支持GPT4.0