Skip to:
Content
Pages
Categories
Search
Top
Bottom

Removing span from Activity List

  • Avatar of Burkie
    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)
  • Avatar of Andy Peatling
    Andy Peatling
    Keymaster

    @apeatling

    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.

    Avatar of Nicola Greco
    nicolagreco
    Participant

    @nicolagreco

    You can hide it with css

    span.time-since {

    display: none;

    }

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.