Slim SEO

Starting from version 2.0.22, ACPT is fully integrated with Slim SEOarrow-up-right.

How to use ACPT fields in the SEO Editor

Use this syntax to include ACPT fields in SEO snippets:

{{ acpt.box_field }}

Where box and field are, respectively, the box and field slugs.

You can manually type the strings or select the fields from the dynamic data selector:

Supported field types

The supported field types are:

  • Address

  • Address multiple

  • Checkbox

  • Color

  • Country

  • Currency

  • Date

  • Date range

  • Date time

  • Editor

  • Email

  • HTML

  • Length

  • List

  • Number

  • Password

  • Phone

  • Post

  • Post multiple

  • QR Code

  • Relational

  • Select

  • Select multiple

  • Term

  • Term multiple

  • Textarea

  • Text

  • Toggle

  • User

  • User multiple

  • URL

  • Weight

Working with arrays and nestable fields

Slim SEO uses a dot notation for extracting data from arrays.

For example, let's say that you have a three-item list field.

If you call {{ acpt.box_list }}, you will have something like this:

Because the array is imploded to a comma-separated string.

But if you want to display only the second value, you can use this syntax:

Please note that you need to follow a 0-based counting.

Last updated