Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

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


  #1  
Old Aug 22, 2010, 12:09 AM
markdolar
 
10 posts · Aug 2010
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
  #2  
Old Aug 22, 2010, 10:44 AM
markdolar
 
10 posts · Aug 2010
You can see what I'm working on at:

http://www.pwrfngr.com/news

Mark
  #3  
Old Aug 23, 2010, 05:36 AM
juggledad's Avatar
juggledad
 
23,600 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Aug 23, 2010, 11:52 AM
markdolar
 
10 posts · Aug 2010
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

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Open syndicated posts in new window ntrast Center area post/pages 0 Jan 30, 2010 03:47 PM
Open RSS in New Window? adum RSS, Feeds & Subscribing 6 Jan 12, 2010 07:19 PM
Can links in footer open in a new window? junebob Post-Kicker, -Byline & -Footer 0 Dec 10, 2009 11:00 AM
Open RSS Feed in new window Ber|Art RSS, Feeds & Subscribing 0 Oct 13, 2009 07:15 AM
Make external links open in a new window clarge Header configuration & styling 1 Aug 9, 2009 04:00 PM


All times are GMT -6. The time now is 05:52 AM.


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