Linux 软件免费装
Banner图

Indie49 Copy Post Link

开发者 indie49
更新时间 2026年9月17日 19:14
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

permalink custom post type bulk actions clipboard copy link

下载

1.2.3

详情介绍:

Adds a Copy link action to the rows of the admin lists of posts, pages, categories, tags, custom post types and custom taxonomies, alongside Edit, Quick Edit and View. One click puts the link on your clipboard, and the action turns green for a moment to confirm it. Need many links? Tick the rows, choose Copy links in Bulk actions and press Apply. All their links are copied at once, one per line and in the order of the list, ready to paste into a spreadsheet, a message or a document. For developers Four filters. The first two receive the post, the last two the term: Bulk copy uses the same links, so the filters apply to it too. add_filter( 'indie49_copy_post_link_enabled', function ( $enabled, $post ) { return $enabled && 'product' !== $post->post_type; }, 10, 2 ); add_filter( 'indie49_copy_post_link_url', function ( $url, $post ) { return add_query_arg( 'utm_source', 'newsletter', $url ); }, 10, 2 );

安装:

  1. Install the plugin from Plugins → Add New, or upload the indie49-copy-post-link folder to /wp-content/plugins/.
  2. Activate it.
  3. Go to Posts → All Posts, Posts → Categories, or the list of any other content type or taxonomy, and move the mouse over a row.

屏幕截图:

  • The action turns green for a moment to confirm the link is on your clipboard.
  • Copy links in Bulk actions copies the links of all selected rows at once, one per line.
  • Categories, tags and custom taxonomies get the same Copy link action.

常见问题:

How do I copy several links at once?

Tick the rows you want, choose Copy links in the Bulk actions menu, above or below the list, and press Apply. A notice tells you how many links were copied. Selected items without a public link, such as drafts, are skipped and counted separately.

Does it work with custom post types?

Yes. Any content type with public URLs that uses the standard WordPress list gets the action, whether it comes from your theme, from a plugin or from your own code. Content types without public URLs, such as form entries or menu items, are left alone.

Does it work with categories and tags?

Yes, and with any custom taxonomy that has public archive pages. Taxonomies used only internally by plugins are left alone.

Why is there no Copy link on drafts?

A draft or a scheduled post does not have its final address yet. Until it is published, WordPress only gives it a temporary link that visitors cannot open, not the permalink people will see.

Why is the action blue instead of another color?

It follows the WordPress admin: actions are blue, destructive actions such as Trash are red, and confirmations are green. It also respects the admin color scheme each user chooses.

Does it work without HTTPS?

Yes. It uses the clipboard library bundled with WordPress, the same one behind Copy URL in the Media Library. On HTTPS sites, if your browser refuses to copy several links, the notice shows them in a box so you can copy them by hand.

Can I use the keyboard?

Yes. Tab to the row, reach Copy link and press Enter. Screen readers announce when links have been copied.

更新日志:

1.2.3 1.2.1 1.2.0 1.1.0 1.0.2 1.0.1 1.0.0