Forums

[resolved] "Invisible" code spreading, changing website!? (18 posts)

  1. statelawattorneycom
    Member
    Posted 2 years ago #

    So, starting a few days ago, almost all of the text on my website started to become bold, despite there not being any or other code commands telling it to become bold. At first, problem was only in the main column content, but then spread to sidebars.

    Then, previously "correct" links starting spreading. For example, the link was set up to encompass only the words "click here", but then expanded to include all text before and after, until it ran up against another "real" link.

    I've tried to make some changes to counteract this, but with little success. The theme I'm using is Frugal Theme (by Eric Hamm), and this does not seem to be a problem others are having. The code I can see via the WordPress "Edit Page" function does NOT contain code commanding these odd things to happen.

    Help?!? This is screwing up my business/life. Thanks!

    --Jason http://www.CivilLawyerOnline.com

    [mod note - edited out extra strong tags]

  2. statelawattorneycom
    Member
    Posted 2 years ago #

    This is my own, immediate update. My post above should only have bold for the words "become bold" in the second line - that is all I bolded, and I saw the opening and closing code/tags. Yet you can see how almost the entire post is bold (no idea why the 5 words starting with "Despite" are not bold like the rest).

    EXPERIMENT: I'm going to now bold only the word "burrito" in this last line, and let's see what happens: let's all throw a burrito at the evil which is screwing up my website.

  3. songdogtech
    Member
    Posted 2 years ago #

    You have missing closing </strong> tags that are causing the bold problems: [Invalid]Markup Validation of civillawyeronline.com - W3C Markup Validator. Scroll down in the validation report to see line numbers and source code. Use the html editor tab in wordpress to see the code.

  4. statelawattorneycom
    Member
    Posted 2 years ago #

    Thank you very much, SongDogTech, for your effort and suggestions - I shall explore this. At first glance of the Markup Validation, I see the errors - but none of these 'errors' show up/are viewable when I am looking at the code within WordPress. So I don't see how I can 'fix' what I can't see/what doesn't exist in any viewable format within my pages.

    I'm not an expert at this, by any means, but when I view the code via the WordPress page editor, all of the tags DO have closing tags. In fact, my sidebar has no bolding code at all (and never did) yet has also transformed into all bold. Similarly, I created a page last night, inserted zero text code commands (no bold, no italics, no underline, etc.) and it was all bold.

    Then, there is the issue of my links starting out normal/as written/as intended (encompassing 1 or 2 words, generally) and then somehow extending to encompass full paragraphs.

    All this, plus my original WordPress Forum posting above having random bolding . . . what the heck? Could this be viral?

  5. statelawattorneycom
    Member
    Posted 2 years ago #

    See, the posting above by me, I did NOT bold the words "tags DO having closing", but there they are, bolded!

  6. songdogtech
    Member
    Posted 2 years ago #

    If you look at the *source code* of your site and the source code at the bottom of the validation report, you will see that you are missing a closing </strong> tag in your text widget in the sidebar that begins "General Legal Advice..." You added that text widget and the links it in, and that's where the error is. And that is cascading down and bolding everything else on your page.

    As for the bolding in your text in this forum, you *are* adding the bolding yourself, probably by cutting and pasting text into the text box here on the forum.

  7. mrmist
    Forum Janitor
    Posted 2 years ago #

    I suspect you have a theme issue, in that you have an opening bold or strong tag somewhere in the header that isn't properly closed, and is leaking into your entries.

  8. statelawattorneycom
    Member
    Posted 2 years ago #

    Thanks, everyone.

    SongDogTech, I do PROMISE you I am not cutting and pasting at all, and I did not, in any way, add any text commands in this post or the previous ones. That previous post and this one were written with nothing but regular weight and font original text with the exception of one word in all caps in each. (Not trying to argue, just communicating that I really am not doing anything.)

    MrMist, that makes sense to me (as a non-expert) and I will look into it. Not sure if that 'cause' would be consistent with the issues that SongDogTech found when he ran the MarkUp Validator.

    Will be interesting to see if this post contains any bolding once I hit "post" - right now, as I look at it, there is none, and I did not cut and paste, etc.

  9. statelawattorneycom
    Member
    Posted 2 years ago #

    Oh, and SongDogTech, just to clarify (my fault), the left sidebar (sidebar 1) is supposed to be bold the whole way. It's the right sidebar (sidebar 2) which wasn't bold, isn't supposed to be bold, and has no bolding in the code when I view it via WordPress. It "bolded itself" a day or two ago.

    (Again, this post contains original text with no formatting code commands.)

  10. songdogtech
    Member
    Posted 2 years ago #

    I said earlier that

    ... you are missing a closing tag in your text widget in the sidebar that begins "General Legal Advice..." You added that text widget and the links it in, and that's where the error is. And that is cascading down and bolding everything else on your page.

    I just went to the trouble of dumping your html into localhost, added the missing </strong> tag, and what a surprise, your page text is no longer bold. So fix the missing </strong> in your text widget.

    The bolding in this forum is a different animal and isn't important at this point.

  11. statelawattorneycom
    Member
    Posted 2 years ago #

    Hey, Song, sorry if you are frustrated with me, I know you're trying to help. What I was trying to say is that the sidebar beginning "General Legal Advice" IS supposed to have the unclosed <strong> tag - that sidebar is supposed to be all bold and always has been.

    The sidebar beginning with "Wills, Trusts" is an example of an area which
    converted to all bold, despite me not adding any such tags and no <bold> code being present/seen via the WordPress page editor.

  12. statelawattorneycom
    Member
    Posted 2 years ago #

    (again, my post above has randomly bolded part of itself - that's never happened before today, and seems like it can't be a coincidence, given what's going on with the website)

  13. songdogtech
    Member
    Posted 2 years ago #

    I know "General Legal Advice" is supposed to be bold; there's a starting bold (<strong>) tag there. What you're not understanding is that because the bold end tag (</strong>) is missing after the Legal Analysis link, everything else on the page goes bold.

    The reason why some of the words in your posts are going bold in this forum is because you're typing in a strong tag as an example and it's going bold, because you're not escaping the code with backticks or the code button to prevent it from being rendered in html as bold.

  14. mrmist
    Forum Janitor
    Posted 2 years ago #

    again, my post above has randomly bolded part of itself - that's never happened before today, and seems like it can't be a coincidence, given what's going on with the website)

    As songdogtech said, your posts aren't randomly emboldening themselves. You're typing <strong> in them, which is being picked up by the markup reader (as you can see in the text below the input box here strong is an allowed markup tag).

    If you read back through your posts here, (except the one I fixed above), you'll see that whereever you have typed <strong> it's been magically emboldened.

  15. statelawattorneycom
    Member
    Posted 2 years ago #

    Good points regarding the bolding in the posts, an obviously stupid thing on my end . . . except why didn't that unclosed bold enbolden the rest of the post, instead of just one word or a few words?

    SongDogTech, I now understand what you are saying, and apologize for not getting it earlier; thanks for your patience in explaining. Your thought makes sense, although it seems odd that this "bleed over" to the rest of the page content never occurred until a few days ago. I shall attempt to correct the problem you've identified forthwith and report back.

    Thanks again.

  16. statelawattorneycom
    Member
    Posted 2 years ago #

    This worked - and made my day. Thank you so much.

    I suppose that, before recent WP and theme updates, the unclosed tags were being cut off by the end of the sidebar and were not 'bleeding over' to impact the rest of the code, but that appears to have changed.

    A lesson learned.

  17. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    http://validator.w3.org/check?uri=http%3A//civillawyeronline.com/&doctype=Inline&ss=1&group=0&user-agent=W3C_Validator/1.654

    It's good you got this sorted out.....just a bit of advice, this is the link @songdogtech posted above. It is highly adviseable to take a look at what's going on here and fix your coding (mismatched tags, etc). These things can rear their ugly heads in the future and cause you more issues

  18. songdogtech
    Member
    Posted 2 years ago #

    Glad that worked. You might have edited that text widget at some point, or inadvertably had another tag somewher that cancelled the bolding.... But it works now.

Topic Closed

This topic has been closed to new replies.

About this Topic