Upload vCard files to WordPress

We use the upload_mimes Hook to add the vcard file formats to our allowed mime types. This can be placed in your custom or child themes functions.php file or in a custom plugin. // Enable vcard upload function enable_vcard_upload( $mime_types=array() ){ $mime_types[’vcf’] = ‘text/vcard’; $mime_types[’vcard’] = ‘text/vcard’; return $mime_types; } add_filter(‘upload_mimes’, ‘enable_vcard_upload’ ); You can…… Continue reading Upload vCard files to WordPress

Published
Categorized as Web Tagged

Generate Post Title and Slug from Advanced Custom Fields

I often need to create post titles in WordPress based on fields I’ve generated using Advanced Custom Fields. Below is an example that assumes we have a Custom Post Type registered to “staff” and two Custom Fields with the name of “first_name” and “last_name”. Using the “update_value” hook provided by Advanced Custom Fields and “wp_update_post”…… Continue reading Generate Post Title and Slug from Advanced Custom Fields

Big Bold Button

I’ve been on a spree of creating button styles as well as scalable elements using em’s. Combining those ideas I created the below button. I imagine it being a big call to action. http://codepen.io/philhoyt/pen/xOjmBP

5 Free Plugins Everyone With a WordPress Site Should Be Using

I have been developing WordPress sites for a long while now and have found a handful of plugins I couldn’t live without. I list them below in no particular order. I would love to hear what some of your must have plugins are in the comments. WordPress SEO by Yoast Do you like traffic to your…… Continue reading 5 Free Plugins Everyone With a WordPress Site Should Be Using