• Hi,

    I would like to show only featured image and title of the post in the category page. Right now, it is also showing me post content in the post tiles.

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi -@Shris

    Can you send me your site URL so that i can know actually where do you want content not to be shown. (Front Page or inside pages or single post…)

    Thank You!!

    Thread Starter Shris

    (@shris)

    Hi Sanjog,

    I am currently working on my localhost. I have various categories for example, CategoryA, CategoryB. If I go to the CategoryA page https://localhost:8080/wordpress/category/CategoryA/ , I see the posts in CategoryA in tiles. I only want to show feature image and post title in tiles. Is there any way to exclude the post content and include only title and feature image in post tiles. Right now this code in category.php is showing also post content in tiles:

    <div id="sub_banner">
    <h1>
    
    <?php printf( __( ' %s', 'hathor' ), single_cat_title( '', false ) ); ?>
    </h1>
    
    </div>
    
    <?php get_template_part(''.$hathor = of_get_option('layout1_images').''); ?>
    
    </div>

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show only title and image of post in category page’ is closed to new replies.