Permalink
Browse files

Bug Fixes

  • Loading branch information...
chdoff committed Dec 15, 2017
1 parent 90420c8 commit 67a11afcdcb5fac40af1af8c7d0001eaa3cd693a
Showing with 28 additions and 19 deletions.
  1. +6 −4 functions.php
  2. +5 −5 index.php
  3. +5 −0 readme.md
  4. +12 −10 style.css
@@ -3,7 +3,12 @@
// Recommended way to include parent theme styles.
// (Please see http://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme)
//
add_image_size('chd-off-thumb', 300,300, true );
function chandigarh_theme_support() {
add_image_size('chandigarh-thumb', 300,300, true );
}
add_action( 'after_setup_theme', 'chandigarh_theme_support' );
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
@@ -12,6 +17,3 @@ function theme_enqueue_styles() {
array('parent-style')
);
}
//
// Your code goes below
//
@@ -24,7 +24,7 @@
</header>
<?php else : ?>
<header class="page-header">
<h2 class="page-title"><?php _e( 'Posts', 'twentyseventeen' ); ?></h2>
<h2 class="page-title"><?php _e( 'Posts', 'chandigarh' ); ?></h2>
</header>
<?php endif; ?>
@@ -42,14 +42,14 @@
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( 'template-parts/post/content-home', get_post_format() );
get_template_part( 'template-parts/post/content', 'home' );
endwhile;
the_posts_pagination( array(
'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'arrow-left' ) ) . '<span class="screen-reader-text">' . __( 'Previous page', 'twentyseventeen' ) . '</span>',
'next_text' => '<span class="screen-reader-text">' . __( 'Next page', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ),
'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyseventeen' ) . ' </span>',
'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'arrow-left' ) ) . '<span class="screen-reader-text">' . __( 'Previous page', 'chandigarh' ) . '</span>',
'next_text' => '<span class="screen-reader-text">' . __( 'Next page', 'chandigarh' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ),
'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'chandigarh' ) . ' </span>',
) );
else :
@@ -35,3 +35,8 @@ Beautiful Images in Screenshot by Pexels.com and Licensed under Public Domain CC
#### Version 1.0
* Initial Release
#### Version 1.1
* Minor Bug Fixes
* Added Missing files.
@@ -1,8 +1,14 @@
/*
Theme Name: Chandigarh
Description:
Author: admin
Template: twentyseventeen
Theme Name: Chandigarh
Description: Chandigarh WordPress theme is dedicated to the Beauty of the Beautiful City of Chandigarh. Originally created for Chandigarh's Official Website, this theme is built as a child theme for the most beautiful default theme of WordPress Ever - Twenty Seventeen. Twenty Seventeen is a beatiful theme with clean design, optimum performance and elegant fonts. It still lacked a few things which did not suit our purpose, which encouraged us to create our own theme.
Author: Ramesh Bajpayee
Text Domain: chandigarh
Theme URI: https://github.com/chdoff/chandigarh-theme/
Template: twentyseventeen
Tags: custom-background, two-columns, right-sidebar, custom-menu, sticky-post, threaded-comments, translation-ready, featured-images, photography, full-width-template, custom-header, footer-widgets, blog, entertainment
Version: 1.1
(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/
@@ -12,9 +18,6 @@ Template: twentyseventeen
overflow: auto;
width: 100% !important;
}
/*.single-featured-image-header{*/
/*max-height: 400px !important;*/
/*}*/
.custom-header .wrap,.navigation-top .wrap,#content .wrap,footer .wrap{
margin: 0px 30px;
max-width: 100%;
@@ -23,7 +26,6 @@ Template: twentyseventeen
margin-bottom: 0;
position: relative;
bottom: 0;
/*top: 25px;*/
}
.site-content {
padding: 3.5em 0 0;
@@ -85,8 +87,8 @@ color: #71b280}
padding: 8px;
}
.post-content{
width: 67%;
float: right;
width: 66%;
float: left;
padding: 8px;
}
.post,.archive,.category{

0 comments on commit 67a11af

Please sign in to comment.