Code to open internal links in new tab
-
We would like to have a pdf link open in a new tab/window, but it continues to open in the same window when we try to set the mla_target to blank within a shortcode.
We’ve defined the shortcode item as:
<td width="4%"class='gallery-icon'> <i class="fa fa-file-pdf-o" circle="no" size="14px" iconcolor="#0053a0" circlecolor="" circlebordercolor="" rotate="" spin="no" animation_type="0" animation_direction="down" animation_speed="0.1" animation_offset="" alignment="left" class="" id="download-icon"></i> </td> <td width="96%"> <a href="[+file_url+]" mla_target="_blank">[+link+]</a> </td>
We have also tried to pass the mla target blank through the shortcode call, but this has not worked either. All plugins are up to date, and we have WP 4.7.2 and Avada 5.0.6. An example page with PDFs can be found at https://www.deepsea.com/support/product-documentation/. Thank you!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Code to open internal links in new tab’ is closed to new replies.