PluginProbe ʕ •ᴥ•ʔ
Timeline Blocks / 2.0.0
Timeline Blocks v2.0.0
2.0.1 2.0.0 trunk
timeline-blocks / src / tb-helper / class-tb-config.php
timeline-blocks / src / tb-helper Last commit date
class-tb-admin.php 2 weeks ago class-tb-block-helper.php 2 weeks ago class-tb-config.php 2 weeks ago class-tb-core-plugin.php 2 weeks ago class-tb-helper.php 2 weeks ago class-tb-init-blocks.php 2 weeks ago class-tb-loader.php 2 weeks ago
class-tb-config.php
106 lines
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit; // Exit if accessed directly
4 }
5
6 /**
7 * TB Config.
8 *
9 * @package TB
10 */
11 if (!class_exists('TB_Config')) {
12
13 /**
14 * Class TB_Config.
15 */
16 class TB_Config {
17
18 /**
19 * Block Attributes
20 *
21 * @var block_attributes
22 */
23 public static $block_attributes = null;
24
25 /**
26 * Get Widget List.
27 *
28 * @since 0.0.1
29 *
30 * @return array The Widget List.
31 */
32 public static function get_block_attributes() {
33
34 if (null === self::$block_attributes) {
35 self::$block_attributes = array(
36 'timeline-blocks/tb-timeline-blocks' => array(
37 'slug' => '',
38 'title' => __('Timeline Block', 'timeline-blocks'),
39 'description' => __('This block fetches the blog posts you may have on your website and displays them in a timeline template.', 'timeline-blocks'),
40 'default' => true,
41 'attributes' => array(
42 'categories' => '',
43 'className' => '',
44 'postsToShow' => '',
45 'displayPostDate' => '',
46 'displayPostExcerpt' => '',
47 'wordsExcerpt' => '',
48 'displayPostAuthor' => '',
49 'displayPostTag' => '',
50 'displayPostCategory' => '',
51 'displayPostImage' => '',
52 'displayPostLink' => '',
53 'displayPostComments' => '',
54 'displayPostSocialshare' => '',
55 'align' => '',
56 'width' => '',
57 'order' => '',
58 'orderBy' => '',
59 'imageCrop' => '',
60 'layoutcount' => '',
61 'readMoreText' => '',
62 'titleTag' => '',
63 'titlefontSize' => '',
64 'titleFontFamily' => '',
65 'titleFontWeight' => '',
66 'titleFontSubset' => '',
67 'postmetafontSize' => '',
68 'postexcerptfontSize' => '',
69 'postctafontSize' => '',
70 'metaFontFamily' => '',
71 'metaFontSubset' => '',
72 'metafontWeight' => '',
73 'excerptFontFamily' => '',
74 'excerptFontWeight' => '',
75 'excerptFontSubset' => '',
76 'ctaFontFamily' => '',
77 'ctaFontSubset' => '',
78 'ctafontWeight' => '',
79 'socialSharefontSize' => '',
80 'readmoreView' => '',
81 'belowTitleSpace' => '',
82 'belowImageSpace' => '',
83 'belowexerptSpace' => '',
84 'belowctaSpace' => '',
85 'innerSpace' => '',
86 'boxbgColor' => '',
87 'titleColor' => '',
88 'postmetaColor' => '',
89 'postexcerptColor' => '',
90 'postctaColor' => '#abb8c3',
91 'socialShareColor' => '',
92 'designtwoboxbgColor' => '',
93 'timelineBgColor' => '',
94 'timelineFgColor' => '',
95 'readmoreBgColor' => '#282828',
96 ),
97 ),
98 );
99 }
100 return self::$block_attributes;
101 }
102
103 }
104
105 }
106