Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-17-2019, 07:12 PM   #1
HairyChick
Slowly dying
 
Industry Role:
Join Date: Sep 2012
Location: Padanaram
Posts: 3,091
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.
*****************************************
HairyChick is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2019, 08:10 PM   #2
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,383
Must be

Code:
<a href="text">Text</a><p>
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-17-2019, 08:46 PM   #3
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,078
Quote:
Originally Posted by CyberSEO View Post
Must be

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

.
__________________
All cookies cleared!
sarettah is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-18-2019, 04:41 PM   #4
HairyChick
Slowly dying
 
Industry Role:
Join Date: Sep 2012
Location: Padanaram
Posts: 3,091
Quote:
Originally Posted by CyberSEO View Post
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.
*****************************************
HairyChick is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-18-2019, 05:07 PM   #5
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,078
Quote:
Originally Posted by PamWinterReturns View Post
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.
.
__________________
All cookies cleared!
sarettah is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-18-2019, 06:22 PM   #6
Boozer
So Fucking Banned
 
Join Date: Feb 2005
Posts: 3,134
Code:
<a href”/text”/>Text</a><p>
Code:
<a href=”/text”/>Text</a><p>
See the difference?
Boozer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-18-2019, 07:24 PM   #7
HairyChick
Slowly dying
 
Industry Role:
Join Date: Sep 2012
Location: Padanaram
Posts: 3,091
Quote:
Originally Posted by Boozer View Post
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.
__________________
*****************************************
Anti-Semites have Small Penis Syndrome. The only known treatment is electroshock therapy combined with cerebellum removal. Fortunately, it’s a tiny procedure.
*****************************************
HairyChick is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-18-2019, 07:30 PM   #8
HairyChick
Slowly dying
 
Industry Role:
Join Date: Sep 2012
Location: Padanaram
Posts: 3,091
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.
*****************************************
HairyChick is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-20-2019, 07:17 PM   #9
HairyChick
Slowly dying
 
Industry Role:
Join Date: Sep 2012
Location: Padanaram
Posts: 3,091
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.
*****************************************
HairyChick is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
errors, line, code, pasted, underlined, time, text, widget, building, i’m, can’t, save, saved, causing, issue, handcoded, copy, i’ve, makes, sense, navigation, identical, half, wordpress, sidebar



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.