• Hi there,

    Since 4.6, my code stopped working, and I have seen on this forum some people having loop problem too.

    [loop exists type=jeu categorie-de-jeu=moba]
    	<div class="container-news">
    		[the-loop]
    	<div class="single-news">
    		<div class="description-news-container">
    			<h2 class="news-title">[field title]</h2>
    			<div class="news-date">Le [field date]</div>
    		</div>
    		<div class="news-excerpt">[field excerpt]</div>
    		<div class="img-container">
    			<div class="img-news-container">
    				[field image size=large]
    	</div>
    		</div>
    		</div>
    		[/the-loop]
    	</div>
    [if empty]
    	<h2>Aucune news n'a été publiée pour le moment</h2>
    [/if]
    [/loop]

    The code worked before, but now is broken.

    https://www.ads-software.com/plugins/custom-content-shortcode/

Viewing 1 replies (of 1 total)
  • Thread Starter moxymore

    (@moxymore)

    Allright, I have finally found the issue. If you miss one exerpt, the plugin crash. Any way to prevent this?

Viewing 1 replies (of 1 total)
  • The topic ‘Loop broken since 4.6?’ is closed to new replies.