Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter iainnorman-1

    (@iainnorman-1)

    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.

    Thread Starter iainnorman-1

    (@iainnorman-1)

    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 ‘[Plugin: EG-Attachments] Using media tags to create classes in the URL’ is closed to new replies.