Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   [SOLVED] Would like to open headline links in new window (http://forum.bytesforall.com/showthread.php?t=9092)

markdolar Aug 21, 2010 11:09 PM

[SOLVED] Would like to open headline links in new window
 
Hello,

I have a atahualpa 3.5.3 theme that I have integrated into my blog design. I would like to set up my blog page so that when the headline link is clicked on, a new window opens for the comment and email reply screen. Right now, it opens in the same window as the blog. Is this possible and how would I accomplsih it? Thanks

Mark

markdolar Aug 22, 2010 09:44 AM

You can see what I'm working on at:

http://www.pwrfngr.com/news

Mark

juggledad Aug 23, 2010 04:36 AM

You will have to add a
HTML Code:

target="_blank"
to the link code in the routine bfa_post_headline in bfa_post_parts.php

markdolar Aug 23, 2010 10:52 AM

Thank you so much - it worked!

I'm kinda new at this, so I'm posting the changed code here in case someone else needs the same thing:


<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php

New:

<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>" target="_blank"><?php

Mark


All times are GMT -6. The time now is 02:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.