WordPress.org

Ready to get started?Download WordPress

Forums

Featured Posts Grid
w3c validator : errors (2 posts)

  1. chadhugo
    Member
    Posted 1 year ago #

    Hi,

    my wordpress site has 0 errors with the w3c validator http://validator.w3.org/

    but when i activate fpg, it makes 2 errors by "cell" :

    required attribute "alt" not specified
    
    …ent/uploads/2012/09/senst-90x90.jpg" /><div class="fpg-text"><h3 class="fpg-ti…
    
    The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
    
    Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.

    AND

    document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
    
    …nst-90x90.jpg" /><div class="fpg-text"><h3 class="fpg-title">test thumbnail</h…
    
    The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
    
    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

    Do you have the same errors?
    Or maybe i've made a mistake. I only copy the code in header.php :

    <?php if (function_exists('fpg_show')) {
                $args = array(
                    'cat'     => '',/* comma separated list of category ids to include (put '-' in front of ids to exclude) */
                    'tag'     => '' /* comma separated list tag slugs to include */);
                echo fpg_show($args);
            }?>

    http://wordpress.org/extend/plugins/featured-posts-grid/

  2. Chaser324
    Member
    Plugin Author

    Posted 1 year ago #

    These are fairly trivial errors, but they are something that I'll make note of and correct if/when I do a future update...however, I think at this point I would probably just start from scratch and make a new FPG2 plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.