Eklenti etkinleştirilemedi, çünkü önlenemeyen bir hataya sebep oldu.
Warning: Use of undefined constant php - assumed 'php' (this will throw an Error in a future version of PHP) in /home/tezisma/domains/tezismakina.com/public_html/wp-content/plugins/porto-shortcodes/shortcodes/porto_schedule_timeline_container.php on line 1
Parse error: syntax error, unexpected end of file in /home/tezisma/domains/tezismakina.com/public_html/wp-content/plugins/porto-shortcodes/shortcodes/porto_schedule_timeline_item.php on line 1
Baya uğraştım ancak çözemedim yardımcı olabilir misiniz ?
Hata verdiği porto_schedule_timeline_container.php içeriği
Alıntı
<?php
// Porto Schedule Timeline Container
add_shortcode('porto_schedule_timeline_container', 'porto_shortcode_schedule_timeline_container');
add_action('vc_after_init', 'porto_load_schedule_timeline_container_shortcode' );
function porto_shortcode_schedule_timeline_container($atts, $content = null) {
ob_start();
if ($template = porto_shortcode_template('porto_schedule_timeline_ container'))
include $template;
return ob_get_clean();
}
function porto_load_schedule_timeline_container_shortcode() {
$custom_class = porto_vc_custom_class();
vc_map( array(
"name" => "Porto " . __("Schedule Timeline Container", 'porto-shortcodes'),
"base" => "porto_schedule_timeline_container",
"category" => __("Porto", 'porto-shortcodes'),
"icon" => "porto_vc_schedule_timeline",
"as_parent" => array('only' => 'porto_schedule_timeline_item'),
"content_element" => true,
"controls" => "full",
'js_view' => 'VcColumnView',
"params" => array(
array(
"type" => "textfield",
"heading" => __("Title", "porto-shortcodes"),
"param_name" => "title",
"admin_label" => true,
),
array(
"type" => "textfield",
"heading" => __("Subtitle", "porto-shortcodes"),
"param_name" => "subtitle",
),
array(
'type' => 'dropdown',
'heading' => __( 'Circle Type', 'porto-shortcodes' ),
'param_name' => 'circle_type',
'value' => array(
__( 'Filled', 'porto-shortcodes' ) => 'filled',
__( 'Simple', 'porto-shortcodes' ) => 'simple'
)
),
array(
'type' => 'label',
'heading' => __('Title Settings', 'porto-shortcodes'),
'param_name' => 'label',
'group' => 'Typography'
),
array(
'type' => 'colorpicker',
'heading' => __('Color', 'porto-shortcodes'),
'param_name' => 'title_color',
'group' => 'Typography'
),
array(
'type' => 'label',
'heading' => __('Subtitle Settings', 'porto-shortcodes'),
'param_name' => 'label',
'group' => 'Typography'
),
array(
'type' => 'colorpicker',
'heading' => __('Color', 'porto-shortcodes'),
'param_name' => 'subtitle_color',
'group' => 'Typography'
),
$custom_class
)
) );
if (!class_exists('WPBakeryShortCode_Porto_Schedule_T imeline_Container')) {
class WPBakeryShortCode_Porto_Schedule_Timeline_Containe r extends WPBakeryShortCodesContainer {
}
}
}?>
// Porto Schedule Timeline Container
add_shortcode('porto_schedule_timeline_container', 'porto_shortcode_schedule_timeline_container');
add_action('vc_after_init', 'porto_load_schedule_timeline_container_shortcode' );
function porto_shortcode_schedule_timeline_container($atts, $content = null) {
ob_start();
if ($template = porto_shortcode_template('porto_schedule_timeline_ container'))
include $template;
return ob_get_clean();
}
function porto_load_schedule_timeline_container_shortcode() {
$custom_class = porto_vc_custom_class();
vc_map( array(
"name" => "Porto " . __("Schedule Timeline Container", 'porto-shortcodes'),
"base" => "porto_schedule_timeline_container",
"category" => __("Porto", 'porto-shortcodes'),
"icon" => "porto_vc_schedule_timeline",
"as_parent" => array('only' => 'porto_schedule_timeline_item'),
"content_element" => true,
"controls" => "full",
'js_view' => 'VcColumnView',
"params" => array(
array(
"type" => "textfield",
"heading" => __("Title", "porto-shortcodes"),
"param_name" => "title",
"admin_label" => true,
),
array(
"type" => "textfield",
"heading" => __("Subtitle", "porto-shortcodes"),
"param_name" => "subtitle",
),
array(
'type' => 'dropdown',
'heading' => __( 'Circle Type', 'porto-shortcodes' ),
'param_name' => 'circle_type',
'value' => array(
__( 'Filled', 'porto-shortcodes' ) => 'filled',
__( 'Simple', 'porto-shortcodes' ) => 'simple'
)
),
array(
'type' => 'label',
'heading' => __('Title Settings', 'porto-shortcodes'),
'param_name' => 'label',
'group' => 'Typography'
),
array(
'type' => 'colorpicker',
'heading' => __('Color', 'porto-shortcodes'),
'param_name' => 'title_color',
'group' => 'Typography'
),
array(
'type' => 'label',
'heading' => __('Subtitle Settings', 'porto-shortcodes'),
'param_name' => 'label',
'group' => 'Typography'
),
array(
'type' => 'colorpicker',
'heading' => __('Color', 'porto-shortcodes'),
'param_name' => 'subtitle_color',
'group' => 'Typography'
),
$custom_class
)
) );
if (!class_exists('WPBakeryShortCode_Porto_Schedule_T imeline_Container')) {
class WPBakeryShortCode_Porto_Schedule_Timeline_Containe r extends WPBakeryShortCodesContainer {
}
}
}?>
Alıntı
<?php
// Porto Schedule Timeline Item
add_shortcode('porto_schedule_timeline_item', 'porto_shortcode_schedule_timeline_item');
add_action('vc_after_init', 'porto_load_schedule_timeline_item_shortcode');
function porto_shortcode_schedule_timeline_item($atts, $content = null) {
ob_start();
if ($template = porto_shortcode_template('porto_schedule_timeline_ item'))
include $template;
return ob_get_clean();
}
function porto_load_schedule_timeline_item_shortcode() {
$animation_type = porto_vc_animation_type();
$animation_duration = porto_vc_animation_duration();
$animation_delay = porto_vc_animation_delay();
$custom_class = porto_vc_custom_class();
vc_map( array(
"name" => __("Schedule Timeline Item", 'porto-shortcodes'),
"base" => "porto_schedule_timeline_item",
"category" => __("Porto", 'porto-shortcodes'),
"icon" => "porto_vc_schedule_timeline",
"as_child" => array('only' => 'porto_schedule_timeline_container'),
"params" => array(
array(
"type" => "textfield",
"heading" => __("Subtitle/time", "porto-shortcodes"),
"param_name" => "subtitle"
),
array(
'type' => 'textfield',
'heading' => __('Image URL', 'porto-shortcodes'),
'param_name' => 'image_url'
),
array(
'type' => 'attach_image',
'heading' => __('Image', 'porto-shortcodes'),
'param_name' => 'image_id'
),
array(
"type" => "textfield",
"heading" => __("Heading", "porto-shortcodes"),
"param_name" => "heading",
"admin_label" => true,
),
array(
'type' => 'textarea_html',
'heading' => __('Details', 'porto-shortcodes'),
'param_name' => 'content',
),
array(
'type' => 'checkbox',
'heading' => __("Shadow", 'porto-shortcodes'),
'param_name' => 'shadow',
),
array(
'type' => 'label',
'heading' => __('Heading Settings', 'porto-shortcodes'),
'param_name' => 'label',
'group' => 'Typography'
),
array(
'type' => 'colorpicker',
'heading' => __('Color', 'porto-shortcodes'),
'param_name' => 'heading_color',
'group' => 'Typography'
),
array(
'type' => 'label',
'heading' => __('Subtitle Settings', 'porto-shortcodes'),
'param_name' => 'label',
'group' => 'Typography'
),
array(
'type' => 'colorpicker',
'heading' => __('Color', 'porto-shortcodes'),
'param_name' => 'subtitle_color',
'group' => 'Typography'
),
$custom_class,
$animation_type,
$animation_duration,
$animation_delay
)
) );
if (!class_exists('WPBakeryShortCode_Porto_Schedule_T imeline_Item')) {
class WPBakeryShortCode_Porto_Schedule_Timeline_Item extends WPBakeryShortCode {
}
}
}
// Porto Schedule Timeline Item
add_shortcode('porto_schedule_timeline_item', 'porto_shortcode_schedule_timeline_item');
add_action('vc_after_init', 'porto_load_schedule_timeline_item_shortcode');
function porto_shortcode_schedule_timeline_item($atts, $content = null) {
ob_start();
if ($template = porto_shortcode_template('porto_schedule_timeline_ item'))
include $template;
return ob_get_clean();
}
function porto_load_schedule_timeline_item_shortcode() {
$animation_type = porto_vc_animation_type();
$animation_duration = porto_vc_animation_duration();
$animation_delay = porto_vc_animation_delay();
$custom_class = porto_vc_custom_class();
vc_map( array(
"name" => __("Schedule Timeline Item", 'porto-shortcodes'),
"base" => "porto_schedule_timeline_item",
"category" => __("Porto", 'porto-shortcodes'),
"icon" => "porto_vc_schedule_timeline",
"as_child" => array('only' => 'porto_schedule_timeline_container'),
"params" => array(
array(
"type" => "textfield",
"heading" => __("Subtitle/time", "porto-shortcodes"),
"param_name" => "subtitle"
),
array(
'type' => 'textfield',
'heading' => __('Image URL', 'porto-shortcodes'),
'param_name' => 'image_url'
),
array(
'type' => 'attach_image',
'heading' => __('Image', 'porto-shortcodes'),
'param_name' => 'image_id'
),
array(
"type" => "textfield",
"heading" => __("Heading", "porto-shortcodes"),
"param_name" => "heading",
"admin_label" => true,
),
array(
'type' => 'textarea_html',
'heading' => __('Details', 'porto-shortcodes'),
'param_name' => 'content',
),
array(
'type' => 'checkbox',
'heading' => __("Shadow", 'porto-shortcodes'),
'param_name' => 'shadow',
),
array(
'type' => 'label',
'heading' => __('Heading Settings', 'porto-shortcodes'),
'param_name' => 'label',
'group' => 'Typography'
),
array(
'type' => 'colorpicker',
'heading' => __('Color', 'porto-shortcodes'),
'param_name' => 'heading_color',
'group' => 'Typography'
),
array(
'type' => 'label',
'heading' => __('Subtitle Settings', 'porto-shortcodes'),
'param_name' => 'label',
'group' => 'Typography'
),
array(
'type' => 'colorpicker',
'heading' => __('Color', 'porto-shortcodes'),
'param_name' => 'subtitle_color',
'group' => 'Typography'
),
$custom_class,
$animation_type,
$animation_duration,
$animation_delay
)
) );
if (!class_exists('WPBakeryShortCode_Porto_Schedule_T imeline_Item')) {
class WPBakeryShortCode_Porto_Schedule_Timeline_Item extends WPBakeryShortCode {
}
}
}