New to Translating WordPress? Read through our Translator Handbook to get started. Hide
| Prio | Original string | Translation | — |
|---|---|---|---|
| ↑ | Interface for easily defining additional JavaScript (inline and/or by URL) to be added to all administration pages. | You have to log in to add a translation. | Details |
Original untranslated
Interface for easily defining additional JavaScript (inline and/or by URL) to be added to all administration pages.
You have to log in to edit this translation. |
|||
| ↑ | Add Admin JavaScript | You have to log in to add a translation. | Details |
Original untranslated |
|||
| Go to "Settings" -> "Admin JavaScript" and add some JavaScript to be added into all admin pages. (You can also use the "Settings" link in the plugin's entry on the admin "Plugins" page). | You have to log in to add a translation. | Details | |
Original untranslated
Go to "Settings" -> "Admin JavaScript" and add some JavaScript to be added into all admin pages. (You can also use the "Settings" link in the plugin's entry on the admin "Plugins" page).
CommentFound in installation list item. You have to log in to edit this translation. |
|||
| The plugin exposes four filters for hooking. Typically, code making use of filters should ideally be put into a mu-plugin or site-specific plugin (which is beyond the scope of this readme to explain). Bear in mind that most of the features controlled by these filters are configurable via the plugin's settings page. These filters are likely only of interest to advanced users able to code. | You have to log in to add a translation. | Details | |
Original untranslated
The plugin exposes four filters for hooking. Typically, code making use of filters should ideally be put into a mu-plugin or site-specific plugin (which is beyond the scope of this readme to explain). Bear in mind that most of the features controlled by these filters are configurable via the plugin's settings page. These filters are likely only of interest to advanced users able to code.
CommentFound in description paragraph. You have to log in to edit this translation. |
|||
| To disable syntax highlighting, go to your profile page. Next to "Syntax Highlighting", click the checkbox labeled "Disable syntax highlighting when editing code". Note that this checkbox disables syntax highlighting throughout the admin interface and not just specifically for the plugin's settings page. | You have to log in to add a translation. | Details | |
Original untranslated
To disable syntax highlighting, go to your profile page. Next to "Syntax Highlighting", click the checkbox labeled "Disable syntax highlighting when editing code". Note that this checkbox disables syntax highlighting throughout the admin interface and not just specifically for the plugin's settings page.
CommentFound in faq paragraph. You have to log in to edit this translation. |
|||
| The plugin's syntax highlighting of JavaScript (available as of WP 4.9) honors the built-in setting for whether syntax highlighting should be enabled or not. | You have to log in to add a translation. | Details | |
Original untranslated
The plugin's syntax highlighting of JavaScript (available as of WP 4.9) honors the built-in setting for whether syntax highlighting should be enabled or not.
CommentFound in faq paragraph. You have to log in to edit this translation. |
|||
| The initial reaction by some might be to remove the plugin from the server's filesystem. This will certainly disable the plugin and prevent the JavaScript you configured through it from taking effect, restoring the access and functionality to the backend. However, reinstalling the plugin will put you back into the original predicament because the plugin will use the previously-configured settings, which wouldn't have changed. | You have to log in to add a translation. | Details | |
Original untranslated
The initial reaction by some might be to remove the plugin from the server's filesystem. This will certainly disable the plugin and prevent the JavaScript you configured through it from taking effect, restoring the access and functionality to the backend. However, reinstalling the plugin will put you back into the original predicament because the plugin will use the previously-configured settings, which wouldn't have changed.
CommentFound in faq paragraph. You have to log in to edit this translation. |
|||
| There are other approaches you can use, though they require direct database or server filesystem access: | You have to log in to add a translation. | Details | |
Original untranslated
There are other approaches you can use, though they require direct database or server filesystem access:
CommentFound in faq paragraph. You have to log in to edit this translation. |
|||
| The recommended approach is to visit the URL for the plugin's settings page, but appended with a special query parameter to disable the output of its JavaScript. The plugin's settings page would typically be at a URL like <code>https://example.com/wp-admin/options-general.php?page=add-admin-javascript%2Fadd-admin-javascript.php</code>. Append <code>&c2c-no-js=1</code> to that, so that the URL is <code>https://example.com/wp-admin/options-general.php?page=add-admin-javascript%2Fadd-admin-javascript.php&c2c-no-js=1</code> (obviously change example.com with the domain name for your site). | You have to log in to add a translation. | Details | |
Original untranslated
The recommended approach is to visit the URL for the plugin's settings page, but appended with a special query parameter to disable the output of its JavaScript. The plugin's settings page would typically be at a URL like <code>https://example.com/wp-admin/options-general.php?page=add-admin-javascript%2Fadd-admin-javascript.php</code>. Append <code>&c2c-no-js=1</code> to that, so that the URL is <code>https://example.com/wp-admin/options-general.php?page=add-admin-javascript%2Fadd-admin-javascript.php&c2c-no-js=1</code> (obviously change example.com with the domain name for your site).
CommentFound in faq paragraph. You have to log in to edit this translation. |
|||
| It is certainly possible that you can put yourself in an unfortunate position by supplying JavaScript that could render the admin (in whole or in part) inoperable or hidden, making it seeminly impossible to fix or revert your changes. Fortunately, there are a number of approaches you can take to correct the problem. | You have to log in to add a translation. | Details | |
Original untranslated
It is certainly possible that you can put yourself in an unfortunate position by supplying JavaScript that could render the admin (in whole or in part) inoperable or hidden, making it seeminly impossible to fix or revert your changes. Fortunately, there are a number of approaches you can take to correct the problem.
CommentFound in faq paragraph. You have to log in to edit this translation. |
|||
| If your server has WP-CLI installed, you can delete the plugin's setting from the commandline: <code>wp option delete c2c_add_admin_javascript</code> | You have to log in to add a translation. | Details | |
Original untranslated
If your server has WP-CLI installed, you can delete the plugin's setting from the commandline: <code>wp option delete c2c_add_admin_javascript</code>
CommentFound in faq list item. You have to log in to edit this translation. |
|||
| Presuming you know how to directly access the database: within the site's database, find the row with the option_name field value of <code>c2c_add_admin_javascript</code> and delete that row. The settings you saved for the plugin will be deleted and it will be like you've installed the plugin for the first time. | You have to log in to add a translation. | Details | |
Original untranslated
Presuming you know how to directly access the database: within the site's database, find the row with the option_name field value of <code>c2c_add_admin_javascript</code> and delete that row. The settings you saved for the plugin will be deleted and it will be like you've installed the plugin for the first time.
CommentFound in faq list item. You have to log in to edit this translation. |
|||
| In the site's <code>wp-config.php</code> file, define a constant to disable output of the plugin-defined JavaScript: <code>define( 'C2C_ADD_ADMIN_JAVASCRIPT_DISABLED', true );</code>. You can then visit the site's admin. Just remember to remove that line after you've fixed the JavaScript (or at least change "true" to "false"). This is an alternative to the query parameter approach described above, though it persists while the constant remains defined. There will be an admin notice on the plugin's setting page to alert you to the fact that the constant is defined and effectively disabling the plugin from adding any JavaScript. | You have to log in to add a translation. | Details | |
Original untranslated
In the site's <code>wp-config.php</code> file, define a constant to disable output of the plugin-defined JavaScript: <code>define( 'C2C_ADD_ADMIN_JAVASCRIPT_DISABLED', true );</code>. You can then visit the site's admin. Just remember to remove that line after you've fixed the JavaScript (or at least change "true" to "false"). This is an alternative to the query parameter approach described above, though it persists while the constant remains defined. There will be an admin notice on the plugin's setting page to alert you to the fact that the constant is defined and effectively disabling the plugin from adding any JavaScript.
CommentFound in faq list item. You have to log in to edit this translation. |
|||
| Disable JavaScript in your browser and revist the page. With JavaScript disabled, any JavaScript defined by the plugin would have no effect for you. Fix the JavaScript you defined and then re-enabled JavaScript for your browser. | You have to log in to add a translation. | Details | |
Original untranslated
Disable JavaScript in your browser and revist the page. With JavaScript disabled, any JavaScript defined by the plugin would have no effect for you. Fix the JavaScript you defined and then re-enabled JavaScript for your browser.
CommentFound in faq list item. You have to log in to edit this translation. |
|||
| How do I disable syntax highlighting? | You have to log in to add a translation. | Details | |
Original untranslated
How do I disable syntax highlighting?
CommentFound in faq header. You have to log in to edit this translation. |
|||
Export as
Comment
Short description.