WordPress in some cases automatically adds code tags ( like p tags and changes code structure ) when you edit content in “Visual” mode.
Try to make changes and save in “Text” mode ( as Greg said in comment ).
Related Posts:
- Return $post_id when DOING_AUTOSAVE?
- 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
- Proper implementation/use of code/syntax highlighting
- How to remove all comments from JS, HTML, CSS files?
- What data validation we must use in different contexts?
- Need To Post Unformated Code
- Sidebar login: How do I get the username to show after “Welcome”?
- Code is providing a row of data but not formatting it as table
- 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?
- 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
- wordpress prepare error
- Adding code to send referrer on login page
- 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?
- 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
- Return $post_id when DOING_AUTOSAVE?
- Changes in code only show after changing theme
- Code Highlighting in BlockQuote
- 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
- How to display SQL query that ran in query?
- Best collection of code for your .htaccess file [closed]
- Where are wordpress custom types stored?
- Is it mandatory to use $wpdb->prefix in custom tables
- What is the meaning of %s, %1$s etc.? [closed]
- Upload Multiple Files With media_handle_upload
- What is the use of to_ping and pinged column?
- Whats the best way to share user data across multiple WordPress websites?
- 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’])
- What for is the table “wp_commentmeta” exactly?
- Use a separate custom table (not posts) to handle file upload data
- Removing filter dropdown in posts table (in this case Yoast SEO)
- WordPress Unit Testing – Cannot Create Tables
- Insert data in database using form
- What theme is good for posting code? [closed]
- How can I extend the Gutenberg table block transform to allow colspans/rowspans on pasted table elements?
- Create custom [sourcecode] shortcode, the right way?
- how to group custom post types
- When is it appropriate to create a new table in the WordPress database?
- Has parent field in the table wp_term_taxonomy has term_id or term_taxonomy_id
- How to create a custom button for the visual editor that adds 4 non-breaking spaces? (plugin or simple code)
- How to implement WP_List_Table? WP_List_Table giving array instead of a value in listing table
- How do you display posts in a dynamic table?
- Create a formatted table-like menu
- How do i structure my theme folder to avoid one huge list of files
- Editing Source Code in WordPress
- How To Make Connection To WordPress Data Base In A Plugin?
- Has anyone tried putting PHP ActiveRecord on WordPress?
- API integration with WordPress
- Display Tables in a slider
- Are custom post types suitable for storing high numbers of data elements, in this case chat messages?
- Creating search form for custom database table
- Is there a wordpress function to cleanly delete an entry in the signups table?
- Create custom column in post table in wordpress
- BuddyPress: What’s the use of wp_bp_xprofile_data table and how does it get updated? [closed]
- Include custom table into search results
- How to get user ID during registration and add it to a custom table
- 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
- wp-admin: Sort users by surname
- Can’t pass table to $wpdb->prepare
- write in functions.php
- Add footer.php to WordPress child theme
- Customizing WP tables or adding new ones?
- Formatting ?
- How to link to a alternative page in CSS
- Looping through tabular data
- I want to remove the links from the term list returned by get_the_term_list