Author Archive

Tip Tuesday: My Top 5 HTML Email Coding Tips

Coding HTML emails is not like coding a website. The code is that of 1999, back when we used tables to build websites, before mobile and responsive even existed, and the 800×600 screen resolution was the most common.

Whether you’re new to HTML emails or even have experience with them, these are my top 5 HTML email coding tips for 2014.

Read More »

Tip Tuesday: WordPress URLs in JavaScript

There are instances where you may need to use WordPress URLs in JavaScript files. However, hard-coding URLs is not an ideal solution, especially in situations where you have development and production environments. We can solve this by using the wp_localize_script() function.

Read More »

WordPress: Create a Custom Widget (Part 2)

This entry is part of my WordPress development series, providing tutorials on specific things you can do in WordPress. Read some more?

In the second part of this tutorial, we are going to expand upon our basic custom widget we have already created by utilizing a simple form in the back-end. Unlike in the previous tutorial where each instance of the widget on our website displays the same, uneditable information, this widget will be able to have unique information for each instance of the widget placed throughout our website.

Read More »

WordPress: Create a Custom Widget (Part 1)

This entry is part of my WordPress development series, providing tutorials on specific things you can do in WordPress. Read some more?

WordPress provides a lot of default Widgets that can be useful for displaying additional content in sidebars, footers, etc. But sometimes you may want to use a widget to display content that isn’t available in one of the default widgets, or you want to display the content in a different way. In Part 1 of this tutorial, I will show you how to create a basic custom widget, without any options, that you can use throughout your website to display whatever content you like!

Read More »

WordPress: Multiple Search Forms

This entry is part of my WordPress development series, providing tutorials on specific things you can do in WordPress. Read some more?

Sometimes you may need to have multiple search forms within your website. You can easily call the WordPress function get_search_form() wherever you want your search forms to be. An example of this could be when you have a search input in the header or footer of your website. But then, you may have a search form at the top of your mobile navigation that slides out on mobile devices. Or, there’s one on the Search page of your website as well when there’s no results.

However, if you’re someone (like me) who tries to have valid code (or as close as we get), then this won’t work with the default WordPress search form because it will use the same ID for each one, which won’t validate.

Read More »