Linux 软件免费装
Banner图

WPCode - Insert Headers and Footers + Custom Code Snippets - WordPress Code Manager

开发者 WPbeginner
smub
deb255
gripgrip
wpcodeteam
更新时间 2024年10月29日 21:20
PHP版本: 5.5 及以上
WordPress版本: 6.6
版权: GPLv2 or later
版权网址: 版权信息

标签

css php header code code snippets

下载

2.1.1 2.1.11 1.4.4 2.1.10 2.1.3 2.2.3.1 1.4.6 2.1.12 2.2.1 2.1.4.1 2.0.4.2 1.4.5 2.2.2 2.2.3 1.2 2.0.2 2.1.2 1.3 1.4.2 2.0.4.4 1.3.1 1.3.2 1.3.3 1.4 1.4.1 2.0.11 2.1.3.1 1.5.0 2.0.0 2.0.1 2.0.8.1 2.0.3 2.0.5 2.0.13.1 2.1.5 2.0.7 1.6.1 1.6.2 2.0.4 2.0.9 1.1 2.0.10 2.0.12 2.0.13 2.0.4.1 1.6.0 1.4.3 2.1.0 2.0.4.3 2.1.4 2.1.6 2.1.7 2.1.8 2.1.9 2.0.6 2.0.8 2.1.13 2.1.14 2.2.0

详情介绍:

Insert Headers & Footers + Full WordPress Code Snippets Plugin WPCode (formerly known as Insert Headers and Footers by WPBeginner) is the most popular code snippets plugin for WordPress used by over 2 million websites. We make it easy for you to add code snippets in WordPress without having to edit your theme's functions.php file. Our simple insert headers and footers interface allows you to insert code like Google Analytics, custom CSS, Facebook Pixel, and more to your WordPress site's header and footer as well other areas of your website. No need to edit your theme files! Aside from Header and Footer scripts, you can also use WPCode to insert custom PHP code snippets, JavaScript code snippets, CSS code snippets, HTML code snippets, and text snippets with full conditional logic support. We took the pain out of adding custom code snippets in WordPress and made it easy.
I have been using Insert Headers and Footers and it is such a useful tool. Super helpful and the very best of its kind. Highly recommend The_Gibble - WordPress user
Quick Overview of WPCode from WPBeginner https://www.youtube.com/watch?v=Fo-7MKRRUec
Introducing New WPCode Pro While WPCode Lite offers tons of powerful features for free, we listened to user feedback and created WPCode Pro with even more amazing features to improve your workflow. This includes smart conditional logic, saving code snippets to cloud library, code revisions, page-specific snippets, deeper integration with popular plugins like WooCommerce, Easy Digital Downloads, and so much more. Click here to purchase the best premium WordPress code snippet plugin now!
Future Proof Code Snippet Management Most WordPress tutorial websites ask you to add code snippets to your theme's functions.php file. This makes managing code snippets messy, and it also prevents you from updating your theme. If you ever update your theme or switch to another theme, then you will lose all custom code functions that you added in your functions.php file. WPCode solves this by providing you an easy way to insert header and footer scripts along with other code snippets directly from your WordPress dashboard. These code snippets actually run as if they were in your theme's functions.php file. Our smart code snippet validation helps you prevent common code errors to ensure you never break your website when adding code snippets or header and footer scripts. New WPCode Cloud Library even allows you to store all your custom code snippets in a cloud library, so you can easily re-use code snippets across multiple website projects and save time. You can keep your code snippets completely private or share it with the community to give back while boosting your social profile.
This plugin allows me to not only add things to my site whenever needed, but it takes me only seconds to accomplish it. David Weber - WordPress user
Full Code Snippets Library and Code Generators Ever wanted a central place to find all the most popular WordPress code snippets that are tested and proven to work? When we started Insert Headers and Footers plugin, we did too. So we built a WordPress code snippets library right inside the WPCode plugin. You will find verified PHP code snippets for popular feature requests like disable REST API, disable XML-RPC, disable comments, allow SVG file uploads, disable Gutenberg, add Classic Editor, and more without installing separate plugins for each.
I was very hesitant to get into any of the code for my website. Your plugin made it easy for me to do. Conbrio75 - WordPress user
We also built the ability to save your code snippets to WPCode Cloud Library, so you can easily re-use it on your other websites, client projects, or even share it with the larger community. WPCode Cloud Library helps you better organize your code snippets in one central location, so you can save more time and speed up your workflow when managing websites. No more wasting time looking for custom notes or Github gists. Aside from our growing code snippets library, we also have WordPress code generators to help you quickly get ready-to-use custom code using the latest WordPress coding standards and API's. Conditional Logic for Code Snippets + Code Insertion Priority Our goal with WPCode was to create a WordPress code snippets plugin that's both EASY and POWERFUL. That's why aside from our global header and footer scripts, we added advanced features like conditional logic for code snippets and made it easy. Instead of learning WordPress conditional logic queries, you can use our beginner-friendly conditional logic user interface to: We also added both automatic code insertion and manual code output using shortcodes. Our Auto Insert feature allows you to run the code snippet everywhere or choose from custom options like: Aside from that, we also added a visual code snippet priority system, so you can choose the order for your custom functions to avoid code conflict.
This is such a useful plugin! It makes it so much easier to include things on your website! Understoryliving - WordPress user
And for even more flexibility and customization, we have added the ability for you to add page-specific code snippets right from the WordPress classic editor as well as the Gutenberg editor. You can even load code snippets based on device type such as mobile only code snippets, desktop only code snippets, etc. Import and Export Code Snippets Managing multiple websites or developing in a staging environment? We offer an easy way to import and export your custom code snippets, functions, and header and footer scripts to help you save time. You can also save your code snippets to WPCode Cloud (Pro feature), so you can easily re-use the same code snippets across multiple websites. This also allows you to better organize your code snippets instead of wasting time searching for random Github gists.
Simple plugin I use in quite every site. Very useful to insert scripts and tags. tommasoperego - WordPress user
Full WPCode Feature List The simple interface of WPCode plugin (formerly known as Insert Headers and Footers) gives you one place where you can insert header and footer scripts as well as custom code snippets rather than dealing with dozens of different plugins. Below is a full list of WPCode features: Credits Insert Headers and Footers plugin was first created by Syed Balkhi and the WPBeginner team in 2011. It was later rebranded to WPCode in 2022 by Syed Balkhi to add powerful code snippets features that users were requesting for. Branding Guideline WPCode™ is a trademark of WPCode LLC. When writing about the Insert Headers and Footers - Code Snippets plugin by WPCode, please make sure to uppercase the initial 3 letters. WPCode (correct) WP Code (incorrect) wpcode (incorrect) wp code snippets (incorrect)

