Just for information, this is a bug in WP and autop. You can view the ticket here and it does not look like it will be fixed any time soon. The work around is to start your multiline comment with <!--
and end it with <!-- -->
Related Posts:
- Split Content and Gallery
- How can i display the content in plaintext
- remove tags from the_content
- the_content and wp_link_pages
- ACF Repeater loops and resets – where is the reset_rows() documentation? [closed]
- Add Incrementing ID to each paragraph in the_content
- Use the_content outside the loop
- Remove comma from last item output from loop
- get_the_content not working in loop?
- the_excerpt(), get_the_excerpt() and the_content() all killing “the Loop”
- Content/Excerpt length control for a specific loop?
- Combining the_excerpt with the_content
- Removing the_content() from the page
- How to make post content from each post display within the same div
- Loop after page content
- Only display videos and images in the_content() within loop
- Styling text and images in the_content()
- How do I go about looping through a advanced custom field on a particular page inside of another page
- Using an ACF field from a page within a post loop?
- ACF custom field in [closed]
- Cannot retieve the_content() and the_author() – both returning empty strings
- Distribute Gallery Images Every nth in Loop
- ACF – add a group inside a repeater [closed]
- While loop with bootstrap [closed]
- How to create a multidimensional array with multiple loops
- Loop through ACF taxonomies and output associated posts
- How is WordPress changing the content markup?
- Blank content php code not parsing advanced custom fields gallery add-on [closed]
- ACF: display custom filed of CPT into the loop
- Insert content above an embedded video inside Wordress’ php the_content
- Use ACF Category Image for all Taxonomy Archive Views
- Need to while loop and display contents in the subfield of a group field given by ACF
- Add Search and Filter functionality to custom loop
- Split Content and Gallery
- the_content() keeps repeating itself
- Echo Most Recent Sticky Post in Loop?
- ACF field not appearing correctly in loop
- Making a specific page wordpress compatable that is not index
- how to use custom loop in the_content filter
- change the_content images for different sizes (Desktop, tablet, mobile)?
- Have multiple loops on a page appear after/between page content
- Can’t see custom field after the Loop [closed]
- In Loop Output Place Custom Field Content In Between Paragraphs
- Help with add_filter(‘the_content’, ‘some_function’) and multiple matches
- Single Loop With Dual Content Area
- While loop inside another while loop
- How to add custom HTML markup and classes to the_content()?
- ACF loops false value with repeater and checkbox
- the_content() “crashes” for single pages
- Hide old posts each year
- Using the Loop to show all levels of subpages under a parent page? Halfway there
- Cleanest Way to Select Every Second Element in a Loop?
- Get post by page name or slug
- Why do themes have `while( have_posts() )` in templates like single.php?
- What is best way passing variables to theme templates and using them different places like widgets?
- Too many nested wp_query loops in this hypothetical query?
- pop-up lighbox with AJAX
- WordPress Loop – Style rows of posts differently
- the_excerpt not showing posts
- add most viewed post by google analytic in loop [closed]
- Sort posts by most recently modified
- How can I make the loop not count special post formats towards the post count?
- Why does `inclusive` not work in this wordpress loop?
- How do I automate multiple category loops?
- Custom post type showing same Post on all Pages
- Loop inside query
- How can I display other user avatars on an author profile page?
- something strange is happening to my code
- How to modify search.php to not show pages only show posts
- Show articles in Pair
- Randomly display post based on meta value. (Kind of Priority/Weight)
- Make a loop to return x number of posts, but only if they have content or excerpt
- Closing the loop…featured image variable based on post id
- How do you stop the rendering of the website to have something display on the front-end?
- How to render the single post template with the post name?
- new custom theme – posts displaying on top of one another
- Why does apply_filters behave different inside and outside a loop?
- Building a form with WordPress, and also pulling that data for a user page
- Show custom post type event if current day using ACF
- Why my loop is repeat?
- Excerpts not showing on main page
- dispaly all hierarchical post types from a taxonomy
- Is it possible to get a post ID of a 2 different custom post types loop embedded in the same post to perform update_post_meta from the frontend?
- Loop shows post 5 times in a query
- Attachment Metadata inside of Loop
- How to add content with a filter when there’s no content in the editor
- Make custom WordPress comments list
- Template included with plugin doesn’t return all posts for custom taxonomy
- Default Template infinite loop of Title
- Adding pagination to WP_Query [duplicate]
- Change the way wordpress outputs images or image galleries
- How can I access ‘key’ and ‘value’ from an array in a for loop?
- How to get current page id and compare it to looped pages inside the same page?
- Show amount of posts created today above loop?
- How to create WordPress loop with combination of 4 and 2 columns twitter-bootstrap?
- posts_nav_link() not working on index.php
- Custom post order returning posts from other categories
- Tags outside the loop
- wp_mail function not working in user query loop
- How to set and retrieve cookies while in the loop