This topic contains 5 replies, has 2 voices, and was last updated by  lord 2 years, 1 month ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #11663

    adept-france
    Participant

    Hi support !

    I am using “client logo tiles module” and I would like clients’ websites to open on a new tab.
    Presently, they open in the same tab as mine.
    Is there a way to insert “target= _blank” to correct this ?

    Many thanks in advancve for your assistance, as usual !

    #11668

    lord
    Keymaster

    Hello, Adept-france!

    Please, check the file wp-content\themes\dynamic\inc\mvb\html\public\mvb_clients.php and add target="_blank at the end of the 82nd line to make it look like this:

    <a href="<?php echo (isset($item['client_url'])) ? $item['client_url'] : '' ?>" target="_blank">

    Tell us whether that works fine for you.

    Regards, DFD Support Team

    • This reply was modified 2 years, 1 month ago by  lord.
    • This reply was modified 2 years, 1 month ago by  lord.
    #11676

    adept-france
    Participant

    Dear Lord,

    Many thanks for your assistance. I have edited the requested file and the “target= _blank” is already present.
    I am using “client tile module” so I think I must add this code on the client_tile.php file ?
    Could you please let me know on which line am I supposed to add it ?

    Thanks for your help !

    #11698

    lord
    Keymaster

    Hello, Adept-france!

    Yes, you can edit the file – \wp-content\themes\dynamic\inc\mvb\html\public\mvb_clients_tiles.php
    Find the line 55 and make it look like this (with target=”_blank” included):

    $href = 'href="'.$item['client_url'].'"'.'target="_blank"';

    Regards, DFD Support Team

    #11699

    adept-france
    Participant

    Hi Support,

    This worked perfectly !

    Thank you so much !

    #11705

    lord
    Keymaster

    You’re welcome! Contact us in case you’ll need any assistance.

    Regards, DFD Support Team

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.