WordPress.org

Support

Support » Plugins and Hacks » Masonry Widget » [Resolved] Remove Author post date from Masonry plugin

[Resolved] Remove Author post date from Masonry plugin

  • I am using the Masonry plugin on my front page for a site that I am building. (curbappeal.tips)
    I would like to remove the author and post information and just keep the title.
    My plan is to use the plugin in place of a menu on the front page.
    How can i remove the “posted on <date> by <author>” when hovering on the image?

    https://wordpress.org/plugins/so-masonry/

Viewing 15 replies - 1 through 15 (of 17 total)
  • I created the front page from pages and not posts.

    Hello? Is there any help for this? Does anyone have another plugin suggestion that is a mason like plugin? Something that works well?

    Katharine

    @katharineholmes

    I too am wondering how to do this. I’m using it for my portfolio, and don’t want the dates to show.

    http://www.visualizesocial.ca/portfolio

    Hello @katharine and @tammy.m,
    Simplest, Although never advised, way to get/update your required feature is edit this file /public_html/wp-content/plugins/so-masonry/tpl/masonry.php and comment out as in

    <!--<div class="entry-meta">
    					<?php
    					printf( __( 'Posted on <a href="%1$s" title="%2$s" rel="bookmark"  target="_blank"><time class="entry-date" datetime="%3$s">%4$s</time></a><span class="byline"> by <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', 'so-masonry' ),
    						esc_url( get_post_meta( get_the_ID(), 'website_url', true ) ),
    						esc_attr( get_the_time() ),
    						esc_attr( get_the_date( 'c' ) ),
    						esc_html( get_the_date() ),
    						esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
    						esc_attr( sprintf( __( 'View all posts by %s', 'so-masonry' ), get_the_author() ) ),
    						get_the_author()
    					);
    					?>
    				</div><!-- .entry-meta -->

    Katharine

    @katharineholmes

    Thanks so much! It’s perfect.

    🙂

    Woo Hoo. It took a bit but finally an answer.
    I’ll try it out. Thank you.

    Yeah! It worked.
    Again,
    Thank you.
    Tammy.m

    Resolved

    @tammy.m and @katharine

    You are always welcome

    Where do you edit that file ?????

    File is /public_html/wp-content/plugins/so-masonry/tpl/masonry.php. You can use your favourite editor to edit it after downloading 🙂

    This is helpful although messy because it is at risk of being wiped out when updates happen. However… there seems to be no other way right now. Does anyone have any suggestions as to how to modify that code block so the post excerpt shows instead of the author and post date?

    @r0bm1lls if you need to get this plugin customized please send me an email. But keep an eye on your budget too

    simple solution add this css into your stylesheet
    .entry-meta{
    display: none;
    }

    I did this on my homepage. I just set the text-size: 0px; in the .css file. This way you can always go back and change the pixels so that you can see the author and date.

    example:
    .so-masonry-container .masonry-brick .post-information .entry-meta {
    color: #ffffff;
    font-size: 0px;
    font-style: italic;
    }

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘[Resolved] Remove Author post date from Masonry plugin’ is closed to new replies.
Skip to toolbar