I’ve been running my blog on Wordpres for over a month now, and I am mostly happy with what I’m seeing. It does most of what I want it to do natively. As for what it doesn’t do natively, there is usually a plugin to do that for you.
The only thing I’ve as yet been unable to make it do satisfactorily, is line breaks. TinyMCE, the text editor in WordPress, executes a back-end filtering process every time you switch from Visual to HTML and back, as well as whenever you save your posts. This filtering process, for some reason, filters out both <br>
, <p>
and </p>
.
I originally tried to resolve this by installing a plugin called TinyMCE Advanced, which worked pretty nicely, except that, when I was typing up this post, it filtered so that my code examples above were converted so that they became actual HTML tags.
I then installed another plugin called TinyMCE Valid Elements, in which I defined <br>
as a valid element. Sure enough, TinyMCE no longer filtered out the tag, but it wasn’t parsed either.
I will continue to try to fix the problem. In the meantime, I have a workaround. By adding
wherever I want a break, I get my line breaks.
Note: Comments disabled due to massive amounts of comment spam
Tag: tags
-
WordPress and the Mystery of the Disappearing Line Breaks
-
Migrating from Blogger to WordPress
I have been thinking of migrating my blog from Blogger to a WordPress-solution hosted on my own domain. After doing some research, I decided “what the heck”, and downloaded and installed the package. The installation went without a hitch, and I went on to find a decent theme for the blog. Having downloaded and installed a few themes, I then went on to migrate my posts from Blogger to the WordPress blog. WordPress has a built-in tool to do this, which imports both posts, tags and comments. The only snag was that tags are not imported as tags, but rather as categories. Luckily; WordPress has a tool to convert tags to categories, and categories to tags.