• Resolved longstand

    (@longstand)


    How to Allow more than 12 Image limitation:

    Modify this two file. it works for me

    Step 1: Plugin Editor “Built Into WordPress”

    Go to Plugins and there should be a Plugin Editior, Whichs allows you to modify the Plugins.

    Go to wp-admin/plugin-editor.php

    Step 2: Modify this file

    insta-gallery/app/wp-front.php

    Look for:

    $IGItem[‘insta_limit’] = (($IGItem[‘insta_limit’] > 0) && ($IGItem[‘insta_limit’] <= 12)) ? $IGItem[‘insta_limit’] : 12;

    CHANGE THE 12 Limit to what ever you want.

    Example

    $IGItem[‘insta_limit’] = (($IGItem[‘insta_limit’] > 0) && ($IGItem[‘insta_limit’] <= 250)) ? $IGItem[‘insta_limit’] : 250;

    ——————————-

    insta-gallery/app/views/edit.php

    <td><input name=”insta_limit” type=”number” min=”1″ max=”12″
    value=”<?php if(!empty($InstaGalleryItem[‘insta_limit’])){echo $InstaGalleryItem[‘insta_limit’]; } else {echo ’12’; }?>” /> <span class=”description”><?php _e(‘number of pictures to display (max: 12)’,’insta-gallery’); ?></span></td>

    Again, Change Value of 12 to what ever you want

    Example:

    <td><input name=”insta_limit” type=”number” min=”1″ max=”300″
    value=”<?php if(!empty($InstaGalleryItem[‘insta_limit’])){echo $InstaGalleryItem[‘insta_limit’]; } else {echo ‘300’; }?>” /> <span class=”description”><?php _e(‘number of pictures to display (max: 300)’,’insta-gallery’); ?></span></td>

    ———————

    To make things easy,
    When you open the two file. just search for ” 12 ” and it should show you all the possible value to change.

    Have fun, FYI Disasble AUTO update on this Plugin. If it takes an update. it will overides this file back to default.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,
    in the previous API the limit was 12, but after API changes the per page limit is increased, so i will try to extend the limit in the next updates of the plugin.

    Thread Starter longstand

    (@longstand)

    Hello,

    I have remove all data from the database and remove the app just to make sure i have a clean version of your latest update.

    But, no matter what i do on the settings page. it will still show ONLY 12 images

    http://www.sunshinelittleleague.com/photo/

    also, it seems like the source code also updated which is now a pain in the rear to change value. HAHHAAHAH

    Thank you very much for your hard work

    Hello!
    Username API still have the limit of 12.
    Tags API limit increased. so please check with the Tag pictures.

    we want more then 12. how can i increase limit

    Limit 12 Display how to show more

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Remove Limit 12 Display step by step’ is closed to new replies.