D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
ltfsolutionsco
/
www
/
wp-content
/
plugins
/
ml-slider
/
admin
/
views
/
slides
/
tabs
/
Filename :
general.php
back
Copy
<?php if (!defined('ABSPATH')) die('No direct access.'); ?> <div class="thumb-col-settings"> <?php // Handle captions if( isset( $_GET['metaslider_add_sample_slides'] ) ){ $slide_caption = (esc_html( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent vitae.' )); } else { $slide_caption = (wp_filter_post_kses($this->slide->post_excerpt)); } $image_caption = (wp_filter_post_kses($attachment->post_excerpt)); $image_description = (wp_filter_post_kses($attachment->post_content)); // Deprecate inherit_image_caption by deleting it and setting the source as the image if (filter_var(get_post_meta($this->slide->ID, 'ml-slider_inherit_image_caption', true), FILTER_VALIDATE_BOOLEAN)) { update_post_meta($this->slide->ID, 'ml-slider_caption_source', 'image-caption'); delete_post_meta($this->slide->ID, 'ml-slider_inherit_image_caption'); } $caption_source = get_post_meta($this->slide->ID, 'ml-slider_caption_source', true); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo $this->get_admin_slide_thumb(); ?> <div> <metaslider-caption image-caption="<?php echo esc_attr($image_caption); ?>" image-description="<?php echo esc_attr($image_description); ?>" override="<?php echo esc_attr($slide_caption); ?>" caption-source="<?php echo esc_attr($caption_source); ?>"></metaslider-caption> <?php // Handle URL and target $url = get_post_meta($slide_id, 'ml-slider_url', true); $target = get_post_meta($slide_id, 'ml-slider_new_window', true); ?> <div class="row mb-2"> <label> <?php esc_html_e( 'Link URL', 'ml-slider' ) ?> </label> </div> <div class="row has-right-checkbox"> <div> <input class="url" data-lpignore="true" type="text" name="attachment[<?php echo esc_attr($slide_id); ?>][url]" placeholder="<?php echo esc_attr("URL", "ml-slider"); ?>" value="<?php echo esc_url($url); ?>" /> </div> <div class="input-label"> <label> <?php esc_html_e( 'New window', 'ml-slider' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo $this->info_tooltip( __( 'Open link in a new window', 'ml-slider' ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo $this->switch_button( 'attachment[' . esc_attr( $slide_id ) . '][new_window]', (bool) $target, array( 'autocomplete' => 'off', 'tabindex' => '0' ), 'mr-0 ml-2' ); ?> </label> </div> </div> </div> </div>
Name
Size
Last Modified
Owner
Permissions
Actions
crop.php
1.666
KB
February 03 2024 3:18:15
ltfsolutionsco
0644
general.php
2.471
KB
February 03 2024 3:18:15
ltfsolutionsco
0644
mobile.php
2.11
KB
February 03 2024 3:18:15
ltfsolutionsco
0644
schedule.php
0.654
KB
February 03 2024 3:18:15
ltfsolutionsco
0644
seo.php
2.682
KB
February 03 2024 3:18:15
ltfsolutionsco
0644
2017 © D7net | D704T team