Title: 快速发布
Author: WordPress.org
Published: <strong>2014 年 6 月 4 日</strong>
Last modified: 2026 年 3 月 26 日

---

搜索插件

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

![](https://ps.w.org/press-this/assets/icon.svg?rev=3439079)

# 快速发布

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

[下载](https://downloads.wordpress.org/plugin/press-this.2.0.2.zip)

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

 [支持](https://wordpress.org/support/plugin/press-this/)

## 描述

“快速发布”能够让您从网络上拮取小段并简单创建新文章的小工具。
 也能让您选择在您的
文章里包含页面上的哪张图片或是哪个视频。 使用“快速发布”来简单高效地高亮将网络上的
其他网页。

#### Version 2.0 – Gutenberg Block Editor

Press This 2.0 brings the modern WordPress block editor experience to the bookmarklet
popup. You can now compose posts using familiar blocks like Paragraph, Heading, 
Image, Quote, List, and Embed.

**New Features:**

 * **Gutenberg Block Editor** – Full block editor integration for a consistent WordPress
   editing experience
 * **Smart Post Format Suggestions** – Automatically suggests Video, Quote, or Link
   formats based on content
 * **Enhanced Content Extraction** – Improved scraping with JSON-LD structured data
   support
 * **Client-Side Only Scraping** – All content extraction happens in your browser
   for better privacy and security
 * **Featured Image Support** – Set any scraped image as your post’s featured image
 * **Improved Media Grid** – Better thumbnail display with support for video and
   audio embeds

#### Filters for Developers

Press This 2.0 includes new filters for customization:

 * `press_this_allowed_blocks` – Customize which blocks are available in the editor
 * `press_this_post_format_suggestion` – Modify the auto-suggested post format

See the [Developer Documentation](https://cn.wordpress.org/plugins/press-this/?output_format=md#developer-documentation)
section below for details.

### 贡献

错误报告和拉取请求可在 https://github.com/WordPress/press-this 提交。

### Developer Documentation

#### New Hooks and Filters in 2.0

**press_this_allowed_blocks**

Customize which blocks are available in the Press This editor.

    ```
    add_filter( 'press_this_allowed_blocks', function( $blocks ) {
        // Add the gallery block
        $blocks[] = 'core/gallery';

        // Remove the embed block
        $blocks = array_filter( $blocks, function( $block ) {
            return $block !== 'core/embed';
        } );

        return $blocks;
    } );
    ```

Default blocks: `core/paragraph`, `core/heading`, `core/image`, `core/quote`, `core/
list`, `core/list-item`, `core/embed`

**press_this_post_format_suggestion**

Modify or override the auto-suggested post format based on content.

    ```
    add_filter( 'press_this_post_format_suggestion', function( $suggested_format, $data ) {
        // If the URL contains 'podcast', suggest audio format
        if ( ! empty( $data['u'] ) && strpos( $data['u'], 'podcast' ) !== false ) {
            return 'audio';
        }

        return $suggested_format;
    }, 10, 2 );
    ```

The `$data` array contains scraped content including:
 – `u` – Source URL – `s` –
Selected text – `t` – Page title – `_images` – Array of image URLs – `_embeds` –
Array of embed URLs – `_meta` – Meta tag data – `_jsonld` – JSON-LD structured data

#### Preserved Hooks from 1.x

All existing hooks continue to work:

 * `press_this_redirect_in_parent` – Control post-save redirect behavior
 * `press_this_save_post` – Filter post data before saving
 * `press_this_save_redirect` – Filter redirect URL after save
 * `enable_press_this_media_discovery` – Toggle media scraping
 * `press_this_data` – Filter the complete scraped data array
 * `press_this_suggested_html` – Filter default content templates
 * `shortcut_link` – Customize the bookmarklet URL

### History

WordPress, from the earliest days, included some way to bring in snippets from other
websites for you to post on your own.

The original “Press It” was removed from WordPress 2.5 and a new “Press This” added
in 2.6. It existed pretty much unchanged until WordPress 4.2, which completely refreshed
Press This.

In WordPress 4.9, Press This was spun out to a “canonical plugin” — an official 
plugin from WordPress.org so sites who wanted to use it could, but streamline more
niche functionality out of Core. This was previously done with the Importers.

In version 2.0, Press This was modernized to use the Gutenberg block editor, bringing
it in line with the modern WordPress editing experience while maintaining backward
compatibility with existing installations.

## 屏幕截图

 * [[
 * [[
 * [[
 * [[

## 安装

 1. Install the plugin via your wp-admin dashboard via Plugins->Add New as normal.
 2. Visit the Tools page of wp-admin for additional installation steps.

## 常见问题

### Is Press This compatible with my existing bookmarklet?

Yes! Existing bookmarklets from version 1.x will continue to work. However, we recommend
updating your bookmarklet to get the enhanced features of version 2.0. An upgrade
prompt will appear when using an older bookmarklet.

### Which blocks are available in Press This?

By default, Press This includes: Paragraph, Heading, Image, Quote, List, and Embed
blocks. Developers can customize this using the `press_this_allowed_blocks` filter.

### Can I still use the full WordPress editor?

Absolutely! Click the “Standard Editor” option in the publish dropdown to save your
draft and continue editing in the full WordPress block editor.

## 评价

![](https://secure.gravatar.com/avatar/6e884a89730c7acd3f5350425b69848477a26de263f028a9a7e4edcb8591362b?
s=60&d=retro&r=g)

### 󠀁[Currently partially broken](https://wordpress.org/support/topic/works-great-8082/)󠁿

 [silentwisher](https://profiles.wordpress.org/silentwisher/) 2024 年 10 月 16 日

Its currently broken causing many images being generated for the featured image.
Please fix.

![](https://secure.gravatar.com/avatar/0771f018c5c481aecb62b5789070e663f32e747831b01c657b7246e43dc9ed21?
s=60&d=retro&r=g)

### 󠀁[Must Have](https://wordpress.org/support/topic/must-have-657/)󠁿

 [dmsr](https://profiles.wordpress.org/dmsr/) 2022 年 7 月 22 日

J’adore cette fonctionnalité de WP, pourquoi s’en passer si on partage des liens
sur son site!?!?

![](https://secure.gravatar.com/avatar/38247a09d4c18d5d074d157a12cff9d21b8c65a0ab22dfa755cca45f44aab8c2?
s=60&d=retro&r=g)

### 󠀁[Worthless Without Scriptlet](https://wordpress.org/support/topic/worthless-without-scriptlet/)󠁿

 [lestado](https://profiles.wordpress.org/lestado/) 2021 年 10 月 29 日

If you don’t have the scriptlet bookmarked already this plugin is WORTHLESS because
there is literally NO PLACE to get the code for the bookmark ANYWHERE.

![](https://secure.gravatar.com/avatar/e58d28edc2f63935b090bb12b94e7a18727823d04d3a4a34e7133231f9cc69fa?
s=60&d=retro&r=g)

### 󠀁[Great you continue developing this](https://wordpress.org/support/topic/great-you-continue-developing-this/)󠁿

 [comunicacionabierta](https://profiles.wordpress.org/comunicacionabierta/) 2021
年 3 月 7 日

I think this is one of the perfect plugins to keep the blogs alive and helping to
make them more a personal bitacora. Thanks!

![](https://secure.gravatar.com/avatar/89eea1e88f6ca014b3bef4218d334e579f6eae3452bda7ab34e076412a1ab97f?
s=60&d=retro&r=g)

### 󠀁[Tried, killed browser (Safari), uninstalled.](https://wordpress.org/support/topic/tried-killed-browser-safari-uninstalled/)󠁿

 [bkahlert](https://profiles.wordpress.org/bkahlert/) 2020 年 4 月 27 日

I installed it, wrote a post, tried to save, my Safari browser hang, consumed more
than 4GB of memory and finally crashed with my post gone of course.

![](https://secure.gravatar.com/avatar/776e9f93cb72a6ef49cc303f0f3a5843419a07f0043cb23d64f49db44c56aeba?
s=60&d=retro&r=g)

### 󠀁[Pretty Slick. Forgot About This Guy](https://wordpress.org/support/topic/pretty-slick-forgot-about-this-guy/)󠁿

 [Seth Goldstein](https://profiles.wordpress.org/goldsteinmedia/) 2018 年 12 月 
27 日

Forgot about Press This. Never used it in the past. But now I think I’ll be addicted.

 [ 阅读所有25条评价 ](https://wordpress.org/support/plugin/press-this/reviews/)

## 贡献者及开发者

「快速发布」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ WordPress.org ](https://profiles.wordpress.org/wordpressdotorg/)
 *   [ Brandon Kraft ](https://profiles.wordpress.org/kraftbj/)

「快速发布」插件已被翻译至 24 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/press-this/contributors)
为本插件所做的贡献。

[帮助将「快速发布」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/press-this)

### 对开发感兴趣吗?

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

## 更新日志

#### 2.0.2

 * **New:** Undo/redo support in the block editor (Ctrl+Z / Ctrl+Shift+Z)
 * **New:** Block transform keyboard shortcuts (e.g. heading, list, quote)
 * **New:** Rich text format keyboard shortcuts via format-library (bold, italic,
   link, etc.)
 * **New:** Bookmarklet now preserves HTML formatting in text selections
 * **Fix:** Critical error when saving posts with external images in REST context
 * **Fix:** Scraped media inserting at bottom of post instead of cursor position
 * **Fix:** Quote block unwrap losing nested inner blocks
 * **Fix:** Category panel styles not loading and stale search filter results
 * **Fix:** Stale state in category toggle handler
 * **Change:** Removed auto-suggestion of link post format
 * **Change:** Restored category search filter using Gutenberg components

#### 2.0.1

 * **New:** Gutenberg block editor replaces TinyMCE for modern editing experience
 * **New:** Smart post format auto-suggestion based on content type
 * **New:** `press_this_allowed_blocks` filter for customizing available blocks
 * **New:** `press_this_post_format_suggestion` filter for customizing format suggestions
 * **New:** JSON-LD structured data extraction for better content discovery
 * **New:** Open Graph video metadata extraction for improved embed detection
 * **New:** Featured image selection from scraped images
 * **New:** Alternate canonical URL detection via hreflang
 * **Improved:** Client-side only content extraction (removed server-side scraping)
 * **Improved:** Media grid with video/audio type indicators
 * **Improved:** Bookmarklet version detection with upgrade prompts
 * **Improved:** Title extraction now checks JSON-LD headline
 * **Improved:** Description extraction now checks JSON-LD description
 * **Compatibility:** All 1.x hooks and filters preserved
 * **Compatibility:** Legacy bookmarklet URL format continues to work
 * **Requires:** WordPress 6.9 or higher
 * **Requires:** PHP 7.4 or higher

#### 1.1.2

 * Fixes the styling of the .press-this .modal-close class (props https://github.
   com/crishnakh)
 * Bumps the Tested up to version to 6.7.1

#### 1.1.1

 * Corrects an issue with the packaging of the plugin for SVN.

#### 1.1.0

 * Restores the bookmarklet functionality previously found in WordPress 4.8 and 
   prior verions.

#### 1.0

 * Initial release as a plugin. Previously part of WordPress itself.

## 社区插件

该插件由社区开发和支持。

## 额外信息

 *  版本 **2.0.2**
 *  最后更新：**2 月前**
 *  活跃安装数量 **6,000+**
 *  WordPress 版本 ** 6.9 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [Albanian](https://sq.wordpress.org/plugins/press-this/) 、 [Chinese (China)](https://cn.wordpress.org/plugins/press-this/)、
   [Chinese (Taiwan)](https://tw.wordpress.org/plugins/press-this/) 、 [Croatian](https://hr.wordpress.org/plugins/press-this/)、
   [Czech](https://cs.wordpress.org/plugins/press-this/) 、 [English (Australia)](https://en-au.wordpress.org/plugins/press-this/)、
   [English (Canada)](https://en-ca.wordpress.org/plugins/press-this/) 、 [English (US)](https://wordpress.org/plugins/press-this/)、
   [French (Belgium)](https://fr-be.wordpress.org/plugins/press-this/) 、 [French (France)](https://fr.wordpress.org/plugins/press-this/)、
   [German](https://de.wordpress.org/plugins/press-this/) 、 [Greek](https://el.wordpress.org/plugins/press-this/)、
   [Italian](https://it.wordpress.org/plugins/press-this/) 、 [Japanese](https://ja.wordpress.org/plugins/press-this/)、
   [Korean](https://ko.wordpress.org/plugins/press-this/) 、 [Norwegian (Bokmål)](https://nb.wordpress.org/plugins/press-this/)、
   [Portuguese (Brazil)](https://br.wordpress.org/plugins/press-this/) 、 [Romanian](https://ro.wordpress.org/plugins/press-this/)、
   [Russian](https://ru.wordpress.org/plugins/press-this/) 、 [Serbian](https://sr.wordpress.org/plugins/press-this/)、
   [Slovenian](https://sl.wordpress.org/plugins/press-this/) 、 [Spanish (Chile)](https://cl.wordpress.org/plugins/press-this/)、
   [Spanish (Spain)](https://es.wordpress.org/plugins/press-this/) 、 [Swedish](https://sv.wordpress.org/plugins/press-this/)
   和 [Turkish](https://tr.wordpress.org/plugins/press-this/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/press-this)
 * 标签
 * [Bookmarklet](https://cn.wordpress.org/plugins/tags/bookmarklet/)[gutenberg](https://cn.wordpress.org/plugins/tags/gutenberg/)
   [photo post](https://cn.wordpress.org/plugins/tags/photo-post/)[post](https://cn.wordpress.org/plugins/tags/post/)
   [Quick Post](https://cn.wordpress.org/plugins/tags/quick-post/)
 *  [高级视图](https://cn.wordpress.org/plugins/press-this/advanced/)

## 评级

 3.7 星（最高 5 星）。

 *  [  15 条 5 星评价     ](https://wordpress.org/support/plugin/press-this/reviews/?filter=5)
 *  [  2 条 4 星评价     ](https://wordpress.org/support/plugin/press-this/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/press-this/reviews/?filter=3)
 *  [  1 条 2 星评价     ](https://wordpress.org/support/plugin/press-this/reviews/?filter=2)
 *  [  7 条 1 星评价     ](https://wordpress.org/support/plugin/press-this/reviews/?filter=1)

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

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

## 贡献者

 *   [ WordPress.org ](https://profiles.wordpress.org/wordpressdotorg/)
 *   [ Brandon Kraft ](https://profiles.wordpress.org/kraftbj/)

## 支持

最近两个月解决的问题：

     总计 1，已解决 0

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

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://wordpressfoundation.org/donate/)