Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • To show a placeholder for email I moved and dublicated some of the code
    Like this:

    break;
    
    			case 'url':
    			case 'imageurl':
    			case 'text':
    			case 'number':
    			default:
    				$html .= '
    	<input type="text" size="18" value="'.esc_html($var['default']).'" name="'.esc_attr($opt).'" id="'.esc_attr($opt).'" class="mc_input" placeholder="'.esc_html($var['default']).'"/>';
    	break;
    			case 'email':
    	$html .= '
    	<input type="text" size="18" value="'.esc_html($var['default']).'" name="'.esc_attr($opt).'" id="'.esc_attr($opt).'" class="mc_input" placeholder="E-mail"/>';
    				break;
    
    		}
    		if (!empty($var['helptext'])) {
    			$html .= '<span class="mc_help">'.esc_html($var['helptext']).'</span>';
    		}

    Moved case ’email’: and added another placeholder term

    Thread Starter hwi

    (@hwi)

    Hi kosinix
    Thanks for the extremely quick response…

    In my html I saw:

    <p></p></div>
    <p></p></div>
    <p style="position: absolute; top: 0px; left: 0px; display: block; z-index: 4; opacity: 1;"></p>

    So you were spot on – Thanks!
    I made a custom slide template in my theme folder minified it and the extra “slide” went away.
    Thanks… saved me a lot of looking around.

Viewing 2 replies - 1 through 2 (of 2 total)