global $content_width; if ( ! isset( $content_width ) ) $content_width = 640; /* pixels */ if (!function_exists('library_books_setup')): /** * Sets up theme defaults and registers support for various WordPress features. * * Note that this function is hooked into the after_setup_theme hook, which runs * before the init hook. The init hook is too late for some features, such as indicating * support post thumbnails. */ function library_books_setup() { load_theme_textdomain('library-books', get_template_directory() . '/languages'); add_theme_support('automatic-feed-links'); add_theme_support('woocommerce'); add_theme_support('post-thumbnails'); add_theme_support('custom-header'); add_theme_support('title-tag'); add_theme_support('custom-logo', array( 'height' => 52, 'width' => 268, 'flex-height' => true, )); register_nav_menus(array( 'primary' => esc_html__('Primary Menu', 'library-books') , )); add_theme_support('custom-background', array( 'default-color' => 'ffffff' )); add_editor_style( 'editor-style.css' ); add_post_type_support( 'page', 'excerpt' ); } endif; // library_books_setup add_action('after_setup_theme', 'library_books_setup'); /** * Register widget area. * * @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar */ function library_books_widgets_init() { register_sidebar(array( 'name' => esc_html__('Sidebar', 'library-books') , 'description' => esc_html__('Appears on page/post sidebar', 'library-books') , 'id' => 'sidebar-1', 'before_widget' => '
', 'before_title' => '

', 'after_title' => '

