Jump to content

- - - - -

Clicking on Features - open in new tab doesn't work

features open in new tab

  • Please log in to reply
1 reply to this topic

#1 cstreeting



  • Members
  • PipPip
  • 11 posts
  • Country: Country Flag

Posted 27 November 2013 - 01:07 PM



The site: www.wallacks.com


I have added this code snippet to functions.php in my child theme:


add_filter( 'pagelines_features_target', function() { return 'target="_blank"'; } );


The Features' link does not open in a new target.


Could a tech help? We are using v.2.4.2 (where that feature is included).


Thank you,



#2 James B†

James B


  • DMS Subscriber†
  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 28 November 2013 - 05:53 AM

Hi there, your site is showing it's using the PageLines Framework, not Platform so I've moved into the correct forum for you.


Please try the code below which our developer issued on a previous thread to see if this resolves. Make sure you have the base theme or customize plugin active for the code to work.


add_filter( 'pagelines_features_target', create_function('', "return 'target=\"_blank\"';") );
The original thread also includes some further troubleshooting information if it doesn't work, please see -

Please Login or Register to see this Hidden Content

Also tagged with one or more of these keywords: features, open in new tab