Here in this after I choose the post type, I wanted to give a custom URL to the title which are appearing while scrolling, please let me know how can I give this functionality, I went and checked the item attribute html editor but unable to give proper url code, in href I tried giving this {{item.post.archive.link}} instead of this {{item.post.link}}
{% if show_title == "true" %}<div class="ue-post-title"><a href="{{item.post.link}}">{{item.post.title|raw}}</a></div>{% endif %}
Here in this after I choose the post type, I wanted to give a custom URL to the title which are appearing while scrolling, please let me know how can I give this functionality, I went and checked the item attribute html editor but unable to give proper url code, in href I tried giving this {{item.post.archive.link}} instead of this {{item.post.link}}
{% if show_title == "true" %}<div class="ue-post-title"><a href="{{item.post.link}}">{{item.post.title|raw}}</a></div>{% endif %}
Its not that simple you need to know coding for it
you can create a custom field for the post
and in the code you can write if the field is populated to fill it in with data from the custom field otherwise take the post link.
But if you dont know coding will be complicated for you
this is the code for if statement in twigg
https://unlimited-elements.com/docs/twig-code-example-if-else/
and if empty
https://unlimited-elements.com/docs/twig-code-example-if-empty/