', )); register_sidebar(array( 'name' => esc_html__('Footer Column 1', 'library-books') , 'description' => esc_html__('Appears on footer', 'library-books') , 'id' => 'fc-1', 'before_widget' => '', 'before_title' => '
', 'after_title' => '
', )); register_sidebar(array( 'name' => esc_html__('Footer Column 2', 'library-books') , 'description' => esc_html__('Appears on footer', 'library-books') , 'id' => 'fc-2', 'before_widget' => '', 'before_title' => '
', 'after_title' => '
', )); register_sidebar(array( 'name' => esc_html__('Footer Column 3', 'library-books') , 'description' => esc_html__('Appears on footer', 'library-books') , 'id' => 'fc-3', 'before_widget' => '', 'before_title' => '
', 'after_title' => '
', )); } add_action('widgets_init', 'library_books_widgets_init'); /** * Register custom fonts. */ function library_books_font_url() { $font_url = ''; /* Translators: If there are any character that are not * supported by Roboto Condensed, trsnalate this to off, do not * translate into your own language. */ $robotocondensed = _x('on', 'robotocondensed:on or off', 'library-books'); /* Translators: If there has any character that are not supported * by Scada, translate this to off, do not translate * into your own language. */ $scada = _x('on', 'Scada:on or off', 'library-books'); /* Translators: If there has any character that are not supported * by Roboto Slab, translate this to off, do not translate * into your own language. */ $robotoslab = _x('on', 'Roboto Slab:on or off', 'library-books'); /* Translators: If there has any character that are not supported * by Merriweather, translate this to off, do not translate * into your own language. */ $merriweather = _x('on', 'Merriweather:on or off', 'library-books'); /* Translators: If there has any character that are not supported * by Roboto, translate this to off, do not translate * into your own language. */ $roboto = _x('on', 'Roboto:on or off', 'library-books'); /* Translators: If there has any character that are not supported * by Lato, translate this to off, do not translate * into your own language. */ $lato = _x('on', 'Lato:on or off', 'library-books'); /* Translators: If there has any character that are not supported * by Playfair Display, translate this to off, do not translate * into your own language. */ $playfairdisplay = _x('on', 'Playfair Display:on or off', 'library-books'); /* Translators: If there has any character that are not supported * by Assistant , translate this to off, do not translate * into your own language. */ $assistant = _x('on', 'Assistant:on or off', 'library-books'); if ('off' !== $robotocondensed) { $font_family = array(); if ('off' !== $robotocondensed) { $font_family[] = 'Roboto Condensed:300,400,600,700,800,900'; } if ('off' !== $robotoslab) { $font_family[] = 'Roboto Slab:300,400,700'; } if ('off' !== $merriweather) { $font_family[] = 'Merriweather:300,400,400i,700,700i,900,900i'; } if ('off' !== $roboto) { $font_family[] = 'Roboto:100,300,300i,400,400i,500,500i,700,700i,900,900i'; } if ('off' !== $lato) { $font_family[] = 'Lato:300,300i,400,400i,700,700i,900,900i'; } if ('off' !== $playfairdisplay) { $font_family[] = 'Playfair Display:400,400i,700,700i,900,900i'; } if ('off' !== $assistant) { $font_family[] = 'Assistant:200,300,400,600,700,800'; } $query_args = array( 'family' => urlencode(implode('|', $font_family)) , ); $font_url = add_query_arg($query_args, '//fonts.googleapis.com/css'); } return $font_url; } /** * Enqueue scripts and styles. */ function library_books_scripts() { wp_enqueue_style('library-books-font', library_books_font_url() , array()); wp_enqueue_style('library-books-basic-style', get_stylesheet_uri()); wp_enqueue_style('library-books-print-style', get_template_directory_uri() . "/print.css"); wp_enqueue_style('nivo-slider', get_template_directory_uri() . "/css/nivo-slider.css"); wp_enqueue_style('font-awesome', get_template_directory_uri() . "/css/font-awesome.css"); wp_enqueue_style('library-books-main-style', get_template_directory_uri() . "/css/responsive.css"); wp_enqueue_style('library-books-base-style', get_template_directory_uri() . "/css/style_base.css"); wp_enqueue_script('jquery-nivo', get_template_directory_uri() . '/js/jquery.nivo.slider.js', array( 'jquery' )); wp_enqueue_script('library-books-custom-js', get_template_directory_uri() . '/js/custom.js'); if (is_singular() && comments_open() && get_option('thread_comments')) { wp_enqueue_script('comment-reply'); } } add_action('wp_enqueue_scripts', 'library_books_scripts'); define('LIBRARY_BOOKS_URL', 'https://www.pinnaclethemes.net/'); define('LIBRARY_BOOKS_PRO_THEME_URL', 'https://www.pinnaclethemes.net/product/library-wordpress-theme/'); define('LIBRARY_BOOKS_FREE_THEME_URL', 'https://www.pinnaclethemes.net/product/free-bookstore-wordpress-theme/'); define('LIBRARY_BOOKS_THEME_DOC', 'https://pinnaclethemes.net/themedocumentation/library-documentation/'); define('LIBRARY_BOOKS_LIVE_DEMO', 'https://www.pinnaclethemes.net/themedemos/librarybooks/'); define('LIBRARY_BOOKS_THEMES', 'https://www.pinnaclethemes.net/cool-wordpress-themes/'); /** * Implement the Custom Header feature. */ require get_template_directory() . '/inc/custom-header.php'; /** * Custom template for about theme. */ require get_template_directory() . '/inc/about-themes.php'; /** * Custom template tags for this theme. */ require get_template_directory() . '/inc/template-tags.php'; /** * Custom functions that act independently of the theme templates. */ require get_template_directory() . '/inc/extras.php'; /** * Customizer additions. */ require get_template_directory() . '/inc/customizer.php'; /** * Add a pingback url auto-discovery header for singularly identifiable articles. */ function library_books_pingback_header() { if (is_singular() && pings_open()) { printf( '' . "\n", esc_html(get_bloginfo( 'pingback_url' ) )); } } add_action('wp_head', 'library_books_pingback_header'); // Add class in body if slide option enable function library_books_body_class( $classes ) { $hideslide = get_theme_mod('hide_slides', 1); if (!is_home() && is_front_page()) { if( $hideslide == '') { $classes[] = 'visibleslide'; } } return $classes; } add_filter( 'body_class','library_books_body_class' ); // get slug by id function library_books_get_slug_by_id($id) { $post_data = get_post($id, ARRAY_A); $slug = $post_data['post_name']; return $slug; } require_once get_template_directory() . '/upgrade-pro/example-1/class-customize.php'; /** * Filter the except length to 20 words. * * @param int $length Excerpt length. * @return int (Maybe) modified excerpt length. */ function library_books_custom_excerpt_length( $excerpt_length ) { return 20; } add_filter( 'excerpt_length', 'library_books_custom_excerpt_length', 999 );{"id":918,"date":"2021-02-21T07:58:58","date_gmt":"2021-02-21T07:58:58","guid":{"rendered":"https:\/\/booksbypatricksimpson.com\/?p=918"},"modified":"2021-02-21T07:59:35","modified_gmt":"2021-02-21T07:59:35","slug":"sadako-the-thousand-paper-cranes","status":"publish","type":"post","link":"https:\/\/booksbypatricksimpson.com\/sadako-the-thousand-paper-cranes\/","title":{"rendered":"Sadako & the Thousand Paper Cranes"},"content":{"rendered":"
\n
<\/div>\n<\/div>\n
\n
\n
\n
\n

<\/h2>\n<\/div>\n
\n
<\/a><\/div>\n


\n<\/b>Saturday, 20 August 1994, Japan:<\/b><\/p>\n

Shortly after 1994’s Peace Day commemorations in Hiroshima’s Peace Memorial Park, we happened upon a wonderfully poignant scene. Thousands and thousands of folded paper cranes had been laid around the Children’s Peace Monument. The heap was as high as our heads and fifty feet long. Atop the domed memorial a likeness of Sadako Sasaki reached skyward, her arms holding the metal outline of a paper crane high above her head.<\/p>\n

