All features

Cherry Blossom feature

Frontend: Blog

Standard-post blog integration.

Standard-post blog integration.

Capabilities and extension points

Registers assets for the standard WordPress blog views.

Registers blog hooks.

Selects the dedicated standard-post archive template.

WordPress does not include archive-post.php in its template hierarchy, so this filter adds that convention while preserving child-theme overrides.

  • param string $template Located template.
  • return string Standard-post archive template when available.

Registers the blog stylesheet on standard-post views.

  • param mixed $styles Style definitions.
  • return array Style definitions.

Checks whether the current request displays standard posts.

  • return bool Whether this is a blog view.

Checks whether the current request is a standard-post archive.

  • return bool Whether this is a standard-post archive.

Source reference

This editable reference page is based on the PHP documentation in frontend/class-blog.php.