Permalink
Browse files

Some Updates

  • Loading branch information...
djm56 committed Oct 5, 2015
1 parent 517fd8c commit 880c8f8d4e3cf406a8871dbecde413a339f6a3ac
@@ -0,0 +1,7 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
// new FingerBlast('body');
@@ -5,19 +5,19 @@
* @subpackage Ratchetwp
* @since Ratchetwp 0.1
*
* Last Updated: Aug 24, 2015
* Last Updated: Sep 30, 2015
*/
function remove_scripts()
{
wp_deregister_script('Ratchetwp-script' );
wp_deregister_style('Ratchetwp-style' );
wp_deregister_script('Ratchetwp-script' );
wp_deregister_style('Ratchetwp-style' );
}
add_action( 'wp_enqueue_scripts', 'remove_scripts',100 );
function child_Ratchetwp_loader() {
wp_enqueue_style( 'child-Ratchetwp-style', get_stylesheet_directory_uri().'/assets/css/style.css', false , '1.0', 'all' );
wp_enqueue_script( 'child-Ratchetwp-script', get_stylesheet_directory_uri() .'/assets/js/script.js', array( 'jquery' ), '1.0', true );
wp_enqueue_style( 'child-Ratchetwp-style', get_stylesheet_directory_uri().'/assets/css/style.css', false , '1.0', 'all' );
wp_enqueue_script( 'child-Ratchetwp-script', get_stylesheet_directory_uri() .'/assets/js/script.js', array( 'jquery' ), '1.0', true );
}
add_action( 'wp_enqueue_scripts', 'child_Ratchetwp_loader', 200 );
View
@@ -9,29 +9,18 @@
* Last Revised: May 14, 2015
*/
get_header(); ?>
<div class="container">
<div class="row">
<div class="col-md-8">
<?php if(function_exists('Ratchetwp_breadcrumbs')) Ratchetwp_breadcrumbs(); ?>
<div class="jumbotron">
<h1><?php _e( 'This is 404 page', 'Ratchetwp' ); ?></h1>
<p><?php _e( 'Try searching, or one of the links below could help.', 'Ratchetwp' ); ?></p>
<p><a class="btn btn-primary btn-lg" role="button" href="<?php echo home_url( '/' ); ?>">Return to Home</a></p>
</div>
<div class="well">
<div class="row">
<div class="col-md-4"><?php get_search_form(); ?></div>
<div class="col-md-4"><?php the_widget( 'WP_Widget_Recent_Posts' ); ?></div>
<div class="col-md-4">
<h2><?php _e( 'Categories', 'Ratchetwp' ); ?></h2>
<ul>
<?php wp_list_categories( array( 'orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10 ) ); ?>
</ul>
</div>
</div>
</div>
</div>
<div class="col-md-4"><?php get_sidebar(); ?></div>
</div>
</div> <!-- /container -->
<header class="bar bar-nav">
<h1 class="title">404</h1>
</header>
<div class="content-padded">
<p><?php _e( 'Try searching, or one of the links below could help.', 'Ratchetwp' ); ?></p>
<p><a class="btn btn-primary btn-lg" role="button" href="<?php echo home_url( '/' ); ?>">Return to Home</a></p>
<?php get_search_form(); ?>
<?php the_widget( 'WP_Widget_Recent_Posts' ); ?>
<h2><?php _e( 'Categories', 'Ratchetwp' ); ?></h2>
<ul>
<?php wp_list_categories( array( 'orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10 ) ); ?>
</ul>
</div>
<?php get_footer(); ?>
View
@@ -6,45 +6,46 @@
* @subpackage Ratchetwp
* @since Ratchetwp 0.1
*
* Last Revised: Sep 07, 2015
* Last Revised: Sep 30, 2015
*/
global $childDir;
get_header(); ?>
<?php if (have_posts() ) ; ?>
<div class="container">
<div class="row">
<div class="col-md-8">
<?php if(function_exists('Ratchetwp_breadcrumbs')) Ratchetwp_breadcrumbs(); ?>
<h1><?php
if ( is_day() ) {
printf( __( 'Daily Archives: %s', 'Ratchetwp' ), '<small>' . get_the_date() . '</small>' );
} elseif ( is_month() ) {
printf( __( 'Monthly Archives: %s', 'Ratchetwp' ), '<small>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'Ratchetwp' ) ) . '</small>' );
} elseif ( is_year() ) {
printf( __( 'Yearly Archives: %s', 'Ratchetwp' ), '<small>' . get_the_date( _x( 'Y', 'yearly archives date format', 'Ratchetwp' ) ) . '</span>' );
} elseif ( is_tag() ) {
printf( __( 'Tag Archives: %s', 'Ratchetwp' ), '<small>' . single_tag_title( '', false ) . '</small>' );
// Show an optional tag description
$tag_description = tag_description();
if ( $tag_description )
echo apply_filters( 'tag_archive_meta', '<div class="tag-archive-meta">' . $tag_description . '</div>' );
} elseif ( is_category() ) {
printf( __( 'Category Archives: %s', 'Ratchetwp' ), '<small>' . single_cat_title( '', false ) . '</small>' );
$category_description = category_description();
if ( $category_description )
echo apply_filters( 'category_archive_meta', '<div class="category-archive-meta">' . $category_description . '</div>' );
} else {
_e( 'Blog Archives', 'Ratchetwp' );
}
?></h1>
<?php while ( have_posts() ) : the_post(); ?>
<div <?php post_class(); ?>>
<a href="<?php the_permalink(); ?>" title="<?php the_title();?>"><h3><?php the_title();?></h3></a>
<?php the_excerpt();?>
</div>
<?php endwhile; ?>
</div>
<div class="col-md-4"><?php get_sidebar('post'); ?></div>
</div>
</div>
<header class="bar bar-nav">
<h1 class="title">
<?php
if ( is_day() ) {
printf( __( 'Daily Archives: %s', 'Ratchetwp' ), '<small>' . get_the_date() . '</small>' );
} elseif ( is_month() ) {
printf( __( 'Monthly Archives: %s', 'Ratchetwp' ), '<small>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'Ratchetwp' ) ) . '</small>' );
} elseif ( is_year() ) {
printf( __( 'Yearly Archives: %s', 'Ratchetwp' ), '<small>' . get_the_date( _x( 'Y', 'yearly archives date format', 'Ratchetwp' ) ) . '</span>' );
} elseif ( is_tag() ) {
printf( __( 'Tag Archives: %s', 'Ratchetwp' ), '<small>' . single_tag_title( '', false ) . '</small>' );
// Show an optional tag description
$tag_description = tag_description();
if ( $tag_description )
echo apply_filters( 'tag_archive_meta', '<div class="tag-archive-meta">' . $tag_description . '</div>' );
} elseif ( is_category() ) {
printf( __( 'Category Archives: %s', 'Ratchetwp' ), '<small>' . single_cat_title( '', false ) . '</small>' );
$category_description = category_description();
if ( $category_description )
echo apply_filters( 'category_archive_meta', '<div class="category-archive-meta">' . $category_description . '</div>' );
} else {
_e( 'Blog Archives', 'Ratchetwp' );
}
?>
</h1>
</header>
<div class="content-padded">
<?php if(function_exists('Ratchetwp_breadcrumbs')) Ratchetwp_breadcrumbs(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<div <?php post_class(); ?>>
<a href="<?php the_permalink(); ?>" title="<?php the_title();?>"><h3><?php the_title();?></h3></a>
<?php the_excerpt();?>
</div>
<?php endwhile; ?>
</div>
<?php get_footer(); ?>
Oops, something went wrong.

0 comments on commit 880c8f8

Please sign in to comment.