Hi,
is it possible to show more than 12 images with the Instagram widget (cached version)?
Thanks.
Hey BeeCee,
Thank you for the inquiry.
This is possible but you have to modify widget script directly. Edit the wp-content\themes\enfold\framework\php\class-framework-widgets.php file, look for this code around line 3033:
<label for="<?php echo $this->get_field_id( 'number' ); ?>"><?php _e( 'Number of photos', 'avia_framework' ); ?>:</label>
<select id="<?php echo $this->get_field_id( 'number' ); ?>" name="<?php echo $this->get_field_name( 'number' ); ?>" class="widefat">
<option value="1" <?php selected( 1, $number ) ?>>1</option>
<option value="2" <?php selected( 2, $number ) ?>>2</option>
<option value="3" <?php selected( 3, $number ) ?>>3</option>
<option value="4" <?php selected( 4, $number ) ?>>4</option>
<option value="5" <?php selected( 5, $number ) ?>>5</option>
<option value="6" <?php selected( 6, $number ) ?>>6</option>
<option value="7" <?php selected( 7, $number ) ?>>7</option>
<option value="8" <?php selected( 8, $number ) ?>>8</option>
<option value="9" <?php selected( 9, $number ) ?>>9</option>
<option value="10" <?php selected( 10, $number ) ?>>10</option>
<option value="11" <?php selected( 11, $number ) ?>>11</option>
<option value="12" <?php selected( 12, $number ) ?>>12</option>
</select>
You can add more option in the select field.
Best regards,
Ismael