Title: HeadlineEnvy &#8211; headline testing with Optimizely
Author: Zach Tirrell
Published: <strong>2015 年 4 月 3 日</strong>
Last modified: 2015 年 9 月 1 日

---

搜索插件

![](https://ps.w.org/headlineenvy/assets/banner-772x250.png?rev=1127051)

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

![](https://ps.w.org/headlineenvy/assets/icon-256x256.png?rev=1127306)

# HeadlineEnvy – headline testing with Optimizely

 作者：[Zach Tirrell](https://profiles.wordpress.org/zbtirrell/)

[下载](https://downloads.wordpress.org/plugin/headlineenvy.1.0.2.zip)

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

 [支持](https://wordpress.org/support/plugin/headlineenvy/)

## 描述

HeadlineEnvy adds the ability to A/B test the titles of your content through integration
with Optimizely.

**Features include:**

 * **Unrestricted headline variations.** When creating the test for a headline, 
   you can add as many or as few as you wish.
 * **Test headlines anywhere.** Headline variations are applied to any place that
   your titles are output regardless of whether they appear on a post page, in the
   navigation, etc.
 * **Experiment results.** Revisit posts in the dashboard to check the status of
   headline statistical significance while your headline experiments are executed.
 * **Automatic headline selection.** Optionally choose to let HeadlineEnvy and Optimizely
   detect statistically significant winners and automatically update the post with
   the winning title.

To contribute, report issues, or make feature requests use [Github](https://github.com/FunnelEnvy/headlineenvy).

Visit
 [http://www.funnelenvy.com/headlineenvy-wordpress-optimizely](http://www.funnelenvy.com/headlineenvy-wordpress-optimizely)
for official support of this plugin.

## 屏幕截图

[⌊Add an alternate title to begin an experiment.⌉⌊Add an alternate title to begin
an experiment.⌉[

Add an alternate title to begin an experiment.

[⌊Multiple headlines added to experiment.⌉⌊Multiple headlines added to experiment
.⌉[

Multiple headlines added to experiment.

[⌊Winning headline!⌉⌊Winning headline!⌉[

Winning headline!

## 安装

 1. Install HeadlineEnvy either via the WordPress.org plugin directory, or by uploading
    the files to your server.
 2. After activating HeadlineEnvy, head over to the HeadlineEnvy settings page and 
    enter your Optimizely API key.
 3. Once your Optimizely API key has been entered, select the Optimizely project that
    you wish HeadlineEnvy to use for creating its experiments.
 4. Select the post types you wish to allow for headline testing.
 5. Visit any post edit page and you will see a new button prompting you to add additional
    headlines! Enter a few and hit Save/Update/Publish.
 6. That’s it!

Note: HeadlineEnvy works by attaching to the [the_title](https://codex.wordpress.org/Plugin_API/Filter_Reference/the_title)
filter hook. If your theme or plugin uses a method of getting post titles that does
not trigger that hook HeadlineEnvy will be unable to A/B test those cases.

## 评价

此插件暂无评价。

## 贡献者及开发者

「HeadlineEnvy – headline testing with Optimizely」是开源软件。 以下人员对此插件
做出了贡献。

贡献者

 *   [ Zach Tirrell ](https://profiles.wordpress.org/zbtirrell/)
 *   [ Matthew Batchelder ](https://profiles.wordpress.org/borkweb/)
 *   [ methnen ](https://profiles.wordpress.org/methnen/)

[帮助将「HeadlineEnvy – headline testing with Optimizely」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/headlineenvy)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.2

 * Lots of improvements and code tweaks thanks to [@colegeissinger](https://github.com/colegeissinger):
    - Any translated strings should be escaped with esc_html__() or esc_html_e()
    - Checking user has right privileges
    - Cleaning up of redundant sanitization functionality into a central method
    - Added a “Deep Sanitize” method to ensure no matter the type of data, everything
      is cleaned up
    - Updates to some JS to avoid XSS instances through DOM manipulation
    - Caching jQuery selectors like $( document )
    - Sanitizing late, escaping early

#### 1.0.1

 * Fixed a few PHP warnings
 * Normalized naming conventions to match Optimizely
 * Normalized number values so they match Optimizely (i.e. 32.5% vs. 0.3247859996)
 * Fixed a reference to the conversion value
 * When deleting title variations confirmation now uses the variation ‘title’ instead
   of the variation id #
 * Fixed an issue where some default options were lost of user tried to use an invalid
   API Key
 * Return empty array for $primary_results when there are none yet

#### 1.0

 * Initial release

## 额外信息

 *  版本 **1.0.2**
 *  最后更新：**11 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.9 或更高版本 **
 *  已测试的最高版本为 **4.2.39**
 *  语言
 * [English (US)](https://wordpress.org/plugins/headlineenvy/)
 * 标签
 * [a/b testing](https://cn.wordpress.org/plugins/tags/ab-testing/)[headline](https://cn.wordpress.org/plugins/tags/headline/)
   [optimization](https://cn.wordpress.org/plugins/tags/optimization/)[optimizely](https://cn.wordpress.org/plugins/tags/optimizely/)
   [post](https://cn.wordpress.org/plugins/tags/post/)
 *  [高级视图](https://cn.wordpress.org/plugins/headlineenvy/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/headlineenvy/reviews/)

## 贡献者

 *   [ Zach Tirrell ](https://profiles.wordpress.org/zbtirrell/)
 *   [ Matthew Batchelder ](https://profiles.wordpress.org/borkweb/)
 *   [ methnen ](https://profiles.wordpress.org/methnen/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/headlineenvy/)