can i use openhook (thesis plugin) to add vslider to homepage

Started 2 years ago by Latest reply from
  • This topic is not a support question
    1. Anonymous
      Unregistered

      i added...
      <?php if (function_exists(‘vSlider’)) { vSlider(); }?>
      to openhook feature box in hopes of adding the vslider to my homepage but nothing... thoughts?

      Posted 2 years ago #
    2. Anonymous
      Unregistered

      It might be the case that when you copied the code it was formatted (the brackets). I had to change them to make it work to this:.

      <?php if (function_exists('vSlider')) { vSlider(); } ?>

      Or you can just use this if you are sure the vSlider is activated:

      <?php vSlider(); ?>

      Be sure to check also "Execute PHP on this hook " in the plugin where you execute the hook.

      Posted 2 years ago #
    3. Anonymous
      Unregistered

      for the new vslider 4.0 version, where you get the functionality of as many vsliders on the page as you want.
      vslider() becomes vslider('vslider_name')

      Just an update as the plugin would soon be launched.

      Posted 2 years ago #

    Reply

    You must log in to post.