WordPress Content Management System Icon

In this article I will show you how to quickly and easily add a script to your child theme functions.php file which will block access to the WP Admin bar and backend for anyone with the Subscriber role.

 

Read more

WordPress Content Management System Icon

Recently had a client with a WordPress website in need of injecting a JavaScript tracking code into the Header. This would allow the injected JavaScript tracking code to appear within the header <head> of every page on their website. Newer WordPress themes usually provide an option to inject code into the either the header, body or footer areas but the client had a custom WordPress theme with no such feature or ability.

In this article I will show you how to quickly and easily add a script, JavaScript or any other custom code into the Header area of your WordPress website with or without a WordPress plugin.

 

Read more

WordPress Content Management System Icon

In this article I showcase a few simple code snippets to completely disable the WordPress commenting system.

 

Read more

WordPress Content Management System Icon

In this article I provide a simple function snippet to remove the titles Protected: and Private: from private or password protected pages in WordPress.

 

Read more

WordPress Content Management System Icon

Recently had a client with a WordPress website in need of injecting a JavaScript tracking code into the Footer. This would allow the injected JavaScript tracking code to appear towards the end of every page on their website. Newer WordPress themes usually provide an option to inject code into the either the header, body or footer areas but the client had a custom WordPress theme with no such feature or ability.

In this article I will show you how to quickly and easily add a script, JavaScript or any other custom code into the Footer area of your WordPress website with or without a WordPress plugin.

 

Read more

WordPress Content Management System Icon

Recently had a client with a WordPress website in need of injecting a JavaScript tracking code into the beginning part of the Body. This would allow the injected JavaScript tracking code to appear just after the <body> tag of every page on their website. Newer WordPress themes usually provide an option to inject code into the either the header, body or footer areas but the client had a custom WordPress theme with no such feature or ability.

In this article I will show you how to quickly and easily add a script, JavaScript or any other custom code into the Body area of your WordPress website with or without a WordPress plugin.

 

Read more

CSS Ready Classes for Gravity Forms Plugin

CSS Ready Classes for Gravity Forms WordPress Plugin

 

[ See the officially released version of this plugin on WordPress.org ]

 

Gravity Forms comes with a few built-in CSS classes, called CSS Ready Classes, for you to choose from when building your forms. However, unless you have memorized them you will have to look them up.

We’ve updated Brad’s (6+ year old) Gravity Forms CSS Ready Class Selector WordPress plugin which works as a handy CSS Ready Class reference tool. When editing your forms, selecting the old ellipsis image from the Custom CSS Class label within the Appearance tab, this plugin would generate a convenient popup containing all the latest available CSS Ready Classes. But as we mentioned, its over 6 years old and needed to be updated. It was missing a few CSS Ready Classes and had an invalid link to the Gravity Forms CSS Ready documentation. Plus, wouldn’t it be handy to know which fields the intended class would work with? Then we discovered Mike’s forked version and enhancements which further streamlined the code and removed the unnecessary accordions. We didn’t know that we didn’t want the accordions until they were gone.

Our revision of this convenient plugin further refined and streamlined the popup display.

Updated CSS Ready Classes for Gravity Forms

This new plugin, as before, from within your forms’ fields, select the Appearance tab and click the new “CSS” link next to the Custom CSS Class field. This will open the handy reference popup. We replaced the old ellipsis image button with a simple link.

Browse through the various CSS Ready Classes and select the ones you want to have added to your field. Double click on your last selection to automatically close the popup or just hit esc. When you hover your cursor over any class, a description (via link title) will appear of the classes function and intended use. View this project on GitHub.

 

Download from WordPress Download from Github

CSS Ready Classes for Gravity Forms Plugin Logo

 

Read more

WordPress Content Management System Icon

WordPress Admin Email Verification Prompt

WordPress 5.3 introduced a feature to periodically prompt (interrupt) site administrators to verify their site’s administration email address. This “feature”, which is scheduled to appear once every six (6) months, displays a screen to administrators upon logging in that requires they verify the site’s admin email address. However, this time based event appears to reset more frequently thus prompting more verification screens than originally intended.

In my opinion, this is not needed as any qualified WordPress site administrator would have access to the hosting account and MySQL database. Simply manually updating the admin_email record withing the wp_options table would resolve such an issue of email administration. This “feature” appears to be more of a patch for a disorganized developer who projected their disorganization onto the rest of the WordPress community.

In this article I will show you how to easily disable the WordPress “Administration email verification” page from interrupting you from logging into your WordPress web site.

 

Read more

Gravity Forms Logo

The premium WordPress plugin, Gravity Forms has a built in security feature which “self heals” the Gravity Forms uploads folder by renaming files containing certain file name extensions. This “self healing” function is routinely called from a Gravity Forms created cron-job and scans for files that may be malicious but it doesn’t actually analyze the file to verify if it is malicious or not. Rather, it simply renames the discovered file based off the file extension with no notice to you that it has been renamed or has altered any files in the uploads directory.

Below we’ve listed the file name extensions that are monitored for their existence and will be automatically renamed if discovered.

 

Read more

Gravity Forms Logo

If you want to allow visitor to registrations on your WordPress website or project, Gravity Forms has a handy Add-On called User Registration. This makes registering new users, creating login forms, and even setting custom user meta relatively simple.

Assuming you’ve configured such a solution for your website or project, you may want to enable the user activation option. This will help cut down on the number of junk registrations.

When a visitor registers, an activation email is dispatched with a link to their specific account activation. Upon clicking this link, they are directed to the default Gravity Forms activate page which completes the user activation process. This page isn’t particularly interesting and you may want to spice it up to provide your new registered user with more helpful information.

This article will show you the steps needed in order to implement a custom activation page when using Gravity Forms User Registration.

 

Read more