- This topic has 11 replies, 2 voices, and was last updated 2 years, 10 months ago by
Nayeem Riddhi.
I only want to include a download button so it is possible to remove the hyperlink on the title that goes to a comments type screen? I don’t want users to be able to comment or anything like that.
Hello Craig McKee,
Hope you are well. Can you please share the related URL? if possible, you can share a screenshot too elaborating on the issue. please check and let me know
Thank you and regards
Hi, yes – the URL is https://schoolpolicytracker.co.uk/model-policies/ and I would like to remove the hyperlinks indicated here – https://snipboard.io/jLxVyb.jpg
I just want this to be a download list, they don’t need any more information or the ability to leave comments etc.
Hello Craig McKee,
You can disable a single download page link from the link template. You need to replace [page_link] with [title] from the related link template. For editing link templates, you can also follow this doc to backup your file,
please check and let me know
Thank you again and regards
Perfect, found that file and it worked – thank you. Do I need to create this in my theme as per the instructions in the link you have or can I amend the php file directly?
Perfect, found that file and it worked – thank you. Do I need to create this in my theme as per the instructions in the link you have or can I amend the php file directly?
Don’t worry – I’ve created them in my file. Could you please tell me which file displays the button? It disappears for logged out users so they can’t download but I’d like to keep it there and change the text “Log in to download” and remove the link.
I appreciate all your help.
Craig
Hello Craig McKee,
I think the Login is required to access this page message is showing now for the related packages, I have checked it here too,
please check and let me know
Thank you again and regards
Great, but the login button there is taking me to a 404 page – can I hide that button as login is in the main menu?
Thank you for your help.
Hello Craig McKee,
Have you set the WPDM login page? if possible, can you please, give your temporary wp-admin login details in a private reply for checking the issue?
Thank you and regards
I haven’t as I already have a custom login page – I’ve hidden your button with css though now so that’s fixed the issue. Thank you Nayeem.
Thank you, if you need further any help with anything else, then please don’t hesitate to open a new topic.
Thank you again and regards, Have a nice day!
The topic "Remove hyperlink on title" is closed to new replies.