> For the complete documentation index, see [llms.txt](https://documentation.ajaxsearchpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.ajaxsearchpro.com/advanced-options/primary-and-secondary-title-and-description-fields.md).

# Primary and Secondary title and description fields

![](/files/-L9ntY5hd-p3FPT_W9vb)

During the search post-process, the plugin parses the Post/Page/CPT titles and the contents, as defined by these fields. First it looks for the *Primary field*, and if it is not found or empty, it uses the *Secondary field.*

## Examples

### Custom field content as Title or Description

It is possible to define a single, text based custom field as the title or description field.

{% hint style="info" %}
&#x20;We recommend using it as the Primary field, so the plugin can fall back to a Secondary field, just in case.
{% endhint %}

![Custom field as title](/files/-L9nvhEtzVOM_XfmGhE6)

### Yoast SEO title and meta description custom fields

The Yoast SEO plugin uses the folling custom fields to store the custom title and meta desctiption fields:

* \_yoast\_wpseo\_title
* \_yoast\_wpseo\_metadesc

{% hint style="info" %}
These Yoast SEO fields are only defined, if the title/meta description are typed in manually.
{% endhint %}

### All in one SEO plugin meta title and desctiption custom fields

The All in One SEO plugin uses the following custom fields:

* &#x20;\_aioseop\_title
* &#x20;\_aioseop\_description

{% hint style="info" %}
&#x20;These  All in one SEO fields are only defined, if the title/meta description are typed in manually.
{% endhint %}
