ReneGe
asked on
WordPress - Edit Page - Link button to URL
Hi there,
I am editing a header page in WordPress
I need to link a button directly to a URL, and in a new page or tab.
Current:
<div class="navitem"><a href="<?php bloginfo('home'); ?>/apply/">Apply</a></div>
To directly link to the following fictitious link, and in a new page, or TAB: http://55.1.22.0/server/apply.jsp
Thanks for your help,
Rene
I am editing a header page in WordPress
I need to link a button directly to a URL, and in a new page or tab.
Current:
<div class="navitem"><a href="<?php bloginfo('home'); ?>/apply/">Apply</a></div>
To directly link to the following fictitious link, and in a new page, or TAB: http://55.1.22.0/server/apply.jsp
Thanks for your help,
Rene
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi esskayb2d,
Thanks for your prompt reply.
Your solution works perfectly.
Thanks and cheers :)
Rene
Thanks for your prompt reply.
Your solution works perfectly.
Thanks and cheers :)
Rene
ASKER
Can you please tell me what would it be for opening a new tab rather than a new window?
Thanks
Thanks
i think that depends on the browser
ASKER
I tried with Chrome, I.E. and Firefox. All 3 opens a new tab.
No worries, I'm happy with the tab, so we don't need to spend more time on this.
Thanks mate :)
No worries, I'm happy with the tab, so we don't need to spend more time on this.
Thanks mate :)
if you want a new window, you can set size
ASKER
Thanks :)
<div class="navitem"><a href="<?php bloginfo('home'); ?>/apply/">Apply</a></div>
to
<div class="navitem"><a href="http://55.1.22.0/server/apply.jsp">Apply</a></div>