• Resolved oscardgomez

    (@oscardgomez)


    Hi. First of all my website is a wordpress.com one so I don’t even know if I’m on the right place, but I couldn’t find any other bqworks support forum (if someone could please point me into the right direction, I’d appreciate it).

    Basically, the problem is Slider Pro no longer works. Its always been inserted into a template like this:


    <?php echo slider_pro(6, array(“width”=>”100%”, “height”=>640)); ?>

    I am assuming this no longer working is due to a more or less recent update, since I am comparing the old plugin folder with the new one and the content is not even similar. I am sorry am not a great coding expert, can somebody please help me?

    Thanks in advance


    • This topic was modified 1 year, 2 months ago by oscardgomez.
    • This topic was modified 1 year, 2 months ago by oscardgomez.

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author bqworks

    (@bqworks)

    Hi. The code you pasted here is from an older version of the slider. Since version 4, the slider got a major update which differs significantly from older version. Event the PHP code to add the slider in a template file is different: sliderpro(id), without the underscore.

    Did you try to update to the latest version or are you still using the older version and it stopped working?

    Best,
    David

    Thread Starter oscardgomez

    (@oscardgomez)

    Hi, thanks for your response. I updated to the latest version. So I just have to remove the underscore?

    Plugin Author bqworks

    (@bqworks)

    If you want to use the latest version, you need to change a little the way you add it in PHP code:

    <?php echo do_shortcode('[sliderpro id="1"]');?>

    Also please note that this version has many differences from older ones, so it might not look exactly the same.

    Best,
    David

    Thread Starter oscardgomez

    (@oscardgomez)

    Awesome! The only thing is the slieder was created based on a category, so everytime I added a new item to that category, a new slide would appear automatically. I believe I need to adapt that line of code (<?php echo slider_pro(6, array(“width”=>”100%”, “height”=>640)); ?>) to the new version of the plugin so it works the same way again. Do you know how the new line of code should look like? Thanks and please forgive the inconvenience.

    Plugin Author bqworks

    (@bqworks)

    First you need to create in the admin area a slider which pulls data from posts and then reference that slider in the template file using the code above. You can find instructions on how to create a dynamic slider in the documentation and the video tutorial referenced in the Getting Started panel, in the admin.

    Best,
    David

    Thread Starter oscardgomez

    (@oscardgomez)

    Cool. Nice and easy. I pretty much have it figured out. Only each one of the posts has already a vimeo video in it, and I’ve tried to replace whats in the slides ‘source’ field for the vimeo id, but it didn’t work. Do you know what would be the right way of achieving this? thanks again!

    Thread Starter oscardgomez

    (@oscardgomez)

    PS: I know that can be done in each slide individually, but I am trying the slider to get the video ids from the posts automatically tha same way it gets the images or the thumbnails

    Plugin Author bqworks

    (@bqworks)

    Hi. That depends on how are the videos added in the post: if they are inserted directly in the post content, you can use the [sp_content] tag to load the posts content into the slider. You can add the tag in the HTML section or inside a layer. If you have a custom field that holds the URL, you can use the [sp_custom.video_url] tag. Please see the documentation for all the available dynamic tags.

    Best,
    David

    Thread Starter oscardgomez

    (@oscardgomez)

    Ok , now I got it. Thanks so much for all your help and patience!

    Thread Starter oscardgomez

    (@oscardgomez)

    One last thing, I’m struggling to make the poster appear again after the videos are played, instead of the “more videos” screen. I couln’t seem to find any info about this in the documentation.

    Plugin Author bqworks

    (@bqworks)

    Are you loading the video as part of the post’s content or by fetching the video url from a custom field? If it’s part of the post’s content, you need to handle how the video behaves inside that post and for Vimeo videos it might also have to do with the video’s settings.

    Best,
    David

    Thread Starter oscardgomez

    (@oscardgomez)

    Got it. Thanks one more time!

    Plugin Author bqworks

    (@bqworks)

    You’re welcome!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Slider Pro via php causes all code underneath not to work’ is closed to new replies.