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?
- Embedding a custom live chat (gen. from Salesforce) into my WordPress header
- HTML5 rich-text inside textarea
- How to avoid the \xc2 character or in my code snippets?
- How to display SQL query that ran in query?
- Best collection of code for your .htaccess file [closed]
- What is the meaning of %s, %1$s etc.? [closed]
- Upload Multiple Files With media_handle_upload
- WordPress Internal @ Mentions
- Include WP_Query in my own PHP file?
- How to get a variable number of posts per post type on the main loop?
- What is this code in my theme’s functions.php? if (isset($_REQUEST[‘action’]) && isset($_REQUEST[‘password’])
- Best Live Writer plugins to post code snippets on WordPress?
- Code Formatted with SyntaxHighlighter Evolved Appearing Incorrectly on iPad/iPhone
- how to group custom post types
- How to work with Syntax Highlighter Evolved?
- How to create a custom button for the visual editor that adds 4 non-breaking spaces? (plugin or simple code)
- How do i structure my theme folder to avoid one huge list of files
- How to stop wordpress mangling R syntax ‘
- Editing Source Code in WordPress
- Disable escaping html
- Has anyone tried putting PHP ActiveRecord on WordPress?
- API integration with WordPress
- How to have syntax highlighting in wordpress.com blogs?
- Any good desktop client for wordpress with support for google syntax highliter? [closed]
- Copyright info change in Theme Child PHP
- VERY new to coding – keep breaking site trying to add to functions.php
- How can I include PHP-Code to my post?
- Problem with tag
- write in functions.php
- Add footer.php to WordPress child theme
- Formatting ?
- How to link to a alternative page in CSS
- replace html entities in posts between pre tags
- I want to remove the links from the term list returned by get_the_term_list
- Open posts in editor in the ‘Text’ mode by default
- Pinterest Integration Using functions.php
- Which theme foundry has clean coded themes, where code is poetry [closed]
- Can I run custom php on specific pages in wordpress?
- Admin Notices coding standard issue
- How To Add Perfect Apostrophe And Quotation Mark In WordPress Posts?
- Successful or Error Message after running mysql code in functions.php
- How can I highlight syntax like it appears on stackoverflow?