Linux 软件免费装
Banner图

Publicize With Hashtags

开发者 neilgaiman
更新时间 2026年11月22日 05:59
捐献地址: 去捐款
PHP版本: 7.2 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

social jetpack hashtags publicize jetpack social

下载

0.2.0

详情介绍:

Maintenance mode. This plugin receives compatibility and security fixes, but no new features. Jetpack Social now has a built-in {tags} placeholder for its message templates: if your Jetpack plan includes message templates, you can use it instead of this plugin. Publicize With Hashtags turns the tags of your posts into hashtags and appends them to the message that Jetpack Social (formerly Jetpack Publicize) shares on Facebook, Threads, Bluesky, LinkedIn, Mastodon and the other supported networks. It works with the full Jetpack plugin (with the Social module active) and with the standalone Jetpack Social plugin, in both the block editor and the classic editor. Without Jetpack Social it does nothing. Features Useful links

安装:

  1. Install and activate Jetpack Social (or Jetpack, with the Social module active) and connect your social accounts.
  2. In Plugins > Add New Plugin, search for "Publicize With Hashtags", then install and activate it.
  3. Add tags to your posts: their hashtags are added to the sharing message when you save or publish the post.

升级注意事项:

0.2.0 Works again with the block editor and with Jetpack Social. The 118-character limit is gone: use the publicize_with_hashtags_max_length filter if you need one.

常见问题:

When are the hashtags added?

When you publish or schedule the post, right before Jetpack shares it. If you have written a custom sharing message, they are also added every time you save a draft or a pending post, so you can see them and move them around before publishing. Posts that are already published are left untouched.

What if I write some hashtags myself?

They stay where you put them, and the plugin won't add them a second time (the check ignores case).

I use a Jetpack message template. Does the plugin change it?

No. When the post uses your site's message template, the plugin leaves it alone, so that Jetpack can fill in its placeholders: add {tags} to the template to get the hashtags. The plugin also does nothing when the message already contains {tags}.

Does it work with per-network custom messages?

No: it only changes the main sharing message. Messages customized for a single network are left as they are.

Can I change the hashtags or limit the message length?

Yes, with two filters:

  • publicize_with_hashtags_hashtags filters the array of hashtags (with the leading #) before they are appended, for example to add the categories too;
  • publicize_with_hashtags_max_length sets the maximum length of the message, in characters: hashtags that don't fit are not added. The default, 0, means no limit.
Example: add_filter( 'publicize_with_hashtags_max_length', function () { return 280; } );

更新日志:

0.2.0 0.1.4 0.1.3 0.1.2 0.1.1 0.1