Comments for WPCode https://wpcode.com The Best WordPress Code Snippets Plugin Sun, 08 Mar 2026 04:35:40 +0000 hourly 1 Comment on How To Exclude Specific Scripts From Minification In WP Rocket by Skibrahim https://wpcode.com/how-to-exclude-specific-scripts-from-minification-in-wp-rocket/#comment-129 Sun, 08 Mar 2026 04:35:40 +0000 https://wpcode.com/?p=3684#comment-129 Good

]]>
Comment on Introducing Remove Unused Media for Search & Replace Everything by Mircea Sandu https://wpcode.com/introducing-remove-unused-media-for-search-and-replace-everything/#comment-124 Mon, 12 Jan 2026 08:38:55 +0000 https://wpcode.com/?p=4137#comment-124 In reply to Wilks Rendai.

Hi Wilks,

Yes, the scanner will look for images across all post types and images mentioned in the content of a post. Once you remove the images, you have 30 days to safely restore them, that way, if you notice any false positives you can easily restore them. Feel free to reach out using the contact form at https://wpcode.com/contact if you need more info.

]]>
Comment on Introducing Remove Unused Media for Search & Replace Everything by Wilks Rendai https://wpcode.com/introducing-remove-unused-media-for-search-and-replace-everything/#comment-123 Fri, 09 Jan 2026 05:43:13 +0000 https://wpcode.com/?p=4137#comment-123 When you say “posts” does this include custom post types such as woocommerce products?
And if that’s true, does it further include not just the primary or “featured” product image but also those included in the product image gallery?
This is an astonishing omission when using the “unattached” filter in the inbuilt wordpress media library when combined with woocommerce, and still has not been addressed in 15 years of using woocommerce.

]]>
Comment on How To Insert Scripts In WordPress (Easily For Beginners) by Ron https://wpcode.com/insert-scripts-in-wordpress/#comment-122 Sun, 12 Oct 2025 12:39:48 +0000 https://wpcode.com/?p=2557#comment-122 Missing from this tutorial is how to insert a shortcode. You’re supposed to be able to add a ShortCode block and enter in the code, like [wpcode id="74"], then Publish/Save, and voilĂ . But that process does not work. Are there permissions that need to be enabled? Am I making an error?

]]>
Comment on How To Add Custom Code In WordPress (Safely For Free) by Mircea Sandu https://wpcode.com/how-to-add-custom-code-in-wordpress/#comment-120 Mon, 22 Sep 2025 07:55:40 +0000 https://wpcode.com/?p=3818#comment-120 In reply to Mofihle patrick tsoeu.

Not sure which customer code you are looking for – can you please reach out using the form at https://wpcode.com/contact and we’ll be able to reply there.

]]>
Comment on How To Add Custom Code In WordPress (Safely For Free) by Mofihle patrick tsoeu https://wpcode.com/how-to-add-custom-code-in-wordpress/#comment-119 Fri, 19 Sep 2025 19:43:05 +0000 https://wpcode.com/?p=3818#comment-119 Please i need customer code WPCode

]]>
Comment on How to Track Code Snippet Changes and Revisions in WordPress by Jonathan https://wpcode.com/how-to-track-code-snippet-changes-and-revisions-in-wordpress/#comment-118 Wed, 10 Sep 2025 15:01:37 +0000 https://wpcode.com/?p=4725#comment-118 In reply to Jonathan.

Apologies. Use the following SQL Commands instead:

To delete code snippet revisions from all code snippet:

DELETE FROM wp_wpcode_revisions;

To delete all revisions for a specific code snippet (e.g., with snippet_id 123):

DELETE FROM wp_wpcode_revisions WHERE snippet_id = 123;

To delete all revisions older than a certain date (e.g., September 1, 2025):

DELETE FROM wp_wpcode_revisions WHERE revision_date < '2025-09-01';

Cheerio!

]]>
Comment on How to Track Code Snippet Changes and Revisions in WordPress by Jonathan https://wpcode.com/how-to-track-code-snippet-changes-and-revisions-in-wordpress/#comment-117 Wed, 10 Sep 2025 14:44:53 +0000 https://wpcode.com/?p=4725#comment-117 In reply to Jonathan.

Another add for Item 2 above: Add another entry to the newly created “Revisions” tab titled; “Limit code snippet revisions to: ____” (showing a dropdown with numbers ranging from 0 to 10.

Cheers!

]]>
Comment on How to Track Code Snippet Changes and Revisions in WordPress by Jonathan https://wpcode.com/how-to-track-code-snippet-changes-and-revisions-in-wordpress/#comment-116 Wed, 10 Sep 2025 14:41:02 +0000 https://wpcode.com/?p=4725#comment-116 Hi Mircea. Again, thank you. Following my last comment and for those interested, the following SQL command will do the trick:

TRUNCATE TABLE `wp_wpcode_revisions`;

Where wp_ is the site’s db table prefix.

Cheers!

]]>
Comment on How to Track Code Snippet Changes and Revisions in WordPress by Jonathan https://wpcode.com/how-to-track-code-snippet-changes-and-revisions-in-wordpress/#comment-115 Wed, 10 Sep 2025 14:23:58 +0000 https://wpcode.com/?p=4725#comment-115 In reply to Mircea Sandu.

Awesome. Thank you, Mircea. I have successfully deleted all code snippet revisions contained in the table you provided. Here’s what I suggest:

1. Add a new column (tab) to “Tools” titled, “Revisions”
2. Inside the new “Revisions” tab, add two new entries (with buttons, etc.) titled: “Delete all code snippet revisions from all code snippets” and another one titled “Delete all code snippet revisions for the following code snippet IDs: ______________” (where each code snippet ID is separated by a comma.
3. Add a “Delete All” button” and a “Limit Code Snippet Revisions” function under the Code Revisions section of each code snippet.

Again, thank you!

]]>