X

Archive for Code

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 sm...Read More »
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 shou...Read More »

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);

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);

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);

JQuery Tabs Not Working

Adding jQuery tabs to a website doesn't seem all that hard - until you run into an unexpected problem. First you need to go to the jQuery website and find the source code on the tabs page. Make sur...Read More »

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;
}

1 2

Contact us

Contact us about LoudFeed services

Get in touch with us

Name: Loud Feed Services Administrator
Address: Brooklyn, NY
20126155