Category: Code

Code

Add Content After Theia Post Slider

// slider function my_custom_function( $html) { $html .= ‘ ‘; $html .= get_post_field(‘post_content’, $post_id); $html .= ‘ ‘; return $html; } $priority = 10; add_filter( ‘tps_the_content_after’, ‘my_custom_function’, $priority, 2 ); wp_register_script(‘clickmag’, get_template_directory_uri() . ‘/js/slider-handlers.js’, array(‘jquery’), ”, true);