• Resolved yukataninja

    (@yukataninja)


    LeagueManager is inserting two </p> at the front of the data returned from wordpress’ the_content(‘Read more’); function. When I deactivate LeagueManager the </p></p> is not show anymore. This is happening on my front ‘news’ page where I have no LeagueManager related code in the post.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter yukataninja

    (@yukataninja)

    Here is the code from my loop:

    <?php
                        $i = 0;
    
                        $my_query = new WP_Query('numberposts=4');
                        while ($my_query->have_posts()) : $my_query->the_post();
                        $do_not_duplicate = $post->ID;
    
                        global $more;
    		            $more = 0;
                    ?>
    
                    <div id="headline_number<?php echo $i?>" <?php if ($i != 0):?>style="display:none;"<?php endif?>>
                        <h1 class="headline_title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
                        <span class="headline_excerpt"><?php the_content('<br />Read more'); ?></span>
                    </div>
    
                    <?php
                        $i = $i + 1;
                        if (4 == $i)
                        {
                            break;
                        }
                        endwhile;
                    ?>

    fixed that and included it in Version 2.2. please re-download it, because i think it makes no sense to tag a new version for this

    Thread Starter yukataninja

    (@yukataninja)

    I have downloaded the current one and that one now generates three </p>

    checked it again. It should now generate an empty <p></p> before and after each table.

    Thread Starter yukataninja

    (@yukataninja)

    Downloaded the newest and it’s fixed.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: LeagueManager] bug inserting misc </p>’ is closed to new replies.