Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi, I beleive I have experienced the same issue. I have installed the media tags plugin and tagged 9 files with the tag “Newsletters”. These files are all PDFs.

    When I visit the url media-tags/newsletters the files are listed correctly.

    But when I use the shortcode [media-tags media_tags=”Newsletters”] in a page content I get a list of 9 li’s with no visible content. In fact the HTML contains img tags with src=””.

    The problem is the default_item_callback function assumes the item is an image so it doesn’t work for PDF’s.

    I had to use a shortcode with a custom callback function such as [media-tags media_tags=”Newsletters” display_item_callback=”my_media_tag_display_function” ]

    I can provide the code I used for the custom function if that helps.

Viewing 1 replies (of 1 total)