Title: ESP Projects's Replies | WordPress.org

---

# ESP Projects

  [  ](https://wordpress.org/support/users/espprojects/)

 *   [Profile](https://wordpress.org/support/users/espprojects/)
 *   [Topics Started](https://wordpress.org/support/users/espprojects/topics/)
 *   [Replies Created](https://wordpress.org/support/users/espprojects/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/espprojects/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/espprojects/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/espprojects/engagements/)
 *   [Favorites](https://wordpress.org/support/users/espprojects/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Relevanssi - A Better Search] PDFs documents not showing up in results](https://wordpress.org/support/topic/pdfs-documents-not-showing-up-in-results/)
 *  [ESP Projects](https://wordpress.org/support/users/espprojects/)
 * (@espprojects)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/pdfs-documents-not-showing-up-in-results/#post-2150105)
 * 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)