WordPress.org

Ready to get started?Download WordPress

Forums

Magic Action Box
[resolved] Invalid W3C validation (2 posts)

  1. ricveal
    Member
    Posted 6 months ago #

    Hi! When I try to validate my page code, I recieved this 4 erros about Magic Action Box:

    Line 190, Column 110: & did not start a character reference. (& probably should have been escaped as &.)
    ….us7.list-manage.com/subscribe/postu=362ab50184d2c2546590fd6ea&id=df1d2aa9e0">

    Line 290, Column 178: Element link is missing required attribute property.
    …tion-box/assets/css/magic-action-box-styles.css' type='text/css' media='all' />

    Line 291, Column 181: Element link is missing required attribute property.
    …ugins/magic-action-box/styles/default/style.css' type='text/css' media='all' />

    Line 292, Column 166: Element link is missing required attribute property.
    …nido/uploads/magic-action-box/actionbox-336.css' type='text/css' media='all' />

    Can anyone help me? Thanks!

    http://wordpress.org/plugins/magic-action-box/

  2. Ryann Micua
    Member
    Plugin Author

    Posted 6 months ago #

    for #1, the & in the url should have been written as %26amp%3B

    for the others, that's because the css is being loaded in the footer and not in the <header>.

    Now, you may ask why is the css being loaded in the footer and not in the <header>? answer is simple, because during the start of page rendering, we sometimes don't know when we have an action box in the page or not. when we get to the part where we know that we have an action box (which is usually placed after the page content or in the sidebar), the <header> has already been rendered so we do the next best thing - load the css via wp_footer().

Reply

You must log in to post.

About this Plugin

About this Topic