WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: List category posts] Shortcode displays content twice

[Resolved] [Plugin: List category posts] Shortcode displays content twice

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Fernando Briano
    Participant

    @fernandobt

    I tried to reproduce this error on a local installation of WordPress with your same parameters and haven’t been able to. I looked at the source code on your page, and I suspect there’s an external factor causing this.

    This code is being repeated:

    <div class="content box-no-title fluid-height headway-leaf" id="leaf-109">
    <div class="headway-leaf-inside">
    <div class="leaf-content">
    <div id="post-256" class="hentry page author-forum-civico"><h1 class="page-title">Lista SoloEventi</h1><div class="entry-content"><ul class="lcp_catlist"><li><a href="http://www.forumcivico.it/lista-soloeventi-2-259.html">Lista SoloEventi</a> 16/02/2011<p class="lcp_excerpt">La lista per ricevere ed inviare SOLO ed unicamente notizie di EVENTI, incontri pubblici (culturali, sociali, ecc) nella zona del Garda e provincia.</p></li></ul>
    
    </div><!-- .entry-content --></div><!-- #post-256 --></div><!-- .leaf-content -->
    </div><!-- .headway-leaf-inside -->
    </div><!-- #leaf-109 -->

    The code generated by the plugin starts with <ul class="lcp_catlist">, and as you can see, the ul is correctly closed. The second time the content is displayed exactly the same, but with a different id:
    <div class="content box-no-title fluid-height headway-leaf" id="leaf-110">
    Is there some special feature on your theme that might be causing this? Can you show the code to your page’s template?

    forumcivico
    Member

    @forumcivico

    Hello Mr. Fernando,

    You are of course absolutely right. The reason was the theme was displaying twice the content of the page.

    I did check that before posting here and I did not notice it. I should have used your logical procedure: looking at the source code!

    I am sorry to have taken your time. At least I had the chance to speak with you!

    Your plugin is definitely the best in its category. Kudos!

    Plugin Author Fernando Briano
    Participant

    @fernandobt

    Ok, glad I could help out! It’s great to know people find the plugin usefull. No problem on taking my time, giving support is part of developing the plugin (You could consider a donation if you want to further help the development 😀 ).

    Thanks for using List Category Posts!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: List category posts] Shortcode displays content twice’ is closed to new replies.