Windows Live Writer (WLW) is a tool for offline blogging. This post is for all those who struggle with Windows Live Writer (WLW) integration with wordpress for offline blogging. Let me start with some background before we jump into how it actually works.
It has been almost two years since I started blogging. The reason behind starting it was to share some of my experiences with the folks out there who might run into same issues or situations, that I ran into, and who could use the piece of write-up I put out on how I got around them. It is not an easy task to create quality content and put out five to six blog posts a month consistently. There have been times where I did not blog for couple of months due to lot of different reasons.
One of the reasons was connectivity to wordpress. Every time the light bulb went on in my head, I would put it down in a note on my phone so I can revisit the list the next time I sat down to write some blog posts. But it so happens that I never really turned those ideas into blog posts. This got me thinking, every time I get an idea, I will start working on it immediately. On a wordpad or a notepad or a word document or whatever that will not make the idea just sit on one of the notes on Google Keep.
This lead me to search for an offline tool where I can draft a blog and publish it directly onto wordpress when I feel it is ready. After a lot of research I concluded that I will use Windows Live Writer(WLW) for the task of offline blogging. I installed it on my laptop and tried linking it to my wordpress blog. Everything worked fine until I reached a step where it tries detecting the theme of the wordpress blog. I tried and failed many times at this step. When I checked online there were lot of solutions to this issue. Some of the ones I tried were:
1. Changing your default category on wordpress settings to Uncategorized. You can find this setting under Dashboard>Settings>Writing>Default Post Category
This makes sense because the Windows Live Writer assumes that this setting is unchanged from the first deployment of wordpress and tries to post the temporary post under this category. However, This did not solve my issue.
2. Another solution was to change the Front page displays to “Your latest posts” instead of a static page setting.
I did not have to change this setting as mine already was pointing to “Your latest posts”. The theme detection still didn’t work.
I almost gave up on getting this working until I found this WPBeginner post which talks about adding a code into the header.php file.
3. So I went ahead added the below code into my header.php file.
Abhilash Basavarajaiah is a Global Technical Alliance Manager and an Ambassador for the Office of the CTO @ VMware.
He is a dynamic IT professional and an ambitious, highly-motivated individual with experience in pre-sales, business development, and
strategic alliances. He experienced in designing and architecting
hybrid cloud infrastructure with a focus on Software-Defined Datacenter.
He is passionate about technology and all things virtual and VMware has recognized him as a VMware vExpert and a vExpert Pro under the Evangelist path for his contribution to the virtualization and cloud computing communities through knowledge sharing and content creation.
Abhilash holds numerous technical certifications from VMware, EMC, Cisco, CNCF, Microsoft, and Rackspace