# post-carousel/4.0.7/blocks/includes/post-timeline-three/attributes.php

Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog &amp; News, version 4.0.7. 118 lines.

- Page: https://pluginprobe.com/plugins/post-carousel/4.0.7/code/blocks/includes/post-timeline-three/attributes.php
- Raw: https://pluginprobe.com/plugins/post-carousel/4.0.7/raw/blocks/includes/post-timeline-three/attributes.php
- Modified: 2026-04-24T11:48:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/post-carousel/4.0.7/code/blocks/includes/post-timeline-three/attributes.php#L10-L20`.

```php
<?php
/**
 * Timeline three block attributes file class for Smart Post Show Blocks.
 *
 * @package Smart_Post_Show_Pro
 * @subpackage Smart_Post_Show_Pro/blocks/includes
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

$post_timeline_attributes = array(
	'timelineLayout'                => array(
		'type'    => 'string',
		'default' => '',
	),
	'largeItemHeight'               => array(
		'type'    => 'string',
		'default' => '',
	),
	'gapBetweenPosts'               => $this->ranger_attribute( 10 ),
	'timelineIconSource'            => array(
		'type'    => 'string',
		'default' => 'icon-font',
	),
	'timelineSize'                  => $this->ranger_attribute( 16 ),
	'timelineWidth'                 => $this->ranger_attribute( 32 ),
	'timelineHeight'                => array(
		'type'    => 'object',
		'default' => array(
			'device' => array(
				'Desktop' => '',
				'Tablet'  => '',
				'Mobile'  => '',
			),
		),
	),
	'timelineConnectorWidth'        => $this->ranger_attribute( 2 ),
	'timelineConnectorColor'        => array(
		'type'    => 'object',
		'default' => array(
			'color'  => '#E0E0E0',
			'active' => 'var(--smart-post-secondary)',
		),
	),
	'timelineIndicatorColor'        => array(
		'type'    => 'object',
		'default' => array(
			'color'  => '#E0E0E0',
			'active' => 'var(--smart-post-secondary)',
		),
	),
	'timelineCircleBgColor'         => array(
		'type'    => 'object',
		'default' => array(
			'color'  => '#FFFFFF',
			'active' => '#FFFFFF',
		),
	),
	'timelineIconColor'             => array(
		'type'    => 'object',
		'default' => array(
			'color'  => '#333333',
			'active' => '#ffffff',
		),
	),
	'timelineIconBgColor'           => array(
		'type'    => 'object',
		'default' => array(
			'color'  => '#333333',
			'active' => '#ffffff',
		),
	),
	'timelineConnectorBorder'       => array(
		'type'    => 'object',
		'default' => array(
			'style'       => 'solid',
			'color'       => '#E0E0E0',
			'activeColor' => 'var(--smart-post-secondary)',
		),
	),
	'timelineConnectorBorderWidth'  => $this->spacing_attribute( 4, 4, 4, 4, 'px', true ),
	'timelineConnectorBorderRadius' => $this->spacing_attribute( 50, 50, 50, 50, 'px', true ),
	'postTimelineSubheadingLabel'   => array(
		'type'    => 'string',
		'default' => 'About Post Timeline',
	),
);
$post_timeline_attributes = array_merge( $post_timeline_attributes, $shared_attributes );

$post_timeline_three_attributes = array(
	'postTimelineNavArrow'      => array(
		'type'    => 'boolean',
		'default' => true,
	),
	'postTimelineAutoPlay'      => array(
		'type'    => 'boolean',
		'default' => true,
	),
	'postTimelineAutoPlayDelay' => array(
		'type'    => 'object',
		'default' => array(
			'value' => 2000,
			'unit'  => 'ms',
		),
	),
	'postTimelineTickerSpeed'   => array(
		'type'    => 'object',
		'default' => array( 'value' => 3000 ),
	),
	'carouselData'              => array(
		'type'    => 'string',
		'default' => '',
	),
);
return array_merge( $post_timeline_three_attributes, $post_timeline_attributes, $carousel_attributes );

```
