Skip to content

Commit

Permalink
100% Free WordPress themes by Themeum.com
Browse files Browse the repository at this point in the history
  • Loading branch information
kawshar committed Nov 6, 2020
0 parents commit 7b8c93f
Show file tree
Hide file tree
Showing 5,334 changed files with 944,872 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
18 changes: 18 additions & 0 deletions aresmurphy/404.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php get_header('alternative');
/*
*Template Name: 404 Page Template
*/
?>

<section class="container comingsoon" style="background-image: url(<?php echo esc_url( get_theme_mod('errorbg',get_template_directory_uri().'/images/coming-soon.png')); ?>);">
<div class="container">
<div class="col-sm-12 info-wrapper">
<div class="starter-logo"><img src="<?php echo esc_url( get_theme_mod('errorlogo',get_template_directory_uri().'/images/logo.png')); ?>" alt=""></div>
<h2 class="error-message-title"><?php echo esc_html(get_theme_mod( '404_title', esc_html__('404', 'aresmurphy') )); ?></h2>
<h3 class="error-sub-title"><?php echo esc_html(get_theme_mod( '404_sub_title', esc_html__('Page not Found!', 'aresmurphy') )); ?></h3>
<p class="error-message"><?php echo esc_html(get_theme_mod( '404_description', esc_html__('Component not found...', 'aresmurphy') )); ?></p>
<a class="btn btn-primary white" href="<?php echo esc_url( home_url('/') ); ?>" title="<?php esc_html_e( 'HOME', 'aresmurphy' ); ?>"><i class="fa fa-long-arrow-left" aria-hidden="true"></i> <?php echo esc_html(get_theme_mod( '404_btn_text', esc_html__('Go Back Home', 'aresmurphy') )); ?></a>
</div>
</div>
</section>
<?php get_footer('alternative'); ?>
50 changes: 50 additions & 0 deletions aresmurphy/archive.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?php get_header(); ?>

<section id="main">

<?php if ( get_theme_mod( 'disable_sub_header', true ) ) {
get_template_part('lib/sub-header');
}?>
<div class="container">
<div id="content" class="site-content" role="main">
<?php
$index = 1;
$col = get_theme_mod( 'blog_column', 12 );
if ( have_posts() ) : ?>

<?php
// Start the Loop.
while ( have_posts() ) : the_post();
if ( $index == '1' ) { ?>
<div class="row">
<?php }?>
<div class="col-md-<?php echo esc_attr($col);?>">
<?php get_template_part( 'post-format/content', get_post_format() ); ?>
</div>
<?php if ( $index == (12/esc_attr($col) )) { ?>
</div><!--/row-->
<?php $index = 1;
} else {
$index++;
}
// End the loop.
endwhile;

// If no content, include the "No posts found" template.
else :
get_template_part( 'content', 'none' );

endif;
if($index != 1 ) { ?>
</div><!--/row-->
<?php } ?>
<?php
$page_numb = max( 1, get_query_var('paged') );
$max_page = $wp_query->max_num_pages;
echo aresmurphy_pagination( $page_numb, $max_page );
?>
</div> <!-- .site-content -->
</div> <!-- .container -->
</section>

<?php get_footer();
44 changes: 44 additions & 0 deletions aresmurphy/author.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?php get_header(); ?>

<section id="main">

<?php if ( get_theme_mod( 'disable_sub_header', true ) ) {
get_template_part('lib/sub-header');
}?>
<div class="container">
<div id="content" class="site-content" role="main">
<?php
$index = 1;
$col = get_theme_mod( 'blog_column', 12 );
if ( have_posts() ) :
while ( have_posts() ) : the_post();
if ( $index == '1' ) { ?>
<div class="row">
<?php }?>
<div class="col-md-<?php echo esc_attr($col);?>">
<?php get_template_part( 'post-format/content', get_post_format() ); ?>
</div>
<?php if ( $index == (12/esc_attr($col) )) { ?>
</div><!--/row-->
<?php $index = 1;
}else{
$index++;
}
endwhile;
else:
get_template_part( 'post-format/content', 'none' );
endif;
if($index != 1 ){ ?>
</div><!--/row-->
<?php }
?>
<?php
$page_numb = max( 1, get_query_var('paged') );
$max_page = $wp_query->max_num_pages;
echo aresmurphy_pagination( $page_numb, $max_page );
?>
</div> <!-- .site-content -->
</div> <!-- .container -->
</section>

