Accordion panel not collapsing with shortcode in custom post type. I can not add 'collapse class' in the accordion. It may be the issue in this case.      jQuery(document).ready(function($){           $(".panel-group .panel:first-child .p...
I'm trying to make a shortcode "plugin" - similar to what Wordpress uses with TinyMce. I'd like user to be able to insert a shortcode (like [gallery id="3"] or [image id="9"]) via a button and then show a placeholder i...
I found the following short and tricky codes on  Double bitwise NOT (~~) - James Padolsey http://james.padolsey.com/javascript/double-bitwise-not/  Web Reflection: Two simple tricks in JavaScript ( olds, but always useful ) http://webreflection.blog...
I am new to javascript. Please help with the following. I have a repetitive block of code that is about 40 "cases" of almost same code - which takes the returned value of wordpress do_shortcode and save to javascript variable (this part works...
I am trying to add a WooCommerce categories-dropdown-shortcode, but this seems to not work. I am able to see the drop down, but when i choose a category it doesn't register and nothing happens.   sc:  [product_categories_dropdown orderby="tit...
I have created a Wordpress Accent(text-to-speech) plugins/shortcode for our wordpress site (https//speaktoday.com). It's functionality working fine on desktop but whenever I open it mobile it showing a pop-up "speaktoday.com  wants to use spe...
A fellow Stack Overflow member kindly created a working script that reveals a hidden div when a Youtube video completes.  It's pretty cool check it out here. here. How would I take the following code and place it in the head so that I can create...
I’m currently coding a WordPress shortcode and it has some jquery involved. For jquery to work properly I need to use a div with a unique #ID. If the shortcode is used once, it works fine, but if they were to use the shortcode more than once on a p...
I am using PDF Embedder to embed pdf into wp webpage.  I'd like it to embed pdf when a button is clicked.  When I add the pdf media PDF Embedder inserts shortcode in backend editor:    [pdf-embedder url="http://example.com/wp-content/uploads/...
Im trying to make a button opening a shortcode from the ultimate shortcode plugin. Here is my example:  <button id="showInfo" onclick="showInfo()">Video</button>   javascript:  var infoSC = '[su_lightbox_content id=...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.