WordPress.org

Ready to get started?Download WordPress

Forums

prettyPhoto Media
[resolved] prettyPhoto selector only works with default (3 posts)

  1. admintiger
    Member
    Posted 2 years ago #

    prettyPhoto isn't selected during run-time if the prettyPhoto selector on the "prettyPhoto Media Settings" page is changed to anything other than the "prettyPhoto" default.

    http://wordpress.org/extend/plugins/prettyphoto-media/

  2. admintiger
    Member
    Posted 2 years ago #

    The problem above can be corrected by changing Line 61 in prettyPhoto-media_functions.php ...

    From:

    $out .= '$(\'a[' . prettyphoto_get_option( 'hook' ) . '^="prettyPhoto"]\').prettyPhoto(';

    To:

    $out .= '$(\'a[' . prettyphoto_get_option( 'hook' ) . '^="'. prettyphoto_get_option( 'ppselector' ) . '"]\').prettyPhoto(';

    -Bob

  3. binhdo
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks, Bob! This has been changed in v1.4, should be available soon.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.