Location: site_wide_header
Graili shop
Untitled Snippet
.entry-meta { display: none; }Continue reading
Make Sponsor ID a Meta Tag
/* 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
Envira Albums – remove the galleries links from the album page
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
cmplz_show_banner_on_click
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
TranslatePress Shortcode Styler MINIMAL
/* 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
Test new
use PODeviceDetector\API\Device; $true = true;Continue reading
CSS
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
Disable Fluent Booking Autofill on Specific slug pages
// 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