WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Undefined piece of text being pulled into my site? (9 posts)

  1. mote
    Member
    Posted 2 years ago #

    A bit of a random one here, first off all you must understand I am new to coding, however I have been using firebug with good success to make certain aesthetic adjustments to my site...

    Only recently i have seen the word "hello" come (at the end) of every single one of my posts, I dont remember if this was here before hand but I cant seem to locate the rogue "hello" using firebug or manually searching it in any of my ccs/php etc coding...

    I'm wondering if its being pulled to my site from an external source?
    some advice would be greatly appreciated

    the website is as follows - http://www.airrifletweaks.com/

    kind regards
    Andy.

  2. deepbevel
    Member
    Posted 2 years ago #

    It does appear in Firebug, somehow it's part of the_excerpt. Possibly in the main loop template (loop.php/index.php) between the_excerpt and the read more, but you say you checked?

  3. mote
    Member
    Posted 2 years ago #

    hi deepbevel, i still can seem to find the issue, here is the code from the loop.php (between the excerpt and read more...)

    '<div class="excerpt">
    <?php padd_theme_share_button(); ?>
    <?php the_excerpt();?>
    <p class="links">
    " title="Permanent Link to <?php the_title_attribute(); ?>">Read More » |
    "><?php comments_number('No comments', '1 comment', '% comments'); ?> »
    </p>
    </div>'

    as for the index.php

    '<div id="content" class="content content-group content-index">
    <div class="pad">
    <div class="post-group">
    <?php get_template_part('loop','index'); ?>
    </div>
    </div>
    </div>'

    sorry im posting code, im just not up o speed yet

  4. deepbevel
    Member
    Posted 2 years ago #

    try disabling your social plugins. In fact you should disable/reenable all plugins, as well as try another theme to see if there's any change. Any new plugins or updates of any kind lately?

  5. mote
    Member
    Posted 2 years ago #

    issue resolved,

    thanks to deepbevel who suggested to check the plugins... i bulk deactivated them and refreshed the webpage - conflicting word vanished.
    so i activated them all and deactivated one at a time.

    found he culprit!

    thanks again deepbevel :D
    andy.

  6. deepbevel
    Member
    Posted 2 years ago #

    actually I'm a bit embarrassed, should have said that first thing. Glad you solved.

  7. mote
    Member
    Posted 2 years ago #

    loool, i was impressed thanks... if you like you could regain yourself by helping me out with one final issue i have...

    im using footer widgets in the widgets menu of wordpress however when i add say twitter, facebook, acheives, links etc to each footer 1, 2, 3 etc... they dont want to appear on the site.

    the side widgets work flawlessly.
    and yes i have made sure to click the save button on each footer widget before checking the site.

    cheers
    andy.

  8. deepbevel
    Member
    Posted 2 years ago #

    Could be your theme has different page templates it uses with diffrent sidebars. Possibly selectible from the page editor or theme settings?
    Is your home page static or the default posts page?

  9. mote
    Member
    Posted 2 years ago #

    the home page is the default posts page, at least for now anyways... il take a look at the settings menu but i cant say I have noticed anything to suggest this.

    i have had a play with the footer css and although i havent coded anything proper yet it does at least force the widgets to function, even if it is displayed incorrectly.

    il prob have to work on that for a bit... thanks for your help thus far!

    all the best
    andy.

Topic Closed

This topic has been closed to new replies.

About this Topic