Skip to main content
9 events
when toggle format what by license comment
Sep 12, 2018 at 11:44 vote accept Bark Berendsen
Sep 12, 2018 at 11:43 comment added Bark Berendsen Awesome Tim! Your adjustment of your script works on all ends :-) So the backend side effects are gone as well as the wrong displayal of the translation on the homepage. I am sincerely grateful to you.
Sep 11, 2018 at 14:58 comment added Tim Regarding overview on your home page. Perhaps this uses a different string (from your theme perhaps). I'd need to see the code. My answer is for your example code only
Sep 11, 2018 at 14:56 comment added Tim Sorry, regarding side effect - I returned the wrong value. The filter should return first argument which is $translation. Fixed in my answer.
Sep 11, 2018 at 14:56 history edited Tim CC BY-SA 4.0
fixed erroneous example
Sep 11, 2018 at 12:57 comment added Bark Berendsen Hi Tim, Well, your script contains the solution partly. The script is applied in single 'aside' posts and 'aside' post formats archives, but is not applied on my homepage, which displays an overview of my last 10 posts. In additon, in the backend your script is also applied perfectly, as I can see when I create a new post. However, your script has the side effect of displaying these words in English instead of Dutch in the backend menu: - Posts, Posts --> Add new, Posts --> Categories. - Pages, Pages --> Add new. - Media --> Add new. Very strange, haha. Any suggestions? Thanks
Sep 11, 2018 at 10:59 history edited Tim CC BY-SA 4.0
formatting
Sep 11, 2018 at 10:34 history edited Tim CC BY-SA 4.0
added 495 characters in body
Sep 11, 2018 at 10:25 history answered Tim CC BY-SA 4.0