Skip Navigation

[Resolved] View isn't looping properly when targeting specific post

This support ticket is created 6 years, 1 month 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 5 replies, has 2 voices.

Last updated by Shane 6 years, 1 month ago.

Assisted by: Shane.

Author
Posts
#1133438

I am trying to: display a modal window for each post type, so when you view the menu - it shows the specific posts menu

Link to a page where the issue can be seen:
hidden link

I expected to see:
the correct information
Instead, I got:
it just goes through them numerically, so if I view the menu for the 4th one down 'Dinner' - it will show the first posts menu

#1133715

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Ryan,

Thank you for contacting our support forum.

I believe this is caused by the modals not being referenced correctly.

Could you let me know where you got this modal from so that I can look at it's basic usage?

Thanks,
Shane

#1133716

Hi Shane, no problem... hidden link

#1133718

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Ryan,

I fixed this for you and it should be working fine now.

Thanks,
Shane

#1133725

Excellent really appreciate it... could you tell me how you fixed it?

#1133752

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Ryan,

What I did was to add the ID to the wrapper div for the modal
<div id="try[wpv-post-id]" uk-modal>

I followed the examples in the link that you sent to ensure that what you had matches what the example was showing.

Thanks,
Shane