Born and raised in Bassano del Grappa, her suitcase is always packed. She like individuals and she is scared of people.
She is the better half of Papermoustache and this is her official website
Client: Sara Lando
responsive website
Add a custom widget inside the dashboard
This snippet is useful if you need to customize your client's wp dashboard with a custom message.
//add custom widget - Support
add_action('wp_dashboard_setup', 'my_custom_dashboard_widgets');
function my_custom_dashboard_widgets() { global $wp_meta_boxes;
	wp_add_dashboard_widget('custom_help_widget', 'Need help?', 'custom_dashboard_help');

//customize the message
function custom_dashboard_help() {
	echo __('

your custom message

', 'pprm'); }
Using modernize to enable/disable code
Modernizr has the ability to target touch devices in order to customize a specific user experience on desktop and mobile (and it is safer than targeting media queries in my opinion)
if (Modernizr.touch) { //do nothing } else { //your js code }