<?php get_footer();
54 changes: 54 additions & 0 deletions aresmurphy/blog-fullwidth.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?php
/**
* Template Name: Blog Fullwidth
*/
get_header();?>

<section id="main">

<?php if ( get_theme_mod( 'disable_sub_header', true ) ) {
get_template_part('lib/sub-header');
}?>
<div class="container">
<div id="content" class="site-content" role="main">
<?php
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$args = array('post_type' => 'post','paged' => $paged);
$thequery = new WP_Query($args);

$index = 1;
$col = get_theme_mod( 'blog_column', 12 );

if ( $thequery->have_posts() ) :
while ( $thequery->have_posts() ) : $thequery->the_post();

if ( $index == '1' ) { ?>
<div class="row">
<?php }?>
<div class="col-md-<?php echo esc_attr($col);?>">
<?php get_template_part( 'post-format/content', get_post_format() ); ?>
</div>
<?php if ( $index == (12/esc_attr($col) )) { ?>
</div><!--/row-->
<?php $index = 1;
}else{
$index++;
}
endwhile;
else:
get_template_part( 'post-format/content', 'none' );
endif;
wp_reset_postdata();
if($index != 1 ){ ?>
</div><!--/row-->
<?php } ?>
<?php
$page_numb = max( 1, get_query_var('paged') );
$max_page = $thequery->max_num_pages;
echo aresmurphy_pagination( $page_numb, $max_page );
?>
</div> <!-- .site-content -->
</div><!-- .container -->
</section>

<?php get_footer();
55 changes: 55 additions & 0 deletions aresmurphy/blog-home.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?php
/**
* Template Name: Blog View Home
*/
get_header();?>
<?php get_template_part('lib/blogview-profile')?>
<section id="main">

<div class="container">
<div class="row">

<div id="content" class="site-content col-sm-9" role="main">
<?php
$paged = (get_query_var('page')) ? get_query_var('page') : 1;
$args = array('post_type' => 'post','paged' => $paged);
$thequery = new WP_Query($args);
$index = 1;
$col = get_theme_mod( 'blog_column', 12 );

if ( $thequery->have_posts() ) :
while ( $thequery->have_posts() ) : $thequery->the_post();
if ( $index == '1' ) { ?>
<div class="row">
<?php }?>
<div class="col-md-<?php echo esc_attr($col);?>">
<?php get_template_part( 'post-format/content', get_post_format() ); ?>
</div>
<?php if ( $index == (12/esc_attr($col) )) { ?>
</div><!--/row-->
<?php $index = 1;
}else{
$index++;
}
endwhile;
else:
get_template_part( 'post-format/content', 'none' );
endif;
wp_reset_postdata();
if($index != 1 ){ ?>
</div><!--/row-->
<?php } ?>
<?php
$page_numb = max( 1, get_query_var('page') );
$max_page = $thequery->max_num_pages;
echo aresmurphy_pagination( $page_numb, $max_page );
?>
</div>
<?php get_sidebar(); ?>

</div> <!-- .row -->
</div><!-- .container -->
</section>

<?php get_footer();

60 changes: 60 additions & 0 deletions aresmurphy/blog-left-sidebar.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?php
/**
* Template Name: Blog Left Sidebar
*/
get_header();?>

<section id="main">

<?php if ( get_theme_mod( 'disable_sub_header', true ) ) {
get_template_part('lib/sub-header');
}?>

<div class="container">
<div class="row">

<?php get_sidebar(); ?>

<div id="content" class="site-content col-sm-9" role="main">
<?php

$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$args = array('post_type' => 'post','paged' => $paged);
$thequery = new WP_Query($args);
$index = 1;
$col = get_theme_mod( 'blog_column', 12 );

