Posts in the WordPress Plugins Wordpress How-To's Category


WP-E-Commerce Add Tax to Receipt

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.

Read More »

Posted on October 26, 2010 in WordPress Plugins,Wordpress How-To's .


Style WordPress Sub Page Menus

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.

Read More »

Posted on October 5, 2010 in Wordpress How-To's .


How to Exclude a Category from the WordPress Loop

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. ” Here is the code to exclude an entire category from appearing [...]

Read More »

Posted on July 23, 2009 in Wordpress How-To's and has been tagged as .


Great Grand Parent ID’s in WordPress

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. $current = $post->ID; $parent = $post->post_parent; $get_grandparent = get_post($parent); $grandparent = $get_grandparent->post_parent; $get_greatgrandparent = get_post($grandparent); $greatgrandparent = $get_greatgrandparent->post_parent; [...]

Read More »

Posted on July 10, 2009 in Wordpress How-To's and has been tagged as .


Style WordPress Titles Based on Number of Letters

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. Here is [...]

Read More »

Posted on July 8, 2009 in Wordpress How-To's and has been tagged as , , .



Categories

Services I Offer

About Me

Andy Weigel

My name is Andy Weigel and I'm a web developer and designer in Pittsburgh, PA.

I focus on combining design with technology to build compelling, creative, easy-to-navigate web sites and custom web applications for organizations and businesses of all shapes and sizes. My specialty is WordPress. And most of all, I love what I do!