Skip to:
Content
Pages
Categories
Search
Top
Bottom

Removing span from Activity List


  • Burkie
    Participant

    @burkie

    I’ve been trying to find/remove <span class=”time-since”> from the activity widget this morning and can’t find it in any of the files I’ve looked at, any ideas?

    I want to remove it from inside the li tags so I can easily float it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The span is used to inject the actual time-since, as this is not stored in the database. If you remove the span it’s going to break the output (which is why you won’t find it in any template files).

    Is there another way you can do this? There is a filter on the output if you know how to use WordPress filters.


    nicolagreco
    Participant

    @nicolagreco

    You can hide it with css

    span.time-since {

    display: none;

    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Removing span from Activity List’ is closed to new replies.
Skip to toolbar