I apologise for this!
I believe I have now found out what was causing the problem. Could you try to login again now with the original credentials?
I was able to log in this time! I'm investigating and I will update you soon.
Thank you Christian, I appreciate your help!
I've noticed you're past your working hours. If its not a quick fix, I am more that happy to continue tomorrow when you get back online.
Okay I see what's happening. The View that you're using to show the URLs is set up to loop over all Test CPTs, with no query filter: yoursite.com/wp-admin/admin.php?page=views-editor&view_id=1621
This means that on every CPT page, the View will loop over ALL the CPTs and output whichever URL is associated with the current post in the Loop (not the current post at this webpage). That's not necessary, you only want to know the custom field value for the current post. So no View is required, and Types will assume the correct context if you put the conditional code directly in the Elementor template.
I copied the conditional code from the View and pasted it in a text module in your Elementor template. Then I deleted the View cell...sorry my Elementor layout skills are not very good but you can see how it's set up. The View is not necessary, unless you want to create a filtered list of posts and show the URL for each one.
Ah right, I see! Thank you very much for all the information and the demo setup. I think I understand it a lot better now so hopefully I won't make a similar mistake in the future. You've now set up the Elementor template to show exactly what I was expecting on each of the CPTs. Thank you for that.
I have one more question leading from this if it's ok to ask.
Imagine I had a large amount of data. For example 5000 different "Types" that could be selected, therefore 5000 different URLs that could be displayed. How could I go about doing this without having to manually generate the code from Views each time and updating the template?
Is there any solution that I can use so as I add different "Types", the URLs are always displayed without having to update any templates?
If it would be easier to have access to explain, please send the private form and I will reinstate the login credentials tomorrow if you.
I've split that question into another ticket, let's follow up there.
Thank you Christian. We will follow up there.
Is there any chance you could delete the images Test Type 1.png and Test Type 2.png that I posted on reply 1123819 as they display a URL.
Thank you so much for all your help with this topic. It's really appreciated.
Of course, I have deleted those images from the reply.
Thank you for doing that Christian.
And thank you for all your help with resolving this issue.
Sorry to be an even bigger pain. Could I please request that the URL in reply 1124855 is deleted?
Thank you in advance.
No problem, I have deleted it. FYI, all full URLs you include in a forum ticket are obscured (you can test this by visiting the post in an incognito browser or by logging out of Toolset). Only the logged-in author of the ticket and our support staff can see URLs you share.
Brilliant! Thank you again for all your help with this.
Thank you for the information as well.