Post meta data on masonry format

  • Posted in : Bloggy WP
  • ncc553
    Participant

    What do I need to do to include author, date, and # of comments on the masonry grid format on the front page?

    Mehmet S.
    Keymaster

    Hi, use this in your custom css field:

    .blog-masonry .entry-meta { display: block; }
    .blog-masonry .entry-meta a time.entry-date { white-space: nowrap; }
    
    ncc553
    Participant

    Thanks! Is it possible to move the meta data to the bottom of the masonry block, after the excerpt?

    ncc553
    Participant

    Just thought I’d check back on this… is it possible to move the meta data to the bottom of the masonry block, after the excerpt?

    Mehmet S.
    Keymaster

    – Go to Appearance > Editor > format-standard.php

    – Move these lines:

    <footer class="entry-meta">
    	<?php
    		get_template_part( 'all', 'meta' );
    	?>
    </footer>
    <!-- end .entry-meta -->
    

    – to between these lines:

    	</div>
    	<!-- end .entry-content -->
    </article>
    <!-- end .post -->
    

    – Finally:

    	</div>
    	<!-- end .entry-content -->
    
    <footer class="entry-meta">
    	<?php
    		get_template_part( 'all', 'meta' );
    	?>
    </footer>
    <!-- end .entry-meta -->
    
    </article>
    <!-- end .post -->
    
    ncc553
    Participant

    Thank you! This was exactly what I had in mind.

    Mehmet S.
    Keymaster

    You are welcome.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register