MemberPress: Add Custom Field to Transactions Table
This code snippet will add data collected through a custom field on MemberPress registration forms to…
Show Discount Field
Makes the discount field on checkout show by default.
MemberPress: Hide Protected Posts from Search Results
Hide any posts that the current user (or guest) does not have access to from search…
Elementor - Parallax
function jquery_parallax() { ?>
Floating Social Media Icons (copy)
Display your Social Media accounts in a floating sidebar.
MemberPress: Change the “Username or E-mail” label on login form
This code changes the “Username or Email” field label on the MemberPress login page. Note: this…
featured-images-rss-feed
function featuredtoRSS($content) { global $post; if ( has_post_thumbnail( $post->ID ) ){ $content = '<div>' . get_the_post_thumbnail(…
Add Subscriber to Segment
This snippet helps you add the push subscriber to the segment as per the action defined.
Current Year Shortcode
Adding the option to use the current year [year] shortcode on your website on any website,…
MemberPress: Display Account Tabs Anywhere
This code registers a new shortcode: [mepr-account-links]. This shortcode can be used anywhere to display the…
Change a currency symbol AMD to Դրամ
/** * Change a currency symbol */ add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2); function change_existing_currency_symbol( $currency_symbol, $currency )…
Clamp Text size for Elementor
only for elementor builder
Local Novaria
Nation Details Industry Output Upgrade Level Income from Industry Percentage Contribution to Exports Investment Cost Divestment…
CHARITABLE_DEBUG mode
This code snippet will define the `CHARITABLE_DEBUG` constant as `true`. See https://www.wpcharitable.com/documentation/charitable-debug-mode/.
Header and Footer
Copy/pasted form docket