WPCode makes it easy to add custom WordPress features through code snippets, so you can reduce the number of plugins on your site. It comes with custom snippet library, conditional logic, safe error handling, code generator, private snippet cloud, and more.
Hey Product Hunters,
I'm super excited to share WPCode with you. It's a re-make of a simple WordPress plugin that I created over 10 years ago which let you add scripts & pixels on your website.
Since then the plugin grew in popularity and got over 1 million active installs. Every month, I would get requests from our users to add more functionality such as the ability to conditionally load scripts on certain pages, ability to add code snippets in other areas of the website, and so on.
After a lot of thought and consideration, we decided to expand this free plugin and make it a full-featured code snippet management solution for WordPress with conditional logic, auto-insertion, and much more.
We built this tool to help you save time and hassle when managing your website customizations. This is like the ultimate Swiss-Army knife tool that will help you replace dozens of existing WordPress plugins while making your website faster.
Using the new plugin you can:
✨ Add tracking scripts / various webmaster tool verification meta details in your site with just a few clicks.
✨ Add banner ads or other dynamic content elements after first paragraph of every blog post, at the end of each blog post, etc.
✨ Remove WordPress features that you don’t want such as REST API, XML-RPC, Comments, etc without 3rd-party plugins.
✨ Easily copy & paste code snippets from tutorials in your WordPress site without errors.
✨ And really this is just scratching the surface.
All of these features are available to you for free - you can download the free plugin here: https://wordpress.org/plugins/in...
To help developers and website owners save time, we have also included an expert code snippet library as well as built-in WordPress code generators.
Examples of Custom Code Generators with Admin UI include:
✨ Custom Post Type Generator – Create custom code snippet for Post Types.
✨ Custom Taxonomy Generator – Get custom code snippet for Taxonomies.
✨ WP Query Generator – Get custom code snippet for WP_Query to load posts.
✨ Custom Sidebar Generator – Create custom code snippet to register custom ✨ sidebars or widget-ready areas.
✨ Custom Widget Generator – Custom code snippet to register custom widgets.
✨ Navigation Menu Generator – Custom code snippet for registering new navigation menu locations in your theme.
We also added advanced features like visual conditional logic for code output in the free version.
Examples use-cases of WPCode conditional logic:
✨ 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 tons more…
The pro version allows you to get more features to save time such as:
✨ Private cloud snippet library so you can re-use snippets across multiple website projects.
✨ Code Revision History (basically version control inside WordPress)
✨ Deep eCommerce integration for WooCommerce and other plugins for quick auto-insertion -- this is helpful for targeted eCommerce conversion pixels.
✨ Add Page and Device specific snippets with ease
... and we're working on several other powerful features.
You can see the pro version features here: https://wpcode.com/
Anyway, we truly are excited to share with you what we believe to be the best WordPress code snippet management solution in the market.
I hope you enjoy what WPCode has to offer. If you have any questions or feedback, please feel free to contact my team at wpcode.com, or leave a comment below to join the conversation. Thanks!
Chat Breezes 1.0
Chat Breezes 1.0
UserFeedback
SaaS for Greater Good
UserFeedback
UserFeedback