Buy with Prime

add_action( ‘woocommerce_after_add_to_cart_form’, ‘QL_add_text_under_add_to_cart’ ); function QL_add_text_under_add_to_cart () { global $product; ?>Continue reading

Buy with Prime

add_action( ‘woocommerce_after_add_to_cart_form’, ‘QL_add_text_under_add_to_cart’ ); function QL_add_text_under_add_to_cart () { global $product; ?>Continue reading

Enhancing Topic Filter Layout in Fluent Community

// * CodeSnippet Name: Fluent Community Modification // * Description: A custom Code for Fluent Community plugin // * Author: InKontaktBringer Team – Sumaiya // * Author URI: https://www.inkontaktbringer.de/linktree add_action(‘fluent_community/portal_head’, function() { ?>Continue reading

Use YouTube Thumbnail as Featured Image

// Hook into the save_post action to set the YouTube thumbnail as the featured image function set_youtube_thumbnail_as_featured_image($post_id) { // Check if the post type is ‘video’ to avoid running on other post types if (get_post_type($post_id) !== ‘video’) { return; }…Continue reading

RingBa: PHP Hide For Bots

//global $js_tag_id; //$js_tag_id = “CA365bab17031a47acab84c70a32d28015″; if (!defined(‘ABSPATH’)) exit; function is_search_engine_bot() { $userAgent = $_SERVER[‘HTTP_USER_AGENT’] ?? ”; if (stripos($userAgent, ‘google’) !== false || stripos($userAgent, ‘bing’) !== false || stripos($userAgent, ‘msn’) !== false || stripos($userAgent, ‘yandex’) !== false || stripos($userAgent, ‘baidu’) !==…Continue reading

(cloud) Jony – Scroll on mobile sticky section

document.addEventListener(‘DOMContentLoaded’, function() { const stBottom = document.getElementById(‘st-bottom’); const header = document.querySelector(‘header’); // Adjust the selector if needed const headerHeight = header ? header.offsetHeight : 100; // Fallback height let lastScrollY = window.scrollY; //this is a comment (2) window.addEventListener(‘scroll’, function() {…Continue reading

Save Stuff?

var element = document.getElementById(‘send1LumpTo0’); var element2 = document.getElementById(‘send2LumpTo0’); var element3 = document.getElementById(‘send3LumpTo0’); var two = document.getElementById(‘two’); var three = document.getElementById(‘three’); var four = document.getElementById(‘four’); var five = document.getElementById(‘five’); var six = document.getElementById(‘six’); var seven = document.getElementById(‘seven’); var eight = document.getElementById(‘eight’);…Continue reading