132 lines
5.1 KiB
PHP
132 lines
5.1 KiB
PHP
<?php
|
|
$array = array(
|
|
'base' => 'ultimate_heading', // shortcode base
|
|
'presets' => array( // presets array
|
|
//1
|
|
array(
|
|
'title' => 'Left Aligned with Separator', // Title of preset
|
|
'default' => false, // set true if if want to load this preset on newly created element
|
|
'settings' => array(
|
|
'main_heading' => 'Heading Left Alignment',
|
|
'alignment' => 'left',
|
|
'spacer' => 'line_only',
|
|
'spacer_position' => 'middle',
|
|
'line_height' => '1',
|
|
'main_heading_margin' => 'margin-top:10px;margin-bottom:10px;',
|
|
'sub_heading_margin' => 'margin-top:10px;margin-bottom:10px;',
|
|
'spacer_margin' => 'margin-top:10px;margin-bottom:10px;',
|
|
'line_width' => '200',
|
|
'content' => 'Add custom colors to your heading, subheading.'
|
|
)
|
|
), // end of preset
|
|
//2
|
|
array(
|
|
'title' => 'Center Aligned with Separator', // Title of preset
|
|
'default' => false, // set true if if want to load this preset on newly created element
|
|
'settings' => array(
|
|
'main_heading' => 'Heading Center Alignment',
|
|
'spacer' => 'line_only',
|
|
'spacer_position' => 'middle',
|
|
'line_height' => '1',
|
|
'main_heading_margin' => 'margin-top:10px;margin-bottom:10px;',
|
|
'sub_heading_margin' => 'margin-top:10px;margin-bottom:10px;',
|
|
'spacer_margin' => 'margin-top:10px;margin-bottom:10px;',
|
|
'line_width' => '200',
|
|
'content' => 'Add custom colors to your heading, subheading.'
|
|
)
|
|
), // end of preset
|
|
//3
|
|
array(
|
|
'title' => 'Right Aligned with Separator', // Title of preset
|
|
'default' => false, // set true if if want to load this preset on newly created element
|
|
'settings' => array(
|
|
'main_heading' => 'Heading Right Alignment',
|
|
'alignment' => 'right',
|
|
'spacer' => 'line_only',
|
|
'spacer_position' => 'middle',
|
|
'line_height' => '1',
|
|
'main_heading_margin' => 'margin-top:10px;margin-bottom:10px;',
|
|
'sub_heading_margin' => 'margin-top:10px;margin-bottom:10px;',
|
|
'spacer_margin' => 'margin-top:10px;margin-bottom:10px;',
|
|
'line_width' => '200',
|
|
'content' => 'Add custom colors to your heading, subheading.'
|
|
)
|
|
), // end of preset
|
|
//4
|
|
array(
|
|
'title' => 'Line & Icon Separator', // Title of preset
|
|
'default' => false, // set true if if want to load this preset on newly created element
|
|
'settings' => array(
|
|
'main_heading' => 'Heading Center Alignment',
|
|
'spacer' => 'line_with_icon',
|
|
'spacer_position' => 'middle',
|
|
'line_height' => '1',
|
|
'icon' => 'Defaults-hand-o-up',
|
|
'icon_size' => '16',
|
|
'main_heading_margin' => 'margin-top:10px;margin-bottom:10px;',
|
|
'sub_heading_margin' => 'margin-top:10px;margin-bottom:10px;',
|
|
'spacer_margin' => 'margin-top:10px;margin-bottom:10px;',
|
|
'line_width' => '200',
|
|
'content' => 'Add custom colors to your heading, subheading.'
|
|
)
|
|
), // end of preset
|
|
//5
|
|
array(
|
|
'title' => 'Separator At Bottom', // Title of preset
|
|
'default' => false, // set true if if want to load this preset on newly created element
|
|
'settings' => array(
|
|
'main_heading' => 'Heading Separator at Bottom',
|
|
'main_heading_color' => '#16a080',
|
|
'sub_heading_color' => '#000000',
|
|
'alignment' => 'right',
|
|
'spacer' => 'line_only',
|
|
'spacer_position' => 'bottom',
|
|
'line_height' => '3',
|
|
'line_color' => '#16a080',
|
|
'main_heading_margin' => 'margin-top:10px;margin-bottom:10px;',
|
|
'line_width' => '50',
|
|
'sub_heading_margin' => 'margin-top:10px;margin-bottom:10px;',
|
|
'spacer_margin' => 'margin-top:10px;margin-bottom:10px;',
|
|
'content' => 'Add custom colors to your heading, subheading.',
|
|
)
|
|
), // end of preset
|
|
//6
|
|
array(
|
|
'title' => 'Separator At Middle', // Title of preset
|
|
'default' => false, // set true if if want to load this preset on newly created element
|
|
'settings' => array(
|
|
'main_heading' => 'Heading Separator in the Middle',
|
|
'main_heading_color' => '#16a080',
|
|
'sub_heading_color' => '#000000',
|
|
'spacer' => 'line_only',
|
|
'spacer_position' => 'middle',
|
|
'line_height' => '3',
|
|
'line_color' => '#16a080',
|
|
'main_heading_margin' => 'margin-top:10px;margin-bottom:10px;',
|
|
'sub_heading_margin' => 'margin-top:10px;margin-bottom:10px;',
|
|
'spacer_margin' => 'margin-top:10px;margin-bottom:10px;',
|
|
'line_width' => '100',
|
|
'content' => 'Add custom colors to your heading, subheading.'
|
|
)
|
|
), // end of preset3
|
|
//7
|
|
array(
|
|
'title' => 'Separator At Top', // Title of preset
|
|
'default' => false, // set true if if want to load this preset on newly created element
|
|
'settings' => array(
|
|
'main_heading' => 'Heading Separator on Top',
|
|
'main_heading_color' => '#16a080',
|
|
'sub_heading_color' => '#000000',
|
|
'alignment' => 'left',
|
|
'spacer' => 'line_only',
|
|
'line_height' => '3',
|
|
'line_color' => '#16a080',
|
|
'main_heading_margin' => 'margin-top:10px;margin-bottom:10px;',
|
|
'line_width' => '50',
|
|
'sub_heading_margin' => 'margin-top:10px;margin-bottom:10px;',
|
|
'spacer_margin' => 'margin-top:10px;margin-bottom:10px;',
|
|
'content' => 'Add custom colors to your heading, subheading.'
|
|
)
|
|
), // end of preset
|
|
)
|
|
); |