post_type ) . '-title entry-title">', '', false ); } elseif ( is_singular() ) { $title = the_title( '
' . sprintf( __( 'You must be logged in to post a comment.', $domain ), wp_login_url( get_permalink() ) ) . '
', 'logged_in_as' => '' . sprintf( __( 'Logged in as %2$s.', $domain ), admin_url( 'profile.php' ), esc_attr( $user_identity ) ) . ' ' . __( 'Log out →', $domain ) . '
', 'comment_notes_before' => '', 'comment_notes_after' => '', 'id_form' => 'commentform', 'id_submit' => 'submit', 'title_reply' => __( 'Leave a Reply', $domain ), 'title_reply_to' => __( 'Leave a Reply to %s', $domain ), 'cancel_reply_link' => __( 'Click here to cancel reply.', $domain ), 'label_submit' => __( 'Post Comment →', $domain ), ); return $args; } /** * Breadcrumb trail arguments. * */ function oxygen_breadcrumb_trail_args( $args ) { $args['before'] = ''; $args['separator'] = ' / '; $args['front_page'] = false; return $args; } /** * Default footer settings * */ function oxygen_default_footer_settings( $settings ) { $settings['footer_insert'] = '' . __( 'Copyright © [the-year] [site-link]', hybrid_get_parent_textdomain() ) . '
' . "\n\n" . '' . __( 'Powered by [wp-link] and [theme-link]', hybrid_get_parent_textdomain() ) . '
'; return $settings; } /** * Metaboxes * */ function oxygen_create_metabox() { add_meta_box( 'oxygen_metabox', __( 'Location', hybrid_get_parent_textdomain() ), 'oxygen_metabox', 'post', 'side', 'low' ); } function oxygen_metabox() { global $post; /* Retrieve metadata values if they already exist. */ $oxygen_post_location = get_post_meta( $post->ID, '_oxygen_post_location', true ); ?> \n"; echo "\n"; } /** * Slider settings * */ function oxygen_slider_settings() { $timeout = hybrid_get_setting( 'oxygen_slider_timeout' ) ? hybrid_get_setting( 'oxygen_slider_timeout' ) : '6000'; $settings = array( 'timeout' => $timeout ); wp_localize_script( 'oxygen_footer_scripts', 'slider_settings', $settings ); } ?>