Make Private Posts Visible to Subscribers

/* * Make Private Posts visible to Subscribers * Typically only visible to admin or editor…

Peter Beare
<10

Exibe preços (Parcelado e com desconto a vista), na página do produto e no looping do produto.

Esse Snippet permite adicionar simulação de descontos e parcelamento aos preços exibidos no looping do produto…

Allow SVG Files Upload

/** * Allow SVG uploads for administrator users. * * @param array $upload_mimes Allowed mime types.…

<10

Disable Emojis

/** * Disable the emojis in WordPress. */ add_action( 'init', function () { remove_action( 'wp_head', 'print_emoji_detection_script',…

<10

Current Year

function current_year_shortcode() { return date('Y'); } add_shortcode('year', 'current_year_shortcode');

<10

Remove Unused JS

/** * We will Dequeue the jQuery UI script as example. * * Hooked to the…

<10

Explicit Fixed Width and Height

add_filter( 'the_content', 'add_image_dimensions' ); function add_image_dimensions( $content ) { preg_match_all( '/]+>/i', $content, $images); if (count($images) <…

<10

Increase SEO Analyzer TimeOut

AIOSEO - Increase SEO Analyzer TimeOut

Super Socializer Signin with google style

.theChampLogin.theChampGoogleBackground.theChampGoogleLogin{ height: 44px; background-color: #4285F4; border-radius: 2px; box-shadow: 0 5px 10px 0 rgba(0,0,0,.5); width: 184px; }…

Set Minimum total purchase amount

add_action( 'woocommerce_check_cart_items', 'required_min_cart_subtotal_amount' ); function required_min_cart_subtotal_amount() { // HERE Set minimum cart total amount $minimum_amount =…

REMOVE PRODUCT LINKS FROM YOUR SHOPPING CART

add_filter( 'woocommerce_cart_item_permalink', 'custom_remove_cart_product_link', 10 ); function custom_remove_cart_product_link() { return __return_null(); }

remove 'X' remove button in cart

.woocommerce table.shop_table .product-remove { text-align: center !important; display: none; }

WP Simple Pay: Modify Customer Record Creation

Add custom parameters to the Stripe Customer creation request.

1 68 69 70 71 72 210