Contact Form With Digital Signature

Some time We need to add signature in the agreement form or contact form. It is very simple with Contact Form 7. Contact form 7 has very nice and user friendly feature for building any kind of forms. Contact form has it’s own add on for add digital signature in the agreement form or Contact form.

To add Digital Signature to your form You need to Install Contact form 7 in your WordPress Panel. Then You need To install Contact Form 7 Signature Addon

Then The signature field is automatically add to your Contact Form 7.


Optimize WordPress Database With just a click

After using WordPress for a while, your database will have lots of information that you probably don’t need any more. For improved performance, you can optimize your database to get rid of all that unnecessary information.

This can be easily managed with the WP-Sweep plugin. It allows you to clean your WordPress database by deleting things like trashed posts, revisions, unused tags, etc. It will also optimize your database’s structure with just a click.

Disable File Editing in wordpress

WordPress comes with a built-in code editor which allows you to edit your theme and plugin files right from your WordPress admin area. In the wrong hands, this feature can be a security risk which is why we recommend turning it off.

You can easily do this by adding the following code in your wp-config.php file.

// Disallow file edit
define( 'DISALLOW_FILE_EDIT', true );

Warning: Cannot Modify Header Information — Headers Already Sent solution

Sometimes, you may encounter an error that goes along the lines of: “Warning: Cannot modify header information — headers already sent by (output started at /path-to-something-directory/some-config-file:xyz )”.

This error is caused by the unrequired spaces in the mentioned WordPress file (generally, it is the wp-config.php file). Naturally, you will need to edit the concerned file to remove the unnecessary white spaces.

Download the file that is mentioned in the error (say, wp-config.php). Open it using an editor of your choice, and then ensure that there are no spaces either before <?php or after ?> tags. Overall, the first letters of the file should be <?php and the last letters should be ?> (with absolutely no spaces between ‘?’ and ‘<’ or ‘>’ either).

As already mentioned, most of the time this error happens due to spaces in the wp-config.php file. It can be some other file too, though — just read the error carefully because it specifies the file name and the path to the concerned file.

How to Fix: WordPress Memory Exhausted Error – Increase PHP Memory

Indications of this error could be a white screen of death, or an error message like this one:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2348617 bytes) in /home/username/public_html/site1/wp-includes/plugin.php on line xxx

This error occurs when a WordPress script or a plugin exhausts the default allocated memory size limit.

By default, WordPress automatically tries to increase PHP memory limit if it is less than 64MB. However, 64MB is often not high enough.

First you need to edit the wp-config.php file on your WordPress site. It is located in your WordPress site’s root folder, and you will need to use an FTP client or file manager in your web hosting control panel.

Next, you need to paste this code in wp-config.php file just before the line that says ‘That’s all, stop editing! Happy blogging.

define( 'WP_MEMORY_LIMIT', '256M' );

This code tells WordPress to increase the PHP memory limit to 256MB.

Once you are done, you need to save your changes and upload your wp-config.php file back to your server.

You can now visit your WordPress site and memory exhausted error should disappear now.