The better way to do this is using javascript/jquery.
Use either javascript webstorage api or jquery ajax $.post.
Webstorage api will be good for this.
Here how you can do it.
$('body').on('click', '.button.small', function(){
var index = $(this).parents('table').index('table');
var cur_workshop = $(this).parents('.innercontent').find('h3').eq(index).text();
localStorage.setItem('workshop', cur_workshop);
});
Place above script on http://yft.ac/upcoming-workshops/ this page template.
Then call the below script on http://yft.ac/contact-us/ this page template, to get the current workshop name.
localStorage.getItem('workshop');
Related Posts:
- Get selected values from checkboxes and radio buttons via Gravity Forms gform_after_submission hook [closed]
- How can ι create my own (custom) WordPress table/list?
- Gravity Forms returns to odd position
- Plugin for visitors to edit content without logging in? [closed]
- Is it possible to set different payment gateway on each Gravity Forms form? [closed]
- Gravityforms login form custom redirect if form not submitted
- Form that generates an ID for the customer
- populating a form field with output from a custom plugin function
- Submit Form data to another page via Ajax (WordPress Way)
- Editing a text file from plugin menu
- Insert Message before content of after title
- Ajax Plugin Not Echoing Response
- Plugin that will output submitted form data for user? [closed]
- How to handle forms from sidebar widgets – Processing $_POST variables using get_field_name()
- Add Content to Content()
- Timed content and flagging content as viewed by user?
- How do I add the same contact form to multiple wordpress sites and capture the response in one place or database?
- Why are my WordPress store items showing up in duplicates?
- coding a WordPress AJAX Form using PHP to check if User is Logged Out and Show error
- plugin wraps the entire content
- How retreive saved data from gravity forms in my template?
- Merge tags in multistep Gravity Form?
- Creating a form and displaying entry data as a table
- Storing The Data Collected by Ninja Forms into Another (custom) Database [closed]
- WordPress Multi-Step Product Search
- JQuery needs to be defined in , but Gravity Forms is defining it in the
- Sell access to form [closed]
- File Uploader – Upload without adding to Media Library
- Get post content from outside the loop with plugin shortcode usability
- Table is not created in WAMP
- Creating a search form and displaying results
- Custom form not showing in correct place on page
- add_meta_box creating default form field types
- Form Plugin for Api Requests which is used via Shortcode
- How to redirect to a page after the form is submitted
- Call another page in forms
- Echo out element to another page.
- How to Use the Filter “sidebar_login_widget_form_args”
- Select Form Element Not Saving from Plugin Options
- Table appears in Visual mode of editor but not in preview or after publish
- Storing Form data in a different database
- Is it save to replace with in WordPress search form
- Contact Form 7 Plugin emails not being received by some accounts
- Contact Form 7 “non-selectable” options in a drop down [closed]
- Interface needed to transfer contents in a table on a web page to the Add New Product interface
- Can’t create tables with my plugin
- Using AJAX to run SQL statement and populate dropdown
- Is there a way to keep youtube videos from displaying on home page, and display only on single posts?
- How to append new form elements in “Add New” form of Users in WordPress admin panel?
- Need to add/remove group of options and display them as rows
- Filtered content appears in the excerpt
- Is there existing plugins to “Click-to-Launch” embedded Flash / SWF content?
- Looking for a simple checkout plugin [closed]
- Redirect plugin after form submit or show errors
- What’s the best way to echo out a filter variable?
- How do I send the contents of a form to deliver to the already existing custom field in the wordpress theme
- Restrict posts to customers with complete WooCommerce orders only
- Linking form to user meta fields
- WordPress Forms Advance Conditional Logic
- get wpforms ID value from ACF text field
- how to resubmit a submitted form with gravity forms plugin
- User loggedin as Subscriber form not sending
- WordPress – send digital product with custom email
- Some error in mysql script ? Can’t working to create table
- GitHub plugins safe to use in my website?
- How to create a form where you can select multiple recipients, based on a list of website users?
- login form should redirect to register page for in 1st login next time it should redirected to home page
- WordPress search input in database, to edit information via form and update the database
- Is classical wordpress eidtor a good option for me to include a large table with a large number of images on my webpage?
- Multisite – Cloning CPT pages + content (including ACF Flexible Content) from site to site
- Plugins custom table not being created on activation
- create pages automatically and dynamically in wordPress
- How to get data from a form on a wordpress site?
- $wpdb->delete not working for me
- WPForms Custom Redirect not working
- A dynamic table plugin to get user input
- Displaying different content depending on variable
- I want to schedule email (date, time is in database->table) wp_schedule_event() not working
- Submitting form to PHP
- How to capture hidden values with Gravity Forms
- How can I add a custom Javascript snippet to display my feedback in footer?
- How to use third-party SendGrid Email Validation API in Gravity Forms?
- Tool to highlight text in WordPress page and provide additional text on hover
- How can I change page content for good once a button is pressed?
- General Term for this form Field
- Store GravityForm data in phpmyadmin (mysql)
- How can I implement radio buttons with icons in Contact form 7?
- wp_set_password() does not work!
- Custom Formdata matching with user table
- Hide button after form submit and save state to localstorage
- Why is my form going to frontend on html form submission present on the php files inside my custom plugin?
- Content disappears when searching with Search & Filter plugin
- Meta Key array building with multiple input values from fields
- Creating posts with acf_form() that has a relationship type field
- Plugin to manage form submissions on admin panel
- How is it possible to create Multi part sections where people can answer or comment or vote on various parts of a page’s content as given example?
- How to send custom mail when a user complete a specific form
- How to submit custom form data using ajax to HubSpot form?
- Ajax call to php function doesn’t work PHP code
- Copying content from my other websites