Only display post title on all archive & search result page

  • Posted in : Bloggy WP
  • laziem
    Participant

    How to make all archive (by categories, by month, by format) and the search result page, to display only the post title (remove post image format, post content, post meta)?

    And how to increase number of post that displayed on archive and search result? (I set 5 post for my homepage)

    Thank you

    Mehmet S.
    Keymaster

    Hi, use these in your custom css field:

    – for search result:

    body.search article .entry-meta { display: none; }
    

    – for category archives:

    body.category article .entry-meta,
    body.category article .featured-image,
    body.category article .entry-content
    { display: none; }
    

    – for tag archives:

    body.tag article .entry-meta,
    body.tag article .featured-image,
    body.tag article .entry-content
    { display: none; }
    

    – for date archives:

    body.date article .entry-meta,
    body.date article .featured-image,
    body.date article .entry-content
    { display: none; }
    

    – for format archives:

    body.tax-post_format article .entry-meta,
    body.tax-post_format article .featured-image,
    body.tax-post_format article .entry-content
    { display: none; }
    
Viewing 2 posts - 1 through 2 (of 2 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