安装:

  1. Install WPCode - Insert Headers, Footers, and Code Snippets plugin by uploading the insert-headers-and-footers directory to the /wp-content/plugins/ directory. (See instructions on how to install a WordPress plugin.)
  2. Activate WPCode - Insert Headers, Footers, and Code Snippets plugin through the Plugins menu in WordPress.
  3. Insert code in your header and footer or add custom code snippets by going to the Code Snippets menu.
[youtube https://www.youtube.com/watch?v=QXbrdVjWaME]

屏幕截图:

  • Ready-Made Code Snippets Library
  • Edit PHP Snippets with Code Syntax Highlighter
  • Show / Hide Code Snippets with Smart Conditional Logic
  • Custom WordPress Code Generators
  • Example of Custom Post Type Generator
  • Insert Header and Footer Scripts Globally
  • Import and Export Code Snippets
  • Private Snippets Library In Plugin
  • Page-Specific Scripts Metabox

常见问题:

Can I use WPCode - Insert Headers and Footers to install Google Analytics?

Yes, you can insert your Google Analytics code in the Scripts in Header field.

Can I use WPCode - Insert Headers and Footers for Google AdSense?

Yes, to verify your account or to tag your page for Auto ads, paste the code AdSense gives you, into the Scripts in Header field.

Will I lose my snippets if I change my WordPress theme?

No, the idea behind WPCode - Insert Headers, Footers, and Code Snippets plugin is so you can safely add code snippets. All code snippets are stored in the WordPress database, independent of the theme upgrades.

Can I switch back to the old version of Insert Headers and Footers?

Yes, if you don't want the advanced code snippets functionality, then you can switch back to the old Insert Headers and Footers features by simply going to the Settings Menu and clicking on the Headers & Footers mode.

What Type of Code Snippets can I add?

With WPCode, you can add any type of code snippet that you would otherwise add in your theme's functions.php file or in a site-specific plugin. This includes custom PHP snippets, JavaScript snippets, HTML snippet, CSS snippets, Text Snippets, Conversion pixels, Tracking scripts, AdSense or other banner ads code, and more.

What are some example plugins WPCode can replace?

WPCode comes with a ready-made code snippets library that allows you to replace several popular plugins including:

  • Disable Comment plugins
  • Disable XML-RPC plugins
  • Disable Rest API plugins
  • Disable Gutenberg plugins
  • Classic Editor plugin
  • Allow SVG File Upload plugins
  • Disable RSS feed plugins
  • Disable Search plugins
  • Disable Automatic Updates plugins
  • Disable Admin Bar plugins
  • Disable Widget Blocks plugin
  • Classic Widgets plugin
  • Remove WordPress Version Number plugins
  • Google Analytics plugins
  • Facebook Pixel plugins
  • Google AdSense plugins
  • Custom Post Types UI plugins
  • Other WordPress Generator plugins
... and basically any plugin that adds a functionality which can be added via custom code snippets.

更新日志:

2.2.3 2.2.2 2.2.1 2.2.0 2.1.14 2.1.13 2.1.12 2.1.11 2.1.10 2.1.9 2.1.8 2.1.7 2.1.6 2.1.5 2.1.4.1 2.1.4 2.1.3.1 2.1.3 2.1.2 2.1.1 2.1.0 2.0.13.1 2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 2.0.8.1 2.0.8 2.0.7 2.0.6 2.0.5