[wordpress插件] Buddypress PagetraceBuddypress Pagetrace

wordpress 插件 文章 2020-03-13 03:10 459 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This debugging/development tool displays names of the current_component and the current_action as extracted from the $bp Global.

此调试/开发工具显示从$ bp Global提取的current_component和current_action的名称。

Sometimes action names don’t exist or they might not match the displayed link, so its good to know what is going on.

有时动作名称不存在或它们可能与显示的链接不匹配,所以很高兴知道发生了什么。

Aditionally Buddypress has its own component and action names for the regular wordpress pages and blog posts, seing how this all works will enable you to write conditionals to display different content for each component.

另外,Buddypress对于常规的wordpress页面和博客帖子具有其自己的组件和操作名称,了解这一切的工作原理将使您能够编写条件显示每个组件的不同内容。

With this tool it is easy to see what those variables are.

使用此工具可以轻松查看这些变量是什么。

It might seem unnecessary but believe me it helps.

似乎没有必要,但相信我会有所帮助。

I never knew that when you go to your profile page the component=activity and the action=just-me, until I created this simple tool.

我从来不知道,当我创建此简单工具之前,当您转到个人资料页面时,component = activity和action = just-me。

安装步骤

    1. Upload buddypress-pagetrace to the /wp-content/plugins/ directory
    2. buddypress-pagetrace 上载到 / wp-content / plugins / 目录

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

    Instructions:

    说明:

    Note: This plugin is for extending the functionality of Buddypress.

    注意:此插件用于扩展Buddypress的功能。

    Buddypress must be installed.

    必须安装Buddypress。

      1. Install the plugin
      2. 安装插件

      3. Activate the plugin
      4. 激活插件

      5. To turn off the tool: Go to the WordPress dashboard navigate to the plugin settings via the Buddypress sidebar link/icon.

      6. 要关闭该工具,请执行以下操作:转到WordPress仪表板,通过Buddypress侧边栏链接/图标导航至插件设置。

        Then click on BP Pagetrace.

      7. 然后单击BP Pagetrace。

下载地址
https://downloads.wordpress.org/plugin/buddypress-pagetrace.1.1.zip
-EOF-

AI助手支持GPT4.0