Support » Plugin: EG-Attachments » [EGA 2.0] Issues with the %TARGET% template tag

  • Resolved JohanPirlouit

    (@johanpirlouit)


    Hi everyone, hi EmmanuelG,

    First thank you for your plugin 😉

    It is the first time that I use it and I see a small bug with the %TARGET% template tag, the HTML code is not correctly rendered, like this:

    • %TARGET% renders target=”_blank, without the closing [“].
    • %TARGET=”_blank”% renders %TARGET=”_blank”%.
    • %TARGET=_blank% renders %TARGET=_blank%.

    I made a custom template to use the target tag:

    <dl class="attachments attachments-large">
    	<dt class="icon">
    		<a title="%TITLE%" href="%URL%" %TARGET% %NOFOLLOW%>
    			%ICON-48x48%
    		</a>
    	</dt>
    	<dd class="caption">
    		<a title="%TITLE%" href="%URL%" %TARGET% %NOFOLLOW%>%FILENAME%</a>
    	</dd>
    </dl>

    So, is it a bug or did I make a bad EG-Attachments configuration?

    I use WP 3.7.1 and EG-Attachments 2.0.0. I currently work on a developpement website so it is not online yet…

    Regards,
    Johan

    http://wordpress.org/plugins/eg-attachments/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[EGA 2.0] Issues with the %TARGET% template tag’ is closed to new replies.