TaylorLovett

Fields Disappearing Bug Fixed in Custom Contact Forms 4.0.9.5

January 14, 2011 by Taylor Lovett

Since the inception of Custom Contact Forms there has been a very strange bug that has bunch of people. After detaching fields in a certain order, fields would start to randomly disappear and blank spaces would pop up in the attachment dropdown. This was an error in logic. If two fields were attached to a form one with ID 1 and the other with 11, the fields would be stored in the database accordingly: 1,11, . Detaching the first field would remove instances of 1, from that string, but there are two instances of 1, in that string, some the resulting string would be 1 which would throw everything off from then on. This has been fixed by using serialization to store attached fields and field options. Also the Javascript Conflict bug has been fixed. If you are still experiencing this bug, simply disable jQuery on the frontend in “General Settings”.

Custom Contact Forms 4.1.0 is going to be released in the next week. It will have many new features such as a fixed field for states and countries as well as a dashboard widget for saved form submissions. We are in dire need of beta testers. If you are interested please fill out the following form:

Join the Custom Contact Forms Team

WordPress Reference Guide for Developers

November 30, 2010 by Taylor Lovett

WordPress theme and plugin developers, I found something you might like. A women named Natalie from DBS Interactive emailed me informing me of there WordPress Reference Guide for Developers. I am a huge fan of the WordPress Codex but the reference guide they put together is much easier to use than the WP Codex. It’s like an encyclopedia for WordPress theme developers. This is definitely worth a bookmark:

WordPress Reference Guide for Developers

WordPress Frameworks or Parent Themes

August 13, 2010 by Taylor Lovett

WordPress frameworks are the wave of the future for not only WordPress users but also developers.

What are WordPress frameworks?
Wordpress frameworks provide a structure for developers to build off of containing a ton of great functionality. WordPress frameworks are the definition of not recreating the wheel. The release of WordPress 2.7 beckoned a revolutionary new feature, child themes. Child themes sometimes contain as little as a single style sheet file and build off of a parent theme (duh). The parent theme, or the framework, contains a basic HTML framework, a default plain looking style sheet, and most importantly loads of great functionality: a completey widgetized header, footer, homepage, and sidebar, some great widgets included the frameworks theme function file, and a great configuration page for the template (allowing you to choose primary and secondary navigation menus, choose SEO settings, exclude categories from the blog page, and much, much more) among other things.

Why use a WordPress framework?
As previously stated, why reinvent the wheel? Developers turn their nose at already developed frameworks because they feel they can do it better. I assure you this is not true. The functionality of these frameworks provides a versatility to WordPress that would take a year for any programmer to develop. Also, many parent themes provide a plethora of beautiful child themes to spiced up your site.

Top WordPress Framworks
Genesis: Developed by Studiopress, this is my go to framework and I use it on most of my clients websites. There are enough professional child themes to suite anyones tastes and everything is extremely easy Ito customize. The Genesis widgets are amazing and come preinstalled: add twitter to your menu, featured pages and posts with preview images (that you can define within the page or post!) and more. The SEO capabilities of Genesis make plugins like SEO all in one redundant. Also Genesis is compatible with every 3rd party plugin that I’ve ever tried which is important. This is definitely my favorite WordPress framework and is very affordable.

Thesis: Another great WordPress framework. It has a host of nice child themes to spice up your site. This framework also has a great configuration page with many of the same features as Genesis. It lacks the custom widgets that Genesis has. A means to manage SEO is also included in this framework. Where this framework is lacking is customization from the standpoint of the developer. The code is documented poorly compared to Genesis making it a constant battle to change anything code-wise. Thesis is also a little more expensive.

There are other great frameworks out there such as Thematic, but Genesis is my preference.

Content Boxes and Rounded Corners with CSS

July 2, 2010 by Taylor Lovett

Rounding corners has become more and more popular as the internet has grown older. Even Google allows users to select options in Adsense to round corners. There are many ways to round corners some using 2 images and CSS, 3 images and CSS, 4 images and no CSS, purely Javascript, only CSS (CSS3 only unfortunately), and more. To me CSS and rounding corners is an art because there are an infinite amount of ways to accomplish this effect but some are more elegant than others. This Bethesda web developer Maryland WordPress expert found a great website explaining in detail (CSS, XHTML markup, and images included) 25 great ways to achieve rounded corners in your layout with minimal HTML markup. Here’s the link:

25 Rounded Corners Techniques with CSS

Comment Template Customization in WordPress

June 24, 2010 by Taylor Lovett

Today I was working on my blog and started styling comments.php in my WordPress theme – this wasn’t too difficult but still took me a couple hours to sift through PHP/Wordpress jargon to find the HTML/CSS code I was looking for. Before long I wanted to style the actual comments posted by users. To my dismay I learned the code for user comments is not in the comments.php theme file but rather in the comments-template.php file in the WordPress wp-includes/ folder. Bummer.

Customizing the WordPress wp-includes/comments-template.php file is extremely complicated, even to a veteran PHP programmer, and after messing with it for 2 hours I started searching Google for a guide. I found out through various guides that the wp_list_comments() function called in comments.php can take a callback function as a parameter that will use a custom comment function as opposed to the WordPress default. By using the callback parameter to point to your own function, you can really take control of the WordPress comments style and structure.

I found a great guide that will take you step by step through creating your own comment function for the wp_list_comments() function to callback.

WordPress Comment Templates Customization

Also, for background information on wp_list_comments() and a full list of it’s parameters:

Function Reference for wp_list_comments()