Sort Events Category by Publish Date (Oldest First)

function sort_posts_by_category($query) { if ($query->is_main_query() && !is_admin()) { $oldest_first_categories = array(1483,1486,1485,1484,1482,1391); // Replace with the IDs…

frontend/js/snippets/scroll-behavior/sticky

This JavaScript snippet enables smooth scrolling to in-page anchors (like #section1) while automatically adjusting for a…

ACF_KEYSMST_MSTCASECPT – BASELINE MEASUREMENTS (v3.0 Modular)

/** * ============================================ * MST CASE - TAB: BASELINE MEASUREMENTS (v3.0 Modular) * ============================================ * *…

ismail daugherty PRO
<10

Hide Empty Categories for PP Grid Filter

add_filter( 'pp_cg_filters_show_available_posts_terms', '__return_true' );

Ilana Borsje
<10

WPForms: swap price and option value for payment fields

This snippet makes the option label "$40.00 - Second Choice" instead of "Second Choice - $40.00"…

Organization schema setup

This PHP snippet is for Organization schema (JSON-LD) that clearly says: “This site is published by…

<10

ANDRITZ Navigation Panels

document.addEventListener("DOMContentLoaded", function () { const triggers = document.querySelectorAll(".bp-andritz-utility"); const panels = document.querySelectorAll(".bp-andritz-panel"); const closes = document.querySelectorAll(".bp-andritz-close");…

Jay Play PRO
<10
1 … 100 101 102 103 104 … 242