Archive Fields
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 Tag | Description | Type |
|---|---|---|
[[wp.archive.title]] | Archive page title (e.g., "Category: Web Design", "Author: John Smith") | String |
[[wp.archive.description]] | Archive description text | String |
Archive Posts Loop
| Dynamic Data Tag | Description | Type |
|---|---|---|
[[wp.archive.posts_query.posts]] | Archive posts (use with Collection element) | Array |
Archive Pagination
| Dynamic Data Tag | Description | Type |
|---|---|---|
[[wp.archive.posts_query.pagination.links]] | Archive pagination HTML links | String |
Archive Author (Author Archives Only)
| Dynamic Data Tag | Description | Type |
|---|---|---|
[[wp.archive.author.name]] | Author username | String |
[[wp.archive.author.id]] | Author user ID | String |
[[wp.archive.author.display_name]] | Author display name | String |
[[wp.archive.author.first_name]] | Author first name | String |
[[wp.archive.author.last_name]] | Author last name | String |
[[wp.archive.author.email]] | Author email | String |
[[wp.archive.author.avatar]] | Author avatar URL | String |
Usage Examples
- Category Archive
- Author Archive
- Posts Loop
- Search Results
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>
Author Archive with Bio:
<header class="author-header">
<h1>[[wp.archive.title]]</h1>
<div class="author-bio">
<img src="[[wp.archive.author.avatar]]" alt="[[wp.archive.author.display_name]]">
<div>
<h2>[[wp.archive.author.display_name]]</h2>
<p>[[wp.archive.author.first_name]] [[wp.archive.author.last_name]]</p>
<p>Username: [[wp.archive.author.name]]</p>
</div>
</div>
<p>[[wp.archive.description]]</p>
</header>
<!-- Posts by this author -->
<!-- Use Collection element with data source: [[wp.archive.posts_query.posts]] -->
Complete Posts Archive Loop:
<!-- Archive header -->
<header>
<h1>[[wp.archive.title]]</h1>
<p>[[wp.archive.description]]</p>
</header>
<!-- Collection element data source: [[wp.archive.posts_query.posts]] -->
<!-- Inside Collection template: -->
<article class="post-card">
<header>
<h2><a href="{{link}}">{{post_title}}</a></h2>
<div class="meta">
<time>{{post_date}}</time>
<span>by {{post_author.display_name}}</span>
</div>
</header>
<img src="{{post_featured_image.file_url__large}}" alt="{{post_featured_image.alt_text}}">
<div class="content">
<p>{{post_excerpt}}</p>
</div>
<footer>
<span>Categories: {{category_links}}</span>
<span>Tags: {{tag_links}}</span>
</footer>
</article>
<!-- Pagination -->
<nav class="pagination">
[[wp.archive.posts_query.pagination.links]]
</nav>
Search Results Page:
<header class="search-header">
<h1>[[wp.archive.title]]</h1>
<p>[[wp.archive.description]]</p>
</header>
<!-- Search results loop -->
<!-- Use Collection element with data source: [[wp.archive.posts_query.posts]] -->
<!-- Inside Collection template: -->
<div class="search-result">
<h3><a href="{{link}}">{{post_title}}</a></h3>
<p class="result-type">{{post_type}}</p>
<p>{{post_excerpt}}</p>
<div class="result-meta">
<time>{{post_date}}</time>
<span>by {{post_author.display_name}}</span>
</div>
</div>
<!-- Search pagination -->
<div class="search-pagination">
[[wp.archive.posts_query.pagination.links]]
</div>