When the plugin is upgraded, its stylesheet and javascript are initialized, which is annoying. Please tell me how to prevent the initialization.

Yes. Then, before upgrading, please make your own file of stylesheet and javascript and incorporate it in the header of your theme.

First of all, as for confirmation, there are two "stylesheet and javascript that are troublesome to be initialized".


Now, copy the above two files into your theme folder.

After copying, rename (rename) the two files as follows.


Finally, open header.php and add the URL of the files above </head>.
If your theme is a child theme, copy and paste the following:

<link rel="stylesheet" href="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/allpost-contactform_custom.css" type="text/css" />
<script src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/allpost-contactform_custom.js"></script>

【See also】

I'd like to upgrade "All Post Contact Form". What should I do?

( , JST )

URL of this page: https://www.rainbow-link.com/FAQ.htm?&faq_id=360


RainbowLink Inc.