| 开发者 | inkylab |
|---|---|
| 更新时间 | 2026年12月4日 20:42 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
<head> section of WordPress pages. The plugin outputs information about posts, pages, taxonomy archives, and search pages using custom indepth:* meta properties.
The plugin can also load an optional external header script configured by administrators from the WordPress dashboard.
Supported metadata includes:
indepth:type)indepth:featured-image)indepth:published-date)indepth:lang)indepth:categories)indepth:authors, indepth:authors-thumbnails)indepth:* metadata tags in the document headindepth-analytics-structured-metadata folder to the /wp-content/plugins/ directory.The plugin outputs metadata tags inside the <head> section using the wp_head action.
Automatically, when one of these plugins is active: Co-Authors Plus, PublishPress Authors, Molongui Authorship, ThemeRuby Multi Authors, WP Post Author, Authorsy or Inkube. Nothing needs to be configured.
Without such a plugin, additional authors can be stored in the indepth_analytics_authors post meta field as an array of user IDs. They are listed after the post author.
If your theme or another plugin stores authors elsewhere (custom post meta, a custom table), supply them with the indepth_analytics_author_ids filter. See "Author resolution for developers" below.
They are tried in a fixed order (see below) and the first one that holds an author list for the post is used. Lists from different plugins are never merged.
Only authors with a WordPress user account are output. Guest authors without an account (Co-Authors Plus, PublishPress Authors, Molongui, WP Post Author) are skipped; guests that are linked to a user account are output as that user.
From get_avatar_url(), so Gravatar and any avatar plugin that hooks into the WordPress avatar API (for example through pre_get_avatar_data) are honoured. Pictures of Simple Author Box, Authorsy, Avatar Manager and Inkube, which only change the avatar HTML or are stored elsewhere, are read directly while those plugins are active. A theme or plugin can supply an image attachment or URL with the indepth_analytics_author_thumbnail filter.
No. It only reads posts, users and their metadata. Its only stored data are its own settings. PublishPress Authors is always called in its read-only mode.
Yes. The URL is sanitized and validated before saving.
PHP 8.0 or newer.
get_avatar_url().indepth_analytics_author_ids and indepth_analytics_author_thumbnail receive a new optional $source argument. Existing callbacks are unaffected.indepth_analytics_author_sources and indepth_analytics_avatar_sources to add, remove or reorder integrations.indepth_analytics_author_ids filter so themes and plugins can supply the post's authors from any source.indepth_analytics_author_thumbnail filter for attachment-based or custom author pictures.indepth:authors and indepth:authors-thumbnails now use one shared, validated author list (same people, same order); invalid, deleted and duplicate user IDs are ignored.post_author followed by indepth_analytics_authors.indepth:type, indepth:featured-image, indepth:published-date, indepth:lang, indepth:categories, indepth:authors, indepth:authors-thumbnails.indepth:id, indepth:post-type, indepth:read-time, indepth:collaborators, indepth:collaborators-thumbnails and indepth:translations.indepth:type is now one of home (front page or blog home), single (posts) or page (everything else).