- February 11, 2019 at 9:19 am #116760
On this page I would like the link on the last Flipbox (Training Brochure) to open the link in a new tab.
I tried the following…
[flipbox fliptype=”h” frontimage=”https://perceptionprofiling.com/wp-content/uploads/2019/02/0-PPT-Front-Cover-212×300.jpg” fronttitle=”2019 Training Brochure” frontdescription=” ” backtitle=”Our 2019 Training Brochure” backdescription=”A PDF with all of our standard training offerings, our suggested training pathways and a comprehensive FAQ section” backurl=”https://perceptionprofiling.com/wp-content/uploads/2019/02/Perception-Profiiling-Training-Brochure-2019-Screen-Quality.pdf” target=”_blank” backbutton=”Download”]
But it appears to ignore the Target=”_blank” in the link.
Is it possible for me to open a link in a new tab… if so how do I do that?
SteveFebruary 11, 2019 at 11:44 am #116773February 11, 2019 at 12:13 pm #116775
As I’ve previously stated my client won’t allow people to make changes to anything on the site unless we know exactly what is being done.
If you send me the modification or post the code then I can make the amendment to the relevant file.
You have already provided solutions for me this way.
SteveFebruary 11, 2019 at 1:27 pm #116787
Kindly edit sktframe/core-functions.php file, go to line number 1141 and paste
'target' => '_self',
After that go to line number 1154 and paste
Check below screenshot and paste the code in place of green mark.
DaveFebruary 11, 2019 at 1:44 pm #116788
Before I implement this, is this going to do it just for the specific box I need or is it going to do it for ALL Flip Boxes?
If it going to do it for all Flipboxes then I can’t use it as a solution.
The only reason wee want a new tab for the Training Brochure Flipbox stated at the start of this post is because it links to a large PDF document. The other Flibboxes need to keep within the flow of the website in the existing Tab.
SteveFebruary 12, 2019 at 12:50 pm #116845
It is just an extra option for flipbox shortcode, by default it will open in same window, if you add target=”_blank” in the shortcode then it will open in new tab.
DaveFebruary 13, 2019 at 4:25 am #116894
I’ve implemented that and it worked perfectly.
SteveFebruary 13, 2019 at 8:52 am #116900
- You must be logged in to reply to this topic.