Great, it works!
Thank you
Hi,
could it work also with the custom fields?
I make a custom field with “smartslider2” and insert the number for the specific page in the backend.
In the header.php I insert these lines for outputting the number of the slideshow and the gallery:
<?php echo get_post_meta($post->ID, ‘smartslider2’, true); ?>
<?php echo do_shortcode(‘[smartslider2 slider=”Willkommen”]’); ?>
but I have to insert the first echo in the second, and this doesn’t work.
Any idea?