Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End syntax for "open in new window"

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #199308

    I’ve been struggling with where and how to set this link to open in a new window. I’m getting confused with the nested quotes. I’m guessing its something like ‘”target=”‘_new” but that’s not working. Help?

    echo '<a href="' . $large_image_url[0] . '" title="' . the_title_attribute( 'echo=0' ) . ' ">';
        the_post_thumbnail( 'event-thumbnail' );
        echo '</a>';
    
    #199312
    Ilan Firsov
    Participant

    At the first line:

    the_title_attribute( 'echo=0' ) . ' " target="_blank">';
    

    Can’t post the whole line, fierwall blocking me

    #199360

    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Back End’ is closed to new topics and replies.