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 | |
//Update profile for WP Users | |
add_action( 'profile_update', array( $this, 'bps_users_save_metadata' ), 10, 2 ); | |
//Adding fields to normal user profile | |
add_action( 'show_user_profile', array( $this, 'bps_custom_user_profile_fields' ) ); | |
add_action( 'edit_user_profile', array( $this, 'bps_custom_user_profile_fields' ) ); | |
/** |
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
.ad { | |
background-color: $grey; | |
&.box-728x90 { | |
height: 90px; | |
width: 728px; | |
} | |
&.box-300x600 { | |
height: 600px; | |
} | |
&.box-300x250 { |
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 | |
add_filter( 'single_template', array( | |
__CLASS__, | |
'get_custom_post_type_template' | |
), 10, 1 ); | |
public function get_custom_post_type_template( $single_template ) { | |
global $post; |
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 | |
/** | |
* An helper file for Laravel 4, to provide autocomplete information to your IDE | |
* Generated for Laravel 4.2.16 on 2014-12-24. | |
* | |
* @author Barry vd. Heuvel <[email protected]> | |
* @see https://github.com/barryvdh/laravel-ide-helper | |
*/ | |
namespace { |
NewerOlder