• This is probably a simple thing for the more experienced, but I really do not have a clue.

    I want to remove the word “den” in the date posted-part of my posts. It was simple enough to remove name of author, but I am now stuck with a date that reads “den 17 november 2018” (translated “the 17:th of November 2018” – and it’s the word “the” that is annoying and irrelevant in Swedish)

    The code looks like this (from code inspector in Chrome).

    <span class=” posted-on”>
    den
    <time class=”entry-date published” datetime=”2018-11-17T12:32:45+00:00″>17 november 2018</time>
    <time class=”updated” datetime=”2018-11-17T15:29:48+00:00″>17 november 2018</time>
    </span>

    And I actually do not know where in WP admin I find this code … Could someone please help me?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Most probably this word comes from the Swedish translation of your theme. Which theme are you using?
    You can employ the plugin Say What to overrule the translation from the repo.

    Alternatively you can mess with the translation file directly, but anytime the translation is updated, your edit will have to be redone. (And Note that we’re talking about the compiled mo-files here.)

    One more thing: Perhaps you’ve found one place where it’s better to not mark the date with “den”? Bear in mind that often the person who translated a theme doesn’t use it himself and therefore doesn’t see exactly how the translation is used.
    In https://wpsv.se/engagera-dig/stilguide-for-oversattningar/ you’ll find ways to communicate with the Swedish translation team directly (and perhaps even contributing yourself to the Swedish version of WordPress).

    Thread Starter uppsalabf

    (@uppsalabf)

    Tack för tipsen 🙂
    I use the theme Aaron.
    I tried Say what but couldn’t make it work at first try so I’ll try again later.
    I will also look into your other suggestions.
    Thanks!

    I’ve updated that translation. And I took away that “date marker” (“den”). Just update your translations in the admin-updates panel.

    Thread Starter uppsalabf

    (@uppsalabf)

    Thanks for the effort! I updated the theme and now it looks perfect 🙂

    • This reply was modified 7 years, 5 months ago by uppsalabf.
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘remove’ is closed to new replies.