WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: EG-Attachments] Using media tags to create classes in the URL

[Resolved] [Plugin: EG-Attachments] Using media tags to create classes in the URL

Viewing 2 replies - 1 through 2 (of 2 total)
  • Part of the way there – I’ve managed to pass the relevent document tag into the dt icon class by changing <dt class="icon"> to <dt class="icon-'.$tags.'"> on line 552 of eg-attachments-public.inc.php

    might have to change dt to li so I can change the bullet icon for each class.

    sorted

    Just switch off ‘show icons’ in the widget settings and update the code below with the following for standard list format (lines 561 – 563 of eg-attachments-public.inc.php)

    $output .= '<li class="attachments attachments-'.$tags.'">'.
    		implode('<br />', $caption_list).
    		'</li>';

    – then just use css to replace the bullet point style with an image.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: EG-Attachments] Using media tags to create classes in the URL’ is closed to new replies.