Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: cb870d00a4
Fetching contributors…

Cannot retrieve contributors at this time

file 50 lines (44 sloc) 1.717 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
<?php

// This theme uses post thumbnails
add_theme_support( 'post-thumbnails' );

// Add default posts and comments RSS feed links to head
add_theme_support( 'automatic-feed-links' );

register_nav_menus(array(
    'primary' => 'Primary Navigation'
));


function ekini_widgets_init() {
// Area 1, located at the top of the sidebar.
    register_sidebar( array(
        'name' => 'Primary Widget Area',
        'id' => 'primary-widget-area',
        'description' => __( 'The primary widget area', 'wpbp' ),
        'before_widget' => '<ul id="%1$s" class="widget-container %2$s">',
        'after_widget' => '</ul>',
        'before_title' => '<h2 class="widget-title">',
        'after_title' => '</h2>',
    ));
}
/** Register sidebars by running wpbp_widgets_init() on the widgets_init hook. */
add_action( 'widgets_init', 'ekini_widgets_init' );

if ( ! function_exists( 'wpbp_posted_on' ) ) :
/**
* Prints HTML with meta information for the current post-date/time and author.
*
* @since Wordpress Blueprint
*/
function wpbp_posted_on() {
    printf( __( '<span class="%1$s">Posted on</span> %2$s <span class="meta-sep">by</span> %3$s', 'wpbp' ),
        'meta-prep meta-prep-author',
        sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><span class="entry-date">%3$s</span></a>',
            get_permalink(),
            esc_attr( get_the_time() ),
            get_the_date()
        ),
        sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>',
            get_author_posts_url( get_the_author_meta( 'ID' ) ),
            sprintf( esc_attr__( 'View all posts by %s', 'wpbp' ), get_the_author() ),
            get_the_author()
        )
    );
}
endif;
Something went wrong with that request. Please try again.