Plugin Slider Revolution: How to integrate the slider automatically in all post headers?

The solution works for the Avada theme, for other themes you may have to change the class here.

function add_slider_rev_to_post() {
  if ( is_single() && 'post' == get_post_type() ) {
    print do_shortcode('[rev_slider alias="aktuelles"][/rev_slider]');
add_filter( 'avada_after_header_wrapper', 'add_slider_rev_to_post' );
Without cookies
This website does not use cookies or tracking. More information can be found in the privacy policy.