Tell us what you are trying to do?
I am trying to check inside a view loop which '_views_template' the current loop item is using.
[wpv-layout-start]
[wpv-items-found]
<!-- wpv-loop-start -->
<wpv-loop>
[wpv-conditional if="( '_views_template' eq '1748' )"]
Content Template: 1748
[/wpv-conditional]
</wpv-loop>
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-no-items-found]
<strong>[wpml-string context="wpv-views"]No results.[/wpml-string]</strong>
[/wpv-no-items-found]
[wpv-layout-end]
Is this possible? If so how can i achieve this? Thanks!
Is there any documentation that you are following?
/
Is there a similar example that we can see?
/
What is the link to your site?
hidden link
I already found a solution see below.
[wpv-layout-start]
[wpv-items-found]
<!-- wpv-loop-start -->
<wpv-loop>
[wpv-conditional if="( $(_views_template) eq '1748' )"]
Content Template: 1748
[/wpv-conditional]
</wpv-loop>
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-no-items-found]
<strong>[wpml-string context="wpv-views"]No results.[/wpml-string]</strong>
[/wpv-no-items-found]
[wpv-layout-end]