[wordpress插件] Awesome Shortcodes很棒的简码

wordpress 插件 文章 2020-02-27 02:20 473 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Awesome Shortcodes is an awesome collection of shortcodes.

很棒的简码是很棒的简码集合。

Currently included shortcode packs:

当前包含的短代码包:

    • General shortcodes.
    • 一般简码。

    • Text shortcodes.
    • 文本简码。

    • Posts shortcodes.
    • 发布简码。

    • Users shortcodes.
    • 用户简码。

    • WooCommerce shortcodes.
    • WooCommerce简码。

    General Shortcodes

    常规简码

      • [copyright] – Shortcode displays copyright symbol.
      • [版权] –简码显示版权符号。

      • [countdown] – Creates a countdown timer.

      • [countdown] –创建一个倒数计时器。

        Updated every second.

      • 每秒更新一次。

      • [dashicon] – Shortcode displays WordPress dash icon.
      • [dashicon] –简码显示WordPress破折号图标。

      • [date] – Displays current date.
      • [日期] –显示当前日期。

      • [font_awesome] – Shortcode displays Font Awesome icons.
      • [font_awesome] –简码显示Font Awesome图标。

      • [google_map] – Shortcode displays Google Map for selected coordinates.
      • [google_map] –简码显示所选坐标的Google Map。

      • [hide] – Hides content.

      • [hide] –隐藏内容。

        Useful for commenting.

      • 对评论很有用。

      • [login_url] – Shortcode displays your WordPress site login URL.
      • [login_url] –简码显示您的WordPress网站登录URL。

      • [meter] – Shortcode is used to measure data within a given range (a gauge).

      • [meter] –短码用于测量给定范围(仪表)内的数据。

        Uses HTML tag.

      • 使用HTML 标签

      • [number_counter] – Creates an animated number counter.
      • [number_counter] –创建一个动画数字计数器。

      • [option] – Shortcode displays WordPress option value.

      • [option] –简码显示WordPress选项值。

        Uses WordPress get_option() function.

      • 使用WordPress get_option() 功能

      • [progress] – Shortcode displays the progress of a task.

      • [progress] –简码显示任务的进度。

        Uses HTML tag.

      • 使用HTML 标签

      • [table] – Displays HTML table.
      • [table] –显示HTML表。

      • [timenow] – Shows current time in HH:MM:SS format.

      • [timenow] –以 HH:MM:SS 格式显示当前时间。

        Updated every second.

      • 每秒更新一次。

      • [total_categories] – Shortcode displays total categories count on your site.
      • [total_categories] –简码显示您网站上的类别总数。

      • [total_tags] – Shortcode displays total tags count on your site.
      • [total_tags] –简码显示您网站上的标签总数。

      • [total_taxonomy] – Shortcode displays total taxonomy terms count on your site.
      • [total_taxonomy] –简码显示您网站上的总分类学术语数。

      • – Shortcode displays embedded YouTube video.
      • <!-YouTube错误:输入了错误的URL-> –简码显示嵌入式YouTube视频。

      Text Shortcodes

      文本简码

        • [code] – Wrap contents in tag.

        • [code] –将内容包装在 标记中。

          Useful for displaying a piece of computer code.

        • 对于显示一段计算机代码很有用。

        • [details] – Creates an interactive widget that user can open and close.

        • [详细信息] –创建一个用户可以打开和关闭的交互式窗口小部件。

          Uses HTML

          tag.
        • 使用HTML

          标签

        • [flash] – Creates flashing text effect with CSS.
        • [flash] –使用CSS创建闪烁的文本效果。

        • [is_user_logged_in] – Hides text from users who are not logged in.
        • [is_user_logged_in] –对未登录的用户隐藏文本。

        • [is_user_role] – Shows text by user role.
        • [is_user_role] –按用户角色显示文本。

        • [strikeout] – Strikeouts content.
        • [strikeout] –删除线内容。

        • [text3d] – Creates 3D text with CSS.
        • [text3d] –使用CSS创建3D文本。

        Posts Shortcodes

        帖子简码

          • [post_id] – Displays current post ID.
          • [post_id] –显示当前帖子ID。

          • [post_meta] – Displays post meta field value.
          • [post_meta] –显示发布元字段值。

          • [posts] – Displays posts.

          • [帖子] –显示帖子。

            Check WP_Query page for more info on params.

          • 检查 WP_Query页面以获得有关参数的更多信息。

          • [total_posts] – Displays total number of posts in your site.
          • [total_posts] –显示您网站中的帖子总数。

          Users Shortcodes

          用户简码

            • [total_users] – Shortcode displays the count of users having each role, or the count of all users.
            • [total_users] –简码显示具有每个角色的用户数或所有用户的数。

            • [user_display_name] – Displays current user display name.

            • [user_display_name] –显示当前用户的显示名称。

              If user is not logged, nothing is displayed.

            • 如果未登录用户,则不会显示任何内容。

            • [user_email] – Displays current user email.

            • [user_email] –显示当前用户的电子邮件。

              If user is not logged, nothing is displayed.

            • 如果未登录用户,则不会显示任何内容。

            • [user_first_name] – Displays current user first name.

            • [user_first_name] –显示当前用户的名字。

              If user is not logged, nothing is displayed.

            • 如果未登录用户,则不会显示任何内容。

            • [user_id] – Displays current user ID.

            • [user_id] –显示当前用户ID。

              If user is not logged, nothing is displayed.

            • 如果未登录用户,则不会显示任何内容。

            • [user_ip] – Displays current user IP.
            • [user_ip] –显示当前用户IP。

            • [user_last_name] – Displays current user last name.

            • [user_last_name] –显示当前用户的姓氏。

              If user is not logged, nothing is displayed.

            • 如果未登录用户,则不会显示任何内容。

            • [user_location] – Displays current user location (i.e. country).
            • [用户位置] –显示当前用户位置(即国家/地区)。

            • [user_login] – Displays current user login (i.e. username).

            • [user_login] –显示当前用户登录名(即用户名)。

              If user is not logged, nothing is displayed.

            • 如果未登录用户,则不会显示任何内容。

            • [user_property] – Displays current user selected property.

            • [user_property] –显示当前用户选择的属性。

              If user is not logged, nothing is displayed.

            • 如果未登录用户,则不会显示任何内容。

            WooCommerce Shortcodes

            WooCommerce简码

              • [wc_current_currency_code] – Shortcode displays current WooCommerce currency code.

              • [wc_current_currency_code] –简码显示当前的WooCommerce货币代码。

                Useful for multi-currency sites.

              • 对于多币种网站有用。

              • [wc_current_currency_symbol] – Shortcode displays current WooCommerce currency symbol.

              • [wc_current_currency_symbol] –简码显示当前的WooCommerce货币符号。

                Useful for multi-currency sites.

              • 对于多币种网站有用。

              • [wc_login_form] – Displays WooCommerce login form for not logged in users.

              • [wc_login_form] –显示未登录用户的WooCommerce登录表单。

                If user is already logged in, nothing is displayed.

              • 如果用户已经登录,则不会显示任何内容。

              • [wc_product_dimensions] – Displays WooCommerce product dimensions.
              • [wc_product_dimensions] –显示WooCommerce产品尺寸。

              • [wc_product_id] – Shortcode displays current WooCommerce product ID.
              • [wc_product_id] –简码显示当前的WooCommerce产品ID。

              • [wc_product_price_html] – Shortcode displays WooCommerce product full price with currency symbol.
              • [wc_product_price_html] –简码显示带有货币符号的WooCommerce产品全价。

              More

              更多

                • We are open to your suggestions and feedback.

                • 我们欢迎您的建议和反馈。

                  Thank you for using or trying out one of our plugins!

                • 感谢您使用或试用我们的插件之一!

                • If you wish to contribute, join in on our GitHub repository.
                • 如果您希望做出贡献,请加入我们的 GitHub存储库

安装步骤

    1. Upload the entire plugin folder to the /wp-content/plugins/ directory.
    2. 将整个插件文件夹上传到 / wp-content / plugins / 目录。

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

    5. Start by visiting plugin settings at “Settings > Awesome Shortcodes”.
    6. 首先访问“设置>简码”中的插件设置。

下载地址
https://downloads.wordpress.org/plugin/awesome-shortcodes.1.6.0.zip
-EOF-

AI助手支持GPT4.0