Link to the theme (https://custom.simplemachines.org/index.php?theme=2728)
(https://smftricks.com/logos/logo.png) (https://smftricks.com/)
Free & Premium Responsive Themes for SMF
(https://smftricks.com/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FhPUv3uu.png&hash=7f1f16c690407e1b7d485bff9f57a62a3e1ebc5c)
(https://img.shields.io/badge/License-MPL%202.0-a05a3f?style=flat-square) (https://img.shields.io/badge/SMF-2.0-996ee1?style=flat-square) (https://img.shields.io/badge/Responsive-No-6e97e1?style=flat-square)
NovoDeveloped by Diego Andrés (https://www.simplemachines.org/community/index.php?action=profile;u=254071)Features
Demo Online (http://demo.smftricks.com/index.php?theme=32)GitHub (https://github.com/SMFTricks/Novo)
Thank you for providing Novo as a free theme, I really like it.
But I have a question about the links on the top, I configured these using the theme setup, but I can't figure out how to amend the the links so they open in a new browser page (target="_blank").
I've searched a few php pages but can't find where I should change the HTML, I'd be most grateful if someone could point me to the correct file to change.
Thanks
Open index.template.php and search
<ul class="links floatleft">
Below you'll see the links. e.g. the link one is:
<li><a href="', empty($settings['link_top1_url']) ? '' : '' . $settings['link_top1_url'] . '', '">', empty($settings['link_top1']) ? $txt['link_top1'] : $settings['link_top1'], '</a></li>
Just replace <a with <a target="_blank"
e.g.
<li><a target="_blank" href="', empty($settings['link_top1_url']) ? '' : '' . $settings['link_top1_url'] . '', '">', empty($settings['link_top1']) ? $txt['link_top1'] : $settings['link_top1'], '</a></li>
Muchas gracias por su respuesta rapida!