AI助手支持GPT4.0
Allow users with specific WordPress roles to delete themselves from the Your Profile page or anywhere Shortcodes can be used using the Shortcode [plugin_delete_me /].
[plugin_delete_me /]
允许具有特定WordPress角色的用户从您的个人资料 strong>页面或任何地方删除自己,可以使用简码 [plugin_delete_me /] code>使用简码。Settings for this plugin are found on the Settings -> Delete Me subpanel.在设置->删除我 strong>子面板上可以找到此插件的设置。Multisite and Network Activation supported.支持多站点和网络激活。 p>How it works: 工作方式: strong> p>A user clicks the delete link, which defaults to “Delete Account”, but can be changed.用户单击删除链接,该链接默认为“删除帐户”,但可以更改。 p> li>User is asked to confirm they want to delete themselves.要求用户确认要删除自己。 p> li>If confirmed, user and all their Posts, Links, and (optionally) Comments are deleted.如果确认,则删除用户及其所有帖子,链接和(可选)评论。 p> li>Deleted user (optionally) redirected to landing page URL, default is homepage, can be changed or left blank.已删除的用户(可选)重定向到登录页面URL,默认为主页,可以更改或保留为空白。 p> li> ul>Settings available: 可用设置: strong> p>Enable or disable Network Wide, which applies a single page of settings across all Multisite network Sites.启用或禁用“网络范围内”,这会在所有“多站点”网络站点上应用单页设置。 p> li>Select specific WordPress roles (e.g. Subscriber) you want to allow to delete themselves using Delete Me.选择您要允许使用“删除我”删除自己的特定WordPress角色(例如,订户)。 p> li>class and style attributes of the delete link.删除链接的 class code>和 style code>属性。 p> li> tag clickable content of the delete link. code>标记可删除链接的可点击内容。 p> li>Landing page URL.着陆页网址。 p> li>Your Profile confirmation page Heading, Warning, Password (optionally require password), Button. 您的个人资料 strong>确认页标题,警告,密码(可选,要求密码),按钮。 p> li>Enable or disable delete link on the Your Profile page.在您的个人资料 strong>页面上启用或禁用删除链接。 p> li>Javascript confirm text for Shortcode. JavaScript确认简码文本。 p> li>Enable or disable Javascript confirm for Shortcode.启用或禁用简码Java确认。 p> li>Enable or disable using a form (require password) instead of a link for Shortcode.启用或禁用表单(要求密码),而不是使用简码链接。 p> li>Multisite: Delete user from entire Network or current Site only.多站点:仅从整个网络或当前站点删除用户。 p> li>Delete comments.删除评论。 p> li>E-mail notification when a user deletes themselves.用户删除自己时的电子邮件通知。 p> li> ul>
[plugin_delete_me /] code>使用简码。Settings for this plugin are found on the Settings -> Delete Me subpanel.在设置->删除我 strong>子面板上可以找到此插件的设置。Multisite and Network Activation supported.支持多站点和网络激活。 p>How it works: 工作方式: strong> p>A user clicks the delete link, which defaults to “Delete Account”, but can be changed.用户单击删除链接,该链接默认为“删除帐户”,但可以更改。 p> li>User is asked to confirm they want to delete themselves.要求用户确认要删除自己。 p> li>If confirmed, user and all their Posts, Links, and (optionally) Comments are deleted.如果确认,则删除用户及其所有帖子,链接和(可选)评论。 p> li>Deleted user (optionally) redirected to landing page URL, default is homepage, can be changed or left blank.已删除的用户(可选)重定向到登录页面URL,默认为主页,可以更改或保留为空白。 p> li> ul>Settings available: 可用设置: strong> p>Enable or disable Network Wide, which applies a single page of settings across all Multisite network Sites.启用或禁用“网络范围内”,这会在所有“多站点”网络站点上应用单页设置。 p> li>Select specific WordPress roles (e.g. Subscriber) you want to allow to delete themselves using Delete Me.选择您要允许使用“删除我”删除自己的特定WordPress角色(例如,订户)。 p> li>class and style attributes of the delete link.删除链接的 class code>和 style code>属性。 p> li> tag clickable content of the delete link. code>标记可删除链接的可点击内容。 p> li>Landing page URL.着陆页网址。 p> li>Your Profile confirmation page Heading, Warning, Password (optionally require password), Button. 您的个人资料 strong>确认页标题,警告,密码(可选,要求密码),按钮。 p> li>Enable or disable delete link on the Your Profile page.在您的个人资料 strong>页面上启用或禁用删除链接。 p> li>Javascript confirm text for Shortcode. JavaScript确认简码文本。 p> li>Enable or disable Javascript confirm for Shortcode.启用或禁用简码Java确认。 p> li>Enable or disable using a form (require password) instead of a link for Shortcode.启用或禁用表单(要求密码),而不是使用简码链接。 p> li>Multisite: Delete user from entire Network or current Site only.多站点:仅从整个网络或当前站点删除用户。 p> li>Delete comments.删除评论。 p> li>E-mail notification when a user deletes themselves.用户删除自己时的电子邮件通知。 p> li> ul>
Settings for this plugin are found on the Settings -> Delete Me subpanel.
在设置->删除我 strong>子面板上可以找到此插件的设置。Multisite and Network Activation supported.支持多站点和网络激活。 p>How it works: 工作方式: strong> p>A user clicks the delete link, which defaults to “Delete Account”, but can be changed.用户单击删除链接,该链接默认为“删除帐户”,但可以更改。 p> li>User is asked to confirm they want to delete themselves.要求用户确认要删除自己。 p> li>If confirmed, user and all their Posts, Links, and (optionally) Comments are deleted.如果确认,则删除用户及其所有帖子,链接和(可选)评论。 p> li>Deleted user (optionally) redirected to landing page URL, default is homepage, can be changed or left blank.已删除的用户(可选)重定向到登录页面URL,默认为主页,可以更改或保留为空白。 p> li> ul>Settings available: 可用设置: strong> p>Enable or disable Network Wide, which applies a single page of settings across all Multisite network Sites.启用或禁用“网络范围内”,这会在所有“多站点”网络站点上应用单页设置。 p> li>Select specific WordPress roles (e.g. Subscriber) you want to allow to delete themselves using Delete Me.选择您要允许使用“删除我”删除自己的特定WordPress角色(例如,订户)。 p> li>class and style attributes of the delete link.删除链接的 class code>和 style code>属性。 p> li> tag clickable content of the delete link. code>标记可删除链接的可点击内容。 p> li>Landing page URL.着陆页网址。 p> li>Your Profile confirmation page Heading, Warning, Password (optionally require password), Button. 您的个人资料 strong>确认页标题,警告,密码(可选,要求密码),按钮。 p> li>Enable or disable delete link on the Your Profile page.在您的个人资料 strong>页面上启用或禁用删除链接。 p> li>Javascript confirm text for Shortcode. JavaScript确认简码文本。 p> li>Enable or disable Javascript confirm for Shortcode.启用或禁用简码Java确认。 p> li>Enable or disable using a form (require password) instead of a link for Shortcode.启用或禁用表单(要求密码),而不是使用简码链接。 p> li>Multisite: Delete user from entire Network or current Site only.多站点:仅从整个网络或当前站点删除用户。 p> li>Delete comments.删除评论。 p> li>E-mail notification when a user deletes themselves.用户删除自己时的电子邮件通知。 p> li> ul>
Multisite and Network Activation supported.
支持多站点和网络激活。 p>
How it works:
工作方式: strong> p>A user clicks the delete link, which defaults to “Delete Account”, but can be changed.用户单击删除链接,该链接默认为“删除帐户”,但可以更改。 p> li>User is asked to confirm they want to delete themselves.要求用户确认要删除自己。 p> li>If confirmed, user and all their Posts, Links, and (optionally) Comments are deleted.如果确认,则删除用户及其所有帖子,链接和(可选)评论。 p> li>Deleted user (optionally) redirected to landing page URL, default is homepage, can be changed or left blank.已删除的用户(可选)重定向到登录页面URL,默认为主页,可以更改或保留为空白。 p> li> ul>Settings available: 可用设置: strong> p>Enable or disable Network Wide, which applies a single page of settings across all Multisite network Sites.启用或禁用“网络范围内”,这会在所有“多站点”网络站点上应用单页设置。 p> li>Select specific WordPress roles (e.g. Subscriber) you want to allow to delete themselves using Delete Me.选择您要允许使用“删除我”删除自己的特定WordPress角色(例如,订户)。 p> li>class and style attributes of the delete link.删除链接的 class code>和 style code>属性。 p> li> tag clickable content of the delete link. code>标记可删除链接的可点击内容。 p> li>Landing page URL.着陆页网址。 p> li>Your Profile confirmation page Heading, Warning, Password (optionally require password), Button. 您的个人资料 strong>确认页标题,警告,密码(可选,要求密码),按钮。 p> li>Enable or disable delete link on the Your Profile page.在您的个人资料 strong>页面上启用或禁用删除链接。 p> li>Javascript confirm text for Shortcode. JavaScript确认简码文本。 p> li>Enable or disable Javascript confirm for Shortcode.启用或禁用简码Java确认。 p> li>Enable or disable using a form (require password) instead of a link for Shortcode.启用或禁用表单(要求密码),而不是使用简码链接。 p> li>Multisite: Delete user from entire Network or current Site only.多站点:仅从整个网络或当前站点删除用户。 p> li>Delete comments.删除评论。 p> li>E-mail notification when a user deletes themselves.用户删除自己时的电子邮件通知。 p> li> ul>
A user clicks the delete link, which defaults to “Delete Account”, but can be changed.
用户单击删除链接,该链接默认为“删除帐户”,但可以更改。 p>
li>
User is asked to confirm they want to delete themselves.
要求用户确认要删除自己。 p>
If confirmed, user and all their Posts, Links, and (optionally) Comments are deleted.
如果确认,则删除用户及其所有帖子,链接和(可选)评论。 p>
Deleted user (optionally) redirected to landing page URL, default is homepage, can be changed or left blank.
已删除的用户(可选)重定向到登录页面URL,默认为主页,可以更改或保留为空白。 p>
ul>
Settings available:
可用设置: strong> p>Enable or disable Network Wide, which applies a single page of settings across all Multisite network Sites.启用或禁用“网络范围内”,这会在所有“多站点”网络站点上应用单页设置。 p> li>Select specific WordPress roles (e.g. Subscriber) you want to allow to delete themselves using Delete Me.选择您要允许使用“删除我”删除自己的特定WordPress角色(例如,订户)。 p> li>class and style attributes of the delete link.删除链接的 class code>和 style code>属性。 p> li> tag clickable content of the delete link. code>标记可删除链接的可点击内容。 p> li>Landing page URL.着陆页网址。 p> li>Your Profile confirmation page Heading, Warning, Password (optionally require password), Button. 您的个人资料 strong>确认页标题,警告,密码(可选,要求密码),按钮。 p> li>Enable or disable delete link on the Your Profile page.在您的个人资料 strong>页面上启用或禁用删除链接。 p> li>Javascript confirm text for Shortcode. JavaScript确认简码文本。 p> li>Enable or disable Javascript confirm for Shortcode.启用或禁用简码Java确认。 p> li>Enable or disable using a form (require password) instead of a link for Shortcode.启用或禁用表单(要求密码),而不是使用简码链接。 p> li>Multisite: Delete user from entire Network or current Site only.多站点:仅从整个网络或当前站点删除用户。 p> li>Delete comments.删除评论。 p> li>E-mail notification when a user deletes themselves.用户删除自己时的电子邮件通知。 p> li> ul>
Enable or disable Network Wide, which applies a single page of settings across all Multisite network Sites.
启用或禁用“网络范围内”,这会在所有“多站点”网络站点上应用单页设置。 p>
Select specific WordPress roles (e.g. Subscriber) you want to allow to delete themselves using Delete Me.
选择您要允许使用“删除我”删除自己的特定WordPress角色(例如,订户)。 p>
class and style attributes of the delete link.
class
style
删除链接的
class code>和 style code>属性。 p>
style code>属性。 p>
tag clickable content of the delete link.
code>标记可删除链接的可点击内容。 p>
Landing page URL.
着陆页网址。 p>
Your Profile confirmation page Heading, Warning, Password (optionally require password), Button.
您的个人资料 strong>确认页标题,警告,密码(可选,要求密码),按钮。 p>
Enable or disable delete link on the Your Profile page.
在您的个人资料 strong>页面上启用或禁用删除链接。 p>
Javascript confirm text for Shortcode.
JavaScript确认简码文本。 p>
Enable or disable Javascript confirm for Shortcode.
启用或禁用简码Java确认。 p>
Enable or disable using a form (require password) instead of a link for Shortcode.
启用或禁用表单(要求密码),而不是使用简码链接。 p>
Multisite: Delete user from entire Network or current Site only.
多站点:仅从整个网络或当前站点删除用户。 p>
Delete comments.
删除评论。 p>
E-mail notification when a user deletes themselves.
用户删除自己时的电子邮件通知。 p>
Basic
基本 strong> p>Install automatically in WordPress on the Plugins -> Add New subpanel or upload the delete-me folder to the /wp-content/plugins/在WordPress的插件->添加新 strong>子面板上自动安装,或将 delete-me strong>文件夹上传到 / wp-content / plugins / strong> directory.strong>目录。 p> li>Activate the plugin on the Plugins panel in WordPress.在WordPress的插件 strong>面板上激活插件。 p> li>Go to the Settings -> Delete Me subpanel, check the WordPress roles you want to allow to delete themselves using Delete Me, and click Save Changes.转到设置->删除我 strong>子面板,选中要允许使用“删除我”删除自己的WordPress角色,然后单击“保存更改”。 p> li>Thats it!就这样!The delete link will be placed automatically near the bottom of the Your Profile page for roles you allowed.对于您允许的角色,删除链接将自动放置在您的个人资料 strong>页面底部附近。If you prefer the delete link be on your front-end, please read below.如果您希望删除链接位于前端,请阅读以下内容。 p> li> ol>Advanced: Shortcode Usage 高级:简码用法 strong> p>Note: To prevent the delete link from appearing on the Your Profile page, uncheck the setting Link Enabled. 注意:为防止删除链接出现在您的个人资料 strong>页面上,请取消选中设置已启用链接 strong>。 em> p>Custom Profile Page – Copy and paste the Shortcode [plugin_delete_me /] into the Post or Page you’ve created. 自定义个人资料页面 strong> –将简码 [plugin_delete_me /] code>粘贴并粘贴到您创建的帖子或页面中。 li>Theme File – To call the Shortcode in one of your .php Theme files, use 主题文件 strong> –要在您的一个.php主题文件中调用简码,请使用 <?php echo do_shortcode('[plugin_delete_me /]'); ?>.?> code>。 li>Text Widget – To use the Shortcode in a Text Widget, make sure the line add_filter( 'widget_text', 'do_shortcode' ); appears in your Theme Functions ( 文本窗口小部件 strong> –要在文本窗口小部件中使用简码,请确保在主题函数中出现 add_filter('widget_text','do_shortcode'); code>行( functions.php) file.functions.php)文件。 li>Attributes – The attributes class, style, html, js_confirm_warning, landing_url may be used to override settings, but are not required. 属性 strong> –属性 class,style,html,js_confirm_warning,landing_url code>可以用于覆盖设置,但不是必需的。They provide site owners the ability to use multiple languages and/or multiple links within the same site or even the same page each configured differently.它们使网站所有者能够使用同一网站甚至同一页面中的每种语言都配置不同的多种语言和/或多个链接。 li> ul>Advanced: Translation 高级:翻译 strong> p>Note: Languages directory for plugins: /wp-content/languages/plugins 注意:插件的语言目录: / wp-content / languages / plugins strong> em> p>Choose a translation method:选择翻译方法:A) Get or provide translations of this plugin on WordPress. A) strong>在WordPress上获取或提供此插件的翻译。 org.org 。Alternatively, some language plugins (e.g. Polylang) can download and install the publicly available language files for plugins.另外,某些语言插件(例如 Polylang )可以下载并安装插件的公共语言文件。B) Create your own translations using the included delete-me.pot template file found in this plugin's languages directory and the free tool Poedit..net“ rel =” nofollow“>编辑。 li>Once you have finished your translations, export and save them as a .mo file.完成翻译后,将其导出并保存为.mo文件。 li>Name the .mo file delete-me-{locale}.mo (e.g. delete-me-en_US.mo)将.mo文件命名为delete-me- {locale} .mo(例如delete-me-en_US.mo) li>Place the .mo file into the languages directory for plugins.将.mo文件放入用于插件的languages目录中。 li> ol>If you’re using Poedit, it will create a .po file too. 如果您使用的是Poedit,它也会创建一个.po文件。You should keep the .po file in order to open and save changes to your translations or to update the .po file with source text changes when an updated delete-me.pot file is released.您应保留.po文件,以便在发布更新的delete-me.pot文件时打开并保存对译文的更改或使用源文本更改来更新.po文件。Just be aware that the actual translations used by the plugin are inside the .mo file.请注意,该插件使用的实际翻译是在.mo文件中。 em> p>Warning: If you place your translation files into this plugin's languages directory instead of the directory shown above, they will be deleted or replaced with any the author might include when updating the plugin. 警告:如果将翻译文件放置在此插件的语言目录中而不是上面显示的目录中,则它们将被删除或替换为更新插件时作者可能包括的任何文件。 em> strong> p>
Install automatically in WordPress on the Plugins -> Add New subpanel or upload the delete-me folder to the /wp-content/plugins/在WordPress的插件->添加新 strong>子面板上自动安装,或将 delete-me strong>文件夹上传到 / wp-content / plugins / strong> directory.strong>目录。 p>
在WordPress的插件->添加新 strong>子面板上自动安装,或将 delete-me strong>文件夹上传到 / wp-content / plugins / strong> directory.strong>目录。 p>
strong> directory.
strong>目录。 p>
Activate the plugin on the Plugins panel in WordPress.
在WordPress的插件 strong>面板上激活插件。 p>
Go to the Settings -> Delete Me subpanel, check the WordPress roles you want to allow to delete themselves using Delete Me, and click Save Changes.
转到设置->删除我 strong>子面板,选中要允许使用“删除我”删除自己的WordPress角色,然后单击“保存更改”。 p>
Thats it!
就这样!
The delete link will be placed automatically near the bottom of the Your Profile page for roles you allowed.
对于您允许的角色,删除链接将自动放置在您的个人资料 strong>页面底部附近。If you prefer the delete link be on your front-end, please read below.如果您希望删除链接位于前端,请阅读以下内容。 p>
If you prefer the delete link be on your front-end, please read below.
如果您希望删除链接位于前端,请阅读以下内容。 p>
ol>
Advanced: Shortcode Usage
高级:简码用法 strong> p>Note: To prevent the delete link from appearing on the Your Profile page, uncheck the setting Link Enabled. 注意:为防止删除链接出现在您的个人资料 strong>页面上,请取消选中设置已启用链接 strong>。 em> p>Custom Profile Page – Copy and paste the Shortcode [plugin_delete_me /] into the Post or Page you’ve created. 自定义个人资料页面 strong> –将简码 [plugin_delete_me /] code>粘贴并粘贴到您创建的帖子或页面中。 li>Theme File – To call the Shortcode in one of your .php Theme files, use 主题文件 strong> –要在您的一个.php主题文件中调用简码,请使用 <?php echo do_shortcode('[plugin_delete_me /]'); ?>.?> code>。 li>Text Widget – To use the Shortcode in a Text Widget, make sure the line add_filter( 'widget_text', 'do_shortcode' ); appears in your Theme Functions ( 文本窗口小部件 strong> –要在文本窗口小部件中使用简码,请确保在主题函数中出现 add_filter('widget_text','do_shortcode'); code>行( functions.php) file.functions.php)文件。 li>Attributes – The attributes class, style, html, js_confirm_warning, landing_url may be used to override settings, but are not required. 属性 strong> –属性 class,style,html,js_confirm_warning,landing_url code>可以用于覆盖设置,但不是必需的。They provide site owners the ability to use multiple languages and/or multiple links within the same site or even the same page each configured differently.它们使网站所有者能够使用同一网站甚至同一页面中的每种语言都配置不同的多种语言和/或多个链接。 li> ul>Advanced: Translation 高级:翻译 strong> p>Note: Languages directory for plugins: /wp-content/languages/plugins 注意:插件的语言目录: / wp-content / languages / plugins strong> em> p>Choose a translation method:选择翻译方法:A) Get or provide translations of this plugin on WordPress. A) strong>在WordPress上获取或提供此插件的翻译。 org.org 。Alternatively, some language plugins (e.g. Polylang) can download and install the publicly available language files for plugins.另外,某些语言插件(例如 Polylang )可以下载并安装插件的公共语言文件。B) Create your own translations using the included delete-me.pot template file found in this plugin's languages directory and the free tool Poedit..net“ rel =” nofollow“>编辑。 li>Once you have finished your translations, export and save them as a .mo file.完成翻译后,将其导出并保存为.mo文件。 li>Name the .mo file delete-me-{locale}.mo (e.g. delete-me-en_US.mo)将.mo文件命名为delete-me- {locale} .mo(例如delete-me-en_US.mo) li>Place the .mo file into the languages directory for plugins.将.mo文件放入用于插件的languages目录中。 li> ol>If you’re using Poedit, it will create a .po file too. 如果您使用的是Poedit,它也会创建一个.po文件。You should keep the .po file in order to open and save changes to your translations or to update the .po file with source text changes when an updated delete-me.pot file is released.您应保留.po文件,以便在发布更新的delete-me.pot文件时打开并保存对译文的更改或使用源文本更改来更新.po文件。Just be aware that the actual translations used by the plugin are inside the .mo file.请注意,该插件使用的实际翻译是在.mo文件中。 em> p>Warning: If you place your translation files into this plugin's languages directory instead of the directory shown above, they will be deleted or replaced with any the author might include when updating the plugin. 警告:如果将翻译文件放置在此插件的语言目录中而不是上面显示的目录中,则它们将被删除或替换为更新插件时作者可能包括的任何文件。 em> strong> p>
Note: To prevent the delete link from appearing on the Your Profile page, uncheck the setting Link Enabled.
注意:为防止删除链接出现在您的个人资料 strong>页面上,请取消选中设置已启用链接 strong>。 em> p>Custom Profile Page – Copy and paste the Shortcode [plugin_delete_me /] into the Post or Page you’ve created. 自定义个人资料页面 strong> –将简码 [plugin_delete_me /] code>粘贴并粘贴到您创建的帖子或页面中。 li>Theme File – To call the Shortcode in one of your .php Theme files, use 主题文件 strong> –要在您的一个.php主题文件中调用简码,请使用 <?php echo do_shortcode('[plugin_delete_me /]'); ?>.?> code>。 li>Text Widget – To use the Shortcode in a Text Widget, make sure the line add_filter( 'widget_text', 'do_shortcode' ); appears in your Theme Functions ( 文本窗口小部件 strong> –要在文本窗口小部件中使用简码,请确保在主题函数中出现 add_filter('widget_text','do_shortcode'); code>行( functions.php) file.functions.php)文件。 li>Attributes – The attributes class, style, html, js_confirm_warning, landing_url may be used to override settings, but are not required. 属性 strong> –属性 class,style,html,js_confirm_warning,landing_url code>可以用于覆盖设置,但不是必需的。They provide site owners the ability to use multiple languages and/or multiple links within the same site or even the same page each configured differently.它们使网站所有者能够使用同一网站甚至同一页面中的每种语言都配置不同的多种语言和/或多个链接。 li> ul>Advanced: Translation 高级:翻译 strong> p>Note: Languages directory for plugins: /wp-content/languages/plugins 注意:插件的语言目录: / wp-content / languages / plugins strong> em> p>Choose a translation method:选择翻译方法:A) Get or provide translations of this plugin on WordPress. A) strong>在WordPress上获取或提供此插件的翻译。 org.org 。Alternatively, some language plugins (e.g. Polylang) can download and install the publicly available language files for plugins.另外,某些语言插件(例如 Polylang )可以下载并安装插件的公共语言文件。B) Create your own translations using the included delete-me.pot template file found in this plugin's languages directory and the free tool Poedit..net“ rel =” nofollow“>编辑。 li>Once you have finished your translations, export and save them as a .mo file.完成翻译后,将其导出并保存为.mo文件。 li>Name the .mo file delete-me-{locale}.mo (e.g. delete-me-en_US.mo)将.mo文件命名为delete-me- {locale} .mo(例如delete-me-en_US.mo) li>Place the .mo file into the languages directory for plugins.将.mo文件放入用于插件的languages目录中。 li> ol>If you’re using Poedit, it will create a .po file too. 如果您使用的是Poedit,它也会创建一个.po文件。You should keep the .po file in order to open and save changes to your translations or to update the .po file with source text changes when an updated delete-me.pot file is released.您应保留.po文件,以便在发布更新的delete-me.pot文件时打开并保存对译文的更改或使用源文本更改来更新.po文件。Just be aware that the actual translations used by the plugin are inside the .mo file.请注意,该插件使用的实际翻译是在.mo文件中。 em> p>Warning: If you place your translation files into this plugin's languages directory instead of the directory shown above, they will be deleted or replaced with any the author might include when updating the plugin. 警告:如果将翻译文件放置在此插件的语言目录中而不是上面显示的目录中,则它们将被删除或替换为更新插件时作者可能包括的任何文件。 em> strong> p>
[plugin_delete_me /] code>粘贴并粘贴到您创建的帖子或页面中。 li>Theme File – To call the Shortcode in one of your .php Theme files, use 主题文件 strong> –要在您的一个.php主题文件中调用简码,请使用 <?php echo do_shortcode('[plugin_delete_me /]'); ?>.?> code>。 li>Text Widget – To use the Shortcode in a Text Widget, make sure the line add_filter( 'widget_text', 'do_shortcode' ); appears in your Theme Functions ( 文本窗口小部件 strong> –要在文本窗口小部件中使用简码,请确保在主题函数中出现 add_filter('widget_text','do_shortcode'); code>行( functions.php) file.functions.php)文件。 li>Attributes – The attributes class, style, html, js_confirm_warning, landing_url may be used to override settings, but are not required. 属性 strong> –属性 class,style,html,js_confirm_warning,landing_url code>可以用于覆盖设置,但不是必需的。They provide site owners the ability to use multiple languages and/or multiple links within the same site or even the same page each configured differently.它们使网站所有者能够使用同一网站甚至同一页面中的每种语言都配置不同的多种语言和/或多个链接。 li>
主题文件 strong> –要在您的一个.php主题文件中调用简码,请使用 <?php echo do_shortcode('[plugin_delete_me /]'); ?>.?> code>。 li>Text Widget – To use the Shortcode in a Text Widget, make sure the line add_filter( 'widget_text', 'do_shortcode' ); appears in your Theme Functions ( 文本窗口小部件 strong> –要在文本窗口小部件中使用简码,请确保在主题函数中出现 add_filter('widget_text','do_shortcode'); code>行( functions.php) file.functions.php)文件。 li>Attributes – The attributes class, style, html, js_confirm_warning, landing_url may be used to override settings, but are not required. 属性 strong> –属性 class,style,html,js_confirm_warning,landing_url code>可以用于覆盖设置,但不是必需的。They provide site owners the ability to use multiple languages and/or multiple links within the same site or even the same page each configured differently.它们使网站所有者能够使用同一网站甚至同一页面中的每种语言都配置不同的多种语言和/或多个链接。 li>
<?php echo do_shortcode('[plugin_delete_me /]'); ?>
?>
?> code>。 li>
add_filter( 'widget_text', 'do_shortcode' );
add_filter('widget_text','do_shortcode'); code>行( functions.php) file.
functions.php) file.
functions.php)文件。 li>
class, style, html, js_confirm_warning, landing_url
class,style,html,js_confirm_warning,landing_url code>可以用于覆盖设置,但不是必需的。They provide site owners the ability to use multiple languages and/or multiple links within the same site or even the same page each configured differently.
They provide site owners the ability to use multiple languages and/or multiple links within the same site or even the same page each configured differently.
它们使网站所有者能够使用同一网站甚至同一页面中的每种语言都配置不同的多种语言和/或多个链接。 li>
Advanced: Translation
高级:翻译 strong> p>Note: Languages directory for plugins: /wp-content/languages/plugins 注意:插件的语言目录: / wp-content / languages / plugins strong> em> p>Choose a translation method:选择翻译方法:A) Get or provide translations of this plugin on WordPress. A) strong>在WordPress上获取或提供此插件的翻译。 org.org 。Alternatively, some language plugins (e.g. Polylang) can download and install the publicly available language files for plugins.另外,某些语言插件(例如 Polylang )可以下载并安装插件的公共语言文件。B) Create your own translations using the included delete-me.pot template file found in this plugin's languages directory and the free tool Poedit..net“ rel =” nofollow“>编辑。 li>Once you have finished your translations, export and save them as a .mo file.完成翻译后,将其导出并保存为.mo文件。 li>Name the .mo file delete-me-{locale}.mo (e.g. delete-me-en_US.mo)将.mo文件命名为delete-me- {locale} .mo(例如delete-me-en_US.mo) li>Place the .mo file into the languages directory for plugins.将.mo文件放入用于插件的languages目录中。 li> ol>If you’re using Poedit, it will create a .po file too. 如果您使用的是Poedit,它也会创建一个.po文件。You should keep the .po file in order to open and save changes to your translations or to update the .po file with source text changes when an updated delete-me.pot file is released.您应保留.po文件,以便在发布更新的delete-me.pot文件时打开并保存对译文的更改或使用源文本更改来更新.po文件。Just be aware that the actual translations used by the plugin are inside the .mo file.请注意,该插件使用的实际翻译是在.mo文件中。 em> p>Warning: If you place your translation files into this plugin's languages directory instead of the directory shown above, they will be deleted or replaced with any the author might include when updating the plugin. 警告:如果将翻译文件放置在此插件的语言目录中而不是上面显示的目录中,则它们将被删除或替换为更新插件时作者可能包括的任何文件。 em> strong> p>
Note: Languages directory for plugins: /wp-content/languages/plugins
注意:插件的语言目录: / wp-content / languages / plugins strong> em> p>Choose a translation method:选择翻译方法:A) Get or provide translations of this plugin on WordPress. A) strong>在WordPress上获取或提供此插件的翻译。 org.org 。Alternatively, some language plugins (e.g. Polylang) can download and install the publicly available language files for plugins.另外,某些语言插件(例如 Polylang )可以下载并安装插件的公共语言文件。B) Create your own translations using the included delete-me.pot template file found in this plugin's languages directory and the free tool Poedit..net“ rel =” nofollow“>编辑。 li>Once you have finished your translations, export and save them as a .mo file.完成翻译后,将其导出并保存为.mo文件。 li>Name the .mo file delete-me-{locale}.mo (e.g. delete-me-en_US.mo)将.mo文件命名为delete-me- {locale} .mo(例如delete-me-en_US.mo) li>Place the .mo file into the languages directory for plugins.将.mo文件放入用于插件的languages目录中。 li> ol>If you’re using Poedit, it will create a .po file too. 如果您使用的是Poedit,它也会创建一个.po文件。You should keep the .po file in order to open and save changes to your translations or to update the .po file with source text changes when an updated delete-me.pot file is released.您应保留.po文件,以便在发布更新的delete-me.pot文件时打开并保存对译文的更改或使用源文本更改来更新.po文件。Just be aware that the actual translations used by the plugin are inside the .mo file.请注意,该插件使用的实际翻译是在.mo文件中。 em> p>Warning: If you place your translation files into this plugin's languages directory instead of the directory shown above, they will be deleted or replaced with any the author might include when updating the plugin. 警告:如果将翻译文件放置在此插件的语言目录中而不是上面显示的目录中,则它们将被删除或替换为更新插件时作者可能包括的任何文件。 em> strong> p>
A) Get or provide translations of this plugin on WordPress. A) strong>在WordPress上获取或提供此插件的翻译。 org.org 。
A) strong>在WordPress上获取或提供此插件的翻译。 org.org
org
Alternatively, some language plugins (e.g. Polylang) can download and install the publicly available language files for plugins.
另外,某些语言插件(例如 Polylang )可以下载并安装插件的公共语言文件。
B) Create your own translations using the included delete-me.pot template file found in this plugin's languages directory and the free tool Poedit.
.net“ rel =” nofollow“>编辑。 li>
If you’re using Poedit, it will create a .po file too. 如果您使用的是Poedit,它也会创建一个.po文件。You should keep the .po file in order to open and save changes to your translations or to update the .po file with source text changes when an updated delete-me.pot file is released.您应保留.po文件,以便在发布更新的delete-me.pot文件时打开并保存对译文的更改或使用源文本更改来更新.po文件。Just be aware that the actual translations used by the plugin are inside the .mo file.请注意,该插件使用的实际翻译是在.mo文件中。 em> p>Warning: If you place your translation files into this plugin's languages directory instead of the directory shown above, they will be deleted or replaced with any the author might include when updating the plugin. 警告:如果将翻译文件放置在此插件的语言目录中而不是上面显示的目录中,则它们将被删除或替换为更新插件时作者可能包括的任何文件。 em> strong> p>
如果您使用的是Poedit,它也会创建一个.po文件。You should keep the .po file in order to open and save changes to your translations or to update the .po file with source text changes when an updated delete-me.pot file is released.您应保留.po文件,以便在发布更新的delete-me.pot文件时打开并保存对译文的更改或使用源文本更改来更新.po文件。Just be aware that the actual translations used by the plugin are inside the .mo file.
You should keep the .po file in order to open and save changes to your translations or to update the .po file with source text changes when an updated delete-me.pot file is released.
您应保留.po文件,以便在发布更新的delete-me.pot文件时打开并保存对译文的更改或使用源文本更改来更新.po文件。
Just be aware that the actual translations used by the plugin are inside the .mo file.
请注意,该插件使用的实际翻译是在.mo文件中。 em> p>
Warning: If you place your translation files into this plugin's languages directory instead of the directory shown above, they will be deleted or replaced with any the author might include when updating the plugin. 警告:如果将翻译文件放置在此插件的语言目录中而不是上面显示的目录中,则它们将被删除或替换为更新插件时作者可能包括的任何文件。 em> strong> p>
警告:如果将翻译文件放置在此插件的语言目录中而不是上面显示的目录中,则它们将被删除或替换为更新插件时作者可能包括的任何文件。 em>
strong> p>
原文出处:http://www.sanshu.cn/a/10515.html
群主管理都是支付大佬