WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Custom Fields
[resolved] Not working with Super slides (6 posts)

  1. Wish Web Geek
    Member
    Posted 2 years ago #

    I would like someone to be able to click on my supersized images and then be taken another page on the site.

    I have the supersized slides on the home page only.

    I uploaded my supersized slides in NextGen gallery and then set Superslides plugin up to get images from the NextGen gallery.

    I use the Nextgen-Gallery-Custom-Fields plugin with NextGen gallery. So I thought the slides would go to the link indicated but they do not. Do you have a solution?

    Thank you,

    http://wordpress.org/extend/plugins/nextgen-gallery-custom-fields/

  2. shauno
    Member
    Plugin Author

    Posted 2 years ago #

    You can use the API provided by NGGCF <?php echo nggcf_get_field($pid, 'Your Field Name'); ?> pretty much anywhere you can output PHP in WordPress.
    I am not familiar with the Supersize plugin, so perhaps the author of that plugin could explain where exactly the templates are for the output.

  3. Wish Web Geek
    Member
    Posted 2 years ago #

    I'm not familiar with that code. Is $pid = $photo id? Would 'Your field name'='link' in my case?

    Thanks so much.

  4. shauno
    Member
    Plugin Author

    Posted 2 years ago #

    Hi roxanna
    Yes, the $pid is the ID of the photo. The 'Your field name' is the name that you gave the custom field when you set it up.

  5. Wish Web Geek
    Member
    Posted 2 years ago #

    I really don't understand how to use this or how it works <?php echo nggcf_get_field($pid, 'Your Field Name'); ?>

    Can you explain further? Thank you.

  6. shauno
    Member
    Plugin Author

    Posted 2 years ago #

    It's a snippet of code, that will output the custom field for a specific picture.
    If you can't copy and paste code into a template, then I'm not sure you should be messing with your WP install. If you can't turn a spanner, you don't change your car's oil.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags