Make WordPress Core

Ticket #26212: 26212.4.diff

File 26212.4.diff, 1.5 KB (added by celloexpressions, 12 years ago)

Add placeholder, refresh.

  • src/wp-content/themes/twentyfourteen/image.php

     
    3939                                        <div class="entry-attachment">
    4040                                                <div class="attachment">
    4141                                                        <?php twentyfourteen_the_attached_image(); ?>
     42                                                        <ul class="slider-direction-nav">
     43                                                                <li><?php previous_image_link( false, __( 'Previous', 'twentyfourteen' ) ); ?></li>
     44                                                                <li><?php next_image_link( false, __( 'Next', 'twentyfourteen' ) ); ?></li>
     45                                                        </ul>
    4246                                                </div><!-- .attachment -->
    4347
    4448                                                <?php if ( has_excerpt() ) : ?>
  • src/wp-content/themes/twentyfourteen/style.css

     
    30073007        display: block;
    30083008        font-size: 0;
    30093009        height: 46px;
     3010        text-decoration: none;
    30103011}
    30113012
    30123013.slider-direction-nav a:hover {
     
    30203021        line-height: 46px;
    30213022}
    30223023
    3023 .slider-direction-nav .slider-next:before {
     3024.slider-direction-nav li:last-child a:before {
    30243025        content: "\f429";
    30253026}
    30263027
     
    36043605
    36053606@media screen and (min-width: 810px) {
    36063607        .attachment .entry-attachment .attachment {
     3608                background: #b2b2b2 url(images/pattern-light.svg) repeat fixed;
    36073609                margin-right: -168px;
    36083610                margin-left: -168px;
    36093611                max-width: 810px;