WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: NextGEN Gallery] permalinks in ImageBrowser (1 post)

  1. Nicolas
    Member
    Posted 2 years ago #

    Hi here,

    I'm using the option "The gallery will open the ImageBrowser instead the effect" and as result I have the following permalinks:
    mysite.com/gallery/?pid=1

    I have also on the page a facebook plugin (SFC). When you click on "Like" this plugin use get_permalink and you like "mysite.com/gallery/"

    I'd like to change the permanlink to the specific image (mysite.com/gallery/?pid=1). My site will display party pics and I'm sure visitors want to like/share the picture where they are actually showing up and not the full gallery.

    I tried to change this line without success.
    if (empty($url)) $url = get_permalink($id);

    Thanks in advance!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.