Remove items above Gallery images

Discussion in 'Cloriato WordPress Theme' started by anthony1, Jun 22, 2013.

Thread Status:
Not open for further replies.
  1. anthony1

    anthony1 New Member

    Joined:
    Dec 26, 2012
    Messages:
    7
    Likes Received:
    0
    Hi, how do I remove this information : "By lorraine | Published June 22, 2013 | Full size is 980 × 735 pixels" from above each image when the thumbnail is clicked to view each individual photo?

    I am using the default cloriato gallery page.

    Alos, how do I remove breadcrumbs from each page?

    thanks
    Anthony
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Go to attachment.php present in your theme directory and remove the code given below

    Code:
    <?php
                printf(__('By %2$s', 'cloriato'),
                'meta-prep meta-prep-author',
                sprintf( '<a class="url fn n" href="%1$s" title="%2$s">%3$s</a>',
                get_author_posts_url( get_the_author_meta( 'ID' ) ),
                sprintf( esc_attr__( 'View all posts by %s', 'cloriato' ), get_the_author() ),
                get_the_author()
                )
                );
                ?>
        <span>|</span>
        <?php
                printf( __('Published %2$s', 'cloriato'),
                'meta-prep meta-prep-entry-date',
                sprintf( '<abbr title="%1$s">%2$s</abbr>',
                esc_attr( get_the_time() ),
                get_the_date()
                )
                );
                if ( wp_attachment_is_image() ) {
                echo ' | ';
                $metadata = wp_get_attachment_metadata();
                printf( __( 'Full size is %s pixels', 'cloriato'),
                sprintf( '<a href="%1$s" title="%2$s">%3$s &times; %4$s</a>',
                wp_get_attachment_url(),
                esc_attr( __('Link to full-size image', 'cloriato') ),
                $metadata['width'],
                $metadata['height']
                )
                );
                }
                ?>
    Sending image for reference

    2013-06-22_1355.png




    This will solve your issue.
     
  3. anthony1

    anthony1 New Member

    Joined:
    Dec 26, 2012
    Messages:
    7
    Likes Received:
    0
    thank you Gourav
     
Thread Status:
Not open for further replies.

Share This Page