PluginProbe
WP Coder – Insert & Manage Code Snippets / 4.3
WP Coder – Insert & Manage Code Snippets v4.3
4.5.1 1.1 2.3.1 2.3.2 2.4.1 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.1 3.1.1 3.2 3.2.1 3.3 3.4 3.5 3.5.1 All 39 releases
wp-coder / README.txt

README.txt in WP Coder – Insert & Manage Code Snippets 4.3, at README.txt

352 lines 11.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 === WP Coder – Insert & Manage Code Snippets ===
2 Contributors: Wpcalc, lobov
3 Donate link: https://wpcoder.pro/
4 Tags: snippets, custom js, code editor, custom php, custom html
5 Requires at least: 3.2
6 Tested up to: 6.8
7 Requires PHP: 7.4
8 Stable tag: 4.3
9 License: GPLv2 or later
10 License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
12 Snippets made simple — easily insert and manage custom PHP, CSS, JS & HTML without coding in theme files.
13
14 == Description ==
15
16 Tired of editing theme files to add custom scripts or styles?
17 **WP Coder** lets you insert custom HTML, CSS, JavaScript, and PHP snippets directly from your dashboard — no coding in theme files required. Gain full control and flexibility over your site.
18
19 [Documentation](https://wpcoder.pro/category/documentation/) | [Upgrade to Pro](https://wpcoder.pro/)
20
21 ### Why WP Coder?
22 - **All-in-One Code Editor:** Tabbed editor for HTML, CSS, JS & PHP with CodeMirror syntax highlighting.
23 - **Shortcode Integration:** Use `[wp_code id="X"]` to embed snippets anywhere.
24 - **Live Preview:** Instantly preview HTML & CSS without reloads.
25 - **Performance Ready:** Minify CSS/JS and control script loading with `async` / `defer`.
26
27 ### Ideal For
28 - **Developers:** Test snippets, hooks, and debug quickly.
29 - **Marketers:** Insert tracking pixels, analytics, and ad scripts.
30 - **Designers & Bloggers:** Customize layouts, styles, and enhance engagement.
31
32 ### Key Features
33 - Insert **HTML, CSS, JS, and PHP** via powerful shortcodes.
34 - Smart PHP handling: run in admin, front-end, everywhere, or only where inserted.
35 - Include external libraries (Google Fonts, CDN scripts & styles).
36 - **Test Mode:** Preview snippets safely before going live.
37 - Import/Export snippets and settings between sites.
38 - **NAV comments:** Add inline navigation markers for faster code editing.
39 - Lightweight & secure — built for performance.
40
41 ### Included Tools:
42
43 #### Integrations
44 - Google Analytics, Facebook Pixel, and Pinterest Pixel integration.
45 - Google AdSense integration with the option to disable ads for selected user roles.
46
47 #### Content & Templates
48 - Markdown Editor - Disables Gutenberg and TinyMCE, replacing them with a Markdown editor powered by CodeMirror.
49
50 #### Developer Tools
51 - Debug Log management (enable/disable and clear log).
52 - Show Page Debug Info - Display technical info for the current request in the Admin Bar (template, query type, object, body classes). Admins only.
53 - Theme Switcher - Quickly switch between installed themes directly from the admin bar.
54
55 ### Included Snippets:
56
57 #### Editor & Content
58 - Disable Gutenberg Editor
59 - Remove Gutenberg Block CSS
60 - Disable Widget Blocks
61 - Enable Shortcode Execution in Widgets
62 - Enable Excerpt for Pages
63 - Open External Links in New Tabs
64 - Change “Read More” Text
65
66 #### Admin Interface Tweaks
67 - Disable Screen Options Tab
68 - Disable Welcome Panel
69 - Duplicate Posts
70 - Disable Admin Bar
71
72 #### Login & User Access
73 - Disable Login Page Language Switcher
74 - Disable Login by Email
75 - Disable Admin Password Reset Emails
76 - Custom Login Logo
77 - Custom Login Redirect URLs
78 - Change Redirect After Login
79 - Change Redirect After Logout
80
81 #### Media & Embeds
82 - Enable SVG Upload
83 - Force Lowercase Filenames
84 - Default ALT Text for Avatars
85 - Disable Lazy Load
86 - Disable Embeds
87 - Adjust oEmbed Max Dimensions
88
89 #### Core Functionality
90 - Disable XML-RPC
91 - Disable REST API
92 - Disable Automatic Updates
93 - Disable Emojis
94 - Disable Shortlinks
95 - Limit Post Revisions
96
97 #### Comments & Feedback
98 - Disable Comments Globally
99 - Disable Comment URL Field
100 - Disable Self Pingbacks
101 - Disable Trackbacks & Pingbacks
102 - Disable HTML in Comments
103 - Limit Comment Length
104
105 #### Cleanup & Optimization
106 - Remove WP Version
107 - Disable Attachment Pages
108 - Disable RSS Feeds
109 - Disable Built-in Search
110 - Disable wlwmanifest Link
111 - Disable Automatic Trash Emptying
112 - Redirect 404 to Homepage
113
114 WP Coder simplifies your WordPress development workflow and makes customization safe, fast, and flexible!
115
116 Get started today and simplify your WordPress development workflow with **WP Coder**!
117
118 ### Plugin Demo:
119 https://youtu.be/YF4X7sU0iFY?si=327VZduhqu_mh5-N
120
121 = Support =
122 Need help? Ask questions and get quick answers in our [support center](https://wordpress.org/support/plugin/wp-coder).
123
124 == Installation ==
125
126 ### 📌 Option 1: Install via WordPress Admin
127 1. Go to **`Plugins` → `Add New`** in your WordPress admin panel.
128 2. Search for **"WP Coder"** and click **Install Now**.
129 3. Click **Activate** after installation.
130
131 ### 📌 Option 2: Install Manually
132 1. **Download** the WP Coder plugin ZIP file from [WordPress.org](https://wordpress.org/plugins/wp-coder/).
133 2. In WordPress admin, go to **`Plugins` → `Add New`** → **Upload Plugin**.
134 3. Click **Choose File**, select the downloaded ZIP file, then click **Install Now**.
135 4. After installation, click **Activate**.
136
137 ### 📌 Option 3: Install via FTP
138 1. **Download and unzip** the WP Coder plugin ZIP file.
139 2. Upload the extracted **`wp-coder`** folder to `/wp-content/plugins/` via FTP.
140 3. Go to **`Plugins`** in WordPress admin and click **Activate**.
141
142 ### 🚀 Getting Started
143 1. Navigate to the **`Wow Plugins → WP Coder`** section in your WordPress admin panel.
144 2. Click **`Add New Snippet`** to create your first code snippet.
145 3. Configure your snippet settings (HTML, CSS, JavaScript, PHP).
146 4. Click **Save** to apply your changes.
147
148
149 == Frequently Asked Questions ==
150
151 = Does WP Coder support Network activation? =
152
153 Currently, WP Coder doesn't support network-wide activation. If you're using WordPress Multisite, activate the plugin individually on each site within your network.
154
155 = Where can I find detailed documentation? =
156
157 Visit our comprehensive [official documentation](https://wpcoder.pro/category/documentation/) for detailed guides and step-by-step instructions.
158
159 = How can I use shortcode content in HTML code? =
160
161 If you include content within the shortcode like `[wp_code id="1"]Some Text[/wp_code]`, you can insert this content into your HTML snippet using the variable `{{$shortcode_content}}`.
162
163 = Can I use shortcodes from other plugins within WP Coder snippets? =
164
165 Absolutely! WP Coder allows you to embed shortcodes from any plugin within your HTML snippet content. You can also use WP Coder’s own shortcodes, offering enhanced flexibility for customization.
166
167 = What is the purpose of tags in the 'Publish' block? =
168
169 Tags help categorize and organize your snippets. When creating or editing a snippet, assign tags in the 'Publish' block to easily filter and manage your snippets later.
170
171 = How do I use the link feature in the 'Publish' block? =
172
173 The link feature helps you track where your shortcode is placed. Simply enter the URL of the page where your shortcode is inserted in the 'Link' field when creating or editing your snippet.
174
175
176
177 == Screenshots ==
178 1. HTML Block – Easily insert custom HTML snippets.
179 2. CSS Block – Manage and insert custom CSS snippets.
180 3. JavaScript Block – Customize your site's functionality with JS snippets.
181 4. PHP Block – Dynamically embed PHP snippets.
182 5. Include External CSS & JS – Quickly link external CSS and JavaScript files.
183 6. Publish Settings – Configure snippet visibility and publishing options.
184 7. Snippets Manager – manage all snippets efficiently.
185 8. Tools – Access helpful tools like Tracking Code Manager and Google AdSense integration.
186 9. Global PHP – Insert PHP snippets globally across your website.
187 10. Export/Import – Easily export and import your snippet settings.
188
189 == Changelog ==
190
191 ### Helpful Links ###
192 - [Website](https://wpcoder.pro)
193 - [Documentation](https://wpcoder.pro/category/documentation/)
194 - [Upgrade to Pro!](https://wpcoder.pro/)
195
196 = 4.3 =
197 * Added: **Markdown Editor** in Tools for writing with Markdown syntax.
198 * Added: **Debug Tools** section in Tools, including:
199 - Show Page Debug Info
200 - Theme Switcher
201 - Plugin Switcher
202 * Improved: Tools page layout – tools are now grouped into sections for easier navigation.
203
204 = 4.2 =
205 * Added: Debug Log page in WP Coder admin menu with options to enable/disable logging and clear log.
206 * Added: Admin bar indicator with link to Debug Log when entries are present.
207
208 = 4.1 =
209 * Added: Export snippets by tags
210 * Added: Export selected snippets
211 * Added: Option to use CSS files only in Live Preview without loading them on the site
212
213 = 4.0.3 =
214 * Added: duplicate button for each item
215 * Improved: Live Preview block behavior and rendering
216
217 = 4.0.2 =
218 * Improved: Reorganized method order in DBManager class for better readability and maintenance
219 * Improved: Minor SQL formatting for consistency
220 * Cleaned: Minor code style improvements according to WordPress Coding Standards (WPCS)
221
222 = 4.0.1 =
223 * Improved: Added `matchBrackets: true` option for the JavaScript editor to highlight matching brackets when editing code.
224
225 = 4.0 =
226 * Improved: Refreshed interface for better user experience.
227 * Added: "Open External Links in New Tab" snippet.
228 * Added: "Redirect 404 to Homepage" snippet.
229 * Added: "Limit Comment Length" snippet.
230 * Added: "Disable HTML in Comments" snippet.
231 * Added: "Disable Trackbacks & Pingbacks" snippet.
232 * Added: Live preview feature for HTML & CSS snippets.
233
234 = 3.6.1 =
235 * Fixed: Security issue in escaping within list files.
236
237 = 3.6 =
238 * Added: Custom locations for PHP snippet inclusion.
239 * Added: Option to hide tabs in settings.
240 * Fixed: Admin style compatibility for Safari browser.
241
242 = 3.5.2 =
243 * Fixed: Minor admin style improvements.
244 * Fixed: Various minor bugs.
245
246 = 3.5.1 =
247 * Changed: Adjusted user permissions to use the plugin.
248
249 = 3.5 =
250 * Added: "Tracking Code Manager" tool for easy integration of analytics pixels.
251 * Added: "Google AdSense" integration tool.
252 * Added: User roles support for "Disable WP Admin Bar" snippet.
253 * Improved: Updated back-link functionality.
254
255 = 3.4 =
256 * Added: Pre-set popular snippets page.
257
258 = 3.3 =
259 * Added: Button to insert images in HTML snippets.
260 * Added: HTML Minification tool.
261 * Improved: Enhanced CSS Minification tool.
262
263 = 3.2.1 =
264 * Fixed: Minor database issue.
265
266 = 3.2 =
267 * Added: "Add New" and "All Codes" buttons in editor.
268 * Fixed: Improved admin styling.
269
270 = 3.1.1 =
271 * Fixed: Database save issue.
272
273 = 3.1 =
274 * Added: Global PHP snippet feature.
275 * Added: Content handling inside shortcodes.
276 * Added: Copy shortcode button.
277 * Improved: More flexible file inclusion management.
278 * Changed: Shortcode updated to `[wp_code]`.
279
280 = 3.0.5 =
281 * Fixed: Minor update bug and admin notifications.
282
283 = 3.0.4 =
284 * Fixed: Updated datatable handling.
285
286 = 3.0.3 =
287 * Fixed: Inline scripts/styles management.
288
289 = 3.0.2 =
290 * Fixed: Execution order for scripts and styles.
291
292 = 3.0.1 =
293 * Fixed: Updating and saving snippets.
294 * Fixed: Admin capability adjustments.
295
296 = 3.0 =
297 * Added: Test Mode and snippet Status.
298 * Added: Tagging and Link options.
299 * Added: Inline and Minified options for CSS.
300 * Added: JavaScript optimization options.
301 * Added: Export/Import feature.
302 * Improved: Updated database and admin interface.
303
304 = 2.5.6 =
305 * Fixed: Minor bug in snippet list.
306
307 = 2.5.5 =
308 * Fixed: General minor fixes.
309
310 = 2.5.4 =
311 * Fixed: Security enhancements.
312
313 = 2.5.3 =
314 * Fixed: Additional security improvements.
315
316 = 2.5.2 =
317 * Fixed: Minor issues on main plugin page.
318
319 = 2.5.1 =
320 * Fixed: General minor fixes.
321
322 = 2.5 =
323 * Added: Alternative shortcode option.
324 * Added: Shortcode processing within HTML snippets.
325
326 = 2.4 =
327 * Fixed: Handling of `<textarea>` tags in HTML.
328 * Fixed: Shortcode functionality.
329
330 = 2.3.2 =
331 * Fixed: Snippet deletion and database saving issues.
332
333 = 2.3 =
334 * Fixed: Minor bug fixes.
335
336 = 2.2 =
337 * Fixed: Improved script/style loading order.
338
339 = 2.1 =
340 * Fixed: Database save issue resolved.
341
342 = 2.0 =
343 * Added: CodeMirror integration.
344 * Optimized: Improved file storage efficiency.
345 * Improved: Admin interface styling.
346
347 = 1.1 =
348 * Fixed: Shortcode display issue in content.
349
350 = 1.0 =
351 * Initial release.
352