• Resolved nickandrea19

    (@nickandrea19)


    I need to insert the slider into the theme files because of how the designer designed the theme. The client may want to change that slider at some point, however, they will not have the ability to enter the theme file and update the slider id number. It would be so much more convenient if I could somehow insert it using a name, like “homepage-slider,” so that when they want to change it they just upload the new one and takes the place of the old homepage-slider.

    So far, I have only seen shortcodes that reference the id number. Can anybody help me?

    Here’s the site: http://yogajyoti.net/wordpress/

    http://wordpress.org/plugins/wowslider/

Viewing 1 replies (of 1 total)
  • Plugin Author WOWSlider.com

    (@wowslidercom)

    Actually, WOWSlider provides this feature. You can find a link to a video tutorial “How to update existing WOWSlider galleries in WordPress” on the page with description of the plug-in:
    http://wordpress.org/plugins/wowslider/
    http://www.youtube.com/watch?v=0NCBHINEPvE

    This video tutorial is for pages/posts and shortcode. If you want to add WOWSlider into the theme, you should use WOWSlider php code. You can find the detailed instruction here:
    http://wordpress.org/plugins/wowslider/faq/
    Please see the question 4.

    To use slider title instead ID you should modify PHP code in the following way.
    * Original PHP code with slider ID:
    <?php wowslider(1); ?>
    * PHP code with slider title:
    <?php wowslider('title:homepage-slider'); ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Inserting wowslider in theme files by slider name’ is closed to new replies.