Tag: WordPress

  • Convert Post Metadata into Tags (Terms)

    There are times when you need to re-organize how your WordPress post data is saved. In my case, I recently wanted to change some metadata into an actual term relationship for a number of posts. This snippet took all of my `vendor` posts, which had post metadata `vendor_markets` and `vendor_category`, and properly categorized them. Now,…

  • Excluding a directory from WordPress

    I’m working on a site, and we have been storing archive copies of our newsletter on our site like this: http://example.com/newsletter/2015-05/ The site itself has been a homegrown PHP solution which I’m finally, after years, converting to WordPress. One challenge is this folder structure. I don’t really want to mess with it. But I need…

  • What’s with the WordPress editor?

    Man, I’m having all sorts of problems. At this point, I’m using the Raw HTML plugin, so I can write in HTML. I don’t really want to write in HTML, but it took me 20 minutes to get that last post working correctly. I’ve been working on design stuff, not the mechanics of simple writing,…

  • What’s that strange code on my website?

    Were you pasting from Microsoft Word into WordPress again? If you see strange comment code in your blog, especially if ONLY in Internet Explorer, check the HTML version of your text.