WordPress.org

Forums

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

  1. gazzamit
    Member
    Posted 2 years 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 2 years 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

  • EG-Attachments
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.