Support » Themes and Templates » Letter “a” popping up at the bottom of posts/pages

  • Resolved Jason Pelker

    (@jpelker)


    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

Viewing 14 replies - 1 through 14 (of 14 total)
  • 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.

    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;)

    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?

    Not in the feeds, either…

    In that case I’d check the plugin file… Did you edit it ever?
    (or disable the plugin and see if the “a” disappears)

    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?

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

    I switched themes and the “a” still pops up, so it’s not it any template files…

    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.

    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.

    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?

    Nobody can see anything here…
    removed code to a pastebin

    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.

    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?

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Letter “a” popping up at the bottom of posts/pages’ is closed to new replies.