GB Theme Doc

marquee.php

Marquee

Table of Contents

marquee()  : mixed
Create a marquee with a given ACF text fields

Functions

marquee()

Create a marquee with a given ACF text fields

marquee([array<string|int, mixed> $args = null ]) : mixed

Return Html marquee with a given text. You must choose an unique id

Parameters
$args ( array<string|int, mixed> )

Marquee Settings

$args['field'] ( string )

ACF field text. Complex field will be parsed with field_parse()

$args['id'] ( string )

Unique id for this element

$args['speed'] ( int )

The marquee speed, negative or positive

Todo

get auto id

Use
field_parse()

to parse ACF fields

Search results