Skip to main content

Archive Fields

About This Article

This article covers built-in WordPress dynamic data FIELDS that are automatically available in Builderius without custom queries. All fields shown work immediately when you add them to elements.

Understand the Tables

Table Columns

Dynamic Data Tag - The tag automatically added when you select from the Dynamic Data dropdown, using square bracket syntax: [[wp.field_name]]

Description - What content this tag will display on your website

Type - What kind of data this field returns

Data Types Explained

String - Text content like "Category: Web Design" or "Posts by John Smith"

Array - Multiple items (use with Collection elements for loops)

How to Use This Data

Click the Dynamic Data Icon available on each Builderius element. Search for what you want and add it.

Archive template availability - All data shown works on category, tag, author, date, and search archive templates

Archive Scope

Data about archive pages including categories, tags, authors, dates, and search results. Available when viewing archive templates - includes archive information, the main posts loop, pagination, and context-specific data like author details or search terms.

Built-in Data Tags (Direct Use)

These fields work immediately in archive template content - no setup required.

Basic Archive Information

Dynamic Data TagDescriptionType
[[wp.archive.title]]Archive page title (e.g., "Category: Web Design", "Author: John Smith")String
[[wp.archive.description]]Archive description textString

Archive Posts Loop

Dynamic Data TagDescriptionType
[[wp.archive.posts_query.posts]]Archive posts (use with Collection element)Array

Archive Pagination

Dynamic Data TagDescriptionType
[[wp.archive.posts_query.pagination.links]]Archive pagination HTML linksString

Archive Author (Author Archives Only)

Dynamic Data TagDescriptionType
[[wp.archive.author.name]]Author usernameString
[[wp.archive.author.id]]Author user IDString
[[wp.archive.author.display_name]]Author display nameString
[[wp.archive.author.first_name]]Author first nameString
[[wp.archive.author.last_name]]Author last nameString
[[wp.archive.author.email]]Author emailString
[[wp.archive.author.avatar]]Author avatar URLString

Usage Examples

Category Archive Page:

<header>
<h1>[[wp.archive.title]]</h1>
<p>[[wp.archive.description]]</p>
</header>

<!-- Use Collection element with data source: [[wp.archive.posts_query.posts]] -->
<!-- Inside Collection template: -->
<article>
<h2>{{post_title}}</h2>
<p>{{post_excerpt}}</p>
<time>{{post_date}}</time>
<img src="{{post_featured_image.file_url__large}}" alt="{{post_featured_image.alt_text}}">
</article>

<div class="pagination">
[[wp.archive.posts_query.pagination.links]]
</div>