Title: BC HTML Segments
Author: mberding
Published: <strong>2016 年 9 月 13 日</strong>
Last modified: 2016 年 9 月 13 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/bc-html-segments.svg)

# BC HTML Segments

 作者：[mberding](https://profiles.wordpress.org/mberding/)

[下载](https://downloads.wordpress.org/plugin/bc-html-segments.0.1.zip)

 * [详情](https://cn.wordpress.org/plugins/bc-html-segments/#description)
 * [评价](https://cn.wordpress.org/plugins/bc-html-segments/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/bc-html-segments/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/bc-html-segments/#developers)

 [支持](https://wordpress.org/support/plugin/bc-html-segments/)

## 描述

When installed this plugin allows you to append “&bc_segment=header” or “&bc_segment
=footer” to URLs and have
 WordPress only output the HTML that is rendered when 
the get_header() and get_footer() functions are called, respectively. 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.

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 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.

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress

## 常见问题

### How does this plugin help me

If you’re running non-wordpress sub-systems that need to look like wordpress, and
keep up with any changes the author
 makes, then this can help you fetch the headers
and footers as needed.

## 评价

此插件暂无评价。

## 贡献者及开发者

「BC HTML Segments」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ mberding ](https://profiles.wordpress.org/mberding/)

[帮助将「BC HTML Segments」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/bc-html-segments)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/bc-html-segments/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/bc-html-segments/)，或通过[RSS](https://plugins.trac.wordpress.org/log/bc-html-segments/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/bc-html-segments/)。

## 更新日志

#### 0.1

 * Initial Creation.

## 额外信息

 *  版本 **0.1**
 *  最后更新：**10 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 1.5.0 或更高版本 **
 *  已测试的最高版本为 **4.6.30**
 *  语言
 * [English (US)](https://wordpress.org/plugins/bc-html-segments/)
 *  [高级视图](https://cn.wordpress.org/plugins/bc-html-segments/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/bc-html-segments/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/bc-html-segments/reviews/)

## 贡献者

 *   [ mberding ](https://profiles.wordpress.org/mberding/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/bc-html-segments/)