Web Development

Show a Certain Div's Contents if a Certain Option is Selected in a Select

A client needed me to show a certain hidden div on the page if a certain option was selected in a dropdown box. Here is the javascript/jquery code I used to show the div when the option was selected. I had multiple items on the page with the same dropdown box so I also needed […]

Show a Certain Div's Contents if a Certain Option is Selected in a Select Read More »

WordPress 3.7 Upgrade Error: Call to a member function reset_postdata() on a non-object

I tried to upgrade my WordPress site this morning and got this error once the upgrade was finished: Call to a member function reset_postdata() on a non-object Since I wasn’t looking forward to finding my latest backup and restoring my old version, and since I knew I would still have the problem even after I

WordPress 3.7 Upgrade Error: Call to a member function reset_postdata() on a non-object Read More »

Display My Custom Post Categories (Custom Taxonomy) in a Dropdown

I want to let my random quote generator users choose which quote category they want to see a quote from when they automatically post the quote to their Facebook page. I want to show my quote categories, which are a custom taxonomy (quote_categories), on my custom post type (quote). Here is the code I use:

Display My Custom Post Categories (Custom Taxonomy) in a Dropdown Read More »

Add a Child Theme for an Elegant Theme in WordPress

Genesis had me spoiled. The Genesis themes that I’ve been using ARE child themes and therefore, only the Genesis theme itself has updates that I must install. When I started using Elegant Themes (which I love, by the way), I forgot that they might have updates. So, I forgot to make a child theme when

Add a Child Theme for an Elegant Theme in WordPress Read More »

Add a Form to Take Payments with Gravity Forms: Allowing User Defined Fields as well as Set Amounts

I wanted to add a form to take payments to my payment page. I decided to user Gravity Forms. I am pleased with the result. I wanted my form to take either a payment amount that I set or to allow the user to enter the amount they would like to pay. I wanted the

Add a Form to Take Payments with Gravity Forms: Allowing User Defined Fields as well as Set Amounts Read More »

Scroll to Top