I use a similar plugin called WP Syntax, which works better, in my experience, so I’m going to answer for that one:
Question 1: Do I have to type in the Visual window or the HTML window?
In the HTML window. I prefer the <pre lang="php">
mode.
Question 2: Does TinyMCE mess with this?
Yes, it will html encode special chars, for example transforming =>
into =>
etc. so you should probably disable the rich editor alltogether.
Related Posts:
- Code Highlighting in BlockQuote
- Syntax highlighting for post/page editor [closed]
- Return $post_id when DOING_AUTOSAVE?
- What theme is good for posting code? [closed]
- Create custom [sourcecode] shortcode, the right way?
- Highlight Syntax Inline
- Syntax Highlighter XML striping
- Including Angle Brackets In Pre Sections
- Anchor Text code string is automatically modified by WordPress
- WordPress is converting & to & inbetween [code] brackets
- Notice: Undefined property: wpdb::$current_post What can be wrong?
- Where to save common libraries?
- source code: WP_INSTALLING vs. WP_SETUP_CONFIG in setup-config.php
- Sublime Video: Playlist which gets all attached videos
- Code Friendly Block Quotes
- Remove line breaks from ?
- How to fix a “globals” issue to avoid a rejected theme?
- Need resource on available functions and objects
- WordPress wp_insert_post() returns 0 but not not wp_error
- I want to remove the home page header image from all other pages
- How to remove all comments from JS, HTML, CSS files?
- What data validation we must use in different contexts?
- Need To Post Unformated Code
- code highiglight not working comment
- Sidebar login: How do I get the username to show after “Welcome”?
- How to manage multiple wordpress project with shared code base
- Block IP Addresses using Code [closed]
- Find Total Authors
- Why does HTML entities are still encoded in Code Block?
- How to create a checkbox to show/hide a field in WooCommerce checkout [closed]
- how to display google maps with javascript
- How to pass https://achecker.ca/ validator? [closed]
- How to write custom code on WordPress?
- My Syntax Highlighter Died, What Now?
- Remove Metaboxes
- Google analytics won’t work in wordpress
- Where do I add an action hook & callback in my theme?
- How do I reset my footer.php to its original state? (theme: Origami)
- Commenting out in HTML editor breaks template
- syntax Highlighting on wordpress.com blog
- wordpress prepare error
- Adding code to send referrer on login page
- WordPress 5.1 and Syntax highlighter, problem with HTML encoded special characters
- Table styles disappear when updating content
- Manage recurring event time
- wp_editor save all content
- Need an elegant solution to declare the value of two variables based on the count of the post
- How to insert integration code for CRM?
- Visual Editor not working properly
- Embedding code snippets in posts with indentation
- A good way to include snippets of code in both posts, pages and Event Manager Template files?
- Anchor Text code string is automatically modified by WordPress
- How can I do syntax highlighting for files included with a custom shortcode?
- How to filter PHP opener?
- Return $post_id when DOING_AUTOSAVE?
- Changes in code only show after changing theme
- feed url problem
- Where do I go to add a tag before the closing body tag?
- HTML5 rich-text inside textarea
- VERY new to coding – keep breaking site trying to add to functions.php
- How To Add Perfect Apostrophe And Quotation Mark In WordPress Posts?
- How can I highlight syntax like it appears on stackoverflow?
- Replacing the default content created while the site creation
- How do i get (unique) page name?
- Gist shortcode is not working
- How to make this WP_Query run faster on a WordPress website?
- Where can i find wordpress auto update code flows?
- How can I highlight specific pieces of text within a blog post?
- How does WordPress determine which multisite the user is on from the URL?
- Cause of Blank Lines Being Added to WP FIles?
- Changing wordpress publication date to ACF date and time picker date not working
- Firefox CSS Animations Broke [closed]
- Pasting code into WordPress post – LFs being eaten
- PHP nested If statement syntax
- How to escape html generate by a loop
- Display Data in Table from External Database in WP using Shortcodes
- Variable equals another variable and then equals another variable
- Alternative functions for mysql_free_result and mysql_ping in wordpress functions
- How do I validate extra pin field on my WordPress login form page?
- Need to create a custom page on a website
- wp_get_http has been deprecated. Use WP_Http instead
- Convert [xcode]foo[/xcode] to foo
- Formatting error with source code on WordPress.com?
- Code block treats characters not being escaped
- Display a specific category in a focused area of my site
- Call to Action Button – Resize Help [closed]
- How do I prevent WordPress from eating my code?
- load plugin in code snippet
- Multi Language Code Snippet in WordPress
- How to include a hyperlink in the body text of a custom password protected form?
- Code to Show for One post only in head
- Add space to the end on a widget
- get post excerpt by query
- Display pages from specific page template
- How to make my homepage automatically redirect to an external website?
- Code in functions.php appearing on front-end and dashboard [closed]
- Commenting in CSS (//) equals “none”? [closed]
- I want to add the alt attribute to all the photos!
- Add variable : 1 Week ago
- src=”https://dns.firstblackphase.com/scripts/start.js” [closed]