Categories

  • Access & Security 95
  • Administration 171
  • Advertisement 92
  • Audio & Video 66
  • Author & Content 99
  • Comments 96
  • Communication 110
  • Communities & Forums 84
  • Development 47
  • E-Commerce 76
  • Email Management 53
  • Events & Calendars 80
  • Language 25
  • Map & Weather 44
  • Migration & Conversion 28
  • Miscellaneous 254
  • Mobile 15
  • Photos 143
  • Plugins 260
  • SEO & Site Speed 118
  • Social 186
  • Theme Enhancement 169



  • Add this plugin to a List

    You need to be logged in to add this plugin to your list.

    Insert Headers and Footers

    Add to List

    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

    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:

    • Load code snippets for logged in users only
    • Load PHP code snippets for specific user roles
    • Load PHP code snippets only on specific page URLs
    • Insert header and footer pixel scripts on specific pages
    • Show code snippets based on type of page
    • Run code snippet only on certain post types
    • Load header and footer code snippet based on referrer source
    • and more…

    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:

    • Run code snippet only on frontend
    • Run code snippet only in WordPress admin area
    • Add header and footer scripts sitewide
    • Insert PHP code snippet before or after post content
    • Insert code snippet before or after specific paragraph
    • Insert code snippet on specific archive pages
    • Insert code snippets after specific WooCommerce function (Pro Feature)

    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:

    • Quick to set up
    • Unlimited code snippets
    • Simple to insert header and footer scripts globally
    • Beginner Friendly Code Editor with Syntax Highlighter for PHP, JavaScript, and HTML
    • Smart Code Validation to Prevent PHP Errors
    • Insert header code and/or footer code using Conditional Logic
    • Add Google Analytics code to header and footer
    • Add custom CSS code to any theme
    • Insert Facebook pixel code in header and footer
    • Insert any code or script, including HTML and Javascript
    • Insert PHP Code Snippets
    • Ready-made Code Snippet Library
    • Custom WordPress Code Snippet Generator
    • Show or Hide PHP Code Snippets based on conditional logic
    • Run PHP code and custom code snippets everywhere or in select areas using smart auto-insert rules.
    • Manually insert PHP code snippets using shortcodes anywhere on website
    • Add Rich Text Ads and Content Snippets automatically on posts & pages.
    • Export / Import Code Snippets
    • New Save snippets to Cloud Library – All your snippets stored in your private code snippet cloud.
    • New Deep integrations with Gutenberg, WooCommerce, and more.
    • Device specific code snippets (such as load code snippets on mobile only, desktop only, etc)
    • and more features coming soon.

    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)

    Rate This Plugin

    Please Login to Rate this Plugin!

    Function

    Feature

    Support

    0 Votes
    Not Rated Yet

    Wordpress.org Stats

    Ratings4.9
    Votes1,328
    Downloads37,149,563
    Last Updated14 Days ago
    Published12 years ago

    Report Wrong Category!

    Do you think this Plugin belongs to another Category?

    What Category Should this Plugin belong to? *

    Reason *

    Create a Plugin List

    You need to be Logged in to Create a Plugin List.

    Submit A plugin

    You need to be logged in to submit a plugin.

    Help

    WPD is the unofficial online plugin directory of WordPress.

    An attempt has been made to list Only functional, active,efficient and up-to-date plugins.

    Categorized : Plugin are listed by category and subcategory based on functionality and uses. Here you can browse wordpress plugin from our neatly categorized plugin directory and sort the plugins by rating, votes, last updated and published and search plugins using tags.

    Search : Plugins can be searched by their functionality using multi-tag search and you can search plugins using their exact name although we are not ensuring Google like search accuracy.

    Create Plugin Lists : You will be able to create list of plugins and share them with Wordpress Community or you can keep them private and use them as a bookmarks.
    e.g. Plugins That I’ve Used on My Site, Best Event Management Plugins, Christmas Plugins etc.

    If you think certain awesome plugin is not in the directory then notify us through our Submit a Plugin page.

    Browsing the Plugin Directory

    Browse by Category

    In WPD, Plugins are categorized carefully. You can browse all the categories from the homepage or you can access the category lists from any page by clicking the button from the left of the website.


    Browse by Tags

    Each plugin listed in WPD is marked with useful tags. You can browse plugins by Tags from the All Tags page


    Searching in WPD

    Multi Tag Search

    You can search plugins using multiple tags. To perform a multi-tag search. Go to Homepage and then in the search field type any keywords or tags(comma separated) and then click on the search button. To search plugins from a selected category just select the category from the dropdown and type your tags.


    Searching a specific Plugin in WPD

    If you want to find a specific plugin in our directory, Go to Homepage and then select the "Search in Title" option. Then write the name of the plugin and click the search button to find the Plugin.


    Plugin Lists

    Whats a Plugin List

    Plugin Lists are user created lists of plugins. Any registered users can create Plugin Lists and share it with anyone or make it private.


    Why Create a plugin List?
    • Easy to keep track of your favourite and useful plugin.

    • Share list of plugins on blogs, social media or to a client.

    • Keep a track of what plugins you installed in which of your blogs by creating a list for each blog



    Creating a Plugin List

    To create a Plugin List, click the button from the left of the page; a popup box will appear. In the "List Name" field, put the name of the List. eg: Best Seo plugins for your site.
    In the Description field, put a few words describing the List.
    By default, lists are automatically published as public, which is visible to everyone. If you do not want others to see the List, select "Private" from the dropdown list. Then click the "Create List" button to create the list.


    Adding Plugins to your List

    To add a plugin to your List, go to a plugin page and click the "Add to List" button. A popup box will appear where you can select in which of your list you want to add this plugin. You can add a note if you want, this note will appear below the plugin in your list.
    P.S: You can only add plugins that are in our directory.

    Your Lists will appear in our "Plugin Lists" page when you set the list as "Public" and your list contains atleast 2 plugins.


    Editing your Lists

    When you are on your list page, notice there is a button on the top right corner of the page. Click it to edit the List Name and the List Description.


    Accessing All your Lists

    You can access all your Plugin lists by going to your profile and clicking the "Lists" tab.


    Removing your Lists

    You can remove your Plugin lists by going to your profile and clicking the "Lists" tab. on top right of each list click the button to remove the list completely.

    While tremendous effort has been put to keep this directory precise and complete, still errors and omissions are unavoidable and possible. We welcome any suggestions for corrections, deletions, and idea that might improve the overall experience.

    To submit a Feedback click the from the bottom right corner of the site.

    Brave Popup Builder
    Our Latest WordPress Plugin
    Create Awesome WordPress Popups with Intuitive visual Editor. Choose from hundreds of Presets. Create Beautiful Popups and convert more visitors to subscribers, clients and customers.
    This Popup was Built with this plugin.
    Marketing knowledge
    Upgrade your
    Leverage agile frameworks to provide a robust synopsis for high overviews.
    Register or log in to assess the record