| 1 |
<?php |
| 2 |
/** |
| 3 |
* Post carousel block attributes file for Smart Post Show Blocks. |
| 4 |
* |
| 5 |
* @package Smart_Post_Show_Pro |
| 6 |
* @subpackage Smart_Post_Show_Pro/blocks/includes |
| 7 |
*/ |
| 8 |
|
| 9 |
if ( ! defined( 'ABSPATH' ) ) { |
| 10 |
die; |
| 11 |
} |
| 12 |
|
| 13 |
$post_carousel_two_attributes = array( |
| 14 |
'contentOnHover' => array( |
| 15 |
'type' => 'boolean', |
| 16 |
'default' => false, |
| 17 |
), |
| 18 |
|
| 19 |
'titleOnHover' => array( |
| 20 |
'type' => 'boolean', |
| 21 |
'default' => false, |
| 22 |
), |
| 23 |
|
| 24 |
'taxonomyOnHover' => array( |
| 25 |
'type' => 'boolean', |
| 26 |
'default' => false, |
| 27 |
), |
| 28 |
|
| 29 |
'metaOnHover' => array( |
| 30 |
'type' => 'boolean', |
| 31 |
'default' => false, |
| 32 |
), |
| 33 |
|
| 34 |
'excerptOnHover' => array( |
| 35 |
'type' => 'boolean', |
| 36 |
'default' => false, |
| 37 |
), |
| 38 |
'readMoreOnHover' => array( |
| 39 |
'type' => 'boolean', |
| 40 |
'default' => false, |
| 41 |
), |
| 42 |
|
| 43 |
'socialShareOnHover' => array( |
| 44 |
'type' => 'boolean', |
| 45 |
'default' => false, |
| 46 |
), |
| 47 |
'contentHoverAnimate' => array( |
| 48 |
'type' => 'string', |
| 49 |
'default' => 'none', |
| 50 |
), |
| 51 |
|
| 52 |
'titleEffect' => array( |
| 53 |
'type' => 'string', |
| 54 |
'default' => 'none', |
| 55 |
), |
| 56 |
|
| 57 |
'titleUnderlineEffect' => array( |
| 58 |
'type' => 'string', |
| 59 |
'default' => 'leftToRight', |
| 60 |
), |
| 61 |
'titleEffectColor' => array( |
| 62 |
'type' => 'string', |
| 63 |
'default' => '#fff', |
| 64 |
), |
| 65 |
'partialViewSlide' => array( |
| 66 |
'type' => 'boolean', |
| 67 |
'default' => false, |
| 68 |
), |
| 69 |
'authorPrefix' => array( |
| 70 |
'type' => 'string', |
| 71 |
'default' => 'By', |
| 72 |
), |
| 73 |
|
| 74 |
|
| 75 |
); |
| 76 |
|
| 77 |
return array_merge( $post_carousel_attributes, $post_carousel_two_attributes, $carousel_attributes, $shared_attributes ); |
| 78 |
|