GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Wordpress Errors (https://gfy.com/showthread.php?t=1319836)

HairyChick 11-17-2019 07:12 PM

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?

just a punk 11-17-2019 08:10 PM

Must be

Code:

<a href="text">Text</a><p>

sarettah 11-17-2019 08:46 PM

Quote:

Originally Posted by CyberSEO (Post 22562636)
Must be

Code:

<a href="text">Text</a><p>

This :thumbsup

.

HairyChick 11-18-2019 04:41 PM

Quote:

Originally Posted by CyberSEO (Post 22562636)
Must be

Code:

<a href="text">Text</a><p>

If so, why do only certain lines show an error?

sarettah 11-18-2019 05:07 PM

Quote:

Originally Posted by PamWinterReturns (Post 22563092)
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

Quote:

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.
.

Boozer 11-18-2019 06:22 PM

Code:

<a href”/text”/>Text</a><p>
Code:

<a href=”/text”/>Text</a><p>
See the difference?

HairyChick 11-18-2019 07:24 PM

Quote:

Originally Posted by Boozer (Post 22563136)
Code:

<a href”/text”/>Text</a><p>
Code:

<a href=”/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.

HairyChick 11-18-2019 07:30 PM

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

HairyChick 11-20-2019 07:17 PM

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.


All times are GMT -7. The time now is 12:35 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123