⚠️ IF YOUR BLOG IS HOSTED BY SHOWIT, DO NOT MODIFY PHP THEME FILES

If you ever find yourself in a position looking to add PHP code to your WordPress site hosted by Showit, it can very easily break your whole site.

Modifying active PHP files in WordPress can result in immediate downtime and will require development knowledge and direct file access to revert.

We do not recommend trying to modify PHP code on your own or copy-pasting code found online. It is much easier to break your site with bad code than to try and fix your site after bad code may have broken it. Do not ever attempt to make changes to code if you are unfamiliar with PHP and WordPress coding standards. It can result in lengthy downtime for your whole site.

Showit does not provide custom WordPress development work and cannot assist with troubleshooting errors or conflicts caused by custom code.


*Showit does maintain daily backups of your WordPress files, however, backup points are created around midnight PST. Restoring a backup point will result in loss of data created or modified after the backup point. If custom code breaks your website, we can restore your site to a backup point prior to any custom code.


Developers

Every time a site owner makes changes to their design inside the Showit App and publishes those changes, new theme files will be generated. This means that any custom code added to theme files will be overwritten. Because of this, modifying theme files directly (such as the functions.php file) will not preserve any custom code as new design updates are published by the site owner.

In general, it is not best practice to modify WordPress theme files directly, regardless of the use of Showit or a different WordPress theme.

WordPress itself advises against direct editing of theme files.

TLDR: Do not modify the functions.php file located in the Showit theme directory.

Custom code is best implemented through the use of a plugin.

Did this answer your question?