WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Letter "a" popping up at the bottom of posts/pages (15 posts)

  1. Jason Pelker
    Member
    Posted 6 years ago #

    Weird issue...I did some database maintenance in myPHPAdmin today (I swapped all my home domains throughout my site) and now the letter "A" shows up at the bottom of the top post of each page, single page posts and pages. Everything else seems to work fine, though. Here are some examples:

    http://uw-mc.com/page/2/
    http://uw-mc.com/2007/10/from-the-chicago-tribune-how-to-get-a-charity-buzz/
    http://uw-mc.com/about/

    It does not show up on posts below the top post, though. So if I look at the second post, nothing, but when I go to its direct link, I see the letter "A" at the bottom.

    A few notes:

    I did not drop all my databases in myPHPAdmin, mostly just the built-in ones.

    Also, this mysterious letter was coming after my Share-it link, but right before my Category tags at the bottom of the post. I uninstalled that plugin, but it didn't help.

    Anyone have any suggestions? Reload the database? Hara-kiri?

    Thank you in advance.

    --Jason
    United Way of Metro Chicago

  2. It's appearing in the source right before the closing div around the entry itself. Check the template to be sure - specficially the single.php and page.php ones.

  3. Jason Pelker
    Member
    Posted 6 years ago #

    Here's the code for page:

    <?php get_header(); ?>
    
        <div id="content_box">
    
            <div id="content" class="pages">
    
                <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
                <h2><?php the_title(); ?></h2>
                <div class="entry">
                    <?php the_content('<p>Read the rest of this page &rarr;</p>'); ?>
                    <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
                </div>
                <?php if ('open' == $post-> comment_status) { ?>
                <p class="tagged"><a href="<?php the_permalink() ?>#comments"><?php comments_number('No Comments', '1 Comment', '% Comments'); ?></a></p>
                <div class="clear"></div>
                <?php } else { ?>
                <div class="clear rule"></div>
                <?php } ?>
    
                <?php endwhile; endif; ?>
    
                <?php if ('open' == $post-> comment_status) { comments_template(); } ?>
    
            </div>
    
            <?php get_sidebar(); ?>
    
        </div>
    
    <?php get_footer(); ?>

    And single:

    <?php get_header(); ?>
    
        <div id="content_box">
    
            <div id="content" class="posts">
    
            <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
                <?php include (TEMPLATEPATH . '/navigation.php'); ?>
    
                <h2><?php the_title(); ?></h2>
                <h4><?php the_time('F jS, Y') ?>  &middot; Posted by <?php the_author() ?> &middot; <a href="<?php the_permalink() ?>#comments"><?php comments_number('No Comments', '1 Comment', '% Comments'); ?></a></h4>
                <div class="entry">
                    <?php the_content('<p>Read the rest of this entry &raquo;</p>'); ?>
                    <?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
                </div>
                <p class="tagged"><strong>Category:</strong> <?php the_category(' &middot; ') ?></p>
                <div class="clear"></div>
    
                <?php comments_template(); ?>
    
            <?php endwhile; else: ?>
    
                <h2 class="page_header">Uh oh.</h2>
                <div class="entry">
                    <p>Sorry, no posts matched your criteria. Wanna search instead?</p>
                    <?php include (TEMPLATEPATH . '/searchform.php'); ?>
                </div>
    
            <?php endif; ?>
    
            </div>
    
            <?php get_sidebar(); ?>
    
        </div>
    
    <?php get_footer(); ?>

    I failed to see anything that would point to a theming issue. Please prove me wrong, though;)

  4. Jason Pelker
    Member
    Posted 6 years ago #

    The "a" doesn't appear in excerpts... http://uw-mc.com/category/campaign_leaders/.

    It has to be in the "content" call, but it actually appears after the Share This button (not within the post content).

    Any ideas?

  5. Jason Pelker
    Member
    Posted 6 years ago #

    Not in the feeds, either...

  6. moshu
    Member
    Posted 6 years ago #

    In that case I'd check the plugin file... Did you edit it ever?
    (or disable the plugin and see if the "a" disappears)

  7. Jason Pelker
    Member
    Posted 6 years ago #

    I disabled Share This, then deleted it. Didn't work unfortunately. I reinstalled Share This and that didn't work either. Could something be amiss in the database?

  8. I woudlstill double-check that plugin file, the error logs, and poke aroudn the db. Not sure what fields yet though.

  9. Jason Pelker
    Member
    Posted 6 years ago #

    I switched themes and the "a" still pops up, so it's not it any template files...

  10. Jason Pelker
    Member
    Posted 6 years ago #

    where might I find the definition for the "the_content" call at?

    From index.php:

    <div class="entry">
    <?php the_content('[Read more &rarr;]');?>
    </div>

    The "a" appears in the "entry" div.

  11. Jason Pelker
    Member
    Posted 6 years ago #

    I deactivated all my plugins and the "a"'s went away! I will be activating them one by one to see which was the culprit. I love the scientific method.

  12. Jason Pelker
    Member
    Posted 6 years ago #

    We have a winner: WHAT WOULD SETH GODIN DO? Some how, some way, a plugin I've been using for months is inserting this miscellaneous letter into my posts...

    [long code moderated:
    http://wordpress.pastebin.ca/750817 ]

    Anyone see anything?

  13. moshu
    Member
    Posted 6 years ago #

    Nobody can see anything here...
    removed code to a pastebin

  14. Jason Pelker
    Member
    Posted 6 years ago #

    It was all in the options--The message was "a". and the number of times to show it was "a". Weird shite. Must have happened when I wiped the cache or if I deleted a database accidentally.

  15. Jason Pelker
    Member
    Posted 6 years ago #

    I deleted, re-downloaded, and re-installed this plugin. It's f*cked. Whatever is in the "how many times" box goes to the "message" box on update. Anyone know a fix?

Topic Closed

This topic has been closed to new replies.

About this Topic