Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #277613

    Hi, I am trying to figure out how to figure out how to use php for the call to the av_slide id

    <?php echo do_shortcode(‘[av_slideshow size="no scaling" animation="fade" autoplay="true" interval="4" custom_class=""][av_slide id="<?php echo get_site_url(1); ?>/wp-content/themes/enfold/myimages/example22.jpg"][/av_slideshow]‘); ?>

    I have also tried creating a variable like [av_slide id='$myimage']

    Cant seem to get the slide to show, and I tried to find av_slide id but cant locate it in any of the theme files.

    does av_slide id wrap the slide id in php already?

    #277773

    Hey!

    The ID should be the Attachment id, you can’t put a URL there.

    [av_slideshow size='featured' animation='slide' autoplay='false' interval='5' custom_class='']
    [av_slide id='2987']
    [av_slide id='2643']
    [av_slide id='2642']
    [/av_slideshow]

    Best regards,
    Josue

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.