WP Simple Pay: Conditionally Dequeue Scripts & Styles

Conditionally dequeue scripts & styles based on set conditions. In this example, we remove all plugin…

Add Rel Nofollow to Top Bar Social Links

We don't recommend it but if you want to add a nofollow attribute to your top…

Change Default Post Type Name “aioseo-location”

This filter can be used to change the default post type name from “aioseo-location” to 'franchise-location'.

<10

Adds URL to pages window

add_filter('manage_page_posts_columns', 'my_custom_column', 10); add_action('manage_page_posts_custom_column', 'add_my_custom_column', 10, 2); function my_custom_column($defaults) { $defaults['url'] = 'URL'; return $defaults; }…

Do Not Hide Donor Fields For Logged In Users

Charitable hides the donor fields for users who are logged in and you can force shown…

MemberPress: Display Account Tabs Anywhere

This code registers a new shortcode: [mepr-account-links]. This shortcode can be used anywhere to display the…

Auto-logout inactive users

Automatically logout users after 10 minutes.

<10

Translate Products

Code required to translate the word "Products".

Use Full Store Address in Ships From

add_filter( 'wcv_product_ships_from', 'ships_from_address' ); function ships_from_address( $field ){ global $post, $product; $shipping_disabled = wc_string_to_bool( get_option( 'wcvendors_shipping_management_cap',…

Dynamically Change the SEO Title of a Specific Term Before the Metadata is Saved

The code snippet below can be used to dynamically change the SEO title of a specific…

<10

Hide unnecessary roles

Masque les roles qui ne doivent pas être utilisés dans les filtres utilisateurs

Change Default Post Type Plural Label “Locations”

This filter can be used to change the default post type plural label from “Locations” to…

<10

Header and Footer

Copy/pasted form docket

Justin Barron
<10

Move Jump to Recipe above featured image in Genesis

/** * Ensures the "Jump to Recipe" button is added above the featured image. */ add_action(…

<10
1 29 30 31 32 33 113