Linux 软件免费装

Indepth Analytics Structured Metadata

开发者 inkylab
更新时间 2026年12月4日 20:42
PHP版本: 8.0 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

seo metadata structured data co-authors multiple authors

下载

1.3.0 1.0.0 1.0.1 1.1.0 1.2.0

详情介绍:

Indepth Analytics Structured Metadata adds structured metadata tags to the <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: Authors and their pictures are detected automatically, with no configuration. When a supported multiple-author plugin is active, its author list is used; otherwise the WordPress post author. Supported author plugins: Co-Authors Plus, PublishPress Authors, Molongui Authorship, ThemeRuby Multi Authors, WP Post Author, Authorsy and Inkube. Pictures come from the WordPress avatar API (Gravatar and avatar plugins such as Simple Local Avatars, One User Avatar, ProfilePress, User Profile Picture, BuddyPress or Ultimate Member), plus Simple Author Box, Authorsy, Avatar Manager and Inkube profile pictures, which that API does not expose. The plugin works with standard WordPress APIs and follows WordPress coding and security practices. Features:

安装:

  1. Upload the indepth-analytics-structured-metadata folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Open Settings → Indepth Metadata Settings.
  4. Select the taxonomies to include in metadata output.
  5. Optionally configure a header script URL.

升级注意事项:

1.3.0 Multiple-author and profile-picture plugins are now detected automatically. If one is active, indepth:authors and indepth:authors-thumbnails will list its authors and pictures. Theme code that supplied them through the filters keeps working and can be removed. 1.2.0 New filters to supply authors and author pictures from your theme or another plugin. Output is unchanged unless a filter is used. 1.1.0 Several meta tags were removed and indepth:type now only returns home, single or page. Update any analytics that rely on the removed tags or old type values. 1.0.1 The plugin now runs on PHP 8.0 and newer. 1.0.0 Initial public release.

常见问题:

Where are the metadata tags added?

The plugin outputs metadata tags inside the <head> section using the wp_head action.

How are additional authors supported?

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.

What if several author plugins are active?

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.

Are guest authors supported?

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.

Where do author thumbnails come from?

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.

Does the plugin write to my database?

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.

Is the external script URL sanitized?

Yes. The URL is sanitized and validated before saving.

What PHP version is required?

PHP 8.0 or newer.

更新日志:

1.3.0 1.2.0 1.1.0 1.0.1 1.0.0