removing empty spaces

This commit is contained in:
koenemann 2017-01-27 14:26:46 +01:00
parent 6bd57dd4ca
commit c01f07b4ae
5 changed files with 8 additions and 14 deletions

View File

@ -1,12 +1,10 @@
<?php <?php
/** /**
* Understrap modify editor * Understrap modify editor
* *
* @package understrap * @package understrap
*/ */
/** /**
* Registers an editor stylesheet for the theme. * Registers an editor stylesheet for the theme.
*/ */
@ -15,8 +13,7 @@ function wpdocs_theme_add_editor_styles() {
} }
add_action( 'admin_init', 'wpdocs_theme_add_editor_styles' ); add_action( 'admin_init', 'wpdocs_theme_add_editor_styles' );
// Add TinyMCE style formats.
// Add TinyMCE style formats
add_filter( 'mce_buttons_2', 'understrap_tiny_mce_style_formats' ); add_filter( 'mce_buttons_2', 'understrap_tiny_mce_style_formats' );
function understrap_tiny_mce_style_formats( $styles ) { function understrap_tiny_mce_style_formats( $styles ) {

View File

@ -10,7 +10,7 @@ if ( ! function_exists( 'understrap_scripts' ) ) {
* Load theme's JavaScript sources. * Load theme's JavaScript sources.
*/ */
function understrap_scripts() { function understrap_scripts() {
// Get the theme data // Get the theme data.
$the_theme = wp_get_theme(); $the_theme = wp_get_theme();
wp_enqueue_style( 'understrap-styles', get_stylesheet_directory_uri() . '/css/theme.min.css', array(), $the_theme->get( 'Version' ) ); wp_enqueue_style( 'understrap-styles', get_stylesheet_directory_uri() . '/css/theme.min.css', array(), $the_theme->get( 'Version' ) );
wp_enqueue_script( 'jquery' ); wp_enqueue_script( 'jquery' );

View File

@ -5,8 +5,6 @@
* @package understrap * @package understrap
*/ */
// Comments form.
/** /**
* Custom Pagination with numbers * Custom Pagination with numbers
* Credits to http://www.wpbeginner.com/wp-themes/how-to-add-numeric-pagination-in-your-wordpress-theme/ * Credits to http://www.wpbeginner.com/wp-themes/how-to-add-numeric-pagination-in-your-wordpress-theme/

View File

@ -7,7 +7,6 @@
* @package understrap * @package understrap
*/ */
if ( ! function_exists( 'understrap_posted_on' ) ) : if ( ! function_exists( 'understrap_posted_on' ) ) :
/** /**
* Prints HTML with meta information for the current post-date/time and author. * Prints HTML with meta information for the current post-date/time and author.