WordPress Content Management System Icon

I imported a pre-built Avada website into a fresh installation of WordPress but was presented with the following warnings on the frontend when using the Avada theme.

  • Warning: Undefined array key “width” in /public_html/wp-content/themes/Avada/includes/class-avada-head.php on line 414
  • Warning: Undefined array key “height” in /public_html/wp-content/themes/Avada/includes/class-avada-head.php on line 415

I also received the following warning on the backend of WordPress.

  • Warning: Trying to access array offset on false in /home/customer/www/public_html/wp-content/themes/Avada/includes/lib/inc/redux/framework/FusionReduxCore/framework.php on line 2024

Troubleshooting the issues revealed that it may have been attributed to the SVG upload feature within the Avada theme.

I managed to clear up the issues by simply disabling and enabling the SVG upload feature. See instructions below.

 

Read more

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

To hide the GravityKit menu link from the WordPress Admin Backend menu without having to mess with the GravityView Access Capabilities, you can use the filter provided below. Note this will hide the GravityKit menu for all users except administrators:

if( ! current_user_can( 'administrator' ) )
{
  add_filter( 'gk/foundation/admin-menu/submenus', function ()
  {
    return [];
  }, 100 );
}

To hide the menu for everyone, including yourself (administrators) use the code below:

add_filter( 'gk/foundation/admin-menu/submenus', function ()
{
  return [];
}, 100 );

Read more

WordPress Content Management System Icon

Recently was not able to convince a client of the benefits of having me professionally manage, host and maintain their website for them. They wanted to save money and use GoDaddy’s Basic Managed WordPress service. So I had to migrate their completed demo over to it but ran into countless errors with GoDaddy’s hosting platform.

The GoDaddy migration tool was useless as was GoDaddy support. GoDaddy support insisted that I upgrade the server in order to complete the migration. But I only had delegated access to the clients account with no ability to purchase said upgrade because the client did not grant me those permissions.

Long story short, I was able to manually migrate their site over, even though we were on the Basic Managed WordPress server using the steps enumerated in this article.

This article is only for my personal use, to help jog my memory if another client want to migrate their site to a more affordable solution. Please do not use this article for migrating any of your or client sites. If you do, you take full responsibility for anything that goes wrong, or right for that matter.

 

Read more

Carbon Copy WordPress Free Post, Page Duplication Plugin

 

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

 

Are you ready to increase your productivity?

This free WordPress plugin will allow you to quickly and conveniently copy your pages, posts and even your custom post types. You can quickly copy, bulk copy and copy straight to new drafts.

Best Alternative to Yoast Duplicate Post

This WordPress plugin was based on the original Duplicate Post plugin by Enrico Battocchi before it was acquired by Yoast, now called Yoast Duplicate Post. Carbon Copy is now the best alternative to the Ad riddled Yoast Duplicate Post plugin. No annoying ads and greatly simplified for maximum productivity. But don’t take my word for it, I am biased.

 

Download from WordPress Download from Github

 

Read more

Gravity Forms Logo Wordpress Plugin
The following code, when inserted into a custom plugin or your child theme’s functions.php file, will automatically delete the associated WordPress “Users” account when deleting a User from the “Trash” tab. Learn more from the online Gravity Forms “Delete Entry” Documentation page.

 

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

Gravity Forms Logo Wordpress Plugin
The following code, when inserted into a custom plugin or your child theme’s functions.php file will forward all file uploads (images and documents) to your Media Library within your WordPress website. Special thanks to Kim G. who originally published the code snippet.

 

Read more