Skip Navigation

[Closed] passing page id to new template with expanded content from the first

This support ticket is created 3 years, 5 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 3 years, 5 months ago.

Assisted by: Minesh.

Author
Posts
#2138219

Tell us what you are trying to do?
I have a CPT that is called Locations: slug=locations this display is rendered using Oxygen Builder, One of the items from the location is a menu button, I would like to pass the menu sug to a template page to render there.
Example location page: hidden link

Currently, I am creating separate pages for this and it is getting cumbersome. The menu is rendered using an embed script. My idea is to pass the menu ID to the template and insert it into the proper place in the embed script and have the menu display, without creating a menu for each location. (note, some locations have multiple menus, up to 4, each will have their own button but same template)

Is there any documentation that you are following?
Nope

Is there a similar example that we can see?
I could not find one.

What is the link to your site?
hidden link This of course is dev and is not working. You can see it working on the production site (with individual menus pages) hidden link

As a note: This seems really simple but it is not clicking in my brain 🙂

#2138915

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Using the link you shared: hidden link

I could not able to access the site as it stuck on the popup where it asks to select Age and Customer Type.

I still do not understand what pages you want to create and where you want to display? You mentioned menu - do you want to add all pages to menu? which menu? Maybe you should share few screenshot that should help me to understand the issue.

Please kindly share all required information that should help me to understand the issue first and once I review that information after that I'll be able to guide you in the right direction.

The topic ‘[Closed] passing page id to new template with expanded content from the first’ is closed to new replies.