Support » Theme: Twenty Sixteen » Automatic post excerpts in WordPress theme

  • How can I display automatic WordPress post excerpts not full post on home page (TwentySixteen Theme) without editing content.php file or plugins.

    is there any code to add in my child theme’s functions.php file.

Viewing 1 replies (of 1 total)
  • Hi Tahir,

    You can display excerpts in two ways.

    1) in your post editor add the Read More tag (if you’re unsure, hover over the icons at the top of the editor. It should be the second icon from the right). Everything before the Read More tag will be your excerpt, everything below it will be visible only from the single post page, not in the post listing.

    2) In your post editor, use the Excerpt box (if you can’t see it click the Screen Options button on the top right of the post editor screen and check Excerpt). Write your excerpt, in the textarea and save your post. In the post listing page you should now only see your excerpt, while the entire post will be visible in the single post page.

    I hope this helps
    – Maria Antonietta

Viewing 1 replies (of 1 total)
  • The topic ‘Automatic post excerpts in WordPress theme’ is closed to new replies.