Skip to content
Advertisement

Tag: wordpress

hide dataset by default using Chart.js and a custom script

I’m using wpDataTables plugin on my WordPress website to draw some tables and charts. The charts are rendered using Chart.js. The developers of the plugin created a custom script to control some more aspects of Chart.js than the plugin can handle out of the box. That’s the script: In this example it hides the axes of the chart with the

Tagdiv Composer loads to infinity: WordPress Plugin

I am new to Wordpress. I am working on a news website with the Newspaper theme and Tagdiv composer plugin After working for a week I have developed a problem which I explain below. Whenever I want to edit pages with TagDiv Composer, the large spinner icon shows and starts loading. It stays there like forever until I close the

Remove tag using javascript

Is there a way to remove title tag using javascript? I tried to do this but it failed because title tag is not a node (console said). I need to force a Wordpress plugin to overwrite the default title tag with a custom one. Any ideas? Answer The title property just contains a string representation of the title. It doesn’t

how to load Javascript in WordPress Plugin

Can someone show me how to include this javascript file into my wordpress plugin. I have tried all the wp_enqeue_script() methods but nothing happens. ok here is my example plugin code with comments explaining what I would like. this is the popup.js So does anybody know how to call this script to work correctly in wordpress plugin? Answer You need

JQuery Error: Uncaught TypeError: Object # has no method ‘ready’

my site is getting the error in this title in the javascript console. Google seems to say that it is because jquery isn’t loaded, but it is definitely visible in the head. the site is medical marijuana related, so nsfw for some.sorry for the messy head, it’s in dev mode. http://www.kindreviews.com/1/mmc/ Thanks, zeem Answer Apparently you are using both jQuery

Advertisement