ADA – Make Text Highlighter SVG aria-hidden
jQuery( document ).ready( function($) { $(‘.dipl_text_highlighter .dipl_text_highlighter_inner_wrapper svg’).attr(‘aria-hidden’, ‘true’); });Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
jQuery( document ).ready( function($) { $(‘.dipl_text_highlighter .dipl_text_highlighter_inner_wrapper svg’).attr(‘aria-hidden’, ‘true’); });Continue reading
jQuery( document ).ready( function($) { $(‘.et-pb-icon’).attr(‘aria-hidden’, ‘true’); });Continue reading
// This is for the blog sections to be same height (function($) { $(document).ready(function() { $(window).resize(function() { $(‘.et_blog_grid_equal_height’).each(function() { equalise_articles($(this)); }); }); $(‘.et_blog_grid_equal_height’).each(function() { var blog = $(this); equalise_articles($(this)); var observer = new MutationObserver(function(mutations) { equalise_articles(blog); }); var config =…Continue reading
jQuery(document).ready(function ($) { var urlParams = new URLSearchParams(window.location.search); var vgNumberFromUrl = urlParams.get(‘test’); // Update URL parameter here if needed console.log(‘VG Number from URL:’, vgNumberFromUrl); if (vgNumberFromUrl) { console.log(‘Starting AJAX request…’); $.ajax({ url: ajaxurl, type: ‘POST’, data: { action: ‘fetch_vg_data’, test:…Continue reading
document.addEventListener(‘DOMContentLoaded’, function() { // Select the input element by its id var usernameInput = document.getElementById(‘user_login’); // Check if the element exists to avoid any potential JavaScript errors if (usernameInput) { // Change the placeholder text usernameInput.placeholder = ‘Username or Email’;…Continue reading
document.querySelectorAll(‘.ngg-navigation a’).forEach(link => { link.setAttribute(‘rel’,’nofollow’); });Continue reading