Forums

NextGEN Gallery
[resolved] NextGEN & HTML Validation (4 posts)

  1. xroox
    Member
    Posted 7 months ago #

    "Bad value NextGEN for attribute name on element meta: Keyword nextgen is not registered"

    <meta name='NextGEN' content='1.8.3' />

    Can anyone offer any advice on this?

    I tested my site and came up with this error (and two others). I would really like to fix this but unsure of what to do. Thank you.

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. xroox
    Member
    Posted 7 months ago #

    I am also getting a second error which seems to be related to NextGEN while I am at it.

    "Line 247, Column 45: Element script must not have attribute defer unless attribute src is also specified."

    <script type="text/javascript" defer="defer">
    jQuery(document).ready(function(){
    jQuery("#ngg-slideshow-1-1930-1").nggSlideshow( {id: 1,fx:"fade",width:350,height:233,domain: "http://healthwisekelowna.com/",timeout:10000});
    });
    </script>

    Someone posted an explanation regarding this problem on stackoverflow.com - http://stackoverflow.com/questions/5325436/why-can-you-only-use-defer-when-src-is-specified - but I'm not sure how to deal with the error. Thanks.

  3. Alex Rabe
    Member
    Posted 7 months ago #

    See here : http://code.google.com/p/nextgen-gallery/source/detail?r=1011

    with the upcoming NGG 1.9.0 you can remove the meta value

    remove_action('wp_head', array('nggGallery', 'nextgen_version') );

  4. piginthepoke
    Member
    Posted 7 months ago #

    In the meantime you can fix this by editing the plugin and commenting out the add_action line in nggallery.php by adding // as below:

    // Add a version number to the header
    			// add_action('wp_head', create_function('', 'echo "\n<meta name=\'NextGEN\' content=\'' . $this->version . '\' />\n";') );

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.