Carrying information from button click into form [closed]

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 … Read more

Overwriting a Shortcode

A child theme’s functions.php file is loaded before the parent theme’s, so the behavior you’re seeing is correct. Try adding your shortcode on a later action instead: function wpa_add_child_shortcodes(){ add_shortcode( ‘jo_customers_testimonials_slider’, ‘jo_customers_testimonials_slider_with_thumbnail’ ); } add_action( ‘after_setup_theme’, ‘wpa_add_child_shortcodes’ );