Add WPCode Custom Field Smart Tag

add_filter( ‘wpcode_smart_tags’, function( $tags ) { $tags[‘custom’] = array( ‘label’ => ‘Custom’, ‘tags’ => array( ‘custom_field_tag’ => array( ‘label’ => ‘Custom Field Tag’, ‘function’ => ‘wpcode_custom_field_tag’, ), ), ); return $tags; } ); function wpcode_custom_field_tag() { // Replace custom_field_tag below…Continue reading

Remove Prices

/* * Hide the price from notifications * * @link https://wpforms.com/developers/how-to-hide-the-item-price-value-in-the-email-notifications */ function wpf_email_field_value( $value, $field, $form_data, $context) { if ( ’email-html’ === $context ) { // If the form ID is 364 AND the field ID is 19 remove…Continue reading

Forum

// create new element const elem = document.createElement(‘div’) elem.className = ‘quetxt’ // add text elem.innerText = ‘Question:’ elem.style = ‘color:#d55900; font-weight:700; font-size: 18px; margin-top:15px; margin-bottom:10px; font-family:Georgia;’ // grab target element reference const target = document.querySelector(‘.article-header’) // insert the element before…Continue reading

CLOUD Meister – Social Media

if ( ! function_exists( ‘cmx65_contacts’ ) ) : function cmx65_contacts( $contactmethods ) { $contactmethods[‘cmx65_facebook’] = __( ‘Facebook’ ); $contactmethods[‘cmx65_instagram’] = __( ‘Instagram’ ); $contactmethods[‘cmx65_twitter’] = __( ‘Twitter’ ); return $contactmethods; } add_filter(‘user_contactmethods’,’cmx65_contacts’, 10, 1); endif;Continue reading