In this post I’ll explain how to take a WordPress page or post title, split it in half and style each half differently.
Interested in adding the sales tax to your WP-e-Commerce receipts? It wasn’t as easy as I had thought. They don’t record the total tax for each order, so we need to add it up ourselves and add it to both the email receipt and the transaction details screen.
Written by Andy on October 5, 2010 | No Comments |Wordpress How-To's
Here’s a problem I’ve recently encountered while using the wp_list_pages function for a sub-page menu. The problem was that the “current_page_item” class was cascading to all the sub-page elements.
Written by Andy on July 23, 2009 | No Comments |Wordpress How-To's
Here’s the question that was asked:
“Basically I want to take all of the posts in the “Freelance” category and remove them from the main content so that I can link to them from a page instead of including them in the Loop. “
Written by Andy on July 10, 2009 | No Comments |Wordpress How-To's
Have you ever needed to find all the ancestor ID’s of a page in WordPress? If so, you’ve come to the right place. Here’s some quick code to give you up to the great grand parent ID.
Written by Andy on July 8, 2009 | No Comments |Wordpress How-To's
A common problem that I’ve encountered – how to control dynamic text based on how long it is. In this case I had titles ranging from 10 characters to 25 characters – this includes spaces. The goal is to make them centered regardless of how many letters and spaces are in the title.