Wordpress Errors

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HairyChick
    Slowly dying
    • Sep 2012
    • 3091

    #1

    Wordpress Errors

    I’m building my left sidebar. Im using a Navigation widget but half the lines have errors. Im using identical pasted code on each line so this makes no sense.

    The code has
    Code:
    <a href”/text”/>Text</a><p>
    on each line. The errors underlined in red are
    Code:
    <a
    and
    Code:
    “/>
    and
    Code:
    <
    . BUT only the < and > are underlined.

    Not every line has the errors yet each line was pasted the same code.

    I can’t save the widget because of the errors. This is the second time I’ve handcoded this text but I saved a copy this time.

    Anyone know what is causing this issue?
    *****************************************
    Anti-Semites have Small Penis Syndrome. The only known treatment is electroshock therapy combined with cerebellum removal. Fortunately, it’s a tiny procedure.
    *****************************************
  • just a punk
    So fuckin' bored
    • Jun 2003
    • 32393

    #2
    Must be

    Code:
    <a href="text">Text</a><p>
    Obey the Cowgod

    Comment

    • sarettah
      see you later, I'm gone
      • Oct 2002
      • 14297

      #3
      Originally posted by CyberSEO
      Must be

      Code:
      <a href="text">Text</a><p>
      This

      .
      All cookies cleared!

      Comment

      • HairyChick
        Slowly dying
        • Sep 2012
        • 3091

        #4
        Originally posted by CyberSEO
        Must be

        Code:
        <a href="text">Text</a><p>
        If so, why do only certain lines show an error?
        *****************************************
        Anti-Semites have Small Penis Syndrome. The only known treatment is electroshock therapy combined with cerebellum removal. Fortunately, it’s a tiny procedure.
        *****************************************

        Comment

        • sarettah
          see you later, I'm gone
          • Oct 2002
          • 14297

          #5
          Originally posted by PamWinterReturns
          If so, why do only certain lines show an error?
          There is a long winded answer, that you would probably have trouble grasping that would explain what effect escape characters would have, etc..

          Instead of that, why not just try the code CyberSEO passed and see if it works.

          Here is the definition of the anchor tag with the href attribute. It will show proper usage:

          https://www.w3schools.com/tags/att_a_href.asp

          HTML <a> href Attribute

          Example
          The href attribute specifies the link's destination:

          <a href="https://www.w3schools.com">Visit W3Schools</a>

          Definition and Usage

          The href attribute specifies the URL of the page the link goes to.

          If the href attribute is not present, the <a> tag is not a hyperlink.
          .
          All cookies cleared!

          Comment

          • Boozer
            So Fucking Banned
            • Feb 2005
            • 3134

            #6
            Code:
            <a [COLOR="Red"]href[/COLOR]”/text”/>Text</a><p>
            Code:
            <a [COLOR="Red"]href=[/COLOR]”/text”/>Text</a><p>
            See the difference?

            Comment

            • HairyChick
              Slowly dying
              • Sep 2012
              • 3091

              #7
              Originally posted by Boozer
              Code:
              <a [COLOR="Red"]href[/COLOR]”/text”/>Text</a><p>
              Code:
              <a [COLOR="Red"]href=[/COLOR]”/text”/>Text</a><p>
              See the difference?
              Typo. The code is correct on the post.

              But the code is identical on each post so if I had done it wrong then all posts would err. That’s why I’m perturbed as every line is pasted yet 41 lines err.

              I’m trying to remember why I did /“ and “/ since that’s not usual html code. Originally I didn’t do that but it erred anyway.

              I wanted to see if doing it with my laptop versus the iPad would different. I’m not able to use the laptop right now.
              *****************************************
              Anti-Semites have Small Penis Syndrome. The only known treatment is electroshock therapy combined with cerebellum removal. Fortunately, it’s a tiny procedure.
              *****************************************

              Comment

              • HairyChick
                Slowly dying
                • Sep 2012
                • 3091

                #8
                Just remembered why ... the link should be domain.com/link.html” but I’m not putting the domain name there. After the link I end with slash quote but I can’t remember why.

                I’m changing a few links to include the domain name and testing that. Hopefully tonight I’ll do that or tomorrow
                *****************************************
                Anti-Semites have Small Penis Syndrome. The only known treatment is electroshock therapy combined with cerebellum removal. Fortunately, it’s a tiny procedure.
                *****************************************

                Comment

                • HairyChick
                  Slowly dying
                  • Sep 2012
                  • 3091

                  #9
                  Okay, just changed ten lines and there are 31 errors. Every line was pasted with code so they are identical Not every line has errors though.

                  The errors are the < symbol at < a href with no spaces; text”> and the > symbol; and < again at the end of < / a >

                  Errors only up to line fifteen with a few skipped.

                  Makes no sense at all and I can’t save it with errors. To see errors in the widget I have to paste the text and code each time.
                  *****************************************
                  Anti-Semites have Small Penis Syndrome. The only known treatment is electroshock therapy combined with cerebellum removal. Fortunately, it’s a tiny procedure.
                  *****************************************

                  Comment

                  Working...