[wordpress插件] Disable Blog禁用博客

wordpress 插件 文章 2020-04-17 18:10 514 0 全屏看文

AI助手支持GPT4.0

评分
98
描述

This plugin to disables the blog functionality of WordPress, mostly by hiding admin pages and settings and redirecting pages on both the front-end and admin side.

此插件可禁用WordPress的博客功能,主要是通过隐藏管理页面和设置以及重定向前端和管理端的页面来禁用WordPress。

This can be useful when you want a WordPress site to remain static and hide blog-related elements from admin users to avoid confusion.

当您希望WordPress网站保持静态并向管理员用户隐藏与博客相关的元素以避免混淆时,这很有用。

Important: If Settings > Reading > “Front Page Displays” is not set to show on a page, then this plugin will update it to that option, but you still need to select

重要:如果未将“设置”>“阅读”>“首页显示”设置为显示在页面上,则此插件会将其更新为该选项,但是您仍需要选择

a page to act as the front page.

用作首页的页面

Not doing so will mean that your post page can still be visible on the front-end of the site.

不这样做将意味着您的帖子页面仍可以在网站的前端看到。

Comments: Comments remain enabled, unless the ‘post’ type is the only type supporting comments (pages also typical support comments so they don’t disappear in most cases).

评论:注释保持启用状态,除非“ post”类型是唯一支持注释的类型(页面也是典型的支持注释,因此它们在大多数情况下不会消失)。

If you’re looking to disable them completely, check out the Disable Comments plugin (by others).

如果您希望完全禁用它们,请查看禁用评论插件(由他人使用)。

Categories & Tags: These are hidden and redirected, unless they are supported by a custom post type.

类别和标签:除非自定义帖子类型支持,否则它们将被隐藏和重定向。

Custom Post Types: For the most part this plugin shouldn’t bother any custom post types.

自定义帖子类型:在大多数情况下,此插件都不应打扰任何自定义帖子类型。

If you are using a custom post type that supports the built-in category and/or post_tag taxonomies, they will be visible and accessible through that post type.

如果您使用的自定义帖子类型支持内置的 category 和/或 post_tag 分类法,则可以通过该帖子类型查看和访问它们。

Database: This plugin will not delete anything in your database.

数据库:此插件不会删除您数据库中的任何内容。

If you don’t want your posts, comments, categories, or tags, delete them prior to activation (or deactivate this plugin, delete them, and re-active).

如果您不希望自己的帖子,评论,类别或标签,请在激活之前将其删除(或停用此插件,将其删除并重新激活)。

The only exception to the database modifications is related to the way your site displays it’s front page, as mentioned above.

如上所述,数据库修改的唯一例外与您网站显示其首页的方式有关。

Support: This plugin is maintain for free but Please reach out and I will assist you as soon as possible.

支持:该插件是免费维护的,但请与我们联系,我们将尽快为您提供帮助。

You can visit the support forums or the 支持论坛

-blog/issues" rel="nofollow">issue section of the GitHub repository

GitHub存储库的-blog / issues“ rel =” nofollow“>问题部分

.

View on GitHub & Contribute

在GitHub上查看&Contribute

View this plugin on GitHub to see a comprehensive list of this plugin's functionality and the To-

在GitHub上查看此插件,以查看此插件的功能和To-的详细列表

Do list of items yet to be included, as well as log any issues (or visit the WP support forums linked above).

列出尚未包括的项目清单,并记录所有问题(或访问上面链接的WP支持论坛)。

Please feel free to contribute!

请随时贡献!

安装步骤

This section describes how to install the plugin and get it working.

本节介绍如何安装插件并使其正常工作。

e.g.

例如

    1. Upload plugin-name.php to the /wp-content/plugins/ directory
    2. plugin-name.php 上载到 / wp-content / plugins / 目录

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

下载地址
https://downloads.wordpress.org/plugin/disable-blog.0.4.6.zip
-EOF-

AI助手支持GPT4.0