• Resolved Sergei Richard

    (@sergeirichardhotmailcom)


    First, thanks for making this hugely useful plugin.

    Second, apologies if this is a repeat issue. Forum search doesn’t seem to be working.

    My issue occurs only with posts that have been edited in Elementor. If the shortcode is set to display “content=full”, the content of the post (though not its title) appears twice in the list.

    If I go back into the Gutenberg interface and re-save the post there, the duplicate goes away – but so of course does the styling applied in Elementor.

    Here’s an example of the code being generated:

    <ul class="lcp_catlist" id="lcp_instance_0">
    	<li>
    		<a href="[post URL]">[post title]</a>
    		<div class="lcp_content"><div class="lcp_content">
    			<div data-elementor-type="wp-post" data-elementor-id="15583" class="elementor elementor-15583">
    				<!--- post content --->
    			</div>
    			<div data-elementor-type="wp-post" data-elementor-id="15583" class="elementor elementor-15583">
    				<!--- post content --->
    			</div>
    		</div>
    	</div>
    </ul>

    WordPress 6.11, Elementor 3.10.0 (free), List category posts 0.88

    The shortcode I’m using is:

    [catlist year=2020 name=exhibitions content=full]

    I note that this issue doesn’t occur when using the parameter “content=yes”, but unfortunately that inserts the “continue reading–>” link even when there is no further content.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter Sergei Richard

    (@sergeirichardhotmailcom)

    Just to add: The best solution is probably just to stop using Elementor to edit posts completely. It’s not a good tool for that anyway, so this is looking like the route I’ll go down. But I’ll leave this here in case the information is useful to anyone. Feel free to mark it as resolved if that’s appropriate.

Viewing 1 replies (of 1 total)

The topic ‘Duplicate post content with Elementor’ is closed to new replies.