Hi, I'm trying to add a custom field (Date) in Salient to the recent post slider (multiple visible) but was just wondering where to add the php code to fetch the custom field.
I couldn't add my license because when I redirect to the Envato website it keeps going in a loop.
Hi, thanks so much for getting back. I have another issue with the recent post slider.
I would like to make it auto rotate, when I enter "back end" view, it says Auto rotate: no autorotate, but I don't see that functionality. Is there any way to make it autorotate? I tried adding the shortcode but that doesn't seem to work.
Unfortunately, there's no option to set an autorotation on that element by default. Altering that functionality would require a modification to the core JavaScript, which would be a little hard to maintain through future updates. However, I've noted the item on the wishlist to offer that as an element option.
Hi, thanks for the reply (again :)). Understood that the autoscroll is not possible.
Continuing on the adding of a custom field to the recent posts, this worked perfectly but I need to implement the same custom field int he "post grid" element, could you please be so kind again to let me know where I can change this so the custom field is possible for every post in this post grid view.
Hi, I'm trying to add a custom field (Date) in Salient to the recent post slider (multiple visible) but was just wondering where to add the php code to fetch the custom field.
I couldn't add my license because when I redirect to the Envato website it keeps going in a loop.
Thanks in advance for helping out.
Hey Mannu,
In order to add additional content to that element, you'll need to override the recent-posts element template (located at wp-content/plugins/salient-core/includes/vc_templates/recent_posts.php) via your child theme: https://themenectar.com/docs/salient/overriding-salient-wpbakery-element-template-files-through-a-child-theme/
Kind regards
Amazing, thank you!
Hi, thanks so much for getting back. I have another issue with the recent post slider.
I would like to make it auto rotate, when I enter "back end" view, it says Auto rotate: no autorotate, but I don't see that functionality. Is there any way to make it autorotate? I tried adding the shortcode but that doesn't seem to work.
Thanks for getting back to me.
Attached files: Screenshot 2023-01-27 at 08.47.46.png
Hey Mannu,
Unfortunately, there's no option to set an autorotation on that element by default. Altering that functionality would require a modification to the core JavaScript, which would be a little hard to maintain through future updates. However, I've noted the item on the wishlist to offer that as an element option.
Hi, thanks for the reply (again :)). Understood that the autoscroll is not possible.
Continuing on the adding of a custom field to the recent posts, this worked perfectly but I need to implement the same custom field int he "post grid" element, could you please be so kind again to let me know where I can change this so the custom field is possible for every post in this post grid view.
Thanks so much!
Hey Again,
The Post Grid VC template can be adjusted in the same manner as the Recent Post file to include the custom field content:
See url: https://themenectar.com/docs/salient/overriding-salient-wpbakery-element-template-files-through-a-child-theme/
Thanks
ThemeNectar Support Team