WordPress.org

Plugin Directory


Ignore:
Timestamp:
06/10/17 07:25:56 (3 months ago)
Author:
mnmlthms
Message:

Update v1.0.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-my-instagram/trunk/inc/public/main.php

    r1674534 r1675325  
    3131 
    3232            if( empty( $args['username'] ) ) 
    33                 echo esc_html__( 'You need to input your username', 'wp-my-instaram' ); 
     33                echo esc_html__( 'You need to input your username', 'wp-my-instagram' ); 
    3434 
    3535 
     
    5050                // slice list down to required limit 
    5151                $media_array = array_slice( $media_array, 0, (int) $args['limit'] ); 
    52                 $template_part = apply_filters( 'wpmi_template_part', 'wp-my-instaram/loop.php' ); 
     52                $template_part = apply_filters( 'wpmi_template_part', 'wp-my-instagram/loop.php' ); 
    5353                ?> 
    5454                <div class="wp-my-instagram wpmi"> 
    5555                    <ul class="wpmi-list wpmi-layout-<?php echo esc_attr( $args['layout'] );?>"><?php 
    5656                    foreach ( $media_array as $item ) { 
    57                         // copy the else line into a new file (parts/wp-my-instaram.php) within your theme and customise accordingly 
     57                        // copy the else line into a new file (wp-my-instagram/loop.php) within your theme and customise accordingly 
    5858                        if ( locate_template( $template_part ) != '' ) { 
    5959                            include locate_template( $template_part ); 
Note: See TracChangeset for help on using the changeset viewer.