WordPress.org

Ready to get started?Download WordPress

Forums

Genesis Grid
Wanting to display only thumbnail and title (4 posts)

  1. Dan
    Member
    Posted 1 year ago #

    Hello Bill, loving this plugin! I would like to display only the post title and its thumbnail, thus removing meta, excerpt/body, etc. Here's an example.

    I've read a few of your blogs and believe I would modify the main query but unsure.

    Many thanks!
    Dan

    http://wordpress.org/extend/plugins/genesis-grid-loop/

  2. Dan
    Member
    Posted 1 year ago #

    So I've hacked the CSS to get what I want, sort of. :) However I'd love to know a better solution.

    body.archive .post-meta, body.archive .more-link, body.archive .post-comments, body.archive .post-info, body.archive p {
    	display: none;
    }
  3. Dan
    Member
    Posted 1 year ago #

    Well, I think I've figured out what code to use, just don't know where to put it.

    remove_action( 'genesis_before_post_content', 'genesis_post_info' );
    remove_action( 'genesis_after_post_content', 'genesis_post_meta' );
    remove_action('genesis_post_content', 'genesis_do_post_content');
  4. juusan
    Member
    Posted 1 year ago #

    You can use this:

    .teaser .entry-content,
    .teaser .post-info,
    .teaser .post-meta {
    	display: none;
    	visibility: hidden;
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags