Pass shortcode content value from an input to URL
-
Hey everyone! I really need an advice on this one so your help is really appreciated. The task is to create a post, divided in tabs (it’s done via shortcodes) + a simple text form (text input + submit).
In every tab, we have some content that needs to be sent to URL
The tabs structure is:
[tabgroup]
[tab title=”tab1″]
hey! this is tab 1
[/tab]
[tab title=”tab2″]
hey! this is tab 2
[/tab]
[/tabgroup]So, it needs to be something like https://www.example.com/sample-post/hey-this-is-tab-1&value-from-text-input
It doesn’t necesarilly be URL friendly.
Any hints?
- The topic ‘Pass shortcode content value from an input to URL’ is closed to new replies.