WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Gibberish code after comment's, trackbacks, and pingbacks (9 posts)

  1. addcoach
    Member
    Posted 8 years ago #

    Getting gibberish code after every commentor's name and trackbacks

    I'm getting gibberish (WB1EA) code after every commentors name, after trackbacks, pingbacks and it also show's up at the bottom of the page, i.e.,

    Comment by Anthony WB1EA; February 9, 2006 @
    Comment by JosueMedia WB1EA; February 9, 2006 @

    Trackback by Lockergnome's Windows Fanatics WB1EA; February 9, 2006 @

    Pingback by dennis yang dot com » Blog Archive » ADD Good For Techies!! w00t! WB1EA; February 10, 2006 @

    WB1EA; Next Page »

    I think it may have happened when I tried to adjust the css in my comments because I wanted to change the background color. I've tried searching for WB1EA, but can't find it. I'm using Northern Web Coders theme, my blog is http://adultaddstrengths.com

    any idea's?

    thanks

    Pete

  2. Kafkaesqui

    Posted 8 years ago #

    It's &#87B1EA; in the source, and not WB1EA;. I can't say offhand where this is in your templates, but you use:

    color: #87B1EA;

    in a few places in your css. I imagine it's just a goof on setting the color for a style attribute.

  3. addcoach
    Member
    Posted 8 years ago #

    Hi Kafkaesqui,

    this is what it used to be in my css file,

    #content #commentform input, #content #commentform textarea
    {
    background: #FFFFFF;
    border: 1px solid #87B1EA;
    font-size: 11px;
    padding: 2px;
    }

    AND

    #content code
    {
    color: #87B1EA
    }

    I just changed the color codes to so they're now

    #content #commentform input, #content #commentform textarea
    {
    background: #FFFFFF;
    border: 1px solid #007FFF;
    font-size: 11px;
    padding: 2px;
    }

    AND

    #content code
    {
    color: #7EC0EE
    }

    and uploaded it and refreshed the page and still have the same problem in all areas.

    But I found out I have it all over. I have it in my comments-popup.php, comments.php, index.php, page.php, and pagewidthkomment.php. I'm not sure if I should just delete the "87B1EA" or change colors or get rid of the code in front or behind it too.
    here's the code, what do you think?

    thanks

    Pete

    ++++
    comments-popup.php

    <?php if ($comments) { ?>
    <ol id="commentlist">
    <?php foreach ($comments as $comment) { ?>
    <li id="comment-<?php comment_ID() ?>">
    <?php comment_text() ?>
    <p><cite><?php comment_type(__('Comment'), __('Trackback'), __('Pingback')); ?> <?php _e("by"); ?> <?php comment_author_link() ?> &#87B1EA; <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite></p>
    </li>

    +++
    comments.php

    <?php foreach ($comments as $comment) : ?>
    <li id="comment-<?php comment_ID() ?>">
    <?php comment_text() ?>
    <p><cite><?php comment_type(__('Comment'), __('Trackback'), __('Pingback')); ?> <?php _e('by'); ?> <?php comment_author_link() ?> &#87B1EA; <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite> <?php edit_comment_link(__("Edit This"), ' |'); ?></p>
    </li>

    +++
    index.php

    <div style="margin: 10px 0 10px 0"><?php posts_nav_link(' &#87B1EA; ', __('&laquo; Previous Page'), __('Next Page &raquo;')); ?></div>
    <?php get_footer(); ?>

    ++++

    page.php

    <?php endif; ?>
    <div style="margin: 10px 0 10px 0"><?php posts_nav_link(' &#87B1EA; ', __('&laquo; Previous Page'), __('Next Page &raquo;')); ?></div>
    <?php get_footer(); ?>

    ++++

    pagewidthkomment.php

    <h3 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
    <div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> &#87B1EA; <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div>

    AND

    <div style="margin: 10px 0 10px 0"><?php posts_nav_link(' &#87B1EA; ', __('&laquo; Previous Page'), __('Next Page &raquo;')); ?></div>
    <?php get_footer(); ?>

  4. kickass
    Member
    Posted 8 years ago #

    try this:

    #content code
    {
    color: #7EC0EE; /*note closing semicolon*/
    }

    instead of this:

    #content code
    {
    color: #7EC0EE
    }

    Also, make sure the 0 in that hexadecimal is a numeral and not the capital letter O.

    Oh, and inline style? BBBAAADDD IDEA! Get rid of it and put it in the stylesheet.

  5. Kafkaesqui

    Posted 8 years ago #

    I agree with kickass on inline styles. Better to handle things from your stylesheet. But note that when removing it from your templates, set the posts_nav_link() tags from:

    posts_nav_link(' &#87B1EA; ', etc...

    to

    posts_nav_link('', etc...

    A final note that just inserting &#87B1EA; into your HTML content is not going to do anything. Well, other than display as WB1EA;

  6. addcoach
    Member
    Posted 8 years ago #

    Kickass,

    thanks for the ; fixed that.

    I'm not sure what an inline style is and which page/pages it is, can you tell me please?

    Kafkaesqui,

    so should I remove all instances of &#87B1EA; from all my php pages that have it?

    thanks

    Pete

  7. Kafkaesqui

    Posted 8 years ago #

    Inline styles are when the style attribute (and accompanying css declarations) is used in an HTML tag, like so:

    <div style="margin: 1px; color: #eee;">

    And yes, if you don't want the various WB1EA; showing up on your pages you'll have to take out the &#87B1EA; in your templates.

  8. addcoach
    Member
    Posted 8 years ago #

    Yes!!! it worked.

    thanks a lot guys

    Pete

  9. kickass
    Member
    Posted 8 years ago #

    I'm glad we could help.

Topic Closed

This topic has been closed to new replies.

About this Topic