• superfried

    (@superfried)


    Hello

    I am having trouble with NextGen custom fields a site I am developing for a DJ friend. I am a graphic designer, ok with html and css, but new to php.

    I have now replaced the custom fileds solution I found elsewhere with one posted by Shauno about 4 months ago. Instead of my images linking to a post or the custom field url I have inserted they do not link at all. When you click them it activates the next slide. This makes me think that perhaps I have selected something in the options that is overriding the custom fields. Or one of my other plugins is causing a conflict.

    Also, when I look at the code using chrome developer tools, there is no link showing wrapped around the images.

    In the fields for each image I have simply inserted a standard google url:
    http://www.google.co.uk

    Is this correct or do you also need the ‘href’ or to include a complete link code including the ‘img src’ etc?

    The development url is:

    http://www.atmosoft.co.uk

    Any help would be gratefully received!

    Superfried

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter superfried

    (@superfried)

    Ok, so I have been doing some more reading. I found that the ‘gallery.php’ file was inactive and potentially causing the problem. So I found a page that suggested I set-up a new file and locate it in a folder called ‘nggallery’ in my theme folder.

    Now, rather than use the actual nextgen widget, using shortcode in a text widget enables you to force it to link to the correct php file…

    New php file…
    gallery-latestreleases.php

    Located here…
    wp-content/themes/dancefloor/nggallery

    Shortcode…
    [nggallery id=1 template=latestreleases]

    So the slideshow works as before, but once again, the custom field links are not working and when you click on the image it simply brings in the next slide.

    If anyone can help with this it would be great, as this is one of the last niggles I need to iron out.

    The development url is:
    http://www.atmosoft.co.uk

    Superfried

    Thread Starter superfried

    (@superfried)

    Hi don’t worry about this question anymore.

    Used this slideshow instead.

    http://slideshow.hohli.com/
    http://wordpress.org/extend/plugins/a-slideshow/

    Simply put the code in a text widget where you can simply wrap the image code with link tags. Clean and simple.

    Thanks

    Superfried

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘NextGen Shortcode image links…’ is closed to new replies.