Possible to remove link from listing title?

This topic contains 3 replies, has 2 voices, and was last updated by  Alex Rollin 6 years, 2 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #460251

    Gorod
    Expired Member
    Post count: 10

    Is it possible to remove link from listing title (and disable access to “Details” page)?

    Both the image and the title of a listing on “GD Archive item” come with a URL that leads to the individual listing page.

    Image shortcode contains

    link_to='post'

    , so if I switch to

    link_to='none'

    – images will no longer contain a link.

    Is there something like

    [gd_post_title link_to='none']

    ?

    Thanks.

    #460255

    Alex Rollin
    Moderator
    Post count: 27815

    No, but you can use custom CSS to disable pointer events

    https://www.w3schools.com/cssref/css3_pr_pointer-events.asp

    Very general example to disable links:

    
    
    
    #my-super-id h2 a {
      pointer-events: auto;
    }

    If you share the link to the page we can provide an example, or you can look through the forum for other examples.

    #460436

    Gorod
    Expired Member
    Post count: 10

    Hi Alex,
    I searched this forum for “pointer-events”, there are quite a few posts on this subject, but most of the suggested solutions don’t work.

    This is the only solution that worked (removed link from bubble title). I was also able to remove the bubble title completely by replacing “pointer-events” with “display”.

    
    
    .geodir-bubble_desc h4 a {
        pointer-events: none!important;
    }

    Other solutions for removing links from “Archive item” title or bubble image didn’t work, for example:

    
    
    .geodir-bubble_image .geodir_thumbnail {
        pointer-events: none;
    }
    li.geodir-listview.gd-post-gd_place.geodir-listview h3.geodir-entry-title{pointer-events: none;}
    
    
    .geodir-entry-header h3 a {
        pointer-events: none!important;
    }

    My page is http://www.realtorsconnect.ca

    Thanks.

    #460449

    Alex Rollin
    Moderator
    Post count: 27815

    Try this:

    
    
    
    li.gd_place .geodir-entry-title a {
        pointer-events: none!important;
    }
    
Viewing 4 posts - 1 through 4 (of 4 total)

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount