__( 'Header menu bar' ) , 'footer-menu-bar' => __( 'Footer menu bar' ) , ) ); } //[redirectmobile] function redirectmobile_func( $atts ){ #wp_redirect( 'http://www.example.com', 301 ); exit; } add_shortcode( 'redirectmobile', 'redirectmobile_func' ); if ( function_exists('register_sidebar') ){ register_sidebar( array( 'name' => __( 'Home Widget Area', 'twentyten' ), 'id' => 'home-widget-area', 'description' => __( 'The primary widget area', 'twentyten' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Left Widget Area', 'twentyten' ), 'id' => 'left-widget-area', 'description' => __( 'Left widget area', 'twentyten' ), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Right Widget Area', 'twentyten' ), 'id' => 'right-widget-area', 'description' => __( 'Right widget area', 'twentyten' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Footer Widget Area', 'twentyten' ), 'id' => 'footer-widget-area', 'description' => __( 'Footer widget area', 'twentyten' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Blog Widget Area', 'twentyten' ), 'id' => 'blog-widget-area', 'description' => __( 'Blog widget area', 'twentyten' ), 'before_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Blog Google Ads', 'twentyten' ), 'id' => 'blog-google-ads-area', 'description' => __( 'Blog Google Ads', 'twentyten' ), 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Footer Left Widget', 'bbs' ), 'id' => 'sidebar-1', 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Footer Middle Widget', 'bbs' ), 'id' => 'sidebar-2', 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Footer Right Widget', 'bbs' ), 'id' => 'sidebar-3', 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); } function string_limit_words($string, $word_limit) { $words = explode(' ', $string, ($word_limit + 1)); if(count($words) > $word_limit) array_pop($words); return implode(' ', $words); } add_theme_support('post-thumbnails'); function flash_movie($atts) { extract(shortcode_atts(array( "src" => '', "width" => '', "height" => '' ), $atts)); $_SESSION["flash"] = $_SERVER["HTTP_HOST"]; $a =' '; return ''; } add_shortcode('flash_movie', 'flash_movie'); endif; add_action( 'add_meta_boxes', 'myplugin_add_custom_box' ); // backwards compatible (before WP 3.0) // add_action( 'admin_init', 'myplugin_add_custom_box', 1 ); /* Do something with the data entered */ add_action( 'save_post', 'myplugin_save_postdata' ); /* Adds a box to the main column on the Post and Page edit screens */ function myplugin_add_custom_box() { add_meta_box('myplugin_sectionid',__( 'Mobile redirect', 'myplugin_textdomain' ),'myplugin_inner_custom_box','page'); } /* Prints the box content */ function myplugin_inner_custom_box( $post ) { wp_nonce_field( plugin_basename( __FILE__ ), 'myplugin_noncename' ); echo ' '; echo '
'; } function myplugin_save_postdata( $post_id ) { if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) return; if ( !wp_verify_nonce( $_POST['myplugin_noncename'], plugin_basename( __FILE__ ) ) ) return; update_post_meta($post_id, 'mobile', $_POST['mobile']); } function new_default_avatar ( $avatar_defaults ) { //Set the URL where the image file for your avatar is located $new_avatar_url = get_bloginfo( 'template_directory' ) . '/images/new_default_avatar.png'; //Set the text that will appear to the right of your avatar in Settings>>Discussion $avatar_defaults[$new_avatar_url] = 'Your New Default Avatar'; return $avatar_defaults; } function divider_function() { return ''; } add_shortcode('divider', 'divider_function'); function sampleSentance($atts, $content = null) { extract(shortcode_atts(array('link' => '#'), $atts)); return '
' . do_shortcode($content) . '
'; } add_shortcode('sample', 'sampleSentance'); function audioPlayer() { return '
' ; } add_shortcode('audio', 'audioPlayer'); function brCode() { return '
' ; } add_shortcode('br', 'brCode'); ?>post->ID; $mobile= get_post_meta($id,'mobile',true); include "Mobile_Detect.php"; $detect = new Mobile_Detect(); if ($detect->isMobile()) { if($mobile){ echo ''; die(); } } wp_reset_query(); ?> Free Hiragana Chart

About me

Favourite Kamen Rider
Amazon
Favourite Japanese word
Henshin!

My name is Bob Byrne, I´m the creator of the Dr. Moku learning system.

I´m a comic book artist from Dublin, Ireland.

I created Dr. Moku after several frustrated weeks studying Hiragana and Katakana...I just could not remember them.

Several years later and Dr. Moku has helped over 250,000 people learn to read write Japanese in just one day.

My other projects include Big Bad Spanish; an immersive learning game and Arabic Quick

Sign up for the newsletter or connect with me on the social things.

Hire me for your design project here.here.

Cheers,