• Hi there πŸ™‚

    I am using the below shortcode to display posts from a category. Is there any way to hide the post excerpt and comment count from the shortcode?

    [su_posts template=”templates/default-loop.php” id=”” posts_per_page=”1″ post_type=”post” taxonomy=”category” tax_term=”39″ tax_operator=”IN”]

    Many thanks!

    https://wordpress.org/plugins/shortcodes-ultimate/

Viewing 1 replies (of 1 total)
  • The best way is to hide them by adding custom code to your style.css

    .su-post-meta {
        display: none;
    }
    .su-post-excerpt {
        display: none;
    }
    a.su-post-comments-link {
        display: none;
    }

    Unfortunately it looks like there is no way to assign custom class to this shortcode so adding above code affects all your site.

Viewing 1 replies (of 1 total)

The topic ‘Hide post excerpt?’ is closed to new replies.