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".

allpost-contactform.css
allpost-contactform.js


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

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

allpost-contactform_custom.css
allpost-contactform_custom.js


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


www.Rainbow-Link.com

RainbowLink Inc.