Position Fieldtype

Position Fieldtype
Description

Using Position

Add the fieldtype to your fieldset. You can choose to hide certain positions, by default they are all visible.

sections:
  main:
    display: Main
    fields:
      position:
        type: position
        options:
          left: true
          center: true
          right: true
          full: true
          drop-left: true
          drop-right: true
        default: center

Using Position

The output of the fieldtype is equal to the keys in the options array.

{{ position }} // center

Important Links
Details
Released April 17, 2019
Updated 5 months ago
Version v1.0.1
Downloads 132
Requires Statamic 2

Rias.be

More by Rias.be

Similar Addons

See All