Only this pageAll pages
Powered by GitBook
1 of 8

Archive Pages Pro

Loading...

Getting Started

Loading...

Loading...

Developers

Loading...

Loading...

Quick Links

Installing the Plugin

Install from the WordPress Admin

  1. Log into your WordPress admin (i.e., your dashboard)

  2. Go to Plugins->Add New

  3. Go to Upload

  4. Upload the archive-pages-pro.zip file

  5. Install and Activate the plugin

After activation, you can find the plugin's settings in the Dashboard under Settings > Archive Pages Pro.

Install via FTP

  1. Download the plugin zip file of the sales email you received

  2. Unzip the plugin zip in a place you can remember for the next steps

  3. Log into your FTP program of choice for your website

  4. Upload the unzipped folder into wp-content/plugins

  5. Log into your admin dashboard

  6. Head to the plugins screen

  7. Search for Archive Pages Pro.

  8. Activate the plugin

After activation, you will be taken to the plugin's settings screen.

is a premium plugin. Please check out .

Archive Pages Pro
Archive Pages Pro

Finding the Plugin's Settings

Finding the plugin's settings are easy and straightforward.

Mapping a Post Type Archive and 404 Page

To map a post type or a 404 page, go to Settings > Reading in the WordPress admin.

For post types, it'll only pick up post types that are:

  • public

  • has_archive is set to true

You're able to map any public post type, and also map a 404 page to a page as well.

Mapping a Term Archive

To map a term to a page, visit that term's edit screen.

Once in edit mode, you can map the term's archive to a page.

Mapping Author Archives

Editing the user's profile allows you to change an author's slug and map the author's archive to a page.

Finding the Admin Settings

You can find the admin settings under Settings > Archive Pages Pro.

Excluding Certain Post Types From Mapping

You can exclude certain post types from mapping using filter: archive_pages_pro_excluded_post_types

$excluded   = array( 'attachment', 'revision', 'nav_menu_item', 'gblocks_templates', 'post', 'page', 'gblocks_global_style' );
/**
 * Filter the post types to exclude.
 *
 * @param array $excluded Post types to exclude.
 */
$excluded = apply_filters( 'archive_pages_pro_excluded_post_types', $excluded );php

Welcome to Archive Pages Pro

Welcome to Archive Pages Pro

Archives Pages Pro allows you to customize your archives by mapping them to pages. It provides the ability to map post-type archives, term archives, author archives, and 404 pages. Additional features include post-type overrides and the ability to add custom fields to the REST API.

Here are the major features:

Map a Post Type to a Page

Create a page, layout it exactly how you like it, and then map it to a post-type archive.

Just head to Settings > Reading to set the post type archive page.

Map a 404 Page to a Page

Don't settle for a boring 404 page. Create a page, layout how you like it, and then map the page to a 404 page.

Just head to Settings > Reading to set the 404 page.

Map a Term Archive to a Page

You can map term archives to a page. Just visit the term in the admin and you're able to map its archive to a page.

This provides you better control over what goes on your term archives.

Map an Author Archive to a Page and Change the Author Slug

You're able to create a page layout how the author page will look, and then map the author archive to that page.

You're also able to change the author slug in the same section.

With custom author archives, you can give your authors a nice design and even allow them to edit their own archive pages.

Disable Archive Mapping

In the admin settings, you'll find that you can disable the mapping features you are not using.

You can disable archive mapping for:

  • Post type archives

  • Term archives

  • 404 archives

Change the Author Base and Disable Mapping of Authors

You can change the author base in this admin section so your author archives have a custom endpoint.

You are also able to disable author mapping in this section.

Add Custom Fields to the REST API

Some plugins that interact with custom fields require that the custom fields be available with WordPress's REST API.

This admin tool lets you make those custom fields appear in REST dropdowns or searches.

Add the custom field key, set a post type, and give it a variable type. This field will then be registered in REST, which you can access from your custom tool.

Post Overrides

You can override certain portions of the "post" post type.

You can:

  • Add page templates to posts.

  • Enable or disable custom fields for posts.

Page Overrides

With Page overrides, you can enable or disable custom fields on pages.

Per Post Type Overrides

You can override certain aspects of a post type with per-post-type overrides.

You can:

  • Enable or disable page templates for the post type.

  • Allow REST API support, which is needed for block editor access.

  • Enable or disable a front base, which is what your post type is prepended with when viewing it on the frontend.

  • Enable or disable a post type archive.

  • Enable or disable custom fields.

Per Taxonomy Overrides

You can enable or disable certain taxonomy features per taxonomy.

You can override:

  • Whether to show the taxonomy in the REST API or not, which is needed for block editor access.

  • Enable a front base for the taxonomy, or disable it.

  • Enable or disable a taxonomy archive.

Enable the block editor for the post type, bypassing .

the Classic Editor plugin

Changing Post Type Retrieval Arguments

By default, Archive Pages Pro only lists post types with the public argument set to true and has_archive set to true.

You can change these args using filter: archive_pages_pro_post_type_args

/**
 * Filter the default post type args.
 *
 * @param array $args Default post type args.
 *
 * @since 1.0.0
 */
$args = apply_filters( 'archive_pages_pro_post_type_args', $args );

The $args argument is an array of post type arguments. Please for the full set of arguments.

see get_post_types
Head to Settings > Reading to Set Post Type Archives and the 404 Page
Find the Term Edit Screen to Map a Term
Map a Term to a Page
Author Mapping Options
Archive Pages Pro Admin
Map a Post Type Archive to a Page
Map a 404 Page to a Page
Map a Term Archive to a PAge
Map an Author Archive to a Page
Disable Archive Mapping Options
Disable Author Mapping and Change the Author Base
Custom Field Support in Archive Pages Pro
Post Overrides Options
Page Overrides Options
Post Type Overrides Options
Taxonomy Overrides Options