Error on HTML validation
Google fonts link doesn`t have a title attribute and this cause an error when validating the HTML. Can you fix this please?
You're going to have to be WAY more specific, because I don't know what this means in and of itself.
The google fonts link is added in the head and in the footer of my wordpress. And this last, cause an error when I validating my web. See here.
We pushed an update for this. v3.1.8.12. Please update and try validating again.
Hi! Can you tell me what file/s I have to update? I have change ReduxCore and sample-config.php, my panel display 3.1.8.15 version but I have the same error when I validate.
Sorry, but after update the plugin this validation error continue. The output of Google fonts link don't validate.
Fix pushed. Should be fine now. Will push to WP.org next week.
The title attribute doesn't fix the error. I don't now what is the problem.
You didn't update redux with my github version. But yea, it seems like it's a character issue. Hmm.
Ok, just pushed a fix. I think that will fix the first error. Can you verify?
Ok, looked again at your site. You have an old version of redux or something. There's double google fonts being sent out and one we'd don't even use now.
Please update to the code on the repo and it should work. :)
Yes, it fix the first error, you are right! Thanks, I can't update now, I will do it when I get home, I hope it works, I love my code to validate correctly... ;) Thanks again!
You are so welcome.
If you're happy with Redux please leave a review: http://wordpress.org/support/view/plugin-reviews/redux-framework Also please like us on Facebook: https://www.facebook.com/ReduxFramework
Sorry @dovy but now, after update, my web doesn't recognize selected google fonts. The link go to correct url if you click on, but in my stylesheet I can't use it: This is the web: http://www.codetocode-developments.com/t-one/ the slider caption font is one of the problem.
Umm, that shouldn't cause a problem. Choose a more unique font like Aladin or whatever it is.
It doesn't work with aladin but works fine with open sans...
... That makes no sense at all.
This is my typography code:
$this->sections[] = array(
'icon' => 'el-icon-font',
'title' => __('Typography', 'redux-framework-demo'),
'fields' => array(
array(
'id'=>'body-font',
'type' => 'typography',
'title' => __('Body', 'redux-framework-demo'),
'google'=>true,
'output' => array('body'),
'line-height' => false,
'text-align' => false,
'font-style' => false,
'default' => array(
'color' => '#2F2F33',
'font-size'=>'16px',
'font-weight'=> '300',
'font-family'=>'Open Sans',
),
),
array(
'id'=>'headers-font',
'type' => 'typography',
'title' => __('Headers', 'redux-framework-demo'),
'google'=>true,
'output' => array('h1', 'h2', 'h3', 'h4', 'h5', 'h6'),
'line-height' => false,
'text-align' => false,
'font-weight'=> false,
'font-style' => false,
'default' => array(
'color' => '#26292a',
'font-family'=>'Merriweather',
),
),
array(
'id'=>'slider-font',
'type' => 'typography',
'title' => __('Slider Caption', 'redux-framework-demo'),
'google'=>true,
'output' => array('.caption-wrap .line-2', '.caption-wrap .line-3', '.caption-wrap .line-5 a', '.navbar-nav>li>a ', '.service-wrap .service-btm a'),
'line-height' => false,
'text-align' => false,
'font-style' => false,
'color' => false,
'font-size'=> false,
'font-weight'=> false,
'default' => array(
'font-family'=>'Montserrat',
),
),
)
);
This is a two month old closed ticket, no wonder I can;t find it. Please, next time, open a new one with the necessary information (https://github.com/ReduxFramework/redux-framework/blob/master/CONTRIBUTING.md).
I tried your code, the output produces this:
<link rel="stylesheet" id="options-google-fonts" title="google-fonts" href="//fonts.googleapis.com/css?family=Open+Sans:300%7CMerriweather%7CMontserrat%7C&v=1399053694" type="text/css" media="all" />
I opened that link and all the google data is in there. So, what exactly is the issue?
The problem is when I use this fonts on my stylesheet it doesn't work.
Yea, exactly. It works fine from what I see...