Essential Tool for Custom Code Snippets
Shortcoder is a game-changer for anyone who needs to reuse HTML, CSS, or JavaScript across their site! Creating shortcodes is ridiculously simple – just name it, paste your code, and you're done. Love how it works seamlessly with both classic and Gutenberg editors. The ability to disable shortcodes globally or on specific devices is brilliant for testing. Custom parameters make it super flexible too. Whether you're embedding complex widgets or simple HTML blocks, this plugin saves tons of time. Clean interface, reliable performance – exactly what you need for code management!
Super verlässliches WordPress Plugin
Ich hatte immer Problem den eingebetteten von Videos, Facebook oder Instagram Code im ASGAROS Forum zu Platzierung bzw. Positionieren und dieses Plugin macht alles problemlos. Danke
Klaus Wilde
January 8, 2025
|
1 reply
إضافة جبارة أنصح بها وبشدة للأمانة
تستطيع من خلالها تنظيم الأكواد الخاصة بك وتعديلهن وتحريرهن بكل سهولة أنصح بها وبشدة
Bug: “Select shortcode” button fails – TypeError (reading ‘value’)
Description:Hello,I am experiencing an issue with the Shortcoder Gutenberg block. When I add the block to a post and click the "Select shortcode" button, nothing happens.Upon inspecting the browser console, a JavaScript error is triggered immediately upon clicking. I traced it in the debugger and found the exact line causing the issue in index.js.Error Log:Uncaught TypeError: Cannot read properties of null (reading 'value')The problematic code in index.js: onClick: () => { if (window.sc_show_insert) { // The error occurs on the following line: var e = document.getElementById("shortcoder-input-" + s).value; window.sc_show_insert(e, s) } } Cause:document.getElementById("shortcoder-input-" + s) is returning null (likely because the element cannot be found in the DOM, possibly due to the block editor's iframe canvas in newer WP versions), and accessing .value on it throws the TypeError.Steps to Reproduce:Open the Gutenberg block editor (adding a new post/page).Insert the "Shortcoder" block.Click the blue "Select shortcode" button.The UI does not respond, and the console throws the TypeError.Environment & Troubleshooting Performed:To rule out conflicts, I used the official Health Check & Troubleshooting plugin. The issue perfectly isolates to Shortcoder.Active Theme: Twenty Twenty-FourActive Plugins: ONLY Shortcoder (all other plugins disabled via troubleshooting mode)Cache: Completely cleared CDN and local browser caches.Could you please look into updating this DOM selection method to be compatible with the current block editor environment? Let me know if you need any additional information. Thank you!
Barry
August 29, 2026
|
1 reply
Bug: “Select shortcode” button fails – TypeError (reading ‘value’)
Description:Hello,I am experiencing an issue with the Shortcoder Gutenberg block. When I add the block to a post and click the “Select shortcode” button, nothing happens.Upon inspecting the browser console, a JavaScript error is triggered immediately upon clicking. I traced it in the debugger and found the exact line causing the issue in index.js.Error Log:Uncaught TypeError: Cannot read properties of null (reading ‘value’)The problematic code in index.js: onClick: () => { if (window.sc_show_insert) { // The error occurs on the following line: var e = document.getElementById(“shortcoder-input-” + s).value; window.sc_show_insert(e, s) } } Cause:document.getElementById(“shortcoder-input-” + s) is returning null (likely because the element cannot be found in the DOM, possibly due to the block editor’s iframe canvas in newer WP versions), and accessing .value on it throws the TypeError.Steps to Reproduce:Open the Gutenberg block editor (adding a new post/page).Insert the “Shortcoder” block.Click the blue “Select shortcode” button.The UI does not respond, and the console throws the TypeError.Environment & Troubleshooting Performed:To rule out conflicts, I used the official Health Check & Troubleshooting plugin. The issue perfectly isolates to Shortcoder.Active Theme: Twenty Twenty-FourActive Plugins: ONLY Shortcoder (all other plugins disabled via troubleshooting mode)Cache: Completely cleared CDN and local browser caches.Could you please look into updating this DOM selection method to be compatible with the current block editor environment? Let me know if you need any additional information. Thank you!
Barry
August 29, 2026
|
1 reply
Great Replacement for Reusable Text Blocks Plugin
Thank you for creating this plugin. I needed a replacement for the excellent but long defunct Reusable Text Blocks plugin by Hal Gatewood. Because for one website there were a couple of sentences I needed to repeat in a few dozen places, and for the other website I created a custom two-column layout and used Shortcoder to place blocks of content within the columns. I appreciate you recently adding the context-sensitive color coding to the HTML editor. I'd like it if I didn't need to fill in the HTML paragraph tags for HTML content, which is different than content I type in to the WordPress Classic editor.
Bug: “Select shortcode” button fails – TypeError (reading ‘value’)
Description:Hello,I am experiencing an issue with the Shortcoder Gutenberg block. When I add the block to a post and click the "Select shortcode" button, nothing happens.Upon inspecting the browser console, a JavaScript error is triggered immediately upon clicking. I traced it in the debugger and found the exact line causing the issue in index.js.Error Log:Uncaught TypeError: Cannot read properties of null (reading 'value')The problematic code in index.js: onClick: () => { if (window.sc_show_insert) { // The error occurs on the following line: var e = document.getElementById("shortcoder-input-" + s).value; window.sc_show_insert(e, s) } } Cause:document.getElementById("shortcoder-input-" + s) is returning null (likely because the element cannot be found in the DOM, possibly due to the block editor's iframe canvas in newer WP versions), and accessing .value on it throws the TypeError.Steps to Reproduce:Open the Gutenberg block editor (adding a new post/page).Insert the "Shortcoder" block.Click the blue "Select shortcode" button.The UI does not respond, and the console throws the TypeError.Environment & Troubleshooting Performed:To rule out conflicts, I used the official Health Check & Troubleshooting plugin. The issue perfectly isolates to Shortcoder.Active Theme: Twenty Twenty-FourActive Plugins: ONLY Shortcoder (all other plugins disabled via troubleshooting mode)Cache: Completely cleared CDN and local browser caches.Could you please look into updating this DOM selection method to be compatible with the current block editor environment? Let me know if you need any additional information. Thank you!
Barry
August 29, 2026
|
1 reply
Bug: “Select shortcode” button fails – TypeError (reading ‘value’)
Description:Hello,I am experiencing an issue with the Shortcoder Gutenberg block. When I add the block to a post and click the “Select shortcode” button, nothing happens.Upon inspecting the browser console, a JavaScript error is triggered immediately upon clicking. I traced it in the debugger and found the exact line causing the issue in index.js.Error Log:Uncaught TypeError: Cannot read properties of null (reading ‘value’)The problematic code in index.js: onClick: () => { if (window.sc_show_insert) { // The error occurs on the following line: var e = document.getElementById(“shortcoder-input-” + s).value; window.sc_show_insert(e, s) } } Cause:document.getElementById(“shortcoder-input-” + s) is returning null (likely because the element cannot be found in the DOM, possibly due to the block editor’s iframe canvas in newer WP versions), and accessing .value on it throws the TypeError.Steps to Reproduce:Open the Gutenberg block editor (adding a new post/page).Insert the “Shortcoder” block.Click the blue “Select shortcode” button.The UI does not respond, and the console throws the TypeError.Environment & Troubleshooting Performed:To rule out conflicts, I used the official Health Check & Troubleshooting plugin. The issue perfectly isolates to Shortcoder.Active Theme: Twenty Twenty-FourActive Plugins: ONLY Shortcoder (all other plugins disabled via troubleshooting mode)Cache: Completely cleared CDN and local browser caches.Could you please look into updating this DOM selection method to be compatible with the current block editor environment? Let me know if you need any additional information. Thank you!
Barry
August 29, 2026
|
1 reply
Great Replacement for Reusable Text Blocks Plugin
Thank you for creating this plugin. I needed a replacement for the excellent but long defunct Reusable Text Blocks plugin by Hal Gatewood. Because for one website there were a couple of sentences I needed to repeat in a few dozen places, and for the other website I created a custom two-column layout and used Shortcoder to place blocks of content within the columns. I appreciate you recently adding the context-sensitive color coding to the HTML editor. I'd like it if I didn't need to fill in the HTML paragraph tags for HTML content, which is different than content I type in to the WordPress Classic editor.
Bug: “Select shortcode” button fails – TypeError (reading ‘value’)
Description:Hello,I am experiencing an issue with the Shortcoder Gutenberg block. When I add the block to a post and click the "Select shortcode" button, nothing happens.Upon inspecting the browser console, a JavaScript error is triggered immediately upon clicking. I traced it in the debugger and found the exact line causing the issue in index.js.Error Log:Uncaught TypeError: Cannot read properties of null (reading 'value')The problematic code in index.js: onClick: () => { if (window.sc_show_insert) { // The error occurs on the following line: var e = document.getElementById("shortcoder-input-" + s).value; window.sc_show_insert(e, s) } } Cause:document.getElementById("shortcoder-input-" + s) is returning null (likely because the element cannot be found in the DOM, possibly due to the block editor's iframe canvas in newer WP versions), and accessing .value on it throws the TypeError.Steps to Reproduce:Open the Gutenberg block editor (adding a new post/page).Insert the "Shortcoder" block.Click the blue "Select shortcode" button.The UI does not respond, and the console throws the TypeError.Environment & Troubleshooting Performed:To rule out conflicts, I used the official Health Check & Troubleshooting plugin. The issue perfectly isolates to Shortcoder.Active Theme: Twenty Twenty-FourActive Plugins: ONLY Shortcoder (all other plugins disabled via troubleshooting mode)Cache: Completely cleared CDN and local browser caches.Could you please look into updating this DOM selection method to be compatible with the current block editor environment? Let me know if you need any additional information. Thank you!
Barry
August 29, 2026
|
1 reply
Bug: “Select shortcode” button fails – TypeError (reading ‘value’)
Description:Hello,I am experiencing an issue with the Shortcoder Gutenberg block. When I add the block to a post and click the “Select shortcode” button, nothing happens.Upon inspecting the browser console, a JavaScript error is triggered immediately upon clicking. I traced it in the debugger and found the exact line causing the issue in index.js.Error Log:Uncaught TypeError: Cannot read properties of null (reading ‘value’)The problematic code in index.js: onClick: () => { if (window.sc_show_insert) { // The error occurs on the following line: var e = document.getElementById(“shortcoder-input-” + s).value; window.sc_show_insert(e, s) } } Cause:document.getElementById(“shortcoder-input-” + s) is returning null (likely because the element cannot be found in the DOM, possibly due to the block editor’s iframe canvas in newer WP versions), and accessing .value on it throws the TypeError.Steps to Reproduce:Open the Gutenberg block editor (adding a new post/page).Insert the “Shortcoder” block.Click the blue “Select shortcode” button.The UI does not respond, and the console throws the TypeError.Environment & Troubleshooting Performed:To rule out conflicts, I used the official Health Check & Troubleshooting plugin. The issue perfectly isolates to Shortcoder.Active Theme: Twenty Twenty-FourActive Plugins: ONLY Shortcoder (all other plugins disabled via troubleshooting mode)Cache: Completely cleared CDN and local browser caches.Could you please look into updating this DOM selection method to be compatible with the current block editor environment? Let me know if you need any additional information. Thank you!
Barry
August 29, 2026
|
1 reply
Great Replacement for Reusable Text Blocks Plugin
Thank you for creating this plugin. I needed a replacement for the excellent but long defunct Reusable Text Blocks plugin by Hal Gatewood. Because for one website there were a couple of sentences I needed to repeat in a few dozen places, and for the other website I created a custom two-column layout and used Shortcoder to place blocks of content within the columns. I appreciate you recently adding the context-sensitive color coding to the HTML editor. I'd like it if I didn't need to fill in the HTML paragraph tags for HTML content, which is different than content I type in to the WordPress Classic editor.