Disable link to detail page
This topic contains 11 replies, has 3 voices, and was last updated by Kor 6 years, 4 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
June 21, 2019 at 1:11 pm #494181
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?June 21, 2019 at 3:32 pm #494197Hi 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.
June 22, 2019 at 9:08 am #494268Thanks 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.
June 22, 2019 at 3:23 pm #494287Hi 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!
June 22, 2019 at 6:05 pm #494295Right now I’m building the site locally, but I soon as it’s up I will send the link. Much appreciated!
June 23, 2019 at 10:03 am #494319To 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.
June 23, 2019 at 3:35 pm #494337Alex, 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…
June 23, 2019 at 5:17 pm #494343Hi 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"]June 25, 2019 at 4:08 pm #494791Thanks 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.
June 25, 2019 at 5:49 pm #494810Hi robinbahia,
Thanks for your reply. Could you share the URL of the page in question so that I could check on it?
Thanks!
June 25, 2019 at 5:55 pm #494811Hi 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!June 25, 2019 at 6:56 pm #494826Hi robinbahia,
Thanks for your reply. Alright then, reply here again once it’s live and I will inspect this further for you.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket