splitting the URL using jQuery

Not really a WordPress related question but you could do this // creates a object from the array, one of the properies (search) contains the query let url = new URL(‘https://dev/job/?job_id=jkdbsbd45JubJKAAASSYT’); // will create a object of all availalble query properites const urlSearchParams = new URLSearchParams(url.search); const params = Object.fromEntries(urlSearchParams.entries()); // remove ? and everything … Read more

Ajax, Permalinks and post_thumbnail

Rather than me solve your problem may I suggest you consider using the more WordPress standard method of AJAX? WordPress Codex: AJAX WordPress Codex: AJAX in Plugins How to manage ajax calls and JSON in WordPress How to Implement Ajax in WordPress Themes If you have follow up questions let us know.

NextGen plugin check failing, why?

The latest release updates the jquery and some plugins had issues with that, you can always upload the older version in the wp-includes directory. I took a sneak peek in the code and the following snippet should be the culprit. function ngg_ajax_test_head_footer() { // Build the url to call, NOTE: uses home_url and thus requires … Read more

Displaying div from custom-post-type in Fancy Box

This follow-up no longer seems to fit here in WordPress Answers, but here’s what I think: Close button works fine for me on all thumbnails (Chrome 16 on Mac); The thumbnails which did not work need to be <a class=”fancybox”…, which they weren’t; You can probably try a CSS-only alternative for hiding scrollbars, which is … Read more