WordPress.org

Ready to get started?Download WordPress

Forums

Page Links To
How to add the target in an echo? (1 post)

  1. cwulff
    Member
    Posted 2 years ago #

    Hi Mark,

    Thanks for this fantastic plugin. I use it all over the place and it's a godsend.

    I'm using the following to get a list of links after using the Advanced Custom Fields Post Object field:

    <h4><a href="<?php echo get_permalink($post_object->ID); ?>"><?php echo get_the_title($post_object->ID); ?></a></h4>

    Works great for the list and links but the problem is that the code doesn't allow the new permalink produced by the Page Links To plugin to open in a new tab/window (which is one of my favourite things about this plugin) when that option is selected.

    How would I go about fixing this?

    http://wordpress.org/extend/plugins/page-links-to/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic