Menu Item image Animation on Hover

.header-navigation .menu .menu-item:hover { background: url(https://ecommerce-base-1.instawp.xyz/wp-content/uploads/2024/05/Plan-De-Travail-14_7png.webp) no-repeat; background-size: contain; background-position: center; transition: 0.5s; }Continue reading

Phone Number (depreciated)

$field_default = ‘default_phone’; // Set a default value for $field $source_default = ‘option’; // Set a default value for $option $output_default = ‘national’; // Set a default value for $output $field_custom = ‘custom_phone’; // Set a custom value for $field…Continue reading

Phone Number – Inline Text (depreciated)

$field_default = ‘default_phone’; // Set a default value for $field $source_default = ‘option’; // Set a default value for $option $title_value = ‘Click to call ‘ . get_bloginfo(‘name’) . ‘ now!’; // Check if there is a value for the…Continue reading

Change “Your Donation” On Donation Form

$fields = add_filter( ‘charitable_donation_form_fields’, ‘example_charitable_donation_form_fields’, 10, 2 ); function example_charitable_donation_form_fields( $fields, $form ) { $fields[‘donation_fields’][‘legend’] = ‘Changing This Title’; return $fields; }Continue reading

Untitled Snippet

wp_enqueue_style( ‘style’, get_stylesheet_uri() ); .wp-block-latest-comments__comment-date { color: var(–wp–preset–color–primary); font-size: var(–wp–preset–font-size–small); } function myfirsttheme_setup() { /* * Load additional block styles. */ $styled_blocks = [‘latest-comments’]; foreach ( $styled_blocks as $block_name ) { $args = array( ‘handle’ => “myfirsttheme-$block_name”, ‘src’ => get_theme_file_uri(…Continue reading