This file contains 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
<div class="jquery_ui_example">こんにちは</div> |
This file contains 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
#import "example.h" | |
// *** 追加 *** // | |
#import "AdWhirlView.h" | |
#import "AppDelegate.h" | |
@implementation example | |
// *** 追加 *** // | |
@synthesize adView; |
This file contains 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
#import <Foundation/Foundation.h> | |
#import "cocos2d.h" | |
// *** 通常のコード *** // | |
// *** 追加 *** // | |
#import "AdWhirlDelegateProtocol.h" | |
#import "RootViewController.h" | |
// *** <AdWhirlDelegate>を追加 *** // |
This file contains 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
@implementation AppDelegate | |
// *** viewControllerを追加 *** // | |
@synthesize window, viewController; |
This file contains 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
#import <UIKit/UIKit.h> | |
@class RootViewController; | |
@interface AppDelegate : NSObject <UIApplicationDelegate> { | |
UIWindow *window; | |
// *** 追加 *** // | |
RootViewController *viewController; | |
} |
This file contains 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
#import "AdWhirlAdapterIAd.h" | |
#import "AdWhirlAdNetworkConfig.h" | |
#import "AdWhirlView.h" | |
#import "AdWhirlLog.h" | |
#import "AdWhirlAdNetworkAdapter+Helpers.h" | |
#import "AdWhirlAdNetworkRegistry.h" | |
//**** 追加 ***** | |
#import <iAd/ADBannerView_Deprecated.h> | |
@implementation AdWhirlAdapterIAd |
This file contains 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 wp_nav_menu_with_thumbnail($args = array()) { | |
$args['container'] = ''; | |
$args['remove_title'] = true; | |
return $args; | |
} | |
add_filter('wp_nav_menu_args', 'wp_nav_menu_with_thumbnail'); |
This file contains 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
class My_Walker_Nav_Menu extends Walker_Nav_Menu { | |
//ここからカスタマイズのコードを書く | |
function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) { | |
global $wp_query; | |
$indent = ( $depth ) ? str_repeat( "\t", $depth ) : ''; | |
$class_names = $value = ''; | |
$classes = empty( $item->classes ) ? array() : (array) $item->classes; | |
$classes[] = 'menu-item-' . $item->ID; |
This file contains 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
class My_Walker_Nav_Menu extends Walker_Nav_Menu { | |
//ここにカスタマイズするコードを書く | |
} | |
add_filter('wp_nav_menu_args', 'my_nav_menu_args'); | |
function my_nav_menu_args($args) { | |
$args = (object)$args; | |
$args->walker = new My_Walker_Nav_Menu; | |
return $args; | |
} |
This file contains 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
<footer id="footer"> | |
<p><small>Copyright © TACTOSH All rights reserved.</small></p> | |
</footer> | |
</body> |