[Plugin: Page Links To] How to add the target in an echo?
-
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?
- The topic ‘[Plugin: Page Links To] How to add the target in an echo?’ is closed to new replies.