Replace The WordPress Logo on Login Page with your own logo

add_filter( ‘login_head’, function () { // Update the line below with the URL to your own logo. // Adjust the Width & Height accordingly. $custom_logo = ‘https://qcs-ghana.stromstadafroshop.se/wp-content/uploads/2024/04/logo-email-header.webp’; $logo_width = 100; $logo_height = 100; printf( ‘ ‘, $custom_logo, $logo_width, $logo_height );…Continue reading

WP Simple Pay: Custom Button Color

.simpay-styled .simpay-form-control .simpay-btn:not(.stripe-button-el) { background-color: #0b749d; } .simpay-styled .simpay-form-control .simpay-btn:not(.stripe-button-el):focus, .simpay-styled .simpay-form-control .simpay-btn:not(.stripe-button-el):hover { background-color: #086285; }Continue reading

Custom Receipt Page

add_filter( ‘charitable_permalink_donation_receipt_page’, ‘example_charitable_permalink_donation_receipt’, 999, 2 ); function example_charitable_permalink_donation_receipt( $value, $args ) { // The $value is the URL of the donation receipt page or whatever URL you want the user to go after a successful donation. // The $args array…Continue reading

Add WPCode Permalink Smart Tag

add_filter( ‘wpcode_smart_tags’, function( $tags ) { $tags[‘custom’] = array( ‘label’ => ‘Custom’, ‘tags’ => array( ‘permalink’ => array( ‘label’ => ‘Permalink’, ‘function’ => ‘wpcode_custom_permalink_tag’, ), ), ); return $tags; } ); function wpcode_custom_permalink_tag() { // Replace custom_field_tag below with the…Continue reading