WordPress.org

Ready to get started?Download WordPress

Forums

the_excerpt as list (3 posts)

  1. M Szatkowski
    Member
    Posted 1 year ago #

    Hi,
    I wonder how to display elements in exceprpt as a list

    <ul><li>...

    Something like at tags would be helpful, but does not work: the_excerpt('<ul><li>','</li><li>','</li></ul>');

    Any ideas?

  2. M Szatkowski
    Member
    Posted 1 year ago #

    I've got list to display at excerpt like:

    element1
    element2
    element3
    element4

    And I want to list it like:

    <ul>
    <li>element1</li>
    <li>element2</li>
    <li>element3</li>
    <li>element4</li>
    </ul>
  3. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags