The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

how to open a link of the post into another page from an iframe (2 posts)

  1. cherrellem
    Posted 4 years ago #

    basically, i used an iframe to display 3 latest blog links, but when i click on them they opened inside that little iframe. How do u open that link into another page such as website.com/blog

    here's the code that i have inside that iframe

    <?php while (have_posts()) : the_post(); ?>
    " rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?>

  2. You could add target="_blank" into the code. This should open the link in a new window.

Topic Closed

This topic has been closed to new replies.

About this Topic