WPChill / download-monitor

A WordPress plugin which provides an intuitive UI for uploading and managing downloadable files (including support for multiple versions), inserting download links into posts & logging downloads.
http://wordpress.org/extend/plugins/download-monitor/
262 stars 117 forks source link

Multiple downloads with the "Button" template on the same page #1449

Closed razvanaldea89 closed 6 months ago

razvanaldea89 commented 7 months ago

Describe the bug If we have multiple downloads with the "Button" template on the same page, the first button will be shown corrupted. Seems like the content is autop or something and it breaks the layout.

To Reproduce Steps to reproduce the behavior:

  1. Go to page and add multiple downloads with the "Button" template
  2. See error

Expected behavior The download button should appear normal.

Screenshots image

Extensions installed and activated:

Additional context Add any other context about the problem here.

razvanaldea89 commented 6 months ago

In order to test this you'll need to add in a page multiple shortcodes of Downloads, like so: image

cristinnaiulia commented 6 months ago

It's working now. Maybe add some space between them?

Screenshot 2024-05-14 105157

Screenshot 2024-05-14 104625

razvanaldea89 commented 6 months ago

Regarding spaces, should be based on theme styling and user placement.