2.2.6

  • New: Easily find where your snippet is used as a shortcode with our new shortcode finder tool. 1-click search through your site.
  • New: Improved editor for snippet notes. You can now add links and format text with a WYSIWYG editor.
  • New: Snippet notes column. Display the notes for each snippet in the list of snippets.
  • Fix: We improved the code snippets list filtering in the admin to avoid issues when JS errors are encountered on the page from other scripts.

2.2.5

  • New: We added a new way to quickly filter snippets by code type in the list of snippets.
  • Tweak: Prevent content_save_pre from modifying snippet code.

2.2.4.1

  • Fix: Shortcode attributes variables were not being set correctly.

2.2.4

  • Tweak: We adjusted the way our plugin adds a version-specific body class to avoid conflicts with other plugins.
  • Tweak: We improved the way custom PHP code is executed to avoid conflicts with variables in snippets.
  • Fix: When removing the last Conditional Logic group the rule selector was no longer working.

2.2.3.1

  • Tweak: Updated the way we load translatable strings in some components for compatibility with WordPress 6.7.

2.2.3

  • Tweak: We updated the way we validate PHP snippets when making an edit to an active snippet for better feedback when debugging.
  • Tweak: We replaced a dependency (SweetAlert2) for a more lightweight alternative to improve performance.

2.2.2

  • New: The Add Snippet screen now makes it easier to get started with more than just our library of snippets, choose from expert-picked snippets, snippet generators or plugin-specific snippets.
  • New: We updated the code type picker for more clarity on what each code type is useful for and the last code type you used is now saved for a streamlined experience when adding multiple snippets.
  • Tweak: We extended the unfiltered HTML permissions notice when the DISALLOW_UNFILTERED_HTML constant is defined to add more clarity.

2.2.1

  • Fix: We fixed a bug that was causing the selected conditional logic operator to not be displayed correctly for some rules.
  • Fix: The auto-insert location picker was not opening again in some situations.

2.2.0

  • New: We updated the conditional logic rules picker for more clarity and ease of use.
  • New: We expanded our automatic cache clearing to include the Swift Performance plugin.
  • Tweak: The Page URL conditional logic option now supports query params and wp-admin URLs.

2.1.14

  • New: When making changes to the Global Header & Footer WPCode will attempt to automatically clear page cache for popular caching plugins.
  • New: Save your snippet with a keyboard shortcut by pressing CTRL+S (Windows) or CMD+S (Mac) in the snippet editor.
  • Tweak: Prevent error when TinyMCE is disabled by other plugins.

2.1.13

  • New: We added admin-specific locations for header and footer to streamline customizations in the wp-admin area.
  • New: The code editor height can now be adjusted directly from the snippet editor screen. Auto-height is still available as an option on the settings page.
  • Fix: When making changes to a snippet, the function to prevent you from navigating away was no longer working.

2.1.12

  • New: We added a new way to execute PHP snippets “On Demand” – look for the “On Demand” location in the Auto Insert settings.
  • Tweak: We added checks in place to prevent malicious code patterns from being used in WPCode.
  • Fix: We fixed a bug where the conditional logic for logged-in users was not being saved correctly the first time.

2.1.11

  • Tweak: We improved the admin bar menu to fix an JS error in some scenarios and a html validation issue.
  • Tweak: We added support for importing snippets from the Code Snippets Pro plugin.
  • Fix: We fixed an issue with importing CSS snippets.

2.1.10

  • New: When another user is editing the same snippet, we now show a warning to avoid conflicts.
  • Tweak: Improved mobile styles across the plugin admin for better readability.

2.1.9

  • New: Conditional logic rule for Blog home page (posts page)
  • Tweak: Improved the connect to library flow to avoid the connect window from getting blocked.
  • Fix: Author archive condition was not working as intended.

2.1.8

  • Tweak: We changed the way the code generators are loaded to improve performance overall.
  • Tweak: We changed the way translations are loaded for better performance.

2.1.7

  • New: WPCode now has a Dark Mode for those late night coding sessions. Enable it on the settings page.
  • Tweak: We improved the way the error messages are displayed in the snippet editor for more clarity.
  • Fix: The snippet editor was no longer running syntax checks for PHP snippets upon activation.
  • Fix: We fixed a bug where in certain versions of Safari the auto-insert location was being unset when saving a snippet.

2.1.6

  • New: We added the option to delete all the plugin data on uninstall.
  • Fix: The code of duplicated snippets was sometimes removing some slashes.
  • Fix: Error count was not correctly updated when snippets were trashed or deleted.

2.1.5

  • New: Priority column added to the list of snippets, order by snippet priority.
  • Fix: Fixed a notice that was being thrown in new sites when running the installation routines.
  • Fix: Filtering by tag or location in the list of snippets was not working correctly.

2.1.4.1

  • Fix: Avoid notices for errors that don’t include the file parameter.
  • Fix: Improve compatibility with PHP 8.2 for the snippet cache class.

2.1.4

  • New: Enhanced error tracking: Errors generated by PHP snippets on your website will be displayed within the snippet’s context, simplifying the debugging process.
  • New: We’ve refined the snippet auto-deactivation process. Now, only snippets that produce fatal errors in the admin section will be deactivated. All other errors will be reported through the newly implemented error tracker.
  • New: We introduced three new columns to the snippet list: ID, Code Type, and Shortcode.
  • Tweak: We’ve enhanced our file caching mechanism to prevent redundant requests in scenarios where files aren’t written properly due to certain setups.
  • Tweak: We’ve implemented an additional check to ensure that closing PHP tags don’t disrupt the execution of snippets.
  • Fix: We’ve corrected the sorting of snippets when arranged by their last updated date.

