';
}
/**
* Close the wrapper after the title.
*
* @access public
*/
public function after_the_title() {
echo '';
}
/**
* Removes arrows from the "previous" link.
*
* @access public
* @param string $anchor The HTML.
* @return string
*/
public function remove_arrow_from_prev_link( $anchor ) {
return tribe_get_prev_event_link( '%title%' );
}
/**
* Removes arrows from the "next" link.
*
* @access public
* @param string $anchor The HTML.
* @return string
*/
public function remove_arrow_from_next_link( $anchor ) {
return tribe_get_next_event_link( '%title%' );
}
/**
* Returns the mobile breakpoint.
*
* @access public
* @return int
*/
public function set_mobile_breakpoint() {
return intval( Avada()->settings->get( 'content_break_point' ) );
}
/**
* Renders the title for single events.
*
* @access public
*/
public static function render_single_event_title() {
$event_id = get_the_ID();
?>
', '' ); ?>
', '' ); // WPCS: XSS ok. ?>
|
';
}
/**
* Renders to correct excerpts on archive pages.
*
* @since 5.1.6
* @access public
* @param string $excerpt The post excerpt.
* @param object $post The post object.
* @return string The new excerpt.
*/
public function get_the_excerpt( $excerpt, $post ) {
if ( 'tribe_events' === get_post_type() && is_archive() ) {
return fusion_get_post_content( $post->ID, 'yes', apply_filters( 'excerpt_length', 55 ), true );
}
return $excerpt;
}
/**
* Add packery library to the Events Calendar Photo View shortcode.
*
* @since 5.3.1
* @access public
* @return void
*/
public function add_packery_library_to_photo_view() {
wp_enqueue_script( 'tribe-events-pro-isotope-packery', FUSION_LIBRARY_URL . '/assets/min/js/library/packery.js', array( 'tribe-events-pro-isotope' ), '', true );
}
/**
* Add CSS to hide incompatible customizer controls.
*
* @since 5.5.0
* @access public
* @return void
*/
public function ec_customizer_styles() {
?>
add_setting(
$customizer->get_setting_name( 'avada_ec_notice_post_title_color', $section ),
array(
'type' => 'hidden',
)
);
$manager->add_control(
'avada_ec_notice_post_title_color',
array(
'label' => __( 'NOTE', 'Avada' ),
/* translators: EC Customizer notice. */
'description' => sprintf( __( 'You can control the post title color from Avada theme options panel through the