• 0
Sign in to follow this  
Followers 0

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


Question

Posted · Report post

Hello,

 

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,

 

Chantale

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

Posted · Report post

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 - http://forum.pagelines.com/topic/25765-feature-links-opening-in-new-window/page-2?hl=pagelines_features_target

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0