Solved. This was due to reveal using an ID (see myModal ID) and iterating the same ID over and over again. As a fix, I used:
id="modal-<?php echo get_the_ID(); ?>"
This has solved my issue of the_content() repeating its first iteration over and over.
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
- Add Incrementing ID to each paragraph in the_content
- Use the_content outside the 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
- the_content() seems to block my ACF-code
- 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()
- Cannot retieve the_content() and the_author() – both returning empty strings
- How is WordPress changing the content markup?
- Insert content above an embedded video inside Wordress’ php the_content
- Split Content and Gallery
- Echo Most Recent Sticky Post 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
- 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
- How to add custom HTML markup and classes to the_content()?
- the_content() “crashes” for single pages
- Hide old posts each year
- Counting the posts of a custom WordPress loop (WP_Query)?
- How to split a loop into multiple columns
- Is it necessary to reset the query after using get_posts()?
- Is there any difference between the_title() and echo get_the_title()?
- Cleanest Way to Select Every Second Element in a Loop?
- Pagination not working on home page
- Get post by page name or slug
- save_post + insert_post = infinite loop
- Get ID of a page containing secondary loop in content
- ACF Repeater loops and resets – where is the reset_rows() documentation? [closed]
- What is best way passing variables to theme templates and using them different places like widgets?
- Apply styling only to first page sticky posts
- Exclude category by slug for for each loop
- pop-up lighbox with AJAX
- WordPress Loop Through Particular Pages
- Load comments per post on click with AJAX
- The main Loop is not starting in a custom blog template page
- connect last post with first post
- Custom loop with conditional statement to separate each terms
- taxonomy tags 404 to custom post types
- Breaking the loop?
- woocommerce stored variable
- A smarter way to display multiple loops inside a page template
- How to print out menu names in the foreach loop?
- How do I style the first two posts of a loop
- Do I need to use The Loop on pages?
- How to get the role id from the role name?
- How do I paginate a get_posts() request inside another page loop (Paginating childpages)
- Is wp_reset_postdata() redundant after the main loop?
- Exclude first post (sticky or not) from the loop using query_posts()
- While loop with bootstrap [closed]
- How to create a multidimensional array with multiple loops
- how to replace get_template_part(‘loop’,’tag’) with explicit styled version?
- How to create custom popup in shop page on every loop products?
- Getting posts link in WordPress
- Loop through an array inside a class using foreach [closed]
- using wp_get_attachment_image_src in foreach loop
- Grabbed Post ID under WP loop, but still couldn’t Print Post title
- How to separate posts loop in to two columns? [duplicate]
- Display specific page (that is child) content on parent page
- query_posts clarification needed
- Blank content php code not parsing advanced custom fields gallery add-on [closed]
- Adding first and last classes to three column layout in Bones boilerplate
- Does search.php autofilter The Loop?
- “the_excerpt” in loop just keeps repeating first post?
- wpdb inside foreach loop only returns first result – 2 other similar cases found [closed]
- Using jQuery .after inside loop
- Add 2 values to post__not_in
- How to loop specific Category menu from archive page?
- How can I pass additional params to a shortcode while in a loop?
- Add all category as classes in foreach loop
- Exclude posts from loop by term
- How to avoid appending “null” in Ajax?
- Alternative layout the loop
- Why loop renders only last metabox from array? [closed]
- Template included with plugin doesn’t return all posts for custom taxonomy
- Limit article to 100 characters. Can’t use the_excerpt…
- Adding pagination to WP_Query [duplicate]
- Insert/sticky multiple posts in multiple positions
- This webpage has a redirect loop issue with SSL page
- Buddypress Group Activity Loop Filter activity type [closed]
- Stuck with conflicting loops on page template
- 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
- $do_not_duplicate is not working in genesis theme
- Loop displays current page
- wp_mail function not working in user query loop
- How to set and retrieve cookies while in the loop