Computer Network Engineer · Freelance WordPress Developer

Peter

Peter is a Computer Network Engineer who now works as a freelance WordPress web developer, with over 8 years of experience building, speeding up and securing WordPress sites. He writes the tutorials, fixes and guides you'll find here on WPCOKE.

Years building websites
8+
Articles published
63
Topics covered
11

Articles by Peter

WordPress

How to Increase the PHP max_input_vars Limit for Better Performance

When managing a website with extensive forms or data-intensive pages, you may encounter the “max_input_vars” limit. This PHP setting restricts the number of input…

October 11, 2024 · 3 min read
WordPress

How to Customize WordPress Comment Notifications to a Specific Email Address

By default, WordPress sends comment notifications to the email address of the site administrator. While this works for many, there are cases where you…

September 11, 2024 · 4 min read
WordPress

WordPress function to set a default featured image if none has been set

You can use the following WordPress function to set a default featured image if none has been set. This function checks if the current…

August 15, 2024 · 1 min read
WordPress

How to increase file upload size wordpress htaccess

To increase the upload file size in WordPress through the .htaccess file, you can add the following lines of code: 1. Locate and open…

July 3, 2024 · 2 min read
PHP

How to set from email address in WordPress

To set from email address for all outgoing emails on your WordPress site, you can use the 'wp_mail_from' filter. You can add the following code…

June 7, 2024 · 1 min read
WordPress

How to prevent text from phone number field gravity forms

To prevent users from entering text into a phone number field in Gravity Forms while using international phone format, you can utilize JavaScript to…

February 8, 2024 · 3 min read
WordPress

Disable user registration on WordPress

To disable user registration on a WordPress website, you can follow these steps: Method 1: Using the WordPress admin dashboard Log in to your…

June 22, 2023 · 1 min read
WordPress

How to increase PHP max_execution_time WordPress site

To max_execution_time Locate the php.ini file: This file is responsible for setting up the PHP configuration. You can ask your web hosting provider to…

April 25, 2023 · 3 min read
WordPress

PHP Fatal error: Uncaught Error: Call to undefined function create_function()

I recently encountered PHP Fatal error: Uncaught Error: Call to undefined function create_function error when updating WordPress install from PHP7.4 to PHP8.0. Below was…

April 6, 2023 · 1 min read
PHP

Make specific Advanced Custom Field read-only

To make a specific advanced custom field read-only from the backend in WordPress, you need to identify the field's name and add a conditional…

April 4, 2023 · 1 min read