if ( $thequery->have_posts() ) :
while ( $thequery->have_posts() ) : $thequery->the_post();
if ( $index == '1' ) { ?>
<div class="row">
<?php }?>
<div class="col-md-<?php echo esc_attr($col);?>">
<?php get_template_part( 'post-format/content', get_post_format() ); ?>
</div>
<?php if ( $index == (12/esc_attr($col) )) { ?>
</div><!--/row-->
<?php $index = 1;
}else{
$index++;
}
endwhile;
else:
get_template_part( 'post-format/content', 'none' );
endif;
wp_reset_postdata();
if($index != 1 ){ ?>
</div><!--/row-->
<?php } ?>
<?php
$page_numb = max( 1, get_query_var('paged') );
$max_page = $thequery->max_num_pages;
echo aresmurphy_pagination( $page_numb, $max_page );
?>
</div>

</div> <!-- .row -->
</div><!-- .container -->
</section>

<?php get_footer();
58 changes: 58 additions & 0 deletions aresmurphy/blog-right-sidebar.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<?php
/**
* Template Name: Blog Right Sidebar
*/
get_header();?>

<section id="main">

<?php if ( get_theme_mod( 'disable_sub_header', true ) ) {
get_template_part('lib/sub-header');
}?>

<div class="container">
<div class="row">

<div id="content" class="site-content col-sm-9" role="main">
<?php
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$args = array('post_type' => 'post','paged' => $paged);
$thequery = new WP_Query($args);
$index = 1;
$col = get_theme_mod( 'blog_column', 12 );

if ( $thequery->have_posts() ) :
while ( $thequery->have_posts() ) : $thequery->the_post();
if ( $index == '1' ) { ?>
<div class="row">
<?php }?>
<div class="col-md-<?php echo esc_attr($col);?>">
<?php get_template_part( 'post-format/content', get_post_format() ); ?>
</div>
<?php if ( $index == (12/esc_attr($col) )) { ?>
</div><!--/row-->
<?php $index = 1;
}else{
$index++;
}
endwhile;
else:
get_template_part( 'post-format/content', 'none' );
endif;
wp_reset_postdata();
if($index != 1 ){ ?>
</div><!--/row-->
<?php } ?>
<?php
$page_numb = max( 1, get_query_var('paged') );
$max_page = $thequery->max_num_pages;
echo aresmurphy_pagination( $page_numb, $max_page );
?>
</div>
<?php get_sidebar(); ?>

</div> <!-- .row -->
</div><!-- .container -->
</section>

<?php get_footer();
45 changes: 45 additions & 0 deletions aresmurphy/category.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?php get_header(); ?>

<section id="main">
<?php if ( get_theme_mod( 'disable_sub_header', true ) ) {
get_template_part('lib/sub-header');
}?>
<div class="container">
<div class="row">
<div id="content" class="site-content col-sm-9" role="main">
<?php
$index = 1;
$col = get_theme_mod( 'blog_column', 12 );
if ( have_posts() ) :
while ( have_posts() ) : the_post();
if ( $index == '1' ) { ?>
<div class="row">
<?php }?>
<div class="col-md-<?php echo esc_attr($col);?>">
<?php get_template_part( 'post-format/content', get_post_format() ); ?>
</div>
<?php if ( $index == (12/esc_attr($col) )) { ?>
</div><!--/row-->
<?php $index = 1;
}else{
$index++;
}
endwhile;
else:
get_template_part( 'post-format/content', 'none' );
endif;
if($index != 1 ){ ?>
</div><!--/row-->
<?php }?>
<?php
$page_numb = max( 1, get_query_var('paged') );
$max_page = $wp_query->max_num_pages;
echo aresmurphy_pagination( $page_numb, $max_page );
?>
</div> <!-- #content -->
<?php get_sidebar(); ?>
</div> <!-- .row -->
</div>
</section> <!-- .container -->

<?php get_footer();
Loading

0 comments on commit 7b8c93f

Please sign in to comment.