Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Bowo

    (@qriouslad)

    @tomhung this looks great. Will test and possibly include in a future release. Thank you!

    Plugin Author Bowo

    (@qriouslad)

    @tomhung this has been implemented in v5.4.0 I’ve just released. I made a couple of modifications to the code snippet you linked:

    • Only add the “open in new tab” custom field for custom link nav item type. The default snippet would add the custom field to all nav item types.
    • Add rel=”noopener noreferrer nofollow” attribute along with the target=”_blank” attribute.

    Please test on your end and let me know if it works as intended or otherwise. Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘add a checkbox on custom link menu items to set target=”_blank”’ is closed to new replies.