This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $content = 'My Content'; | |
| echo apply_filters( 'the_content', content ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $state_array = array( | |
| 'Alabama' => "Alabama", | |
| 'Alaska' => "Alaska", | |
| 'Arizona' => "Arizona", | |
| 'Arkansas' => "Arkansas", | |
| 'California' => "California", | |
| 'Colorado' => "Colorado", | |
| 'Connecticut' => "Connecticut", | |
| 'Delaware' => "Delaware", | |
| 'Florida' => "Florida", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function check_user_role($roles,$user_id=NULL) { | |
| // Get user by ID, else get current user | |
| if ($user_id) | |
| $user = get_userdata($user_id); | |
| else | |
| $user = wp_get_current_user(); | |
| // No user found, return |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ================ IE SPECIFIC SELECTORS | |
| background: gray; /* standard */ | |
| //background: grey \0/; /* IE8+9 */ | |
| //\0/ - i.e. padding: 0px 5px 10px 70px\0/ /* IE 8 only */ | |
| background: pink\9; /* IE 9 and below */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .progress-bar { | |
| width: 95%; | |
| height: 14px; | |
| padding: 3px; | |
| background-color: #ffffff; | |
| overflow:hidden; | |
| border-radius:16px; | |
| box-shadow: inset 0 1px 2px #000, | |
| 0 1px 0 #2b2b2b; | |
| float:right; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| &:after{ | |
| @size:32; | |
| content:""; | |
| position: absolute; | |
| bottom: -@size*1px; | |
| left: 0; | |
| width: 0; | |
| height: 0; | |
| border-width:(@size / 2)*1px; | |
| border-style:solid; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function sanitize_from_word( $content ) | |
| { | |
| // Convert microsoft special characters | |
| $replace = array( | |
| "‘" => "'", | |
| "’" => "'", | |
| "”" => '"', | |
| "“" => '"', | |
| "–" => "-", | |
| "—" => "-", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $post = get_post( $id ); | |
| $content = apply_filters( 'the_content', $post->post_content ); | |
| echo $content; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FORT COLLINS; FT COLLINS; FT. COLLINS - 3.85 | |
| Larimer County - 0.65 | |
| 80511; 80512; 80513; 80515; 80517; 80517; 80521; 80522; 80523; 80524; 80525; 80526; 80527; 80528; 80532; 80535; 80536; 80537; 80538; 80539; 80541; 80545; 80547; 80549; 80553 | |
| CO - 2.9 |