Title: 2 advanced problems
Last modified: August 19, 2016

---

# 2 advanced problems

 *  [zedesino](https://wordpress.org/support/users/zedesino/)
 * (@zedesino)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/2-advanced-problems/)
 * Hello coders,
    I have 2 problems, on website i’m making right now [link](http://www.projectmainst.org/project-main-sts-2007-fundraiser)
 * this link show us single post of past events.
    I need somehow to fix that when
   you click on THANK YOU button to go to post where you can see donators and guests
   of only this event. How to do that, is there someway to connect to posts or to
   add custom field for this list and when you click on button to get somehow.
 * Second problem is less difficult (i guess), when user click on PHOTOS need to
   pop up lightbox gallery with uploaded images, what is the best way to do this.
   TO add somehow images from wp add media or there is some good plugin for it. 
   I now how to call lightbox but how to organize gallery to be hidden and when 
   click on PHOTOS to get lightbox “pop up” with big images and left right navigation.
 * Thank you for the answers.

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

 *  [moronicbajebus](https://wordpress.org/support/users/moronicbajebus/)
 * (@moronicbajebus)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/2-advanced-problems/#post-850831)
 * I’ll tackle the first one.
 * When you are creating/editing the post, go down to “Custom Fields” where you 
   will add a key of “thank_you_url” and then the value will be the actually URL
   you want to send people to.
 * In you template, Just use the following snippet:
 *     ```
       <?php
       $thank_you_url = get_post_meta($post->ID, 'thank_you_url', true);
       if($thank_you_url): ?>
       <a href="<?php echo rawurlencode($thank_you_url); ?>">Thank You</a>
       <?php endif; ?>
       ```
   
 *  Thread Starter [zedesino](https://wordpress.org/support/users/zedesino/)
 * (@zedesino)
 * [17 years, 7 months ago](https://wordpress.org/support/topic/2-advanced-problems/#post-851072)
 * Thank you for the answer.
    It works nice. i will use same metod for second question.
 * Ciao!

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

The topic ‘2 advanced problems’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [zedesino](https://wordpress.org/support/users/zedesino/)
 * Last activity: [17 years, 7 months ago](https://wordpress.org/support/topic/2-advanced-problems/#post-851072)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
