Need help? Check out our Support site, then


Description under post title

  1. I currently have a static front page and I want to add the little description feature after each post you can read a little bit of the post and a button will say read more which will take you to the full article. When I tried to pair this code separately with my other codes on the page it works but doesn't keep my original format. How do I insert this code into my other codes properly?

    [display-posts include_excerpt="true"]

    <h3 style="text-align:center;"><span style="color:#0066cc;">Podcast Episodes</span></h3> [display-posts include_excerpt="true"]
    [display-posts category="podcast-episodes" posts_per_page="3" include_date="true" date_format="F j, Y" image_size="thumbnail"]
    <h3 style="text-align:center;"><span style="color:#0066cc;">Sports & Pro Wrestling Articles</span></h3> [display-posts include_excerpt="true"]
    [display-posts category="sportspro-wrestling-articles" posts_per_page="3" include_date="true" date_format="F j, Y" image_size="thumbnail"]
    <h3 style="text-align:center;"><span style="color:#0066cc;">Music/Movies/Games Reviews</span></h3>[display-posts include_excerpt="true"]
    [display-posts category="music/movies/games-reviews" posts_per_page="3" include_date="true" date_format="F j, Y" image_size="thumbnail"]
    <h3 style="text-align:center;"><span style="color:#0066cc;">Social Topic Pieces</span> </h3>[display-posts include_excerpt="true"]
    [display-posts category="social-topic-articles" posts_per_page="3" include_date="true" date_format="F j, Y" image_size="thumbnail"]

    Above is how I set it on my static page.

    The blog I need help with is fteswl.com.

  2. Hello @fteswl,
    You theme "Arcane" supports the post excerpts feature, check here: https://theme.wordpress.com/themes/arcane/.

    So you do not have to work with codes to insert the post excerpts and the read more link.

    Just do this,
    1. Go to My Site(s) → Customize(Beside the Themes option). This will open the site Customizer.
    2. On the sidebar of the Customizer, click on Content Options tab and select Post excerpt under the Blog Display section.
    3. Click Save & Publish.

    You can also make use of the More tag, but it is not necessary since your theme already supports excerpts.

    Hope this helps! 🙂

  3. Hey Otpidus,

    When I go to "Theme Options" from the "Customize" section it has "show excerpt" clicked already. It does show excerpts on the actual pages but not on my home page, which is a static front page. That is where I need help at.

  4. The same is happening for me.

    On https://ubblogtest.wordpress.com I display the posts from https://ubblogtest.wordpress.com/neueste [which I need to be able to display the featured images] – but the excerpt fields are ignored.

    [display-posts include_excerpt="true" excerpt_more="Weiterlesen" excerpt_more_link="true" posts_per_page="7" image_size="medium" wrapper="div"]

    Excerpts working as expected on https://ubblogtest.wordpress.com/alle, which is the Posts Page.

  5. Fix working for me, found on https://github.com/billerickson/display-posts-shortcode/wiki#customizing-the-excerpt:

    I was missing excerpt_length="20" .

    [display-posts include_excerpt="true" excerpt_length="20" excerpt_more="Weiterlesen" excerpt_more_link="true" posts_per_page="7" image_size="medium" wrapper="div"]

  6. So I need to add excerpt length = 20 to see the a little bit of the post description on the front page?

  7. Hello again @fteswl,
    Maybe try this:
    1. Display post excerpts
    [display-posts include_excerpt="true"]
    and then,
    2. Manually add a read more link to the full post using the post editor?

  8. > So I need to add excerpt length = 20 to see the a little bit of the post
    > description on the front page?

    I needed to add excerpt_length="25" (with an underscore between excerpt and length) to display the text from the excerpt field at all.

    But I haven't figured out yet how to get the excerpt to stop after those 25 words and add a 'read more' link.

    My code at the moment:

    [display-posts include_excerpt="true" excerpt_length="25" excerpt_more="Weiterlesen" excerpt_more_link="true" posts_per_page="5" image_size="medium" wrapper="div"]

    https://ubblogtest.wordpress.com

  9. Hello @manuschwendener,
    I am not sure about the attributes like [excerpt_length="25" excerpt_more="Weiterlesen" excerpt_more_link="true"], as they are not mentioned any where here: https://en.support.wordpress.com/display-posts-shortcode/

    If you read about the usage of those shortcodes from the WordPress.ORG, then please search the forums if they work on WordPress.COM as well. Because not all shortcodes that work on WordPress.ORG work on WordPress.COM as well.

  10. CORRECTION:
    If you read about the usage of those shortcodes from the WordPress.ORG support guides*

  11. @otpidusprime You are right. I only posted here because my excerpts didn't show at all before I added excerpt_length.

    I have now changed my code to

    [display-posts include_excerpt="true" posts_per_page="5" image_size="medium" wrapper="div"]

    and it's working.

    I still would like a 'Read more' link, though ;-)

  12. @fteswl you write

    'When I go to "Theme Options" from the "Customize" section it has "show excerpt" clicked already. It does show excerpts on the actual pages but not on my home page'

    On https://fteswl.com/category/podcast-episodes I see the beginnings of your texts, with a "READ MORE" link.

    The Excerpts field is a separate field. In my theme, I have to edit a post, then click on 'More Options' in the column on the right, under 'Post Settings'. Only then I see the field called "Excerpt".

    (But in my case, if I leave that empty, the front page just shows the text from the blog post.)

  13. Btw. if you add texts in the Excerpt field, save the post and still don't see the excerpt on the main page that might be a cache problem, not because your change didn't work.

  14. @manuschwendener,

    I still would like a 'Read more' link, though ;-)

    Maybe you can use the More Tag to force the read more links for your posts and see if it works?

  15. > Maybe you can use the More Tag to force the read more links for
    > your posts and see if it works?

    Thank you for that link, otpidusprime. I would like to use that for different reasons, but the theme's instructions are stronger.

    (It's set after 'chicory' in the 'Open Science – text with pictures' post.)

  16. > Maybe you can use the More Tag to force the read more links for
    > your posts and see if it works?

    Thank you for that link, otpidusprime. I would like to use that for different reasons, but the theme's instructions are stronger.

    (It's set after 'chicory' in the 'Open Science – text with pictures' post.)

  17. > Maybe you can use the More Tag to force the read more links for
    > your posts and see if it works?

    Thank you for that link, otpidusprime. I would like to use that for different reasons, but it's not working as expected with Twenty Seventeen (not important enough atm to go into the details, though).

You must log in to post.

About this Topic