Tell us what you are trying to do?
lien caché
At the partners page I'm trying to get a partner field non-clickable
as the Barnes and Nobles is already. While i see the JavaScript code for the non clickables
i can't find the partners to add the javascript:void(0).
example:
<div class="partner-slide">lien caché<div class="image" loading="lazy" style="background-image:url(lien caché);"></div><div class="name2"><p>$100,000+ Partner</p><h3>Barnes & Noble</h3><div class="all-star-logo">IMG</div></div></div>
Let me know if you have any questions
Thanks in advance
Is there a similar example that we can see?
Attached scrteenshots
What is the link to your site?
lien caché
Hi Jennie,
Thank you for getting in touch.
Is it that you only want this slide to not be clickable ?
Please let me know.
Thanks,
Shane
Yes that's what i want to do !
Some of them are already non-clickable and i attached the code that I'm getting when i inspect the page and also the Javascript function as a screenshot.
HI Jennie,
Based on what I see it is already non-clickable.
When I clicked on the Barnes and Noble i'm not taken to anywhere.
So i'm not sure I fully understand the issue at hand.
Thanks,
Shane
Hey Shane if you read the question i'm mentioning that i know that Barnes & Nobles is not clicable and i add the code and screenshot as example.
I can't find the partners to make some other companies non clickable!
At the partners page I'm trying to get a partner field non-clickable
as the Barnes and Nobles is already (example). While i see the JavaScript code for the non clickables
i can't find the partners to add the javascript:void(0).
example:
<div class="partner-slide">lien caché<div class="image" loading="lazy" style="background-image:url(lien caché);"></div><div class="name2"><p>$100,000+ Partner</p><h3>Barnes & Noble</h3><div class="all-star-logo">IMG</div></div></div>
Hi Jennie,
Based on what I see in the JS code, this is where you will add the information to determine which partner is non-clickable.
Were you the one who crafted this JS code?
However should you add the partner name to the nonclickablepartners variable in you JS code then it should disable the clicking for the others.
Thanks,
Shane
I added the partner that i want to make non-clickable in the function but it didn't work.
I didn't create that code. It's from an another developer or from toolset.
If i don't add the href="javascript:void(0)" to the partner i want to make non-clickable it wont work.
The quetion i where are the partners beucose i can'r find them in the backend.
"<div class="partner-slide">lien caché<div class="image"" to the
HI Jennie,
Unfortunately the support I can offer here is quite limited as this is purely custom coding.
If you allow me to have admin access to the site I can see what I can do but I cannot promise that I can fix this for you.
As I say this is custom coding which is out of our support scope.
I've enabled the private fields for your next response.
Thanks,
Shane
Before i share with you the log in info,
Where the custom fields is being saved at the back-end?
I understand that are being created in the database
but there is a way to find them and add some code like
someone did in the past.
Thank for helping !
Hi Jennie,
The custom fields are stored in the database in the wp_postmeta table.
<Em>but there is a way to find them and add some code like
someone did in the past.
You can retrieve them with our Types shortcode or you can use the function from wordpress below.
https://developer.wordpress.org/reference/functions/get_post_meta/
Thanks,
Shane
Hey Shane,
How can i retrive them retrieve them with our Types shortcode ?
can you show me the steps or if there is some documentation for that,
will be great!
Thanks
Hi Jennie,
If you're viewing the post then you can use the shortcode below.
[types field='my-field'][/types]
Where my-field is the slug of the custom field.
Now for this to work it must either be placed on the template that is displaying the post or a view that is displaying the list of post.
Unfortunately this falls under our legacy documentation and most of that has been archived.
Please let me know if you need any further clarification.
Thanks,
Shane