Strangely enough, 'wpv_filter_content_template_output' seems to return the name of the view instead of the content of the view. How can I reach the content of the view? Any other variable that I should use? All my Google searches point me in the 'wpv_filter_content_template_output' direction 🙂
Hi Minesh, it seems that the problem still exists. The [backurl] is not changing to the referrer url. I did some echo's of the variables. Perhaps that tells a little more?
I think I know why it shows the view because you are using the filter wpv_filter_content_template_output that is supposed to return the content template output.
I would like to know here is the URL which you want to replace is coming from views output?
Hi Minesh, thanks for your reply! I indeed hoped that 'wpv_filter_content_template_output' returned the view content, but it doesn't. It only seems to return the shortcode of the view, in my case is this '[wpv-view name="winkel-detail-met-fotos"]'
The URL I want to replace is indeed coming from the views output. Here's a rough example of my 'shop-detail-with-photos' view code:
[wpv-items-found]
<div class="Details">
Content details here
</div>
<div class="BackButton"> Back to partners
</div>
<div class="Photos">
<wpv-loop>
Related photos here
</wpv-loop>
</div>
[/wpv-items-found]
[wpv-no-items-found]
<div class="Details">
Content details here
</div>
<div class="BackButton"> Back to partners
</div>
[/wpv-no-items-found]
I hope that's the additional information you needed? 🙂