Archives: <span>Code Snippets</span>

Default Contact Form

<label> Your Name (required) [text* your-name] </label> <label> Your Email (required) [email* your-email] </label> <label> Subject [text your-subject] </label> <label> Your Message [textarea your-message] </label> [submit "Send"]

Using WP Enqueue Style

function addMyScript() { wp_enqueue_style('mytheme', get_stylesheet_directory_uri().'/css/yourstlename.css'); } add_action('wp_head', 'addMyScript');

By Enque Style

function addMyScript() { wp_enqueue_style('mytheme', get_bloginfo('template_directory').'/style.less', array('blueprint'), '', 'screen, projection'); } add_action('wp_head', 'addMyScript');