Prevent Gravity Forms Field from Being Saved in Database

Published by John on August 13, 2018

I have a client that wanted to convert an old PDF form to an online form, so people could have the option of completing the form online, rather than printing or otherwise filling out the PDF form and emailing/faxing it.

They were using gravity forms for the form, however there were a couple gravity form fields that they didn’t want saved in the database. I came up with this solution to prevent an individual Gravity Forms Entry Field from being saved in the Wordpress database, while ensuring that they still received it in their email notification.

Read More  |  Add Comment

Optimizing WordPress’s Full Size Images

Published by John on August 10, 2018

A real estate company that I provide some website support for contacted me recently in an effort to optimize their site. They show their current home listings on the site and many had huge images, some as big as 30 MB of total images per page, and wanted to optimize the images.

However, by default Wordpress does not create thumbnail images when the image is smaller than the thumbnail size, so when they were uploading images, they were not getting saved at reduced quality. The client also wanted to keep a copy of the full size image, so I came up with a relatively easy way of crunching the images to reduce size, which still retaining the original, allowing them to use it in Marketing promotions later on.

Read More  |  Add Comment

Removing Magento’s Miscellaneous HTML From a Specific Page(s)

Published by John on July 18, 2018

In Magento, one way to easily add header/footer scripts, like Facebook or Analytics tracking codes, is to use the configuration setting under Configuration->General->Design->HTML Head and Footer. Both of those sections have a Miscellaneous Scripts setting, which you can add text into, which will get printed in the header and footer of the page respectively. However, […]

Read More  |  Add Comment

Manually Generating WordPress Password Reset Links

Published by John on July 10, 2018

A local company I work with uses Wordpress to allow their customers to login and make a few changes to their company info. This week, we wanted to generate some password reset urls for them, without actually sending the default ‘Someone has requested a password reset for the following account:’ wordpress email.

This post shows how to manually generate wordpress password reset links, which you can then email separately to users, so that they can reset their passwords.

Read More  |  Add Comment

Appending Google Analytics Tracking Code When 301 Redirecting a URL

Published by John on June 26, 2018

One of my local dentist clients bought out another company recently and with it, inherited their website. We had just built and launched a snazzy looking new website for him, so decided to redirect the other website to his new site. In order to keep track of what type of traffic we were getting and also show a special message to people getting redirected, we appeneded google analytics campeign information to the URL using Apache’s Rewrite Engine.

Read More  |  Add Comment

Next Page »