shortcode and javascript trigger click
-
feed=”https://yourdomain.com/01.mp3
the guide tells me you can activate the click on the NON sticky reader with this JS code:
jQuery('[data-albums="75"]').find('li:nth-child(2) .audio-track').trigger( "click" );
i can’t figure out how to insert the JS into my wp site.
I would like to create a series of posts with a button for each post, this button on click will send the link in a php variable which will replace the external link in the do_shortcode.
How can I activate this thing?the guide is totally absent in this regard.
2. can I remove the play next previous track controls?
3. How can I activate a trigger on the custom play / pause?
- The topic ‘shortcode and javascript trigger click’ is closed to new replies.