Notice: mysqli_real_connect(): Setting mysql connection to use "mlund.dk.mysql.service.one.com" in /customers/d/9/d/mlund.dk/httpd.www/wp-includes/class-wpdb.php on line 2035 Warning: Cannot modify header information - headers already sent by (output started at /customers/d/9/d/mlund.dk/httpd.www/wp-includes/class-wpdb.php:2035) in /customers/d/9/d/mlund.dk/httpd.www/wp-content/plugins/onecom-vcache/vcaching.php on line 604 Warning: Cannot modify header information - headers already sent by (output started at /customers/d/9/d/mlund.dk/httpd.www/wp-includes/class-wpdb.php:2035) in /customers/d/9/d/mlund.dk/httpd.www/wp-content/plugins/onecom-vcache/vcaching.php on line 612

Smart slider indsat i ACF

I Advanced Custom Fields vælges typen Smart Slider 3.

I php-filen indsættes nedestående kode.

    <?php
        $slider = get_field("felt_navn");
        if($slider && is_single()){
        echo do_shortcode($slider);
    }
    ?>