[wordpress插件] BC HTML SegmentsBC HTML段

wordpress 插件 文章 2020-03-02 00:50 486 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

When installed this plugin allows you to append “&bc_segment=header” or “&bc_segment=footer” to URLs and have

在安装此插件后,您可以将“&bc_segment = header”或“&bc_segment = footer”附加到URL并具有

WordPress only output the HTML that is rendered when the get_header() and get_footer() functions are called, respectively.

WordPress仅输出分别在调用get_header()和get_footer()函数时呈现的HTML。

This is particularly useful if you want to have another system look like it’s using the same site as the original, yet not actually be running WordPress.

如果您想让其他系统看起来像使用与原始站点相同的站点,而实际上却未运行WordPress,则此功能特别有用。

For example, if you have a College Bookstore that does buyback, you could write all of the code and functionality of the buyback system into WordPress itself, or you could let WordPress do what it does best and create another system using whatever your

例如,如果您有一家进行回购的College Bookstore,则可以将回购系统的所有代码和功能写入WordPress本身,也可以让WordPress尽其所能,并使用您的任何内容创建另一个系统

favorite framework is on a subdomain.

最喜欢的框架在子域上。

Then when it’s time to integrate your custom code into a working site, your system can just fetch the headers and footers from the parent WordPress site, and viola!, your custom site is indistinguishable from the parent site.

然后,当需要将自定义代码集成到工作网站时,您的系统只需从父WordPress网站和viola!中获取页眉和页脚即可,您的自定义网站与父网站无法区分。

安装步骤

    1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
    2. 将插件文件上传到 / wp-content / plugins / plugin-name 目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the ‘Plugins’ screen in WordPress
    4. 通过WordPress中的“插件”屏幕激活插件

下载地址
https://downloads.wordpress.org/plugin/bc-html-segments.0.1.zip
-EOF-

AI助手支持GPT4.0