Category: Widgets
Styling the Cookies plugin by CookiesYes
/* Styling the Cookies plugin by CookiesYes * Authored by John Foliot – Foliot Digital Accessibility Services (https://fdas.ca) */ /* * This plugin is a bugger to style – why I don’t know and I never bothered to investigate. The…Continue reading
Welcome Cards
MyOnlyTab Value Cards 🛡️ Zero Telemetry: No ads, No trackers F**k Tech Giants. Access Powerful Tools in One Place without being Watched or Sold to. 🚀 Explore Freely: No Forced SignUp Minimal by design with…Continue reading
Display Width in Pixel – Elementor
// Description: Displays the responsive width of the preview in the Elementor editor // Author: Carlos Béjinha // Author URI: https://binformatica.pt // ———————————— // Info Width In Elementor Editor function add_custom_script_to_elementor() { ?>Continue reading
Backlink
Website Design by TOMSEN + REKKOContinue reading
Site Title Shortcode
echo “© ” . get_bloginfo(‘name’);Continue reading
Copyright
© Squarer. All rights reserved.Continue reading
Create Custom Snippet
WordPress Trending Posts | Popular Posts Ticker Shortcode
/* Showcase your trending content with this scrolling WordPress ticker. Shortcode: [trending_postss count=5] Can change count as per your needs. Note: This shortcode requires the “Post Views Count | Post Views Tracking with Shortcode and Admin Column” snippet to be…Continue reading
Automated Cat to Nav
add_action(‘save_post’, ‘check_and_add_categories_to_menu’, 20, 3); function check_and_add_categories_to_menu($post_id, $post, $update) { // Only run for posts and prevent autosaves if (wp_is_post_autosave($post_id) || wp_is_post_revision($post_id) || $post->post_type !== ‘post’) { return; } $locations = get_nav_menu_locations(); if (!isset($locations[‘primary’])) return; $menu_id = $locations[‘primary’]; $menu_items = wp_get_nav_menu_items($menu_id);…Continue reading