Skip Navigation

[Resolved] Filter by id in a COOKIE or SESSION

This support ticket is created 7 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 -
- 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Noman 7 years, 3 months ago.

Assisted by: Noman.

Author
Posts
#557627

Hello,

I want to create a view filter par several publications id.

But my id are in a SESSION.

So, how i could do that ?

Thanks a lots for your answer.

#557667

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi Romane,

Thank you for contacting Toolset support. There is no builtin feature to do this with Toolset.

This would need to be done using Custom coding and we cannot consult on custom code as this is out of support policy (https://toolset.com/toolset-support-policy/). If you would like you can contact Toolset recommended consultants to further discuss the custom approach. We have some recommended list of service providers here if you would like to take a look: https://toolset.com/consultant/

Related tickets that can help:
https://toolset.com/forums/topic/using-wpv_filter_query-to-filter-views/#post-406586
https://toolset.com/forums/topic/show-taxonomy-value-based-on-visitor-flow/#post-400079

Doc: https://toolset.com/documentation/user-guides/passing-arguments-to-views/

Thank you

#557673

Thanks,

If i use filter by ids shortocode, i think i could put somme id, like this : [wpv-view name="houses" ids="1,2,3"] and in my short code use php like this [wpv-view name="houses" ids="<php echo ... ?>"]

#557707

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Yes you can give it a try like this, we officially have not tested or tried anything like this before.

And there was no such request like this in our forums so far. Thanks