Twelve-year old Sadako Sasaki had a dream \u2013 to be the best runner in her class. They say she never lost a race. But one day, she started to get sick. At first she tried to keep it a secret from her family, but that didn’t last long. They took her to the hospital to get the most frightening news\u2026<\/p>\n

<\/a><\/div>\n

Sadako was only two years old when a sudden explosion near her home blew her out of the window. Thinking she was dead, her mother ran out to find her, but found her alive. She looked up to see about a mile away a giant mushroom cloud boiling six miles up into the sky. The landscape was utterly devastated \u2013 flattened houses, snapped trees, bent flag poles \u2013 with flames already licking the air. People were crying and dying before her eyes. Sadako’s mother fled, carrying her daughter, but they couldn’t escape the “black rain.”<\/p>\n

It was August 6, 1945, the day an atomic bomb was dropped on Hiroshima \u2013 the day when everything changed \u2014 not only for the world, but for Sadako. Only she didn’t know it\u2026<\/p>\n

She’d also been exposed to a radiation time bomb.<\/p>\n

Nine years later, lumps began to develop on Sadako’s neck and behind her ears. She began to suffer from dizzy spells when she was running until the day she collapsed in front of teachers. Her parents took her to the hospital where she was hospitalized. The prognosis: leukemia with \u2013 at the most \u2013 a year to live. The lumps slowly grew bigger, making her look as if she had the mumps.<\/p>\n

One story recounts the day her best friend Chizuko brought her some paper and showed her how to fold it into a paper crane. She told her about the legend of the origami cranes and the Japanese belief that if you could fold 1,000 cranes, you could have a wish granted. “I wish to live,” said Sadako as she began trying to fold her 1,000 cranes. She folded as many as the sickness allowed. Then she would string thread through them and her brother would hang them from the ceiling. She would say, “I will write peace on your wings and you will fly all over the world.”<\/p>\n

<\/a><\/div>\n

Some days she just didn’t have the strength to fold them. Her friends would visit and say, “It’s time to rest. You can make more birds tomorrow.” Unfortunately, she only made it to 644 before she died, surrounded by her family. Following her death, her friends finished the remainder of the 1,000 cranes and buried them with her.<\/p>\n

Her story was picked up by newspapers and published in Eleanor Coerr\u2019s children\u2019s book\u00a0“Sadako and the Thousand Paper Cranes”<\/b><\/span><\/a><\/i>. Later, inspired young people from all over Japan raised funds to build the\u00a0Children’s Peace Monument<\/span><\/a>\u00a0in the new Hiroshima Peace Memorial Park. It was dedicated to Sadako and all of the children who had died from the effects of the atomic bomb. In 1958, a statue of Sadako standing on the Mountain of Paradise holding a golden crane was unveiled in the park.<\/p>\n

Sadoko lost the race to save her life but she won the hearts of millions. To this day, children all over Japan and the world fold paper cranes and ship them to the park by the box load. On Peace Day (August 6th) thousands of them are placed at the statue’s base. At the foot of the statue is a plaque that reads:<\/p>\n

“This is our cry. This is our prayer. For building peace in the world.”<\/i><\/p><\/blockquote>\n\n\n\n
Author Patrick Simpson and his wheelchair-restricted wife Anne uncover their experiences exploring historical and cultural experiences around the world. Visit now to learn how independent travel for disabled persons is not only possible, it can be fun!!\u00a0www.booksbypatricksimpson.com<\/b><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n
\n
<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"

Saturday, 20 August 1994, Japan: Shortly after 1994’s Peace Day commemorations in Hiroshima’s Peace Memorial Park, we happened upon a wonderfully poignant scene. Thousands and thousands of folded paper cranes had been laid around the Children’s Peace Monument. The heap was as high as our heads and fifty feet long. Atop the domed memorial a […]<\/a><\/p>\n","protected":false},"author":1,"featured_media":920,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"pgc_meta":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-918","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/booksbypatricksimpson.com\/wp-json\/wp\/v2\/posts\/918","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/booksbypatricksimpson.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/booksbypatricksimpson.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/booksbypatricksimpson.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/booksbypatricksimpson.com\/wp-json\/wp\/v2\/comments?post=918"}],"version-history":[{"count":1,"href":"https:\/\/booksbypatricksimpson.com\/wp-json\/wp\/v2\/posts\/918\/revisions"}],"predecessor-version":[{"id":919,"href":"https:\/\/booksbypatricksimpson.com\/wp-json\/wp\/v2\/posts\/918\/revisions\/919"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/booksbypatricksimpson.com\/wp-json\/wp\/v2\/media\/920"}],"wp:attachment":[{"href":"https:\/\/booksbypatricksimpson.com\/wp-json\/wp\/v2\/media?parent=918"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/booksbypatricksimpson.com\/wp-json\/wp\/v2\/categories?post=918"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/booksbypatricksimpson.com\/wp-json\/wp\/v2\/tags?post=918"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}