WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] vSlider Edit Warning Increase Image Capacity (3 posts)

  1. David_1
    Member
    Posted 2 years ago #

    Hello Friends,

    Is it possible, or (un-wise) to edit a plug-in?
    I am using the vSlider 4.1.1 and am very happy with it.

    Unfortunately, I can only load 20 images. I have nearly 30 to load.
    I have looked at:
    >Plugins >Edit >vSlider >Edit Plugins >Editing vslider/vslider.php (active)

    But on this page there is a line of text:
    “Warning: Making changes to active plugins is not recommended. If your changes cause a fatal error, the plugin will be automatically deactivated.”

    Question if I make a change to the code on this page am I running the risk of losing my vSlider?

    Question 2: Not even sure if this is the page I would adjust for image amount increase. I found the following:

    <p><?php _e("Slides", 'vslider'); ?>:
                    <select name="<?php echo $option; ?>[slideNr]">
                    <?php for($s=1; $s<21; $s++){ ?>
                        <option value="<?php echo $s; ?>" <?php selected($s, $options['slideNr']); ?>><?php echo $s; ?></option>
                    <?php } ?>

    I was going to change:

    ($s=1; $s<21; $s++){ ?>

    to

    ($s=1; $s<31; $s++){ ?>

    However not even sure this would give me the 30 images instead of only 20 or not?

    Any insight to either or both my questions would be very much appreciated. Many thanks in advance for your time and assistance.

    Website:

    http://naturallygiftedbaskets.com/wordpress/

    [Please post code snippets between backticks or use the code button.]

  2. Mr. Vibe
    Member
    Posted 2 years ago #

    You have spotted it correctly. vSlider does not have any limitation on number of slides, it was just I failed to see that people can use more slides. This feature has been requested in vSlider 4.2 version as well.

    You can safely change that 21 to 31 :).

    I have recommended this edit in VibeThemes forums as well:
    http://www.vibethemes.com/forum/topic/issueunable-to-add-vslider

    ( v )

  3. David_1
    Member
    Posted 2 years ago #

    Hello Mr. Vibe,

    It is a pleasure to meet you.
    Thank you very kindly for verifying the inquiry.

    Nice to know we can safely add more slides.

    Love the vSlider, thanks again!

Topic Closed

This topic has been closed to new replies.

About this Topic