Linux 软件免费装
Banner图

Add Custom Codes - Insert Header, Footer, Custom PHP Snippets, CSS, Javascript

开发者 SaifuMak
更新时间 2026年3月17日 15:52
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

custom css header codes footer codes custom codes php snippets

下载

3.5 4.1 1.0 2.0 3.0 4.0 4.2 4.3 4.4 4.5 4.6 4.7 4.71 4.80 5.0

详情介绍:

Add custom codes to your wordpress website. You can add custom PHP Functions, HTML, custom CSS, Javascript, Google Analytics, Search Console verification tags or other code snippets to your site. Features

安装:

  1. Install the plugin through Plugins -> Add New or Upload the plugin files to the /wp-content/plugins/add-custom-codes directory
  2. Activate 'Add Custom Codes' plugin through the 'Plugins' page in WordPress
  3. Go to 'Dashboard -> Add Custom Codes' to start using

屏幕截图:

  • PHP functions
  • HTML Snippets with auto-generated Shortcode
  • Javascript snippets
  • CSS Snippets
  • Dark Mode Editor
  • Snippets listing page
  • Snippet auto-deactivation feature
  • Header and Footer codes for Pages, Posts, Taxonomies etc.

升级注意事项:

1.0 Intial Release 2.0 Tested to work on latest wordpress version 3.0 This update make sure that it works well with latest Wordpress version and also we have also replaced the editor with Wordpress built-in code editor. 4.0 Bug fixes and major improvements. You can now add custom Header and Footer Codes to individual posts, pages, woocommerce products and even custom post types. 4.1 Tweaks and improvements for the Version 4.0 released earlier. 4.2 Fixed a reported bug: users were not able to select all pages or posts on Wordpress admin screen. 4.3 Bug fixes and improvements. Tested to work with Wordpress 6.0 4.4 Bug fixes and improvements. 4.5 Tested to work with latest Wordpress 4.6 Tested to work with latest Wordpress 4.7 Bug fixes & improvements. Option to add Custom Codes to taxonomy pages. 4.71 Fixed a bug with css inputs 4.8 Introduces a new feature called "Snippets". Backup your site before doing the update. 5.0 Fixed security and vulnerability issues. Backup your website before upgrading.

常见问题:

Plugin is not working for me. Why?

Make sure that your theme has 'wp_head()' call in header.php file and 'wp_footer()' call in footer.php file. Also make sure that you have added the right codes in plugin settings. Also Make sure to clear cache after updating codes in plugin settings.

Is this plugin safe from hackers?

The plugin is tested well and is safe to use on your website.

Does the plugin take too long to load?

This is a light-weight plugin which do not affect website performance. But if you feel so, please check if you are loading scripts on header section. It is always better to load most scripts in footer section of a website so that the page content can load easily.

Do you provide plugin support?

Yes, I am happy to provide support for free of cost.

Plugin layout looks broken after update. How do I fix?

Please clear your wordpress cache if you are using a caching plugin or service. Also try clearing browser cache.

更新日志:

1.0 2.0 3.0 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.71 4.8 5.0