Untitled Snippet
.entry-meta { display: none; }Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
.entry-meta { display: none; }Continue reading
/* on category pages, grabbing the sponsorship_id is the last post included in the list – not the category’s sponsor id. * this code deals with this…borrowed from equinenetwork-gam-public-footer.php */ $term = get_queried_object(); if ( function_exists(‘get_field’) == true && get_field(‘sponlineitemid’)…Continue reading
document.addEventListener(‘DOMContentLoaded’, function() { const targetNode = document.body; // Or a more specific parent element of the gallery const config = { childList: true, subtree: true }; const callback = function(mutationsList, observer) { for (const mutation of mutationsList) { if (mutation.type…Continue reading
function addEvent(event, selector, callback, context) { document.addEventListener(event, e => { if ( e.target.closest(selector) ) { callback(e); } }); } addEvent(‘click’, ‘.cmplz-show-banner’, function(){ document.querySelectorAll(‘.cmplz-manage-consent’).forEach(obj => { obj.click(); }); });Continue reading
/* Grundlegende Anpassungen für den Sprachumschalter */ .trp-language-switcher { all: unset !important; display: inline-block !important; position: relative !important; /* Verhindert Verschiebungen */ } /* Entfernt alle Padding-, Margin- und Rahmenwerte */ .trp-language-switcher a { all: unset !important; display: inline-block !important;…Continue reading
use PODeviceDetector\API\Device; $true = true;Continue reading
body:not(.home) #primary-menu { display: none !important; } /* 1) Remove the border/background from .shortcode so it becomes invisible within .panel-content */ .shortcode { background: transparent !important; border: none !important; padding: 0 !important; white-space: normal !important; overflow-x: visible !important; } /*…Continue reading
// Name: Disable Fluent Booking Autofill on Specific Pages // Description: Prevents autofill of name and email in the Fluent Booking form on pages with ‘apt-team’ in the slug. // Author:Sumaiya, Clickup Documentation: https://app.clickup.com/36636088/v/dc/12y1dr-23175/12y1dr-18975 function modify_fluent_booking_vars($data) { if (is_page()) {…Continue reading
document.addEventListener(“DOMContentLoaded”, function() { // Vérifiez si vous êtes sur la bonne page if (window.location.href.includes(‘/en/fd-booking/#/’)) { // Trouvez tous les éléments de menu const menuItems = document.querySelectorAll(‘.fframe_menu_primary’); // Modifiez leurs URLs menuItems.forEach(item => { const href = item.getAttribute(‘href’); // Remplacez les…Continue reading