koenemann 2017-11-28 08:52:50 +01:00
parent ba75e8860b
commit a761db175d
4 changed files with 7 additions and 12 deletions

View File

@ -229,12 +229,12 @@ gulp.task('copy-assets', ['clean-source'], function() {
////////////////// All Bootstrap 4 Assets ///////////////////////// ////////////////// All Bootstrap 4 Assets /////////////////////////
// Copy all JS files // Copy all JS files
var stream = gulp.src(basePaths.node + 'bootstrap/dist/js/**/*.js') //var stream = gulp.src(basePaths.node + 'bootstrap/dist/js/**/*.js')
.pipe(gulp.dest(basePaths.dev + '/js/bootstrap4')); // .pipe(gulp.dest(basePaths.dev + '/js/bootstrap4'));
// Copy all Bootstrap SCSS files // Copy all Bootstrap SCSS files
gulp.src(basePaths.node + 'bootstrap/scss/**/*.scss') //gulp.src(basePaths.node + 'bootstrap/scss/**/*.scss')
.pipe(gulp.dest(basePaths.dev + '/sass/bootstrap4')); // .pipe(gulp.dest(basePaths.dev + '/sass/bootstrap4'));
////////////////// End Bootstrap 4 Assets ///////////////////////// ////////////////// End Bootstrap 4 Assets /////////////////////////
@ -246,10 +246,6 @@ gulp.task('copy-assets', ['clean-source'], function() {
gulp.src(basePaths.node + 'font-awesome/scss/*.scss') gulp.src(basePaths.node + 'font-awesome/scss/*.scss')
.pipe(gulp.dest(basePaths.dev + '/sass/fontawesome')); .pipe(gulp.dest(basePaths.dev + '/sass/fontawesome'));
// Copy jQuery
gulp.src(basePaths.node + 'jquery/dist/*.js')
.pipe(gulp.dest(basePaths.js));
// _s SCSS files // _s SCSS files
gulp.src(basePaths.node + 'undescores-for-npm/sass/**/*.scss') gulp.src(basePaths.node + 'undescores-for-npm/sass/**/*.scss')
.pipe(gulp.dest(basePaths.dev + '/sass/underscores')); .pipe(gulp.dest(basePaths.dev + '/sass/underscores'));

View File

@ -8,7 +8,7 @@
/** /**
* Registers an editor stylesheet for the theme. * Registers an editor stylesheet for the theme.
*/ */
function wpdocs_theme_add_editor_styles() { function understrap_wpdocs_theme_add_editor_styles() {
add_editor_style( 'css/custom-editor-style.css' ); add_editor_style( 'css/custom-editor-style.css' );
} }
add_action( 'admin_init', 'wpdocs_theme_add_editor_styles' ); add_action( 'admin_init', 'wpdocs_theme_add_editor_styles' );

View File

@ -116,7 +116,7 @@ if ( ! function_exists( 'understrap_all_excerpts_get_more_link' ) ) {
*/ */
function understrap_all_excerpts_get_more_link( $post_excerpt ) { function understrap_all_excerpts_get_more_link( $post_excerpt ) {
return $post_excerpt . ' [...]<p><a class="btn btn-secondary understrap-read-more-link" href="' . get_permalink( get_the_ID() ) . '">' . __( 'Read More...', return $post_excerpt . ' [...]<p><a class="btn btn-secondary understrap-read-more-link" href="' . esc_url( get_permalink( get_the_ID() )) . '">' . __( 'Read More...',
'understrap' ) . '</a></p>'; 'understrap' ) . '</a></p>';
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "understrap", "name": "understrap",
"version": "0.6.7", "version": "0.6.8",
"description": "WordPress Theme framework", "description": "WordPress Theme framework",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
@ -47,7 +47,6 @@
"gulp-sourcemaps": "2.6.1", "gulp-sourcemaps": "2.6.1",
"gulp-uglify": "^3.0.0", "gulp-uglify": "^3.0.0",
"gulp-watch": "^4.3.11", "gulp-watch": "^4.3.11",
"jquery": "3.2.1",
"merge2": "^1.2.0", "merge2": "^1.2.0",
"popper.js": "^1.12.6", "popper.js": "^1.12.6",
"run-sequence": "^2.2.0", "run-sequence": "^2.2.0",