[wordpress插件] Dashboard Notepad仪表板记事本

wordpress 插件 文章 2020-04-12 11:11 560 0 全屏看文

AI助手支持GPT4.0

评分
92
描述

This dashboard widget provides a simple notepad.

此仪表板小部件提供了一个简单的记事本。

The widget settings allow you to choose which roles can edit the notes, and which roles can merely read them.

窗口小部件设置使您可以选择哪些角色可以编辑注释,哪些角色仅可以阅读注释。

Version 1.30 also adds support for custom roles and integrates with the Members plugin for role settings.

1.30版还增加了对自定义角色的支持,并与成员插件集成以进行角色设置。

You can display the contents of your notepad using a template tag and/or shortcode.

您可以使用模板标签和/或简码显示记事本的内容。

The widget permissions apply to these tags as well: only users with permission to read the notes will see the notes on the front end.

窗口小部件权限也适用于这些标签:只有具有阅读注释权限的用户才能在前端看到注释。

You can use div#dashboard-notes in your theme’s CSS file to style the notes.

您可以在主题的CSS文件中使用 div#dashboard-notes 设置注释的样式。

Translations

翻译

    Translations

    翻译

    If you would like to send me a translation, please write to me through my contact page.

    如果您想给我发送翻译,请通过我的联系页面给我写信。

    Let me know which plugin you’ve translated and how you would like to be credited.

    让我知道您翻译了哪个插件,以及您希望如何记入信用额。

    I will write you back so you can attach the files in your reply.

    我会回信给您,以便您可以在答复中附加文件。

安装步骤

    1. Upload the plugin directory to /wp-content/plugins/
    2. 将插件目录上传到 / wp-content / plugins /

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

    5. Go to your Dashboard and configure the widget by clicking the link in its upper right corner.
    6. 转到您的信息中心,然后点击右上角的链接来配置小部件。

    7. To display your notes in a theme file, use the

    8. 要在主题文件中显示笔记,请使用 <?phpdashboard_notes();。

      ?> template tag.

    9. ?> 模板标签。

    10. To display your notes in a post, page, or text widget, use the [dashboard_notes] shortcode.

    11. 要在帖子,页面或文本小部件中显示笔记,请使用 [dashboard_notes] 短代码。

      (To use it in a widget, you'll have to enable shortcode parsing in text widgets, if you haven't already. Add add_filter('widget_text', 'do_shortcode'); to your functions.

      (要在窗口小部件中使用它,您必须在文本窗口小部件中启用短代码解析,如果还没有的话。将 add_filter('widget_text','do_shortcode'); 添加到函数中。

      php file.) You can use div#dashboard-notes in your theme's CSS file to style the notes.

    12. php文件。)您可以在主题的CSS文件中使用 div#dashboard-notes 设置注释的样式。

下载地址
https://downloads.wordpress.org/plugin/dashboard-notepad.1.42.zip
-EOF-

AI助手支持GPT4.0