Different database connections in WordPress development environments

Since I am using version control with GIT, I have set up different environments for my current WordPress/Magento-married project. For this project, I did not want to continue “cowboy coding”, so I set up a remote staging / testing / development site and multiple local development sites. Each site has its own purposeĀ and needs its own MySQL database. So I had to handle different database connections in my WordPress installations. Well, I could work with only one DB,

« Read more about: Different database connections in WordPress development environments  »

Setting up a BitBucket git repo with A2 Hosting

Recently, I moved this website to A2 Hosting. Since I am using git at the office intensely for developing the company’s website, i felt like I’d have to continue using git for my home-story blog, too.

When I was a little more new to git, I chose Bitbucket as the service to host my repo. There I can have unlimited private repos with up to four more users and “sync”

« Read more about: Setting up a BitBucket git repo with A2 Hosting  »

How to get your Garmin Connect RSS feed

Since this might be helpful for a wider audience of Garmin Connect Users having trouble getting their proper activity RSS feed, I decided to write yet another blog post. So if you are reading this, you might have wondered: Why is the provided Garmin Connect RSS not working? Well, to make a long story short: They screwed it. And over at Garmin, they did not bother to work on that problem for almost 3 years now!

« Read more about: How to get your Garmin Connect RSS feed  »

Using the first image in a WordPress post as featured image

I am a hobby photographer and I like to show and share my “work”. WordPress introduced the “featured image”-feature in version 2.9 (as “post thumbnail“) which is fine for displaying an image that is somehow hooked to an article or blog post, or even a page.

Post Thumbnail, now Featured Image, is an image that is chosen as the representative image for Posts, Pages or Custom Post Types. The display of this image is up to the theme.

« Read more about: Using the first image in a WordPress post as featured image  »

Hide a single category in WordPress

Recently, I was skimming through the WordPress Plugin Directory. I was looking for a plugin to hide a single category in WordPress, but doesn’t hide its posts. That plugin should only the category from the category listing beneath the (single) post and the sidebar. The reason is: I want to create an additional category that is listed nowhere in the frontend, but is still accessible from the category-archive page. Got that? šŸ˜‰ No?

« Read more about: Hide a single category in WordPress  »

Adding a link to a WordPress image caption

In many blog posts of mine, I am using images and sometimes I even publish posts whose only content is an image. I have been asked by other bloggers, how I add a link to another site within WordPress’ native image-caption. Especially using the WordPress.com network, there doesn’t seem to be an easy way to use a link in an image caption. Though, the riddle’s solution is fairly easy, though.

Sometimes,

« Read more about: Adding a link to a WordPress image caption  »

Giving side by side div same height

I believe that anybody that was involved in developing website at least once, was wondering how you could give two or more DIV containers the same height. Usually this problem occurs if you cannot or do not want to give those containers their height in absolute pixel values. Obviously, there are different approaches for a column layout to achieve this. One of them being the Faux-Column-Technique that uses a vertically repeated background image.

« Read more about: Giving side by side div same height  »

Remove the category ID from page title using sh404SEF

Since this tip might come in handy for many others out there, I decided to write this little tutorial in English. Since I am not a native speaker, I apologize for my poor language. If you have any questions to this tutorial, feel free to add a comment. I’ll reply back!

So you are using VirtueMart on Joomla and you are using the SEF-extension sh404SEF?

« Read more about: Remove the category ID from page title using sh404SEF  »

How to use iframes in Joomla!

I haven’t been working a lot with Joomla! yet, but it seems to be yet another content management system. It has its advantages (which I could not name yet), its disadvantages and its challenges. What would web-development be like without challenges?

I minor challenge that I recently faced was the inclusion of “foreign” website content at another place. I’m not talking about stealing content from another site. I wanted –

« Read more about: How to use iframes in Joomla!  »

How to add your iTunes podcasts as bloggroll to WordPress

When I started my own blog, I wanted to have a list of my favourite podcasts that I had subscribed to with iTunes. Manually adding them as links to WordPress seemed to be too much work, so I had to find an easier way to add them all, since it’s been quite many podcasts. So here’s a little quick-and-dirty walk through how to semi-autmatically add a bunch of podcasts subscriptions from iTunes to your WordPress blog as a blogroll.

« Read more about: How to add your iTunes podcasts as bloggroll to WordPress  »