SUBSCRIBE VIA RSS


Subscribe to our feed

Symfony Experts

Symfony Experts
If you have an urgent question for a symfony-related issue, this is the place to ask.

Topics

Stack Overflow


The old fashioned way

RECENT TUNES

  wordpress Articles

February 26, 2011 – 8:03pm WordPress 3.1 sortable admin tables

With the release of 3.1, WordPress enabled list-type admin screen enhancements to provide sortable columns for list-type screens and better pagination.

This begs the question, how do we make our custom columns sortable, too? If we add custom meta attributes to posts or create custom post types, sometimes it’s nice to display these fields in the admin tables. There are plenty of posts out there that describe how do that. So, let’s focus on how to make these columns sortable. More…

Posted by in  Web Development   |     |  4 Comments »

February 26, 2011 – 5:43pm WordPress: Adding custom boxes to posts

I stumbled on a great post about how to custom boxes for your wordpress posts. In this case it was promo boxes, but it could be used anytime you want to relate certain custom types of content to your wordpress pages (for example, a portfolio of work, a list of employees, etc).

http://wordpress.stackexchange.com/questions/5750/custom-field-meta-populated-by-dropdown-of-existing-posts

Posted by in  Web Development   |     |  Comments Off on WordPress: Adding custom boxes to posts

April 19, 2010 – 10:35pm Moving wordpress site to another server

There was a question posted on WP Questions about moving a wordpress from a local development server to the live server. Here is what I do for just about all of my WP sites. It works for me since while I’m building out a site I usually make local changes that I have to sync up to a staging site for people to review.

1. Edit your wp-config.php so it works on various environments. I do this like so:
More…

April 10, 2010 – 12:09pm WordPress navigation, link to page or category

Here is a quick snippet of a non-elegant way to create a navigation for a wordpress template. This sample includes links to specific pages using get_permalink() and is_page(), along with get_category_link() and in_category(). Using these functions you can determine if each link should be in its active state or not.
More…

Posted by in  Web Development   |     |  Comments Off on WordPress navigation, link to page or category

February 12, 2010 – 6:11pm WordPress get post images and the_post_thumbnail caption

Before the_post_thumbnail was available, here is how I would fetch an array of images that were attached to a post in wordpress:
More…

Posted by in  Web Development   |     |  5 Comments »