Skip Navigation

[Resolved] Generating form ID's

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/Karachi (GMT+05:00)

Tagged: 

This topic contains 6 replies, has 3 voices.

Last updated by leilaG 1 year, 6 months ago.

Assisted by: Waqar.

Author
Posts
#2463773

Hello

Going back to ticket #1472457

We'd like to add another menu for a new location, could you please remind me how to generate the ID or where to get the ID from?

Thanks

#2464731

Hello,

I assume we are talking about the post:
https://toolset.com/forums/topic/edit-form-link-for-specific-post-and-specific-user-group/#post-1472457

[wpv-post-url item='19999']
...
Note: 19999 is the ID of the page "Weekly menu form".

The ID "19999" is the the page ID where you display the editing/creating post form.

#2465967

Hi, Thanks, okay.

This is the form page - hidden link
We have a page with 2 buttons that open up the form page hidden link
View - hidden link

Location Nottingham - hidden link
Location Glasgow - hidden link

How do we make another location link? /?mid=

#2466289

Please share your website credentials in below private message box, I need to test and debug it in a live website. thanks

#2468817

Waqar
Supporter

Languages: English (English )

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

Hi,

Luo is on vacation so I'll be following up on this ticket.

Thank you for sharing the access details, but, I'm getting an incorrect username and password message.

Can you please check the username and password again? I'm setting your next reply as private.

regards,
Waqar

#2469247

Waqar
Supporter

Languages: English (English )

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

The admin access details worked thank you.

To add a menu button for another location on the "UPDATE WEEKLY MENUS" page, you only need to add another post in the custom post type "Weekly Menus".

If you'll go to WP Admin -> Weekly Menus, you'll see currently there are two posts there:
- BioCity Nottingham (The Kitchen, Innovation)
- BioCity Glasgow (Nowhere)

You can keep adding more location posts in this post type and the view named "Weekly menu" will keep generating a button with links for them.

#2469957

Brilliant. Thank you Waqar!

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