tweaking and fixing

This commit is contained in:
Holger Koenemann 2015-01-06 08:37:26 +01:00
parent 29692fa0fa
commit 2b95d954b9
55 changed files with 15 additions and 12 deletions

View File

@ -64,6 +64,9 @@ if ( post_password_required() ) {
<p class="no-comments"><?php _e( 'Comments are closed.', 'understrap' ); ?></p>
<?php endif; ?>
<?php get_template_part('comment-form'); ?>
<?php
// Loads the comment-form.php template
get_template_part('comment-form');
?>
</div><!-- #comments -->

View File

@ -1,13 +1,13 @@
<?php
function understrap_scripts() {
wp_enqueue_style( 'understrap-theme', get_stylesheet_directory_uri() . '/css/theme.css', array(), '0.1', false );
wp_enqueue_script('jquery');
wp_enqueue_script( 'understrap-navigation', get_template_directory_uri() . '/js/bootstrap.min.js', array(), '20120206', true );
wp_enqueue_script( 'understrap-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20130115', true );
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
wp_enqueue_script( 'comment-reply' );
}
}
function understrap_scripts() {
wp_enqueue_style( 'understrap-theme', get_stylesheet_directory_uri() . '/css/theme.css', array(), '0.1', false );
wp_enqueue_script('jquery');
wp_enqueue_script( 'understrap-navigation', get_template_directory_uri() . '/js/bootstrap.min.js', array(), '20120206', true );
wp_enqueue_script( 'understrap-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20130115', true );
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
wp_enqueue_script( 'comment-reply' );
}
}
add_action( 'wp_enqueue_scripts', 'understrap_scripts' );

View File

@ -100,6 +100,6 @@ add_theme_support( 'post-thumbnails' );
function all_excerpts_get_more_link($post_excerpt) {
return $post_excerpt . ' [...]<p><a class="btn btn-default" href="'. get_permalink($post->ID) . '">' . 'Read More...' . '</a></p>';
return $post_excerpt . ' [...]<p><a class="btn btn-default understrap-read-more-link" href="'. get_permalink($post->ID) . '">' . 'Read More...' . '</a></p>';
}
add_filter('wp_trim_excerpt', 'all_excerpts_get_more_link');

0
sass/jasny-offcanvas/_alerts-fixed.scss Normal file → Executable file
View File

0
sass/jasny-offcanvas/_button-labels.scss Normal file → Executable file
View File

0
sass/jasny-offcanvas/_fileinput.scss Normal file → Executable file
View File

0
sass/jasny-offcanvas/_grid-container-smooth.scss Normal file → Executable file
View File

0
sass/jasny-offcanvas/_nav-tab-alignment.scss Normal file → Executable file
View File

0
sass/jasny-offcanvas/_navmenu.scss Normal file → Executable file
View File

0
sass/jasny-offcanvas/_offcanvas.scss Normal file → Executable file
View File

0
sass/jasny-offcanvas/_rowlink.scss Normal file → Executable file
View File

0
sass/jasny-offcanvas/_variables.scss Normal file → Executable file
View File

0
sass/jasny-offcanvas/jasny-bootstrap.scss Normal file → Executable file
View File

0
sass/owlcarousel-slider/_mixins.scss Normal file → Executable file
View File

0
sass/owlcarousel-slider/_theme.scss Normal file → Executable file
View File

0
sass/owlcarousel-slider/owl.animate.scss Normal file → Executable file
View File

0
sass/owlcarousel-slider/owl.autoheight.scss Normal file → Executable file
View File

0
sass/owlcarousel-slider/owl.carousel.scss Normal file → Executable file
View File

0
sass/owlcarousel-slider/owl.lazyload.scss Normal file → Executable file
View File

0
sass/owlcarousel-slider/owl.theme.default.scss Normal file → Executable file
View File

0
sass/owlcarousel-slider/owl.theme.green.scss Normal file → Executable file
View File

0
sass/owlcarousel-slider/owl.video.scss Normal file → Executable file
View File

0
sass/underscores/_reset.scss Normal file → Executable file
View File

0
sass/underscores/elements/_elements.scss Normal file → Executable file
View File

0
sass/underscores/elements/_lists.scss Normal file → Executable file
View File

0
sass/underscores/elements/_tables.scss Normal file → Executable file
View File

0
sass/underscores/forms/_buttons.scss Normal file → Executable file
View File

0
sass/underscores/forms/_fields.scss Normal file → Executable file
View File

0
sass/underscores/forms/_forms.scss Normal file → Executable file
View File

0
sass/underscores/layout/_content-sidebar.scss Normal file → Executable file
View File

0
sass/underscores/layout/_sidebar-content.scss Normal file → Executable file
View File

0
sass/underscores/media/_captions.scss Normal file → Executable file
View File

0
sass/underscores/media/_galleries.scss Normal file → Executable file
View File

0
sass/underscores/media/_media.scss Normal file → Executable file
View File

0
sass/underscores/mixins/_mixins-master.scss Normal file → Executable file
View File

0
sass/underscores/modules/_accessibility.scss Normal file → Executable file
View File

0
sass/underscores/modules/_alignments.scss Normal file → Executable file
View File

0
sass/underscores/modules/_clearings.scss Normal file → Executable file
View File

0
sass/underscores/modules/_infinite-scroll.scss Normal file → Executable file
View File

0
sass/underscores/navigation/_links.scss Normal file → Executable file
View File

0
sass/underscores/navigation/_menus.scss Normal file → Executable file
View File

0
sass/underscores/navigation/_navigation.scss Normal file → Executable file
View File

0
sass/underscores/site/_site.scss Normal file → Executable file
View File

0
sass/underscores/site/primary/_asides.scss Normal file → Executable file
View File

0
sass/underscores/site/primary/_comments.scss Normal file → Executable file
View File

0
sass/underscores/site/primary/_posts-and-pages.scss Normal file → Executable file
View File

0
sass/underscores/site/secondary/_widgets.scss Normal file → Executable file
View File

0
sass/underscores/typography/_copy.scss Normal file → Executable file
View File

0
sass/underscores/typography/_headings.scss Normal file → Executable file
View File

0
sass/underscores/typography/_typography.scss Normal file → Executable file
View File

0
sass/underscores/variables-site/_colors.scss Normal file → Executable file
View File

0
sass/underscores/variables-site/_structure.scss Normal file → Executable file
View File

0
sass/underscores/variables-site/_typography.scss Normal file → Executable file
View File

0
sass/underscores/variables-site/_variables-site.scss Normal file → Executable file
View File

View File

@ -12,5 +12,5 @@ Details URI: http://example.com/my-theme-changelog.html
*/
/*This file is just used to identify the theme in wordpress. The compiles CSS output can be found in /css/theme.css
The SASS sources for it is here /sass/
The SASS sources for it can be found in this folder: /sass/
*/