WordPress.org

Ready to get started?Download WordPress

Forums

Document Attachment Widget
[resolved] Improper html, major error. (2 posts)

  1. robertjakobson
    Member
    Posted 1 year ago #

    See what is wrong with the code below?

    <aside> <section id="featuredimagewidget-2" class="widget-container widget_featuredimagewidget"><h2 class="widget-title">Tootepilt</h2><img width="233" height="234" src="http://valnes.ee/wp-content/uploads/2012/07/c68-pilt2.jpg" class="attachment-medium wp-post-image" alt="c68-pilt2" title="c68-pilt2"></section><div class="attachment_holder"><h2 class="widget-title">Toote dokumentatsioon</h2><ul class="attachment"><li class="pdf"><a title="Download the uksesulgurid_prospekt_web" href="http://valnes.ee/wp-content/uploads/2012/07/uksesulgurid_prospekt_web1.pdf">uksesulgurid_prospekt_web</a><span class="filesize"> 642.41 KB</span><br></li></ul></div></aside>

    You are giving the widget the wrong html with a div being used instead of a section as described in the theme.

    plus you are forcing all the widgets below the attachment widget out of the sidebar.

    Please correct this ASAP.

    http://wordpress.org/extend/plugins/document-attachment-widget/

  2. Geansai
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Robert,
    We have taken onboard your comments and have made the amends, which you have suggested, the HTML output now renders as so:

    <section class="attachment_holder widget_document_attachments">
    <h3 class="widget-title">Document attachments</h3>
    <ul class="attachment">
    <li class="msword">
    Download.doc
    <span class="filesize"> 21.50 KB</span>
    <span class="description"></span>

    </section>

    Many thanks for spotting this issue.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic