elegant themes

Data Serialization, WordPress, and my new best friend

| May 3, 2012 | 0 Comments

Recently, Miriam wrote about Data Serialization and what a pain in the tuchus it can be to migrate a site that has serialized links in the database.

So, today, when I migrated one of our client's sites from our staging server to the live/production server, I was frustrated that some of the widgets

... View Post

How to fix apostrophes turning into slashes in WordPress

| April 15, 2012 | 6 Comments

We build our sites with a custom theme options panel in the Dashboard so that clients can manage as much of their site on their own as possible. All seemed fine and dandy until the client threw in an apostrophe! The chutzpah. Can't you just use "We will" instead of "We'll"?

The problem was that

... View Post

How to list subpages with a title and excerpt in WordPress

| April 12, 2012 | 0 Comments

We developed a site that has really rich subpages (child pages) but the parent page is mostly a blank placeholder that directs people to the subpages. Instead of merely leaving a blank parent page, we wanted to give a preview of the content on each of the subpages. I found the code for how

... View Post

Data portability and data serialization in WordPress

| April 10, 2012 | 25 Comments

Over at illuminea, we’ve been migrating WordPress sites for years. So we thought we’d seen it all when it came to WordPress migration. And yet, recently we encountered an issue that we had never dealt with before, that puts a snag in the ease with which you can move WordPress sites: data

... View Post

Disclaimer popups before sending an email or submitting a comment using simple jQuery in WordPress

| March 28, 2012 | 2 Comments

Several of our clients requested that we add popup disclaimers before someone sends an email to the site admin or before they submit a comment. Here's a screenshot of what we're going to do:

Case 1: Add a Contact Us link to the navigation menu that triggers a ... View Post

How to localize a Hebrew website’s Dashboard with WordPress Multisite

| November 15, 2011 | 3 Comments

Many of our clients request English and Hebrew websites and ever since WordPress 3.0 made WordPress Multisite a breeze to install, we've been using it so that clients can manage all their sites from one Dashboard.

Logically, our clients want the Hebrew website to have a Hebrew Dashboard. However, out of the box, WordPress Multisite defaults

... View Post

How to Re-enable and Allow Comments in Older Posts in WordPress

| November 15, 2011 | 1 Comment

We had a client come to us and ask how to re-enable comments on older posts. I started searching around and found 2 ways of allowing comments on many posts at once.

1. Use the built-in WordPress Bulk Edit feature.

This feature was introduced back in version 2.7 but only now did I fall in

... View Post

How to embed a .wmv file in WordPress

| November 7, 2011 | 9 Comments

A client recently asked us how they could embed .wmv files in their WordPress site so that it plays in a video player. Interestingly, we're so used to working with video websites like YouTube and Vimeo which allow easy embedding by just pasting

... View Post

What happened to the “search engines blocked” notification in WordPress 3.2?

| July 8, 2011 | 10 Comments
WordPress site owners have an option under Settings > Privacy to keep their site open to visitors, but block search engines. Very handy when developing a site, or managing a private site that you don’t want the world to see, but you don’t want to have to deal with logins either. We often use that ... View Post

How to link author image to their previous posts in WordPress

| May 31, 2011 | 3 Comments

It seemed so simple and straightforward to link an author's image to their page of previous posts like http://wpgarage.com/author/Rebecca/. But for some reason I couldn't find the solution easily with the default WordPress template tags. Template tags that I had used last time I needed this functionality were deprecated.

... View Post
Page 1 of 3812345...102030...Last »