Load In Blank Icon Links

This topic contains 14 replies, has 3 voices, and was last updated by  Giri 7 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #245149

    Jimmy Ryan
    Expired Member
    Post count: 202

    On Supreme Theme the listing details page contains a row of tiny icon links just below the Listing Title and Address, see attached.

    I would like to modify the link to load in blank so the visitor does not lose the site position if contacting the business owner.

    What file path should I follow to find the file which contains those tiny icon links?

    #245375

    Kor
    Moderator
    Post count: 16516

    Hi Jimmy,

    We’ve applied the fix for you and I’d like you to know that this will be included in the next version.

    Thanks!

    #245579

    Jimmy Ryan
    Expired Member
    Post count: 202
    This reply has been marked as private.
    #245590

    Jimmy Ryan
    Expired Member
    Post count: 202
    This reply has been marked as private.
    #245628

    Giri
    Expired Member
    Post count: 3155

    If you don’t see social links, then probably its because those fields left empty while creating the listings

    #259909

    Jimmy Ryan
    Expired Member
    Post count: 202

    Hi Folks,

    I need to know what you did to make the little icons load in blank. Can you just describe what file and folder path you modified please?

    #260925

    Giri
    Expired Member
    Post count: 3155

    Jimmy, _blank code was added in supreme itself. So you don’t have to worry about the lines. Just update the theme and it will work.

    If you must require the line details, then this is the info.

    File: /wp-content/themes/supreme-directory/inc/geodirectory-compatibility.php

    Line number: 895 to 907

    #260928

    Jimmy Ryan
    Expired Member
    Post count: 202
    This reply has been marked as private.
    #260960

    Giri
    Expired Member
    Post count: 3155

    Have you installed latest supreme theme?

    I can see the changes are merged 1 month back. https://github.com/GeoDirectory/supreme-directory/blob/master/inc/geodirectory-compatibility.php#L897

    #261032

    Jimmy Ryan
    Expired Member
    Post count: 202
    This reply has been marked as private.
    #261067

    Giri
    Expired Member
    Post count: 3155
    This reply has been marked as private.
    #261094

    Jimmy Ryan
    Expired Member
    Post count: 202
    This reply has been marked as private.
    #261108

    Giri
    Expired Member
    Post count: 3155

    Jimmy,

    This is the reason why we recommend our users to use “Code snippets” plugin for supreme customisation.

    Supreme is a child theme. If you update all your customisation will be lost. So make backup of your current theme, especially functions.php file and style.css

    Use code snippets plugin for custom codes

    https://wordpress.org/plugins/code-snippets/

    #261172

    Jimmy Ryan
    Expired Member
    Post count: 202

    Giri,

    You are a genius!!!

    #261709

    Giri
    Expired Member
    Post count: 3155

    Jimmy, I’ll mark this thread as resolved.

    Thanks

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket