Title: Link error
Last modified: December 7, 2017

---

# Link error

 *  [MickeSeise](https://wordpress.org/support/users/mickeseise/)
 * (@mickeseise)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/link-error-9/)
 * Hello. I’m trying this theme on localhost before I use it, and I have a question,
   under the “Recent works” you have a image with text under. When I link the image
   to a page and click on the mangify glass it opens the link in the same window.
 * But when I click on the text under the image it opens in a new window, how can
   I change that? What should it write as a link where the # is?
 * Regards Micke

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

 *  [weblizar_support](https://wordpress.org/support/users/weblizar_support/)
 * (@weblizar_support)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/link-error-9/#post-9762416)
 * Hello MickeSeise,
 * For add link –
    Go to Dashboard -> Appearance -> Customize -> Theme Options -
   > Portfolio Options -> here you can add link to portfolio -> save.
 * Now open enigma theme directory -> home-portfolio.php file and see the below 
   code at line no. 37 –
 * `<h3 class="port_<?php echo $i ?>"><a target="_blank" href="<?php echo esc_url(
   $wl_theme_options['port_'.$i.'_link']); ?>"><?php echo esc_attr($wl_theme_options['
   port_'.$i.'_title']); ?></a></h3>`
 * replace it with below code and save the file –
 * `<h3 class="port_<?php echo $i ?>"><a href="<?php echo esc_url($wl_theme_options['
   port_'.$i.'_link']); ?>"><?php echo esc_attr($wl_theme_options['port_'.$i.'_title']);?
   ></a></h3>`
 * Thanks.
 *  Thread Starter [MickeSeise](https://wordpress.org/support/users/mickeseise/)
 * (@mickeseise)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/link-error-9/#post-9764566)
 * I’ll shall try that. Thanks
 *  [weblizar_support](https://wordpress.org/support/users/weblizar_support/)
 * (@weblizar_support)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/link-error-9/#post-9765633)
 * Your Welcome,
 * Let us know for further query.

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

The topic ‘Link error’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/enigma/7.73/screenshot.png)
 * Enigma
 * [Support Threads](https://wordpress.org/support/theme/enigma/)
 * [Active Topics](https://wordpress.org/support/theme/enigma/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/enigma/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/enigma/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [weblizar_support](https://wordpress.org/support/users/weblizar_support/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/link-error-9/#post-9765633)
 * Status: not resolved