Erros de validação W3C no Wordpress

  • Autor Autor risquet
  • Data de início Data de início
Tradução em andamento: em alguns minutos este tópico estará em português. Por enquanto, o conteúdo está no original em espanhol. Ver original
R

risquet

Delta
Usuário com poucas negociações! Use sempre o saldo do ForoBeta!
Me aparecen este error:

Error: Bad value http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic|Bree+Serif for attribute href on element link: Illegal character in query: not a URL code point.
From line 28, column 142; to line 29, column 155
a='all' />↩<link rel='stylesheet' id='webfonts-css' href='http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic|Bree+Serif' type='text/css' media='all' />↩
Syntax of URL:
Any URL. For example: /hello, #canvas, or Example Domain. Characters should be represented in NFC and spaces should be escaped as %20.

¿qué se supone que tengo que hacer? Suprimir ese href del código web??

En el código fuente está esa línea tal cual, pero en el editor de wordpress no aparece así en el functions.php, que es donde me aparece eso más o menos, aunque en el código fuente aparece en la cabecera pero bueno... ¿debo ir al root y modificar algún archivo?

Aquí otro error que me aparece

Error: Bad value generator for attribute rel on element a: The string generator is not a registered keyword.
From line 506, column 20; to line 506, column 115
owered by <a href="http://wordpress.org/" title="A Semantic Personal Publishing Platform" rel="generator">WordPr
Syntax of list of link-type keywords:
A whitespace-separated list of link types, with no duplicate keywords in the list. Each link type must be listed as allowed on <a> and <area> in the HTML specification, or must be listed as allowed on <a> and <area> on the Microformats wiki, or must be an absolute URL. You can register link types on the Microformats wiki yourself.

Se supone que debo cambiar la palabra "generator" por otra??
 
Última edição:
Foi útil? Participe da conversa

Com sua conta grátis você pode responder, mandar mensagem privada ao autor e comprar com Saldo retido: o pagamento é liberado quando você recebe o combinado.

Leva 30 segundos · você volta a este tópico ao terminar
[MENTION=42312]risquet[/MENTION] Te está explicando el error y como corregirlo.

For example: /hello, #canvas, or Example Domain. Characters should be represented in NFC and spaces should be escaped as %20.

entonces simplemente cambia | por %7C
 
[MENTION=42312]risquet[/MENTION] Te está explicando el error y como corregirlo.

For example: /hello, #canvas, or Example Domain. Characters should be represented in NFC and spaces should be escaped as %20.

entonces simplemente cambia | por %7C

Pero eso aparece en el código fuente tal cual, pero en functions.php me aparece así:

function emphaino_enqueue_webfonts() {
$font_families[] = 'PT+Sans:400,700,400italic';
$font_families[] = 'Bree+Serif';

$protocol = is_ssl() ? 'https' : 'http';
$query_args = array(
'family' => implode( '|', $font_families ),

Debo cambiar el | de la última línea por %7C simplemente??
 
Pero eso aparece en el código fuente tal cual, pero en functions.php me aparece así:

function emphaino_enqueue_webfonts() {
$font_families[] = 'PT+Sans:400,700,400italic';
$font_families[] = 'Bree+Serif';

$protocol = is_ssl() ? 'https' : 'http';
$query_args = array(
'family' => implode( '|', $font_families ),

Debo cambiar el | de la última línea por %7C simplemente??

Yes..........
 
Voltar
Topo