Disable link to detail page

This topic contains 11 replies, has 3 voices, and was last updated by  Kor 5 years, 9 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #494181

    robinbahia
    Free User
    Post count: 6

    I am looking for a way to disable links to the detail pages, and offer the option to display detail page as a paid option. The detail page would still be created of course, but I would no-index the page, then allow it to be indexed with a package upgrade.
    I thought that maybe this would be a feature of the pricing manager addon, but I can’t find it.
    Is there a snippet that can disable the link from the title of the “place” to its corresponding detail page?

    #494197

    Kor
    Moderator
    Post count: 16516

    Hi robinbahia,

    Thanks for your post. You can use custom CSS code to disable the link but it won’t be permanent and can be easily bypassed. What you’re looking for “offer the option to display detail page as a paid option” would require customization.

    #494268

    robinbahia
    Free User
    Post count: 6

    Thanks for your reply. Do you by chance have the CSS snippet to disable the link? Or would this be beyond the scope of support? Thanks in advance.

    #494287

    Kor
    Moderator
    Post count: 16516

    Hi robinbahia,

    Thanks for your reply. Could you share the URL of the page in question so that I could provide you the custom CSS code to disable the link?

    Thanks!

    #494295

    robinbahia
    Free User
    Post count: 6

    Right now I’m building the site locally, but I soon as it’s up I will send the link. Much appreciated!

    #494319

    Alex Rollin
    Moderator
    Post count: 27815

    To accomplish this here is what I would recommend.

    Edit the Archive item template.
    Add a new GD Post Images element, and set the link for photo to none.
    Remove the Post title element because it links to the listing. Then add GD Post Meta with key post title.

    Next add a badge that says “See more” and set it to show when the listing is featured and make it a link to the post url.

    If you are using maps you will need to do the same but in the map bubble pho template.

    #494337

    robinbahia
    Free User
    Post count: 6

    Alex, thank you for the reply, I tried your solution and it worked perfectly! One slight problem though. I can’t figure out how to target the post meta title_key to give it an H3 tag so it’s the same size as the original post title. I tried adding tag=’h3′ within the shortcode, but it doesn’t work. And if I try to target the meta key with CSS (tried with CSS Hero) it affects all the other meta data.

    So close to the perfect solution! Whatever the outcome, I appreciate the help…

    #494343

    Kor
    Moderator
    Post count: 16516

    Hi robinbahia,

    Thanks for your reply. Try assigning a class to the post meta as shown below.

    [gd_post_meta key="0" show="label" css_class="title-cls"]
    #494791

    robinbahia
    Free User
    Post count: 6

    Thanks for your help! I’m embarrassed to say I’m not much of a coder. I inserted the code in the gd archive item template in order to give it the class “title-cls”, but I don’t know the CSS to assign the heading tag h3 to the title.

    I can imitate the style no problem with…

    .title-cls {
    font-size: 22px;
    font-weight: bold;
    }

    But this does not give an h3 tag for seo purposes.

    If it’s beyond the scope of support, I understand, and thanks for your help up to now.

    #494810

    Kor
    Moderator
    Post count: 16516

    Hi robinbahia,

    Thanks for your reply. Could you share the URL of the page in question so that I could check on it?

    Thanks!

    #494811

    robinbahia
    Free User
    Post count: 6

    Hi Kor, I can’t just yet because like I said earlier I’m building the site on a local machine, but I suppose this issue can wait till it’s live and I can get you a link, if it helps.
    Thank you as always!

    #494826

    Kor
    Moderator
    Post count: 16516

    Hi robinbahia,

    Thanks for your reply. Alright then, reply here again once it’s live and I will inspect this further for you.

Viewing 12 posts - 1 through 12 (of 12 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