Browse Source

dwp starter

windhamdavid 4 years ago
parent
commit
822e4014c7
2 changed files with 42 additions and 0 deletions
  1. 6 0
      app/themes/dwp/functions.php
  2. 36 0
      app/themes/dwp/package.json

+ 6 - 0
app/themes/dwp/functions.php

@@ -129,6 +129,10 @@ add_filter( 'login_headertext', 'dwp_login_title' );
 function dwp_login_title() {
 	return get_option( 'blogname' );
 }
+add_filter( 'login_title', 'dwp_login_wp_title' );
+function dwp_login_wp_title( $login_title ) {
+	return str_replace(array( ' ‹', ' — WordPress'), array( ' ‹', ''),$login_title );
+}
 add_filter( 'login_headerurl', 'dwp_login_url' );
 function dwp_login_url($url) {
 	return home_url();
@@ -155,6 +159,8 @@ function dwp_login_logo() { ?>
 <?php }
 
 
+
+
 /*************************************************
 // ############ admin menu order  ############## //
 **************************************************/

+ 36 - 0
app/themes/dwp/package.json

@@ -0,0 +1,36 @@
+{
+	"name": "windhamdavid-wp-dwp",
+	"version": "0.2.0",
+	"description": "windhamdavid WordPress builder starter theme",
+	"repository": {
+		"type": "git",
+		"url": "https://github.com/windhamdavid/wp"
+	},
+	"devDependencies": {
+		"grunt": "~1.0.4",
+		"grunt-banner": "^0.6.0",
+		"grunt-contrib-clean": "~2.0.0",
+		"grunt-contrib-concat": "1.0.1",
+		"grunt-contrib-copy": "~1.0.0",
+		"grunt-contrib-cssmin": "~3.0.0",
+		"grunt-contrib-imagemin": "~3.1.0",
+		"grunt-contrib-jshint": "2.1.0",
+		"grunt-contrib-qunit": "^1.2.0",
+		"grunt-contrib-uglify": "~4.0.1",
+		"grunt-contrib-watch": "~1.1.0",
+		"grunt-file-append": "0.0.7",
+		"grunt-includes": "~1.1.0",
+		"grunt-jsdoc": "2.4.0",
+		"grunt-jsvalidate": "~0.2.2",
+		"grunt-legacy-util": "^1.1.1",
+		"grunt-patch-wordpress": "~2.0.0",
+		"grunt-postcss": "~0.9.0",
+		"grunt-replace-lts": "~1.1.0",
+		"grunt-rtlcss": "~2.0.1",
+		"grunt-sass": "~3.1.0",
+		"grunt-webpack": "^3.1.3"
+	},
+	"scripts": {
+
+	}
+}