WordPress.org

Ready to get started?Download WordPress

Forums

EG-Attachments
Feature request: showed lock icon option with custom type (2 posts)

  1. gazzamit
    Member
    Posted 1 year ago #

    Hello,

    I added a small code hack for my site that would be better setup as an additional custom variable %SHOWLOCK% to show lock icon when logged out. My hack for reference which just removes last </li> from $tmp, appends $lock_icon and readds </li>. After preg_replace section for custom type:

    //original code	$output .= $tmp;
    $output .= rtrim($tmp,"</li>").$lock_icon.'</li>';

    For example see http://www.gazzamit.co.uk/riffs/i-gotta-feeling/

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

  2. EmmanuelG
    Member
    Plugin Author

    Posted 1 year ago #

    Hi

    I am preparing a new version including this feature.

    You can test the beta by downloading the beta version.

    Emmanuel.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.