• Resolved karidemi

    (@karidemi)


    Is there a hook for modifying the actual HTML that is wrapping the documents? I’ve read the documentation on dg_doc_icon, but I want to change the divs to trs so I can wrap the whole thing in a table. The dg_doc_icon seems to only apply to the output of the documents themselves. Is there a hook to do what I ‘m describing?

    Thanks!

    https://ww.wp.xz.cn/plugins/document-gallery/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dan Rossiter

    (@danrossiter)

    Hi karidemi,

    No such hook currently exists, but I think it’s a very reasonable request and one that should not be difficult to implement. I will plan to include a new hook in the upcoming release to support filtering the outer HTML output.

    Thanks for the suggestion!
    -Dan

    EDIT: Issue has been added to our issue tracker: https://github.com/thenadz/document-gallery/issues/19

    PS: If you’ve found this plugin useful, please take a moment to rate it. Thanks! 🙂

    Thread Starter karidemi

    (@karidemi)

    Amazing! Thank you!

    Plugin Author Dan Rossiter

    (@danrossiter)

    My pleasure! 🙂

    Hope to get the official release out in the next ~48 hrs assuming no bugs show up last min.

    -Dan

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘modifying HTML output’ is closed to new replies.