Site logo

Archived topic

showing full post on homepage

5 replies · Started by Medua on May 23, 2020

Viewing posts 1–6 of 6

some of the posts on homepage are showing full content instead of excerpt how do i go about it. previous answers are not helpful please help a new user.

Hi there,

Your site is under maintenance mode I can't see the issue.

Can you disable it?

maintenance mode removed
please help with this.

Looks like the posts that are showing full posts are not using post type standard:
https://wordpress.org/support/article/post-formats/

Is that intended?

If not changing them to standard would fix the issue.

If they are intended, you would need to add this snippet:

add_filter( 'generate_show_excerpt', function( $show ) {
    if ( 'image' === get_post_format() || 'video' === get_post_format() ) {
        return true;
    }

    return $show;
} );

Adding PHP: https://docs.generatepress.com/article/adding-php/

Thanks. Done.

No problem :)

This archived topic is closed to new replies.