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 );

WHEELCHAIR DOWN UNDER : SAMPLE PAGE

Chapter 14 – Kalgoorlie: Across the Nullarbor

Friday, 20 May, 1994:

At last, very tired [after an all-night bus ride], we arrived in Kalgoorlie-Boulder (pop. 29,000) around 11:00 A.M. Named after a local edible silky pear called kulgooluh, Kalgoorlie had amalgamated with its Siamese-twin sister of Boulder in 1989. We stopped directly in front of the tourist information bureau in the center of town and climbed off the bus into an unexpected blast of warm air. It felt good—like stepping out of cold upstate New York into the sunny climes of Florida. Two different passengers on the bus had advised us to check in at the historic old Palace Hotel, just down the street, so that’s where we headed.

16feee_24bc5e6946d842c9b011187a97b56858_mv2

 Kalgoorlie is “Old Australia,” a wild-West town with a grid of broad, tree-lined streets wide enough to turn a camel train, a necessity in turn-of-the-century goldfield towns. The streets and sidewalks are wide and flat; they offered little resistance as we made our way to the hotel via wheelchair while carrying our full complement of luggage. The Palace was exactly like the fancy old hotels seen in Hollywood westerns. In its time, this “Grand Old Lady of Kalgoorlie” was the most luxurious hotel outside Perth. We went through the swinging doors and were greeted by the friendly hotel clerk.

 “We’ve got a nice twin at the top of the stairs and the shower’s down the hall. There’s nothing on this floor.” She looked at Anne, quizzically. “Will you be able to climb the stairs?”

    Since most of these old hotels were built before wheelchair accessibility was even thought of, every other hotel in town would be the same. And we didn’t want to stay outside of town in a boring, modern motel.

    “I guess I can make it one more time,” said Anne. She smiled. “We’ll take it!”

    We wheeled through the foyer and came face to face with a wide-carpeted spiral staircase, right out of Gone With the Wind.

   “Are you sure you’re up to this climb?” I asked. She nodded and struggled up the seemingly endless stairway to the landing while I took two trips with the wheelchair and luggage.

    Our room was about ten feet square with twin beds and a couple of small tables, but it must have been at least fifteen feet high. Temperature and fresh air adjustments were via the rope-controlled skylight. There was also an overhead paddle fan. We slept until 4:00 P.M.

16feee_4e4433f7f7c04d9194a1aea2e9cd69ce_mv2
16feee_155b02cf919645eba7594c6ee6d45b71_mv2

Saturday, 21 May:

 Our day started with a serve-your-own continental breakfast in the hotel’s Hoover Restaurant. It seems that our own President Herbert Hoover used to stay in this hotel when he was a young mining engineer…

    In the evening, we sat in the hotel foyer’s big, soft leather chairs. There was a lot of Hoover memorabilia here and we finally had time to study it. Adorning the wall from floor to ceiling opposite the stairway was a large mirror unit finely crafted out of dark, rich wood. To the right was a framed caricature of “H.C. Hoover” as a well-dressed young-man-about-town cupping his pipe by his mouth. To the left was a framed lyrical poem, said to be written by Hoover himself.

    I took a couple of photos and started to write down the words of the poem. One of the staff saw me doing this and gave me three copies as she told us his story. Later I researched the details…

When Herbert Clark Hoover, USA’s thirty-first president, was only twenty-three, he was already known as a brilliant mining engineer. He was sent to Kalgoorlie by his employer in 1897 to help a British firm introduce Californian mining methods into their properties.

    Apparently, Hoover became enamored with a barmaid who worked in the Palace. Sometime after his return to the USA, he had the large mirror unit made and shipped it as a gift to the hotel along with verses (excerpted below) adapted from the poem Carita, by Hilton R. Greer (published in the American literary magazine The Smart Set, August, 1905).

Love in the Outback: Hoover's Love Poem