Sign in
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Custom Excerpt for Tag description on Tags page

  • This topic has 1 reply, 2 voices, and was last updated 2 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #5864
    Avatar photoshaun2k


    When “readmore” is inserted into Posts, the text before the “readmore” is treated as custom excerpts when displaying the list of posts on tag pages or the front page.

    Is it possible to get a similar output for Tag descriptions when Tag items are displayed on Tags page?

    I would like to display a smaller controlled number of words for tag descriptions on the Tags page instead of the full, and more lengthy, description on the respective Tag page which lists its corresponding posts.

    I hope this made sense.



    Avatar photoTomasz Dziuda


    The only solution is to create a custom helper which will modify your tag description to the required length – you can see a similar solution here:

    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.