Title: Two Buttons
Last modified: August 21, 2016

---

# Two Buttons

 *  [ollistudio](https://wordpress.org/support/users/ollistudio/)
 * (@ollistudio)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/two-buttons/)
 * Is there a way to make two buttons? What I am trying to do is Have a button called
   English // Korean and direct these buttons to the following link. english.gapck2014.
   org and korea.gapck2014.org
 * Or if there is another way to do this please advise me
 * thank you for your time~
 * [https://wordpress.org/plugins/wp-splash-page/](https://wordpress.org/plugins/wp-splash-page/)

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

 *  [Nemesisss](https://wordpress.org/support/users/nemesisss/)
 * (@nemesisss)
 * [12 years ago](https://wordpress.org/support/topic/two-buttons/#post-4689450)
 * I have done this in the splash-page.php.
 * I added some php variables for my second button. The first button stayed the 
   same (go to site URL) but it’s just a URL change for the button.
 * I added the following for my second button:
 *  `<?php
 *  $image_name = ‘[http://mysite/wp-content/plugins/wp-splash-page/templates/mydefault/facebook.png&#8217](http://mysite/wp-content/plugins/wp-splash-page/templates/mydefault/facebook.png&#8217);;
   
   $image_url = ‘[http://www.facebook.com/&#8217](http://www.facebook.com/&#8217);;
 *  ?>`
 * Then I added the new button:
 *     ```
       <!-- === Continue Button === -->
           <div>
             <div>
               <a id="wpsp-continue" class="button" href="<?php echo esc_url( $this->current_url ); ?>" ><?php echo esc_html( $this->settings['continue_button_text'] ); ?></a>
             </div>
             <div>
             <a id="button2" class="button2" href='<?php echo $image_url; ?>'><img src='<?php echo $image_name; ?>'></a>
             </div>
           </div>
       ```
   
 *  [jesseali](https://wordpress.org/support/users/jesseali/)
 * (@jesseali)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/two-buttons/#post-4689467)
 * Nemesisss, can you tell me where you added this code?
 * I know where the continue button code is, but I do not know where to add the:
 *     ```
       <?php
   
       $image_name = 'http://mysite/wp-content/plugins/wp-splash-page/templates/mydefault/facebook.png';
       $image_url = 'http://www.facebook.com/';
   
       ?>
       ```
   
 * part.

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

The topic ‘Two Buttons’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-splash-page_e1e7e9.svg)
 * [WP Splash Page](https://wordpress.org/plugins/wp-splash-page/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-splash-page/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-splash-page/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-splash-page/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-splash-page/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-splash-page/reviews/)

## Tags

 * [splash-page](https://wordpress.org/support/topic-tag/splash-page/)
 * [two buttons](https://wordpress.org/support/topic-tag/two-buttons/)

 * 2 replies
 * 3 participants
 * Last reply from: [jesseali](https://wordpress.org/support/users/jesseali/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/two-buttons/#post-4689467)
 * Status: not resolved