Forums

the_excerpt as list (3 posts)

  1. Mariusz
    Member
    Posted 6 months 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. Mariusz
    Member
    Posted 6 months 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 6 months ago #

Reply

You must log in to post.

About this Topic

Tags