Skip Navigation

[Resolved] Want selected post to appear on same page as view

This thread is resolved. Here is a description of the problem and solution.

Problem:

The events listing is done using views, Each event title is clickable.

Instead of taking you to a new page when an event is clicked, I would like to display the selected event on the right hand side of the same page. Is this possible?

Solution:

It needs some codes JS codes, Here is a document about Jquery toggle:

http://api.jquery.com/toggle/

And similar thread:

https://toolset.com/forums/topic/create-a-button-to-reveal-content-on-click/

Relevant Documentation:

http://api.jquery.com/toggle/

This support ticket is created 5 years, 12 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 3 replies, has 2 voices.

Last updated by Luo Yang 5 years, 12 months ago.

Assisted by: Luo Yang.

Author
Posts
#711442

I am developing a community website which has a listing of future and past events. The events listing is done using views which you can see at hidden link

Each event title is clickable.

Instead of taking you to a new page when an event is clicked, I would like to display the selected event on the right hand side of the same page. Is this possible?

Regards

Robert

#713708

Dear Robert,

It needs some codes JS codes, Here is a document about Jquery toggle:
hidden link

And similar thread:
https://toolset.com/forums/topic/create-a-button-to-reveal-content-on-click/

For your reference.

#718878

Hi Luo

I'll give JS a try. Also looks like I might be able to use a Bootstrap class.

Regards

Robert

#722363

You are welcome

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.