This commit is contained in:
parent
ba75e8860b
commit
a761db175d
12
gulpfile.js
12
gulpfile.js
|
@ -229,12 +229,12 @@ gulp.task('copy-assets', ['clean-source'], function() {
|
|||
////////////////// All Bootstrap 4 Assets /////////////////////////
|
||||
// Copy all JS files
|
||||
|
||||
var stream = gulp.src(basePaths.node + 'bootstrap/dist/js/**/*.js')
|
||||
.pipe(gulp.dest(basePaths.dev + '/js/bootstrap4'));
|
||||
//var stream = gulp.src(basePaths.node + 'bootstrap/dist/js/**/*.js')
|
||||
// .pipe(gulp.dest(basePaths.dev + '/js/bootstrap4'));
|
||||
|
||||
// Copy all Bootstrap SCSS files
|
||||
gulp.src(basePaths.node + 'bootstrap/scss/**/*.scss')
|
||||
.pipe(gulp.dest(basePaths.dev + '/sass/bootstrap4'));
|
||||
//gulp.src(basePaths.node + 'bootstrap/scss/**/*.scss')
|
||||
// .pipe(gulp.dest(basePaths.dev + '/sass/bootstrap4'));
|
||||
|
||||
////////////////// End Bootstrap 4 Assets /////////////////////////
|
||||
|
||||
|
@ -246,10 +246,6 @@ gulp.task('copy-assets', ['clean-source'], function() {
|
|||
gulp.src(basePaths.node + 'font-awesome/scss/*.scss')
|
||||
.pipe(gulp.dest(basePaths.dev + '/sass/fontawesome'));
|
||||
|
||||
// Copy jQuery
|
||||
gulp.src(basePaths.node + 'jquery/dist/*.js')
|
||||
.pipe(gulp.dest(basePaths.js));
|
||||
|
||||
// _s SCSS files
|
||||
gulp.src(basePaths.node + 'undescores-for-npm/sass/**/*.scss')
|
||||
.pipe(gulp.dest(basePaths.dev + '/sass/underscores'));
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
/**
|
||||
* 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_action( 'admin_init', 'wpdocs_theme_add_editor_styles' );
|
||||
|
|
|
@ -116,7 +116,7 @@ if ( ! function_exists( 'understrap_all_excerpts_get_more_link' ) ) {
|
|||
*/
|
||||
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>';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "understrap",
|
||||
"version": "0.6.7",
|
||||
"version": "0.6.8",
|
||||
"description": "WordPress Theme framework",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
@ -47,7 +47,6 @@
|
|||
"gulp-sourcemaps": "2.6.1",
|
||||
"gulp-uglify": "^3.0.0",
|
||||
"gulp-watch": "^4.3.11",
|
||||
"jquery": "3.2.1",
|
||||
"merge2": "^1.2.0",
|
||||
"popper.js": "^1.12.6",
|
||||
"run-sequence": "^2.2.0",
|
||||
|
|
Reference in New Issue