Disable Dynamic Template on the Homepage/Front-page
The following snippet can be used to remove the dynamic template assigned to all pages from…
Remove Unwanted Events | Display Eventbrite Events
Sometimes it is simplest to resort to code if you want to remove something from the…
Display both published and modified date
‹?php // Code from codewp.ai function codewp_display_dates( $content ) { if(get_post_type() != 'post') { return $content;…
google verification
google verification code
om-nextjs14-layout.tsx
import '@/app/ui/global.css'; import {RouteChangeListener} from '@/app/route-change-listener.tsx'; export default function RootLayout({ children, }: { children: React.ReactNode; })…
om-startClose.js
// Close the OptinMonster campaign om{{id}}.startClose();
slide-bottom-left.css
html div#om-{{id}} { right: auto !important; margin-left: 20px !important; }
RSA GTM Body Tag
Add GTM Tag to Site Body in RSA Site Group
Customize Gift Card Code
/* Customize the generated Gift Card Code */ function agcfw_change_prefix() { return array( 'characters' => 'ABCDEFGHJKMNPQRSTUVWXYZ23456789',…
MemberPress: Disable MemberPress Password Lost/Changed Email
Adding this code snippet will disable the MemberPress Password Lost/Changed notification email.
Snippet Name: Change the WooCommerce variable product drop down place holder text
How to change Change the WooCommerce variable product drop down place holder text
Hide Elementor AI Image
/* * Hide Elementor image optimization ads when choosing the post's featured image on the backend…
MemberPress: Add Address Fields to Authorize.net
By default, the user’s address data collected through MemberPress registration forms are not sent to Authorize.net.…
MFP > Deploy Show & Get Data
add_action('acf/save_post', 'add_show_children'); function add_show_children($post_id) { if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) return $post_id; if (!wp_is_post_revision($post_id) && 'show' ==…