Navigation for Mobile
|

Navigation for Mobile

The navigation bar often becomes an issue when creating a responsive theme. As the width of the browser window shrinks it gets harder to fit it across the top, and the text and clickable area get smaller and smaller. If we keep them large and organize the navigation tabs in…

Custom Post Types
|

Custom Post Types

Setting up Custom Post Types | Setting up Custom Fields | Templates Setting up Custom Post Types I was recently asked to create a custom post type for members of an association. Each member should be able to enter various kinds of information about themselves. Parts of this information would…

Drop Shadow with Transparency

If you use CSS3 dropshadows you can specify the color with a hex-number, but if you need a transparent shadow, use this: box-shadow: 2px 2px 2px rgba(0,0,0,0.5); -moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.5); -webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.5);box-shadow: 2px 2px 2px rgba(0,0,0,0.5); -moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.5); -webkit-box-shadow: 2px 2px 2px…

Drop Shadow with Transparency

If you use CSS3 dropshadows you can specify the color with a hex-number, but if you need a transparent shadow, use this: box-shadow: 2px 2px 2px rgba(0,0,0,0.5); -moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.5); -webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.5);box-shadow: 2px 2px 2px rgba(0,0,0,0.5); -moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.5); -webkit-box-shadow: 2px 2px 2px…

Drop Shadow with Transparency

If you use CSS3 dropshadows you can specify the color with a hex-number, but if you need a transparent shadow, use this: box-shadow: 2px 2px 2px rgba(0,0,0,0.5); -moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.5); -webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.5);box-shadow: 2px 2px 2px rgba(0,0,0,0.5); -moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.5); -webkit-box-shadow: 2px 2px 2px…

|

Remove Unwanted Profile Fields

Below is the code you would use to hide unwanted Profile fields. 1 2 3 4 5 6 7 8 add_filter(’user_contactmethods’,’hide_profile_fields’,10,1);   function hide_profile_fields( $contactmethods ) { unset($contactmethods[’aim’]); unset($contactmethods[’jabber’]); unset($contactmethods[’yim’]); return $contactmethods; }add_filter('user_contactmethods','hide_profile_fields',10,1); function hide_profile_fields( $contactmethods ) { unset($contactmethods['aim']); unset($contactmethods['jabber']); unset($contactmethods['yim']); return $contactmethods; }

End of content

End of content