2.1.3.1

  • Fix: Shortcode attributes were not being correctly parsed in some scenarios.

2.1.3

  • New: We improved how we manage automatic snippet disabling when errors occur. You’ll now get detailed insights into which snippet is responsible for the error and the exact line where the problem occurred.
  • Tweak: We adjusted the way snippets are preloaded to improve compatibility with object cache.
  • Fix: The snippets added as shortcodes were not correctly displayed in the admin bar.

2.1.2

  • Tweak: We adjusted the way snippets are tracked in the Admin Bar Code Spotter to avoid wrong numbers in certain locations.
  • Tweak: We improved the way the Admin Bar Code Spotter menu is loaded for better compatibility with other plugins and older themes.
  • Tweak: Changed the way assets used by the admin bar are loaded to avoid errors if the head is loaded multiple times.

2.1.1

  • New: Easily duplicate a snippet with all of its settings with the new Duplicate link in the list of snippets.
  • Fix: Taxonomy page conditional logic was not being correctly assigned for category and tags archives.
  • Tweak: Adjust admin bar markup to avoid using a heading.

2.1.0

  • New: See exactly which scripts and snippets are loaded on the current page with the WPCode admin bar info menu.
  • Tweak: Minor update to connect process.

2.0.13.1

  • Fix: Improve compatibility with older WordPress versions before version 4.7.
  • Fix: Add escaping to tag filter links in the list of snippets.

2.0.13

  • New: We have added user customization options for the list of snippets in the admin. Now, you can choose snippet list columns, determine the number of snippets to display, and set the default order of the snippets.
  • New: When you save a snippet, the WPCode editor will retain the cursor position, making it easier for you to continue editing larger snippets.

2.0.12

  • New: You can now add shortcode attributes and use them in snippets. Any attribute you define becomes available as a variable in PHP & Universal code snippets.
  • Tweak: We improved the way the editor is loaded when users enable the “Disable syntax highlighting when editing code” in their profile.
  • Tweak: We adjusted the way the editor gets refreshed when changing a snippet code type.
  • Fix: The Auto-Insert location was getting reset with every code type change.

2.0.11

  • New: Automatically disabled snippets due to errors will now be highlighted in the list for easier debugging.
  • New: We added a filter to allow users to easily customize the Codemirror settings for the WPCode editor.
  • Tweak: We extended our plugin-specific snippet loading to allow plugin version checks.

2.0.10

  • New: We added a way to load more snippets in the WPCode Library relevant to other plugins you are using.
  • Fix: We added an extra filter removal to prevent WordPress core from automatically adding the rel tag to snippets where it may break the syntax.
  • Fix: We improved backwards compatibility with older WordPress versions.

2.0.9

  • New: We redesigned the auto-insert location picker to make it easier to find the right place to insert your snippets.
  • Fix: We fixed an edge-case where a snippet getting automatically deactivated due to throwing an error would have its code changed.
  • Fix: Inserting a snippet as a shortcode was ignoring the conditional logic rules enable toggle and always applying rules.
  • Fix: We updated the way we check the taxonomy term id when applying conditional logic rules.
  • Fix: Security hardening for deleting logs.

2.0.8.1

  • Fix: Improve compatibility with PHP 8.1 for our error handling class.

2.0.8

  • New: We added the option to log PHP errors thrown by snippets added with WPCode to make it easier to track down issues.
  • New: We added a new auto-insert location to improve the available conditional logic rules you can use with PHP snippets.
  • Tweak: We added more info regarding the error thrown when trying to activate a PHP snippet with a syntax error.
  • Tweak: Conditional logic rules are now also applied to shortcodes for better control of output.
  • Tweak: We updated the code editor for PHP snippets to give you a better experience when editing snippets.
  • Fix: We adjusted the permission checks of some ajax endpoints to avoid any potential unwanted usage.
  • Fix: The Safe Mode notice was no longer being displayed on the WPCode pages, so we added that back when needed.

2.0.7

  • New: We added the ability to resume editing snippets that were created using the WPCode snippet generator.
  • Fix: We adjusted the code output in the editor to improve support for using HTML entities.
  • Fix: We made sure conditional logic rules are loaded correctly in the admin when used globally.
  • Fix: We added an extra permissions check to the library endpoints to limit access.

2.0.6

  • New: WPCode Library public snippets can now be installed with 1-click on sites connected to the WPCode Library – no more copy/paste needed!
  • New: We added a new setting for the editor height, so you can set the editor to a custom height or make it automatically grow with the code.
  • Tweak: We adjusted the “Connect To Library” functionality to improve support for site names with special characters or empty names.
  • Fix: We added extra checks to prevent errors when certain conditional logic rules were being called too early with PHP snippets.

2.0.5

  • New: 2 new bulk actions are available in the admin to allow enabling or disabling multiple snippets at once.
  • New: We added a new search field for snippets in the admin list which allows you to search using all snippet fields.
  • New: When adding a JavaScript snippet, WPCode will attempt to remove HTML script tags, if present.

Overview

  • Latest version 2.2.6
  • Last updated
  • Active installations 2,000,000+
  • WordPress version 4.6 or higher
  • Tested up to 6.7.2

Ratings

1,525  · 
1 stars
42
2 stars
9
3 stars
3
4 stars
7
5 stars
1,464

Contributors

4
WPBeginnerSyed BalkhiMircea SanduWPCode