Commit daddd794 authored by Dave Lane's avatar Dave Lane

replace oeru_course with oeru-course to match slug

parent 194213cb
......@@ -7,11 +7,11 @@ get_header(); ?>
<section class="error-404 not-found">
<header class="page-header">
<h1 class="page-title"><?php esc_html_e( 'Sorry, something can\'t be found', 'oeru_course' ); ?></h1>
<h1 class="page-title"><?php esc_html_e( 'Sorry, something can\'t be found', 'oeru-course' ); ?></h1>
</header><!-- .page-header -->
<div class="page-content">
<p><?php esc_html_e( 'It looks like nothing was found at this location.', 'oeru_course' ); ?></p>
<p><?php esc_html_e( 'It looks like nothing was found at this location.', 'oeru-course' ); ?></p>
<?php get_template_part( 'parts/search-form/standard' ); ?>
</div><!-- .page-content -->
......
......@@ -8,13 +8,13 @@ get_header(); ?>
<?php if ( have_posts() ) : ?>
<header class="archive-header">
<h1 class="archive-title"><?php printf( esc_html__( 'Category Archives: %s', 'oeru_course' ), single_cat_title( '', false ) ); ?></h1>
<h1 class="archive-title"><?php printf( esc_html__( 'Category Archives: %s', 'oeru-course' ), single_cat_title( '', false ) ); ?></h1>
<?php
// Show an optional term description.
$term_description = term_description();
if ( ! empty( $term_description ) ) :
printf( esc_html__('<div class="taxonomy-description">%s</div>', 'oeru_course'), $term_description );
printf( esc_html__('<div class="taxonomy-description">%s</div>', 'oeru-course'), $term_description );
endif;
?>
</header><!-- .archive-header -->
......
......@@ -12,9 +12,9 @@ if ( post_password_required() ) {
<?php
$comments_number = get_comments_number();
if ( '1' === $comments_number ) {
printf( _x( 'One thought on &ldquo;%2$s&rdquo;', 'comments title', 'oeru_course' ), get_the_title() );
printf( _x( 'One thought on &ldquo;%2$s&rdquo;', 'comments title', 'oeru-course' ), get_the_title() );
} else {
printf( esc_html( _nx( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', $comments_number, 'comments title', 'oeru_course' ),
printf( esc_html( _nx( 'One thought on &ldquo;%2$s&rdquo;', '%1$s thoughts on &ldquo;%2$s&rdquo;', $comments_number, 'comments title', 'oeru-course' ),
number_format_i18n( $comments_number ) ), get_the_title() );
}
?>
......@@ -34,7 +34,7 @@ if ( post_password_required() ) {
// If comments are closed and there are comments, let's leave a little note, shall we?
if ( ! comments_open() && get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) :
?>
<p class="no-comments"><?php _e( 'Comments are closed.', 'oeru_course' ); ?></p>
<p class="no-comments"><?php _e( 'Comments are closed.', 'oeru-course' ); ?></p>
<?php endif; ?>
<?php comment_form(); ?>
......
......@@ -15,16 +15,16 @@
<?php if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
<p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'oeru_course' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
<p><?php printf( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'oeru-course' ), esc_url( admin_url( 'post-new.php' ) ) ); ?></p>
<?php elseif ( is_search() ) : ?>
<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'oeru_course' ); ?></p>
<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'oeru-course' ); ?></p>
<?php get_search_form(); ?>
<?php else : ?>
<p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'oeru_course' ); ?></p>
<p><?php _e( 'It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help.', 'oeru-course' ); ?></p>
<?php get_search_form(); ?>
<?php endif; ?>
......
......@@ -31,12 +31,12 @@
<div class="entry-content">
<?php
the_content( sprintf(
__( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'oeru_course' ),
__( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'oeru-course' ),
the_title( '<span class="screen-reader-text">', '</span>', false )
) );
wp_link_pages( array(
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'oeru_course' ) . '</span>',
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'oeru-course' ) . '</span>',
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
......@@ -44,13 +44,13 @@
</div>
<div class="oeru_footer">
<?php /* translators: used between list items, there is a space after the comma. */
$tags_list = get_the_tag_list( '', __( ', ', 'oeru_course' ) );
$tags_list = get_the_tag_list( '', __( ', ', 'oeru-course' ) );
if ( $tags_list ) {
printf(
/* translators: 1: SVG icon. 2: posted in label, only visible to screen readers. 3: list of tags. */
'<span class="tags-links">%1$s<span class="screen-reader-text">%2$s </span>%3$s</span>',
twentynineteen_get_icon_svg( 'tag', 16 ),
__( 'Tags:', 'oeru_course' ),
__( 'Tags:', 'oeru-course' ),
$tags_list
); // WPCS: XSS OK.
}?>
......
......@@ -12,7 +12,7 @@
if(get_theme_mod("scan_page")=="on"):
$oeru_course = get_option( 'oeru_course' );
$oeru_course = get_option( 'oeru-course' );
echo $oeru_course['scan_page_html'];
else:
......
......@@ -32,9 +32,9 @@ add_action( 'admin_head', 'oeru_course_menu_default' );
function oeru_course_widgets_init() {
register_sidebar( array(
'name' => __( 'Widget Area', 'oeru_course' ),
'name' => __( 'Widget Area', 'oeru-course' ),
'id' => 'sidebar-1',
'description' => __( 'Add widgets here to appear in your sidebar.', 'oeru_course' ),
'description' => __( 'Add widgets here to appear in your sidebar.', 'oeru-course' ),
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h2 class="widget-title">',
......@@ -53,7 +53,7 @@ function oeru_course_setup() {
}
load_theme_textdomain( 'oeru_course', get_template_directory() . '/languages' );
load_theme_textdomain( 'oeru-course', get_template_directory() . '/languages' );
add_theme_support( 'post-thumbnails' );
......@@ -68,7 +68,7 @@ function oeru_course_setup() {
set_post_thumbnail_size( 672, 372, true );
register_nav_menus( array(
'primary' => __( 'Top primary menu', 'oeru_course' ),
'primary' => __( 'Top primary menu', 'oeru-course' ),
) );
add_theme_support( 'html5', array(
......@@ -136,32 +136,32 @@ add_action( 'admin_enqueue_scripts', 'oeru_admin_theme_scripts_and_styles' );
add_filter( 'xmlrpc_blog_options', function( $xmlrpc_options ) {
if (is_array($xmlrpc_options)) {
$xmlrpc_options['show_on_front'] = array(
'desc' => __( 'Show on front', 'oeru_course' ),
'desc' => __( 'Show on front', 'oeru-course' ),
'readonly' => false,
'option' => 'show_on_front'
);
$xmlrpc_options['page_on_front'] = array(
'desc' => __( 'Page to show on front page', 'oeru_course' ),
'desc' => __( 'Page to show on front page', 'oeru-course' ),
'readonly' => false,
'option' => 'page_on_front'
);
$xmlrpc_options['oeru_course_menu_create'] = array(
'desc' => __( 'Create the OERu top menu', 'oeru_course' ),
'desc' => __( 'Create the OERu top menu', 'oeru-course' ),
'readonly' => false,
'option' => 'oeru_course_menu_create'
);
$xmlrpc_options['oeru_course_scan_page_html'] = array(
'desc' => __( 'HTML for the scan page', 'oeru_course' ),
'desc' => __( 'HTML for the scan page', 'oeru-course' ),
'readonly' => false,
'option' => 'oeru_course_scan_page_html'
);
$xmlrpc_options['oeru_course_scan_page'] = array(
'desc' => __( 'Turn the Scan Page on', 'oeru_course' ),
'desc' => __( 'Turn the Scan Page on', 'oeru-course' ),
'readonly' => false,
'option' => 'oeru_course_scan_page'
);
$xmlrpc_options['oeru_course_footer'] = array(
'desc' => __( 'Footer content', 'oeru_course' ),
'desc' => __( 'Footer content', 'oeru-course' ),
'readonly' => false,
'option' => 'oeru_course_footer'
);
......
......@@ -277,9 +277,9 @@ add_action( 'admin_head', 'oeru_course_menu_default' );
function oeru_course_widgets_init() {
register_sidebar( array(
'name' => __( 'Widget Area', 'oeru_course' ),
'name' => __( 'Widget Area', 'oeru-course' ),
'id' => 'sidebar-1',
'description' => __( 'Add widgets here to appear in your sidebar.', 'oeru_course' ),
'description' => __( 'Add widgets here to appear in your sidebar.', 'oeru-course' ),
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h2 class="widget-title">',
......@@ -294,7 +294,7 @@ function oeru_course_setup() {
require_once("inc/install_profile.php");
add_option("oeru_course_colour_profile_setup", "true");
}
load_theme_textdomain( 'oeru_course', get_template_directory() . '/languages' );
load_theme_textdomain( 'oeru-course', get_template_directory() . '/languages' );
add_theme_support( 'post-thumbnails' );
$chargs = array(
'width' => 980,
......@@ -304,7 +304,7 @@ function oeru_course_setup() {
add_theme_support( 'custom-header', $chargs );
set_post_thumbnail_size( 672, 372, true );
register_nav_menus( array(
'primary' => __( 'Top primary menu', 'oeru_course' ),
'primary' => __( 'Top primary menu', 'oeru-course' ),
) );
add_theme_support( 'html5', array(
'search-form', 'comment-form', 'comment-list', 'gallery', 'caption'
......@@ -369,32 +369,32 @@ add_action( 'admin_enqueue_scripts', 'oeru_admin_theme_scripts_and_styles' );
add_filter( 'xmlrpc_blog_options', function( $xmlrpc_options ) {
if (is_array($xmlrpc_options)) {
$xmlrpc_options['show_on_front'] = array(
'desc' => __( 'Show on front', 'oeru_course' ),
'desc' => __( 'Show on front', 'oeru-course' ),
'readonly' => false,
'option' => 'show_on_front'
);
$xmlrpc_options['page_on_front'] = array(
'desc' => __( 'Page to show on front page', 'oeru_course' ),
'desc' => __( 'Page to show on front page', 'oeru-course' ),
'readonly' => false,
'option' => 'page_on_front'
);
$xmlrpc_options['oeru_course_menu_create'] = array(
'desc' => __( 'Create the OERu top menu', 'oeru_course' ),
'desc' => __( 'Create the OERu top menu', 'oeru-course' ),
'readonly' => false,
'option' => 'oeru_course_menu_create'
);
$xmlrpc_options['oeru_course_scan_page_html'] = array(
'desc' => __( 'HTML for the scan page', 'oeru_course' ),
'desc' => __( 'HTML for the scan page', 'oeru-course' ),
'readonly' => false,
'option' => 'oeru_course_scan_page_html'
);
$xmlrpc_options['oeru_course_scan_page'] = array(
'desc' => __( 'Turn the Scan Page on', 'oeru_course' ),
'desc' => __( 'Turn the Scan Page on', 'oeru-course' ),
'readonly' => false,
'option' => 'oeru_course_scan_page'
);
$xmlrpc_options['oeru_course_footer'] = array(
'desc' => __( 'Footer content', 'oeru_course' ),
'desc' => __( 'Footer content', 'oeru-course' ),
'readonly' => false,
'option' => 'oeru_course_footer'
);
......
......@@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <title><?php echo wp_title( '|', true, 'right' ); ?></title> -->
<?php add_theme_support( 'title-tag' ); ?>
<!-- <?php //add_theme_support( 'title-tag' ); ?> -->
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php
......
......@@ -34,7 +34,7 @@ add_action( 'after_switch_theme', 'oeru_course_switch_theme' );
* @since Twenty Fourteen 1.0
*/
function oeru_course_upgrade_notice() {
$message = sprintf( __( 'Twenty Fourteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'oeru_course' ), $GLOBALS['wp_version'] );
$message = sprintf( __( 'Twenty Fourteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'oeru-course' ), $GLOBALS['wp_version'] );
printf( '<div class="error"><p>%s</p></div>', $message );
}
......@@ -44,7 +44,7 @@ function oeru_course_upgrade_notice() {
* @since Twenty Fourteen 1.0
*/
function oeru_course_customize() {
wp_die( sprintf( __( 'Twenty Fourteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'oeru_course' ), $GLOBALS['wp_version'] ), '', array(
wp_die( sprintf( __( 'Twenty Fourteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'oeru-course' ), $GLOBALS['wp_version'] ), '', array(
'back_link' => true,
) );
}
......@@ -57,7 +57,7 @@ add_action( 'load-customize.php', 'oeru_course_customize' );
*/
function oeru_course_preview() {
if ( isset( $_GET['preview'] ) ) {
wp_die( sprintf( __( 'Twenty Fourteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'oeru_course' ), $GLOBALS['wp_version'] ) );
wp_die( sprintf( __( 'Twenty Fourteen requires at least WordPress version 3.6. You are running version %s. Please upgrade and try again.', 'oeru-course' ), $GLOBALS['wp_version'] ) );
}
}
add_action( 'template_redirect', 'oeru_course_preview' );
......@@ -6,7 +6,7 @@ function oeru_course_customize_register_modify( $wp_customize ) {
$wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage';
$wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage';
$wp_customize->get_section( 'header_image' )->title = __( 'Site Image', 'oeru_course' );
$wp_customize->get_section( 'header_image' )->title = __( 'Site Image', 'oeru-course' );
$wp_customize->remove_section( 'colors' );
}
......@@ -14,7 +14,7 @@ function oeru_course_customize_register_modify( $wp_customize ) {
function oeru_course_customize_register_front_page_layout( $wp_customize ){
$wp_customize->add_section( 'front_page_layout' , array(
'title' => __( 'Front Page Layout', 'oeru_course' ),
'title' => __( 'Front Page Layout', 'oeru-course' ),
'priority' => 2,
) );
......@@ -47,7 +47,7 @@ function oeru_course_customize_register_front_page_layout( $wp_customize ){
);
$wp_customize->add_section( 'front_page_custom_html' , array(
'title' => __( 'Front Page Custom HTML', 'oeru_course' ),
'title' => __( 'Front Page Custom HTML', 'oeru-course' ),
'priority' => 2,
) );
......@@ -72,7 +72,7 @@ function oeru_course_customize_register_front_page_layout( $wp_customize ){
function oeru_course_customize_navigation( $wp_customize ){
$wp_customize->add_section( 'site_navigation' , array(
'title' => __( 'Site Navigation', 'oeru_course' ),
'title' => __( 'Site Navigation', 'oeru-course' ),
'priority' => 2,
) );
......@@ -221,7 +221,7 @@ function oeru_course_customize_navigation( $wp_customize ){
function oeru_course_customize_register_fav_icon( $wp_customize ){
$wp_customize->add_section( 'fav_icon' , array(
'title' => __( 'Fav Icon', 'oeru_course' ),
'title' => __( 'Fav Icon', 'oeru-course' ),
'priority' => 2,
) );
......@@ -304,7 +304,7 @@ function oeru_course_customize_register_add_site_colours( $wp_customize ) {
);
$wp_customize->add_section( 'site_colours' , array(
'title' => __( 'Site Colours', 'oeru_course' ),
'title' => __( 'Site Colours', 'oeru-course' ),
'priority' => 30,
) );
......
......@@ -24,7 +24,7 @@
public function create_subscribers_page(){
// Set class property
$this->options = get_option( 'oeru_course' );
$this->options = get_option( 'oeru-course' );
?>
<div class="wrap">
......@@ -45,7 +45,7 @@
register_setting(
'oeru_course_scan_page', // Option group
'oeru_course', // Option name
'oeru-course', // Option name
array( $this, 'sanitize' ) // Sanitize
);
......
......@@ -406,7 +406,7 @@ function oeru_course_excerpt_more( $more ) {
$link = sprintf( '<a href="%1$s" class="more-link">%2$s</a>',
esc_url( get_permalink( get_the_ID() ) ),
/* translators: %s: Name of current post */
sprintf( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'oeru_course' ), '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>' )
sprintf( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'oeru-course' ), '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>' )
);
return ' &hellip; ' . $link;
}
......
......@@ -206,7 +206,7 @@ function oeru_course_menu_hierarchy($menu_id, $post_parent, $menu_parent){
$last_page = wp_update_nav_menu_item($menu_id, 0,
array(
'menu-item-title' => printf( __('%s', 'oeru_course'), $title),
'menu-item-title' => printf( __('%s', 'oeru-course'), $title),
'menu-item-classes' => $title,
'menu-item-object' => 'page',
'menu-item-object-id' => $id,
......
......@@ -31,9 +31,9 @@ class Twenty_Fourteen_Ephemera_Widget extends WP_Widget {
* @return Twenty_Fourteen_Ephemera_Widget
*/
public function __construct() {
parent::__construct( 'widget_oeru_course_ephemera', __( 'Twenty Fourteen Ephemera', 'oeru_course' ), array(
parent::__construct( 'widget_oeru_course_ephemera', __( 'Twenty Fourteen Ephemera', 'oeru-course' ), array(
'classname' => 'widget_oeru_course_ephemera',
'description' => __( 'Use this widget to list your recent Aside, Quote, Video, Audio, Image, Gallery, and Link posts.', 'oeru_course' ),
'description' => __( 'Use this widget to list your recent Aside, Quote, Video, Audio, Image, Gallery, and Link posts.', 'oeru-course' ),
) );
}
......@@ -51,33 +51,33 @@ class Twenty_Fourteen_Ephemera_Widget extends WP_Widget {
switch ( $format ) {
case 'image':
$format_string = __( 'Images', 'oeru_course' );
$format_string_more = __( 'More images', 'oeru_course' );
$format_string = __( 'Images', 'oeru-course' );
$format_string_more = __( 'More images', 'oeru-course' );
break;
case 'video':
$format_string = __( 'Videos', 'oeru_course' );
$format_string_more = __( 'More videos', 'oeru_course' );
$format_string = __( 'Videos', 'oeru-course' );
$format_string_more = __( 'More videos', 'oeru-course' );
break;
case 'audio':
$format_string = __( 'Audio', 'oeru_course' );
$format_string_more = __( 'More audio', 'oeru_course' );
$format_string = __( 'Audio', 'oeru-course' );
$format_string_more = __( 'More audio', 'oeru-course' );
break;
case 'quote':
$format_string = __( 'Quotes', 'oeru_course' );
$format_string_more = __( 'More quotes', 'oeru_course' );
$format_string = __( 'Quotes', 'oeru-course' );
$format_string_more = __( 'More quotes', 'oeru-course' );
break;
case 'link':
$format_string = __( 'Links', 'oeru_course' );
$format_string_more = __( 'More links', 'oeru_course' );
$format_string = __( 'Links', 'oeru-course' );
$format_string_more = __( 'More links', 'oeru-course' );
break;
case 'gallery':
$format_string = __( 'Galleries', 'oeru_course' );
$format_string_more = __( 'More galleries', 'oeru_course' );
$format_string = __( 'Galleries', 'oeru-course' );
$format_string_more = __( 'More galleries', 'oeru-course' );
break;
case 'aside':
default:
$format_string = __( 'Asides', 'oeru_course' );
$format_string_more = __( 'More asides', 'oeru_course' );
$format_string = __( 'Asides', 'oeru-course' );
$format_string_more = __( 'More asides', 'oeru-course' );
break;
}
......@@ -124,7 +124,7 @@ class Twenty_Fourteen_Ephemera_Widget extends WP_Widget {
if ( has_post_format( 'gallery' ) ) :
if ( post_password_required() ) :
the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'oeru_course' ) );
the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'oeru-course' ) );
else :
$images = array();
......@@ -159,7 +159,7 @@ class Twenty_Fourteen_Ephemera_Widget extends WP_Widget {
<?php endif; ?>
<p class="wp-caption-text">
<?php
printf( _n( 'This gallery contains <a href="%1$s" rel="bookmark">%2$s photo</a>.', 'This gallery contains <a href="%1$s" rel="bookmark">%2$s photos</a>.', $total_images, 'oeru_course' ),
printf( _n( 'This gallery contains <a href="%1$s" rel="bookmark">%2$s photo</a>.', 'This gallery contains <a href="%1$s" rel="bookmark">%2$s photos</a>.', $total_images, 'oeru-course' ),
esc_url( get_permalink() ),
number_format_i18n( $total_images )
);
......@@ -169,7 +169,7 @@ class Twenty_Fourteen_Ephemera_Widget extends WP_Widget {
endif;
else :
the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'oeru_course' ) );
the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'oeru-course' ) );
endif;
?>
</div><!-- .entry-content -->
......@@ -191,7 +191,7 @@ class Twenty_Fourteen_Ephemera_Widget extends WP_Widget {
if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) :
?>
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'oeru_course' ), __( '1 Comment', 'oeru_course' ), __( '% Comments', 'oeru_course' ) ); ?></span>
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'oeru-course' ), __( '1 Comment', 'oeru-course' ), __( '% Comments', 'oeru-course' ) ); ?></span>
<?php endif; ?>
</div><!-- .entry-meta -->
</header><!-- .entry-header -->
......@@ -203,7 +203,7 @@ class Twenty_Fourteen_Ephemera_Widget extends WP_Widget {
<a class="post-format-archive-link" href="<?php echo esc_url( get_post_format_link( $format ) ); ?>">
<?php
/* translators: used with More archives link */
printf( __( '%s <span class="meta-nav">&rarr;</span>', 'oeru_course' ), $format_string_more );
printf( __( '%s <span class="meta-nav">&rarr;</span>', 'oeru-course' ), $format_string_more );
?>
</a>
<?php
......@@ -252,13 +252,13 @@ class Twenty_Fourteen_Ephemera_Widget extends WP_Widget {
$number = empty( $instance['number'] ) ? 2 : absint( $instance['number'] );
$format = isset( $instance['format'] ) && in_array( $instance['format'], $this->formats ) ? $instance['format'] : 'aside';
?>
<p><label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"><?php _e( 'Title:', 'oeru_course' ); ?></label>
<p><label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"><?php _e( 'Title:', 'oeru-course' ); ?></label>
<input id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" class="widefat" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>"></p>
<p><label for="<?php echo esc_attr( $this->get_field_id( 'number' ) ); ?>"><?php _e( 'Number of posts to show:', 'oeru_course' ); ?></label>
<p><label for="<?php echo esc_attr( $this->get_field_id( 'number' ) ); ?>"><?php _e( 'Number of posts to show:', 'oeru-course' ); ?></label>
<input id="<?php echo esc_attr( $this->get_field_id( 'number' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'number' ) ); ?>" type="text" value="<?php echo esc_attr( $number ); ?>" size="3"></p>
<p><label for="<?php echo esc_attr( $this->get_field_id( 'format' ) ); ?>"><?php _e( 'Post format to show:', 'oeru_course' ); ?></label>
<p><label for="<?php echo esc_attr( $this->get_field_id( 'format' ) ); ?>"><?php _e( 'Post format to show:', 'oeru-course' ); ?></label>
<select id="<?php echo esc_attr( $this->get_field_id( 'format' ) ); ?>" class="widefat" name="<?php echo esc_attr( $this->get_field_name( 'format' ) ); ?>">
<?php foreach ( $this->formats as $slug ) : ?>
<option value="<?php echo esc_attr( $slug ); ?>"<?php selected( $format, $slug ); ?>><?php echo get_post_format_string( $slug ); ?></option>
......
/*
Theme Name: OERu Course Theme
Theme Name: OERu Course
Theme URI: https://git.oeru.org/oeru/oeru_course
Author: Pgogy Webstuff, and more recently, Dave Lane (OER Foundation)
Author URI: http://pgogywebstuff.com
......
......@@ -8,7 +8,7 @@ get_header(); ?>
<?php if ( have_posts() ) : ?>
<header class="archive-header">
<h1 class="archive-title"><?php printf( __( 'Tag Archives: %s', 'oeru_course' ), single_tag_title( '', false ) ); ?></h1>
<h1 class="archive-title"><?php printf( __( 'Tag Archives: %s', 'oeru-course' ), single_tag_title( '', false ) ); ?></h1>
<?php
// Show an optional term description.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment