Topic Resolution: Resolved
  • Closed
  • Jackie McHenry
    Spectator
    August 31, 2015 at 11:38 pm #20286

    I’ve searched and can’t seem to find an answer, so my apologies if it has been covered.

    The email link goes to a 404 error page, is there a quick fix for that? And, is there a way to force the other social media links to open in a new window (this may also solve the email issue)?

    As always, thanks for your help!

    Denzel Chia
    Moderator
    Posts: 2672
    September 1, 2015 at 7:46 am #20309

    Hi,

    In your plugins folder, find t4p-core/shortcodes/class-person.php
    and replace the entire contents of the file with the code from here http://pastebin.com/qu5JHnpA

    Fixes the email address bug.
    I also changed the default linktarget to open new tab.

    Thanks!

    Jackie McHenry
    Spectator
    Posts: 13
    September 1, 2015 at 7:59 am #20311

    Worked perfectly – Thanks!!

    Denzel Chia
    Moderator
    Posts: 2672
    September 1, 2015 at 8:01 am #20313

    You are welcome.

    Thanks!

    Jackie McHenry
    Spectator
    Posts: 13
    September 1, 2015 at 9:09 am #20315

    One more quick question Denzel – when clicking on the mail icon, it creates a new “untitled” tab and opens Outlook to send mail. All Good. But, it doesn’t close the “untitled” tab. So the blank white page is visible and I have to close it or click back to the tab with the website. Is there a quick fix for that?

    Denzel Chia
    Moderator
    Posts: 2672
    September 1, 2015 at 9:28 pm #20328

    Hi,

    Sorry, I don’t have a fix for that.
    That’s probably why by default design, the author has them open in _self and not _blank

    Thanks!

    Meghan Paladino
    Spectator
    Posts: 5
    February 8, 2016 at 11:45 pm #24151

    This may be too late to be of help to Jackie, but I found that by adding “mailto:” to the email address in the person shortcode, the email icon will open in the default email program without opening a blank tab/window.

    email="mailto:[email protected]"