When I turn on concatenate JS in Jetpack Boost, the desktop menu’s submenu (‘MORE’) toggle disappears and the dropdown won’t show up.
Any idea why this happens? Or which JS string to exclude to stop this from happening
]]>I am using WordPress and contact form 7 and I use Redirection for Contact Form 7 plugin which manages what happens after the form is filled in.
It has a space for JavaScript to be run when the form is sent.
I am making a form to update a user role if they fill out the form, and this form is only available if they are already logged in. so I thought the easiest way would be to use java script to:
change current (logged in) user role to new role
or even simpler
let role (of logged in user) = new role
I don’t know JavaScript at all, but I thought I could google it and piece it together, but like all things there are pages and pages about the keyword and not my specific problem topic, so much that I haven’t even been able to get even a few bits of code to try and put it together…
Any help would be appreciated!!, even just somewhere to see clearly how to use JavaScript and user roles with WordPress, so i can learn how to do it myself.
]]>See events this month (october, 2018 and may 2019)
]]>I see this error: “Google Maps API error: MissingKeyMapError”
https://um-sposa.com/?page_id=5966
I’ve already added my API key in advenced settings.
How do I fix this??? Please help.
]]>I’m definitely rusty when it comes to JavaScript does it matter what version of jQuery I use does it have to be hosted locally? I get the following error after uncommenting out defaultthumb gif
‘_addTempCovers — last.fm.records.js:503TypeError: undefined is not a function (near ‘….on(‘error’, function()…’)’
You can see the whole stack trace unless I fix it tonight, today has not been a good JavaScript day. I tried putting the default image in with the javascript maybe I’ll try using a local copy jQuery too… I prefer to keep images in a directory other than with the .js files. It doesn’t seem to matter what I do, I spent a lot of time debugging APIs in the past some obscure artists can cause trouble, those with strange names etc. my Last.fm account name is “Muskie” but I can’t swear I won’t listen to any music ever again.
]]>loadJS
to tell which table to load. Now my questions for this:
1. In TablePress/CSS there is a warning.txt that says to not touch the CSS files because updates may cause errors. Adding 2 new CSS stylesheets, would they be destroyed in future updates of TablePress?
2. How would I go about to use loadJS query to load only one table? I can’t seem to find the table files in the wp-content/plugins/tablepress files?
Tobias, to finalize I want to say that TablePress is an amazing plugin and I’ve recommended it to my friends and will definitely keep doing so. Cheers
https://www.ads-software.com/plugins/tablepress/
]]>I have a single page website with a portfolio gallery. On this gallery I load the content with lightbox and I use Advanced Ajax Page Loader to load next works on same page with ajax. For that to work, I need to use a reload code for the Gallery Lightbox, this is the code:
jQuery(document).ready(function () {
jQuery(“.gallery1 a”).attr(“rel”,”gallery1″);
jQuery(‘a[rel=”gallery1″]’).colorbox({title: function(){ return jQuery(this).children().attr(“alt”); }});
});
But on the portfolio thumbnails I use rel=”lightbox[<?php the_title(); ?>] to load only the images of the post as a lightbox gallery, but when I go on the next page, the reload code turns the rel into rel=”gallery1″, which ruins the gallery…
Is there any way to put rel=”lightbox[<?php the_title(); ?>] into that reload code? I don’t know much about jQuery to do so.
Any help is appreciated, thank you
]]>Dont kwnow why…
https://www.ads-software.com/plugins/post-ratings/
]]>After changing the file permission to ‘chmod 777’ for /wp-content/ directory and sub-directories, most of my plugins didn’t work properly espcially the thickbox and my piclens.
Please help me guys. Thanks in advance.
Many Thanks,
Eugene
Using a php file as the submit for is a nightmare for me…. and I don’t know javascript. Is there anyway to do this in pure HTML? I don’t want to screw with vistered which is a complex theme
]]>