├── .env ├── .gitignore ├── Dockerfile ├── README.md ├── docker-compose.yml ├── readme-assets ├── docker-logo.png ├── gulp-sass-logo.png └── wp-logo.png ├── scripts ├── export_all.sh ├── export_db.sh ├── export_src.sh └── functions.sh ├── src ├── gulp │ ├── gulp-tasks │ │ ├── JsPlugins.js │ │ ├── JsTask.js │ │ ├── cssTask.js │ │ └── utils.js │ └── paths.js ├── gulpfile.js ├── package-lock.json ├── package.json ├── plugins │ └── index.php ├── themes │ └── my-site │ │ ├── .eslintrc │ │ ├── .stylelintrc.json │ │ ├── 404.php │ │ ├── LICENSE │ │ ├── README.md │ │ ├── archive.php │ │ ├── comments.php │ │ ├── composer.json │ │ ├── footer.php │ │ ├── functions.php │ │ ├── header.php │ │ ├── inc │ │ ├── custom-header.php │ │ ├── customizer.php │ │ ├── jetpack.php │ │ ├── template-functions.php │ │ └── template-tags.php │ │ ├── index.php │ │ ├── js │ │ ├── main.min.js │ │ └── plugins.min.js │ │ ├── languages │ │ ├── my-site.pot │ │ └── readme.txt │ │ ├── layouts │ │ ├── content-sidebar.css │ │ └── sidebar-content.css │ │ ├── package.json │ │ ├── page.php │ │ ├── phpcs.xml.dist │ │ ├── readme.txt │ │ ├── rtl.css │ │ ├── screenshot.png │ │ ├── search.php │ │ ├── sidebar.php │ │ ├── single.php │ │ ├── src │ │ ├── js │ │ │ ├── main.js │ │ │ └── plugins │ │ │ │ └── jquery.js │ │ └── sass │ │ │ ├── _normalize.scss │ │ │ ├── elements │ │ │ ├── _elements.scss │ │ │ ├── _lists.scss │ │ │ └── _tables.scss │ │ │ ├── forms │ │ │ ├── _buttons.scss │ │ │ ├── _fields.scss │ │ │ └── _forms.scss │ │ │ ├── layout │ │ │ ├── _content-sidebar.scss │ │ │ ├── _no-sidebar.scss │ │ │ └── _sidebar-content.scss │ │ │ ├── media │ │ │ ├── _captions.scss │ │ │ ├── _galleries.scss │ │ │ └── _media.scss │ │ │ ├── mixins │ │ │ └── _mixins-master.scss │ │ │ ├── modules │ │ │ ├── _accessibility.scss │ │ │ ├── _alignments.scss │ │ │ ├── _clearings.scss │ │ │ └── _infinite-scroll.scss │ │ │ ├── navigation │ │ │ ├── _links.scss │ │ │ ├── _menus.scss │ │ │ └── _navigation.scss │ │ │ ├── site │ │ │ ├── _site.scss │ │ │ ├── primary │ │ │ │ ├── _comments.scss │ │ │ │ └── _posts-and-pages.scss │ │ │ └── secondary │ │ │ │ └── _widgets.scss │ │ │ ├── style.scss │ │ │ ├── typography │ │ │ ├── _copy.scss │ │ │ ├── _headings.scss │ │ │ └── _typography.scss │ │ │ └── variables-site │ │ │ ├── _colors.scss │ │ │ ├── _columns.scss │ │ │ ├── _structure.scss │ │ │ ├── _typography.scss │ │ │ └── _variables-site.scss │ │ ├── style.css │ │ └── template-parts │ │ ├── content-none.php │ │ ├── content-page.php │ │ ├── content-search.php │ │ └── content.php └── uploads │ └── index.php └── uploads.conf /.env: -------------------------------------------------------------------------------- 1 | # The site domain 2 | SITE_URL=test.suthanbala.com 3 | 4 | # Wordpress Version | For all versions available visit https://hub.docker.com/_/wordpress?tab=tags&page=1 5 | WP_VERSION=6.4.0-apache 6 | 7 | # Database for MYSQL 8 | DB_USER=root 9 | MYSQL_DATABASE=my_wordpress 10 | MYSQL_ROOT_PASSWORD=mydbP@$$word 11 | 12 | # Additional WordPress configs to allow for plugins to be installed 13 | # For more info visit https://hub.docker.com/_/wordpress?tab=description&page=1 14 | WORDPRESS_CONFIG_EXTRA="define('FS_METHOD', 'direct');" 15 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /src/node_modules 2 | /build 3 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:14 2 | WORKDIR /var/www/html 3 | 4 | # Copying our package.json containing all the necessary dependencies 5 | COPY package.json /var/www/html/package.json 6 | 7 | # Installing Gulp, BrowserSync and other necessary packages 8 | RUN npm i 9 | 10 | # Copy all the Gulp related files 11 | COPY gulp ./gulp 12 | COPY ./gulpfile.js ./gulpfile.js 13 | 14 | # Exposing port 3000 for the page to be served via BrowserSync 15 | EXPOSE 3000 16 | 17 | # Exposing port 3001 for the admin console for BrowserSync 18 | EXPOSE 3001 19 | 20 | CMD ["npm run watch"] 21 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | ![Docker](./readme-assets/docker-logo.png) 3 | ![WordPress](./readme-assets/wp-logo.png) 4 | ![Gulp and SASS](./readme-assets/gulp-sass-logo.png) 5 | 6 | # WordPress Docker Gulp 7 | If you are one of those people who has to configure Gulp to compile SASS assets, concat and minify JS files, and Hot Reload for every single one of your WordPress projects, then this project is for you. On this project, we've utilized Docker to setup a container with latest version of WordPress and setup Gulp. All you need to do is, run `docker-compose up` on your terminal and it will fire up the docker running **Webserver to serve the WordPress** and **Node Server** to compile **SASS to CSS**, minify and concatenate JavaScript and to hot reload. 8 | 9 | You can then access your site at the domain you've set in the `.env` file. For example, if you site the `SITE_URL` to be yourdomain.com, then accessin this URL on your browser will bring up the normal WordPress site without the hot reloading enabled. You can access the hot reloading enabled version of the site at http://yourdomain.com/:3000. 10 | 11 | ## Features 12 | - Just worry about the things you are actually working with (`themes` and `plugins` folders from `wp-content`) 13 | - Less configuration 14 | - Comes with the PHPMyAdmin built-in, so you can manage the database 15 | - You can benefit from what [BrowserSync](https://www.browsersync.io/) has to offer: 16 | - Hot reloading for JavaScripts and Style Injection for CSS changes 17 | - Mobile Debugging 18 | - Your scrolls, clicks, refresh and form actions are mirrored between different devices and browsersers 19 | - ..these are just a few to list, visit [BrowserSync](https://www.browsersync.io/) for more details 20 | - The JS is configured such a way so that, all the JS found within the `themes/theme/src/js/*.js` gets combined and minified and exported into `main.min.js` 21 | - Similarly, the vendor JS files, found in the `themes/theme/src/js/plugins/*.js` gets combined and minified into `plugins.min.js` 22 | - The SASS file from within `themes/theme/src/sass/*.scss` gets combined and minified into `themes/theme/style.css` 23 | 24 | ## Installing / Getting started 25 | 26 | You may start by **cloning** this repo your machine. If you are working on an existing site, then copy the themes in to `src/themes/`, plugins into `src/plugins/` and the uploads into `src/uploads`. Also, if you have the Database SQL file, then place it inside the `src/initial-db` directory. 27 | 28 | ```shell 29 | git clone https://github.com/suthanbala/wordpress-docker-gulp.git dev.yourdomain.com 30 | git remote rm origin 31 | ``` 32 | The command above clones the repo to your machine, then disassociate the repo. You can then commit to your own repo. 33 | 34 | You should now have the following structure: 35 | 36 | ``` 37 | dev.yourdomain.com 38 | │ readme-assets 39 | └───wordpress 40 | └───src 41 | │ └───initial-db 42 | │ └───... 43 | └───scripts 44 | │ └───... 45 | │ .env 46 | │ docker-compose.yml 47 | │ Dockerfile 48 | │ ... 49 | ``` 50 | 51 | The working directory will be **wordpress**. 52 | 53 | Once cloned, you must setup the folder permissions correctly. Otherwise, you'll face issues when saving files, or installing plugins. 54 | First, you'll need to change the owner of the `wordpress` directory to `www-data:www-data`. This will set the owner and the group to `www-data`. 55 | Then you'll need to grant permission the group to write. You do this by running `chmod g+w -Rf wordpress`. You may have to run it with `sudo`. 56 | 57 | ## Development 58 | 59 | ### Built With 60 | - [Docker](https://www.docker.com/) 61 | - [WordPress](https://wordpress.org/) 62 | - [BrowserSync](http://browsersync.io) 63 | - [NodeJS](https://nodejs.org/) 64 | - [SASS](https://sass-lang.com/) 65 | 66 | ### Pre-requisites 67 | You must have [Docker](https://www.docker.com/) installed on your machine. Everything outlined in this project gets run within the Docker container. Docker will download them and install them into the container during the build process. 68 | 69 | ### Setup 70 | 71 | You may want to add a `host` entry to your machine for the website you'll be creating. Run `sudo nano /etc/hosts` in your terminal if you're on Unix/MacOS, or, open NotePad as administrator, then open `C:\Windows\System32\drivers\etc\hosts` if you're on Windows. Then append the following line `127.0.0.1 yourdomain.com` to the hosts file. This will ensure, whenever you hit `yourdomain.com` on your machine, it points to your machine than going out to the internet. 72 | 73 | ```shell 74 | git clone https://github.com/suthanbala/wordpress-docker-gulp.git dev.yourdomain.com 75 | ``` 76 | 77 | #### Setting the environment 78 | 79 | Go into the working directory and update the `SITE_URL` in your `.env`. Make sure you add that domain to your host file [Instructions here](https://support.rackspace.com/how-to/modify-your-hosts-file/). Once that's done, in your terminal, run the following command to build the containers: 80 | ``` 81 | docker-compose build 82 | ``` 83 | 84 | Now that you have the toolkit ready, you need a skeleton theme to start . You can create one at [Underscores](http://underscores.me/), it comes pre-packaged with a lot of WordPress recommended presets, and all necessary templates, HTML5 markup, and even SASS. To get the SASS enabled theme, click on **Advanced Options**, then check the `_sassify` option. Download the theme, and extract it into the `src/themes/` directory. 85 | 86 | Currently three directories are mounted into the projects: 87 | 88 | - `src/themes/*` --> `wp-content/themes/` 89 | - `src/plugins/*` --> `wp-content/plugins/` 90 | - `src/uploads/*` --> `wp-content/uploads/` 91 | 92 | #### Paths 93 | Gulp is configured to watch for any JS and SCSS files within your themes. JS is split into two categories, one being the plugins, and the second being the app.js. We separated the plugins so they can be loaded first to the page. Then the app.js can utilize that. 94 | 95 | The files must be placed like the following: 96 | ``` 97 | - themes 98 | │ └───my-theme 99 | │ └───src 100 | │ └───sass 101 | │ └───styles.scss 102 | │ └───... 103 | │ └───js 104 | │ └───script1.js 105 | │ └───script2.js 106 | │ └───plugins 107 | │ └───jquery.js 108 | │ └───flexslider.js 109 | │ └───... 110 | ``` 111 | 112 | #### Working with SASS 113 | The project is set to watch for any changes made to any sass files located in the directory **src/themes/yourtheme/src/sass/**. If you are using Underscores generated theme, then please move the `themename/sass` folder into `themename/src/sass`. Gulp watches and compiles the SASS from **src/themes/themename/src/sass/style.scss** to **src/themes/themename/style.css**. 114 | 115 | If you have multiple scss files, be sure to import them into the `style.scss` using `@import` directive. 116 | 117 | #### Working with JS 118 | Please your Javascripts in the **src/themes/themename/src/js**. If it's a plugin, then place them in **src/themes/themename/src/js/plugins/**. Anything else can go directly in the **src/themes/themename/src/js**. 119 | 120 | This ensures we combine and concat all the plugins together and load them ahead of the `app.js`. When we load the `app.js`, we can be sure that all the plugins have been loaded. 121 | 122 | Gulp is set to watch for any changes made in the **src/themes/yourtheme/src/js/*.js** folder and create a combined and minified **src/themes/yourtheme/js/main.min.js**. Also, the **src/themes/yourtheme/src/js/plugins/*.js** folder and create a combined and minified **src/themes/yourtheme/js/plugins.min.js** 123 | 124 | #### Managing Database 125 | The project comes with the PHPMyAdmin configured to connect to the MYSQL database without any credentials. You can access the PHPMyAdmin at [localhost:8080](http://localhost:8080). 126 | 127 | ### Deploying / Publishing 128 | 129 | While developing a WordPress theme, you are only making changes to either theme and plugins folder. However, when you are ready to deploy, you need the WordPress core files and database. 130 | 131 | Not to worry, we have that covered as well. You can run the `./scripts/export_all.sh` bash command. This will copy the WordPress core files and database SQL from the Docker container and place them in the `./build` folder. 132 | 133 | You can then upload them to your server. 134 | 135 | ## Build 136 | - To fully export the project, run the `export_all.sh` bash script located in the `scripts` folder. This will export all the source code and the SQL file into the `build` directory. 137 | - When you export the files, they are optimized. The JS and CSS files are minified with the sourcemaps removed. Also, the `src` directories are removed within the theme folders. 138 | - The `build` directory is git-ignored on this repo. This gives you the flexibility to have the contents of `build` directory in a different repo (Production files only). 139 | - If you just need the database, you can run the `/scripts/export_db.sh` Bash script. This will create a `db.sql` in the `build` directory. 140 | - If you just need the source files to be exported, you can run the `/scripts/export_src.sh` Bash script. This will copy all the source code including the themes, and plugins with the proper WordPress structure in to `build/html` directory. 141 | -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: "3.1" 2 | services: 3 | wordpress: 4 | image: wordpress:${WP_VERSION} 5 | restart: unless-stopped 6 | depends_on: 7 | - mysql-wordpress 8 | volumes: 9 | - ./wordpress:/var/www/html/ 10 | - ./uploads.conf:/usr/local/etc/php/conf.d/uploads.ini 11 | - ./logs:/var/log/apache2 12 | ports: 13 | - 80:80 14 | env_file: 15 | - ./.env 16 | environment: 17 | - WORDPRESS_DB_HOST=mysql-wordpress 18 | - WORDPRESS_DB_USER=${DB_USER} 19 | - WORDPRESS_DB_PASSWORD=${MYSQL_ROOT_PASSWORD} 20 | - WORDPRESS_DB_NAME=${MYSQL_DATABASE} 21 | browsersync: 22 | depends_on: 23 | - wordpress 24 | build: 25 | context: ./src 26 | dockerfile: ../Dockerfile 27 | restart: unless-stopped 28 | links: 29 | - wordpress:${SITE_URL} 30 | env_file: 31 | - ./.env 32 | ports: 33 | - 3000:3000 34 | - 3001:3001 35 | volumes: 36 | - ./wordpress/wp-content/themes/:/var/www/html/themes 37 | - ./src/gulp/:/var/www/html/gulp 38 | - ./src/gulpfile.js:/var/www/html/gulpfile.js 39 | command: "npm run watch" 40 | mysql-wordpress: 41 | image: mysql 42 | restart: unless-stopped 43 | volumes: 44 | - ./src/initial-db:/docker-entrypoint-initdb.d 45 | env_file: 46 | - ./.env 47 | command: "--default-authentication-plugin=mysql_native_password" 48 | phpmyadmin: 49 | image: phpmyadmin/phpmyadmin 50 | links: 51 | - mysql-wordpress:db 52 | restart: unless-stopped 53 | ports: 54 | - 8080:80 55 | environment: 56 | - PMA_ARBITRARY=1 57 | - PMA_USER=${DB_USER} 58 | - PMA_PASSWORD=${MYSQL_ROOT_PASSWORD} 59 | -------------------------------------------------------------------------------- /readme-assets/docker-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suthanbala/wordpress-docker-gulp/73bbecb11e1fce691ea9f4936a733daf4200a9e6/readme-assets/docker-logo.png -------------------------------------------------------------------------------- /readme-assets/gulp-sass-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suthanbala/wordpress-docker-gulp/73bbecb11e1fce691ea9f4936a733daf4200a9e6/readme-assets/gulp-sass-logo.png -------------------------------------------------------------------------------- /readme-assets/wp-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suthanbala/wordpress-docker-gulp/73bbecb11e1fce691ea9f4936a733daf4200a9e6/readme-assets/wp-logo.png -------------------------------------------------------------------------------- /scripts/export_all.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | current_path="`dirname \"$0\"`" 3 | 4 | sh "$current_path/export_db.sh" 5 | sh "$current_path/export_src.sh" -------------------------------------------------------------------------------- /scripts/export_db.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | current_path="$(dirname "$0")" 3 | source "$current_path/functions.sh" 4 | 5 | # Vars 6 | container_manually_started=false # Has the container started manually or was it already started 7 | image_name="mysql" 8 | service_name="mysql-wordpress" 9 | 10 | # Ensure the build directory exists 11 | create_build_directory 12 | 13 | echo "Please wait until we export your database..."; 14 | 15 | # Start the container if it hasn't started 16 | start_container_if_not_started "$image_name" "$service_name" 17 | 18 | # Get the container name 19 | container_name=$(get_container_name $image_name) 20 | 21 | # Run the command to export the MYSQL DB first. Then copy it to the host machine. 22 | docker exec $container_name bash -c 'mysqldump -u$DB_USER -p$MYSQL_ROOT_PASSWORD $MYSQL_DATABASE > /db.sql; exit'; 23 | docker cp $container_name:/db.sql ./build/db.sql 24 | 25 | echo "Database successfully copied." 26 | 27 | # If manually started the container, then let's stop it 28 | if [ "$container_manually_started" = true ] ; then 29 | docker-compose stop "$service_name" > /dev/null 30 | fi -------------------------------------------------------------------------------- /scripts/export_src.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | current_path="$(dirname "$0")" 3 | source "$current_path/functions.sh" 4 | 5 | # Vars 6 | container_manually_started=false # Has the container started manually or was it already started 7 | image_name="wordpress:latest" 8 | service_name="wordpress" 9 | 10 | # Ensure the build directory exists 11 | create_build_directory 12 | 13 | echo "Please wait while we're exporting the WordPress files..." 14 | 15 | # Start the container if it hasn't started 16 | start_container_if_not_started "$image_name" "$service_name" 17 | 18 | # Get the container name 19 | container_name=$(get_container_name $image_name) 20 | 21 | # Spin up the browsersync service, build the files with the optimized settings 22 | docker-compose run -e NODE_ENV=production browsersync node_modules/.bin/gulp build 23 | 24 | # Run the Docker's COPY method to copy 25 | docker cp $container_name:/var/www/html/ ./build 26 | echo "Successfully exported the files." 27 | 28 | 29 | # Remove the src files from the final build 30 | cd $current_path 31 | cd ../build/html/wp-content/themes 32 | remove_src_directories_in_themes 33 | 34 | # If manually started the container, then let's stop it 35 | if [ "$container_manually_started" = true ] ; then 36 | docker-compose stop "$service_name" > /dev/null 37 | docker-compose stop mysql-wordpress > /dev/null 38 | fi -------------------------------------------------------------------------------- /scripts/functions.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Create the build directory if it doesn't exist 4 | create_build_directory() { 5 | if [ ! -d ./build ] 6 | then 7 | mkdir -p ./build 8 | fi 9 | } 10 | 11 | # Get the container name that runs on the given image 12 | get_container_name() { 13 | image_name="$1" 14 | container_name=$(docker ps --filter "ancestor=$image_name" --format "{{.Names}}") 15 | echo "$container_name" 16 | } 17 | 18 | # Runs the given container given by it's image_name if it's not already running 19 | start_container_if_not_started() { 20 | image_name="$1" 21 | service_name="$2" 22 | container_name=$(get_container_name $image_name) #Find a running container with the given image name 23 | 24 | # A container is not running for the given image. Let's spin it up 25 | if [ -z "$container_name" ]; then 26 | docker-compose up -d "$service_name" > /dev/null 27 | container_manually_started=true 28 | container_name=$(get_container_name $image_name) 29 | echo "" 30 | echo "**Container wasn't started.. Started the container**" 31 | echo "" 32 | fi 33 | } 34 | 35 | remove_src_directories_in_themes() { 36 | for d in */ ; do 37 | if [ -d "$d/src" ]; 38 | then 39 | echo "Removing the src files from the theme: $d" 40 | rm -r "$d/src" 41 | fi 42 | done 43 | } -------------------------------------------------------------------------------- /src/gulp/gulp-tasks/JsPlugins.js: -------------------------------------------------------------------------------- 1 | const { src, dest } = require("gulp"); 2 | const path = require("path"); 3 | const rename = require("gulp-rename"); 4 | const uglify = require("gulp-uglify"); 5 | const concat = require("gulp-concat"); 6 | const babel = require("gulp-babel"); 7 | 8 | const appPaths = require("../paths"); 9 | const { removeThemePathFromFilePath } = require("./utils"); 10 | 11 | /** 12 | * The task to minify and concatenate the plugins 13 | */ 14 | function jsPlugins(environment = 'development') { 15 | const options = { 16 | sourcemaps: true 17 | }; 18 | 19 | if (environment === 'production') { 20 | options.sourcemaps = false; 21 | } 22 | 23 | let relativePath; 24 | return src(appPaths.jsPluginsPath, options) 25 | .pipe( 26 | rename((file) => { 27 | const result = removeThemePathFromFilePath(file, "../../"); 28 | relativePath = file.dirname; 29 | return result; 30 | }) 31 | ) 32 | .pipe( 33 | babel({ 34 | presets: ["@babel/env"], 35 | }) 36 | ) 37 | .pipe(concat("plugins.min.js")) 38 | .pipe(uglify()) 39 | .pipe( 40 | dest( 41 | (file) => { 42 | // We go three levels up (`src/js/plugins`), then into `js/` 43 | finalPath = path.resolve(file.base, relativePath, "../../../", "js"); 44 | return finalPath; 45 | }, 46 | options 47 | ) 48 | ); 49 | } 50 | 51 | module.exports = jsPlugins; 52 | -------------------------------------------------------------------------------- /src/gulp/gulp-tasks/JsTask.js: -------------------------------------------------------------------------------- 1 | const { src, dest } = require("gulp"); 2 | const path = require("path"); 3 | const rename = require("gulp-rename"); 4 | const uglify = require("gulp-uglify"); 5 | const concat = require("gulp-concat"); 6 | const babel = require("gulp-babel"); 7 | 8 | const appPaths = require("../paths"); 9 | const { removeThemePathFromFilePath } = require("./utils"); 10 | 11 | /** 12 | * The task to convert the app js into minified and concat them together. 13 | */ 14 | function js(environment = 'development') { 15 | let relativePath; 16 | const options = { 17 | sourcemaps: true 18 | }; 19 | 20 | if (environment === 'production') { 21 | options.sourcemaps = false; 22 | } 23 | 24 | return src(appPaths.jsPath, options) 25 | .pipe( 26 | rename((file) => { 27 | const result = removeThemePathFromFilePath(file, "../../"); 28 | relativePath = file.dirname; 29 | return result; 30 | }) 31 | ) 32 | .pipe( 33 | babel({ 34 | presets: ["@babel/env"], 35 | }) 36 | ) 37 | .pipe(concat("main.min.js")) 38 | .pipe(uglify()) 39 | .pipe( 40 | dest( 41 | (file) => { 42 | // We go two levels up (`src/js`), then into `js/` 43 | finalPath = path.resolve(file.base, relativePath, "../../", "js"); 44 | return finalPath; 45 | }, 46 | options 47 | ) 48 | ); 49 | } 50 | 51 | module.exports = js; 52 | -------------------------------------------------------------------------------- /src/gulp/gulp-tasks/cssTask.js: -------------------------------------------------------------------------------- 1 | const { src, dest } = require("gulp"); 2 | const path = require("path"); 3 | const rename = require("gulp-rename"); 4 | const uglify = require("gulp-uglify"); 5 | const concat = require("gulp-concat"); 6 | 7 | const appPaths = require('../paths'); 8 | const { removeThemePathFromFilePath } = require("./utils"); 9 | 10 | 11 | /** 12 | * NOT IN USE UNTIL BrowserSync UPDATES THEIR DOCS 13 | */ 14 | 15 | 16 | /** 17 | * The task to convert the SASS file into css 18 | */ 19 | function css(environment = 'development') { 20 | let relativePath; 21 | const options = { 22 | sourcemaps: true 23 | }; 24 | 25 | if (environment === 'production') { 26 | options.sourcemaps = false; 27 | } 28 | 29 | return src(appPaths.sass, options) 30 | .pipe(sass()) 31 | .pipe( 32 | rename((file) => { 33 | const result = removeThemePathFromFilePath(file, "../../../"); 34 | relativePath = file.dirname; 35 | return result; 36 | }) 37 | ) 38 | .pipe(stream()) 39 | .pipe( 40 | dest( 41 | (file) => { 42 | // We go two levels up (`src/sass`), to the root folder 43 | finalPath = path.resolve(file.base, relativePath, "../../"); 44 | return finalPath; 45 | }, 46 | options 47 | ) 48 | ) 49 | } -------------------------------------------------------------------------------- /src/gulp/gulp-tasks/utils.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | /** 4 | * Given the filename, we prepare the fullpath 5 | * @param {Vynil Object} file Gulp Vynil object 6 | */ 7 | function concatFileName(file) { 8 | return file.dirname + "/" + file.basename + file.extname; 9 | } 10 | 11 | /** 12 | * Given the file object, we'll remove the src and the js or sass path removed. Then append the 13 | * `append` dirname to the path. 14 | * @param {object} file The file object with `dirname`, `basename` and `extension` properties 15 | * @param {string} levels How many levels to go up 16 | * @param {string} append The folder to append, once the `src` and the `folderName` removed 17 | */ 18 | function removeThemePathFromFilePath(file, levels = "../../", append = "") { 19 | const result = JSON.parse(JSON.stringify(file)); 20 | result.dirname = path.relative( 21 | path.resolve(), 22 | path.resolve(result.dirname, levels, append) 23 | ); 24 | 25 | // console.log("\n\n", concatFileName(file), concatFileName(result)); 26 | return result; 27 | } 28 | 29 | module.exports = { 30 | concatFileName, 31 | removeThemePathFromFilePath 32 | } -------------------------------------------------------------------------------- /src/gulp/paths.js: -------------------------------------------------------------------------------- 1 | const appPaths = { 2 | php: "themes/*/**/*.php", 3 | sass: "themes/*/src/sass/**/*.scss", 4 | sassEntrypoint: "themes/*/src/sass/style.scss", 5 | jsPath: "themes/*/src/js/*.js", 6 | jsPluginsPath: "themes/*/src/js/plugins/*.js", 7 | }; 8 | 9 | module.exports = appPaths; 10 | -------------------------------------------------------------------------------- /src/gulpfile.js: -------------------------------------------------------------------------------- 1 | const { src, dest, parallel, series, watch } = require("gulp"); 2 | const sass = require("gulp-sass")(require('sass')); 3 | const browserSync = require("browser-sync"); 4 | const path = require("path"); 5 | const gulpif = require('gulp-if'); 6 | const concat = require("gulp-concat"); 7 | const cleanCSS = require('gulp-clean-css'); 8 | const rename = require("gulp-rename"); 9 | const appPaths = require("./gulp/paths"); 10 | 11 | 12 | const { removeThemePathFromFilePath } = require("./gulp/gulp-tasks/utils"); 13 | 14 | // Load the tasks 15 | const js = require("./gulp/gulp-tasks/JsTask"); 16 | const jsPlugins = require("./gulp/gulp-tasks/JsPlugins"); 17 | 18 | const server = browserSync.create(); 19 | 20 | const siteUrl = process.env.SITE_URL || 'http://localhost'; 21 | const environment = process.env.NODE_ENV === 'production' ? 'production' : 'development'; 22 | 23 | /** 24 | * BrowserSync's reload method 25 | * @param {function} done callback method 26 | */ 27 | function reload(done) { 28 | server.reload(); 29 | done(); 30 | } 31 | 32 | /** 33 | * BrowserSync's server initialization 34 | * @param {function} done callback method 35 | */ 36 | function serve(done) { 37 | server.init({ 38 | proxy: siteUrl 39 | }); 40 | done(); 41 | } 42 | 43 | /** 44 | * The task to convert the SASS file into css 45 | */ 46 | function css() { 47 | let relativePath; 48 | const options = { 49 | sourcemaps: true 50 | }; 51 | 52 | if (environment === 'production') { 53 | options.sourcemaps = false; 54 | } 55 | 56 | return src(appPaths.sassEntrypoint, options) 57 | .pipe(sass()) 58 | .pipe( 59 | rename((file) => { 60 | const result = removeThemePathFromFilePath(file, "../../../"); 61 | relativePath = file.dirname; 62 | return result; 63 | }) 64 | ) 65 | .pipe(cleanCSS()) 66 | .pipe(concat("style.css")) 67 | .pipe(gulpif(environment !== 'production', server.stream())) 68 | .pipe( 69 | dest( 70 | (file) => { 71 | // We go two levels up (`src/sass`), to the root folder 72 | finalPath = path.resolve(file.base, relativePath, "../../"); 73 | return finalPath; 74 | }, 75 | options 76 | ) 77 | ) 78 | } 79 | 80 | /** 81 | * The Watch task, that'll watch the JS and SASS files and trigger a reload / style injection 82 | */ 83 | function watchTask() { 84 | watch(appPaths.jsPath, series(() => js(environment), reload)); 85 | watch(appPaths.jsPluginsPath, series(() => jsPlugins(environment), reload)); 86 | watch(appPaths.php, reload); 87 | watch(appPaths.sass, css); 88 | } 89 | 90 | /** 91 | * The dev entry point, it will run the jsPlugins, JS, CSS then start the BrowserSync. 92 | * Then it will watch the files for any changes and run the required tasks. 93 | */ 94 | const dev = series(() => jsPlugins(environment), () => js(environment), css, serve, watchTask); 95 | 96 | exports.js = js; 97 | exports.jsPlugins = jsPlugins; 98 | exports.css = css; 99 | exports.dev = dev; 100 | exports.build = parallel(css, () => js('production'), () => jsPlugins('production')); 101 | exports.default = parallel(css, () => js(environment), () => jsPlugins(environment), dev); 102 | -------------------------------------------------------------------------------- /src/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "docker-wordpress-gulp", 3 | "version": "1.0.0", 4 | "description": "Docker image for Wordpress using Gulp and BrowserSync.", 5 | "main": "index.php", 6 | "scripts": { 7 | "start": "gulp", 8 | "watch": "gulp dev", 9 | "test": "echo \"Error: no test specified\" && exit 1" 10 | }, 11 | "author": "Suthan Bala", 12 | "license": "ISC", 13 | "devDependencies": { 14 | "@babel/core": "^7.16.0", 15 | "@babel/preset-env": "^7.16.0", 16 | "browser-sync": "^2.27.7", 17 | "glob-parent": "^6.0.2", 18 | "gulp": "^4.0.2", 19 | "gulp-babel": "^8.0.0", 20 | "gulp-clean-css": "^4.3.0", 21 | "gulp-concat": "^2.6.1", 22 | "gulp-if": "^3.0.0", 23 | "gulp-rename": "^2.0.0", 24 | "gulp-sass": "^5.0.0", 25 | "gulp-sourcemaps": "^2.6.5", 26 | "gulp-uglify": "^3.0.2", 27 | "sass": "^1.43.4" 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/plugins/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suthanbala/wordpress-docker-gulp/73bbecb11e1fce691ea9f4936a733daf4200a9e6/src/plugins/index.php -------------------------------------------------------------------------------- /src/themes/my-site/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": [ 3 | "plugin:@wordpress/eslint-plugin/es5" 4 | ], 5 | "env": { 6 | "browser": true 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/themes/my-site/.stylelintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": [ 3 | "stylelint-config-wordpress/scss" 4 | ], 5 | "ignoreFiles": [ 6 | "sass/_normalize.scss" 7 | ], 8 | "rules": { 9 | "font-family-no-missing-generic-family-keyword": null, 10 | "no-descending-specificity": null, 11 | "block-no-empty": null, 12 | "no-duplicate-selectors": null, 13 | "font-family-no-duplicate-names": null 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/themes/my-site/404.php: -------------------------------------------------------------------------------- 1 | 12 | 13 |
14 |
15 | 16 |
17 | 20 | 21 |
22 |

23 | 24 | 29 | 30 |
31 |

32 |
    33 | 'count', 37 | 'order' => 'DESC', 38 | 'show_count' => 1, 39 | 'title_li' => '', 40 | 'number' => 10, 41 | ) 42 | ); 43 | ?> 44 |
45 |
46 | 47 | ' . sprintf( esc_html__( 'Try looking in the monthly archives. %1$s', 'my-site' ), convert_smilies( ':)' ) ) . '

'; 50 | the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=$my_site_archive_content" ); 51 | 52 | the_widget( 'WP_Widget_Tag_Cloud' ); 53 | ?> 54 | 55 |
56 |
57 | 58 |
59 |
60 | 61 | 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6 | Everyone is permitted to copy and distribute verbatim copies 7 | of this license document, but changing it is not allowed. 8 | 9 | Preamble 10 | 11 | The licenses for most software are designed to take away your 12 | freedom to share and change it. By contrast, the GNU General Public 13 | License is intended to guarantee your freedom to share and change free 14 | software--to make sure the software is free for all its users. This 15 | General Public License applies to most of the Free Software 16 | Foundation's software and to any other program whose authors commit to 17 | using it. (Some other Free Software Foundation software is covered by 18 | the GNU Lesser General Public License instead.) You can apply it to 19 | your programs, too. 20 | 21 | When we speak of free software, we are referring to freedom, not 22 | price. Our General Public Licenses are designed to make sure that you 23 | have the freedom to distribute copies of free software (and charge for 24 | this service if you wish), that you receive source code or can get it 25 | if you want it, that you can change the software or use pieces of it 26 | in new free programs; and that you know you can do these things. 27 | 28 | To protect your rights, we need to make restrictions that forbid 29 | anyone to deny you these rights or to ask you to surrender the rights. 30 | These restrictions translate to certain responsibilities for you if you 31 | distribute copies of the software, or if you modify it. 32 | 33 | For example, if you distribute copies of such a program, whether 34 | gratis or for a fee, you must give the recipients all the rights that 35 | you have. You must make sure that they, too, receive or can get the 36 | source code. And you must show them these terms so they know their 37 | rights. 38 | 39 | We protect your rights with two steps: (1) copyright the software, and 40 | (2) offer you this license which gives you legal permission to copy, 41 | distribute and/or modify the software. 42 | 43 | Also, for each author's protection and ours, we want to make certain 44 | that everyone understands that there is no warranty for this free 45 | software. If the software is modified by someone else and passed on, we 46 | want its recipients to know that what they have is not the original, so 47 | that any problems introduced by others will not reflect on the original 48 | authors' reputations. 49 | 50 | Finally, any free program is threatened constantly by software 51 | patents. We wish to avoid the danger that redistributors of a free 52 | program will individually obtain patent licenses, in effect making the 53 | program proprietary. To prevent this, we have made it clear that any 54 | patent must be licensed for everyone's free use or not licensed at all. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | GNU GENERAL PUBLIC LICENSE 60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61 | 62 | 0. This License applies to any program or other work which contains 63 | a notice placed by the copyright holder saying it may be distributed 64 | under the terms of this General Public License. The "Program", below, 65 | refers to any such program or work, and a "work based on the Program" 66 | means either the Program or any derivative work under copyright law: 67 | that is to say, a work containing the Program or a portion of it, 68 | either verbatim or with modifications and/or translated into another 69 | language. (Hereinafter, translation is included without limitation in 70 | the term "modification".) Each licensee is addressed as "you". 71 | 72 | Activities other than copying, distribution and modification are not 73 | covered by this License; they are outside its scope. The act of 74 | running the Program is not restricted, and the output from the Program 75 | is covered only if its contents constitute a work based on the 76 | Program (independent of having been made by running the Program). 77 | Whether that is true depends on what the Program does. 78 | 79 | 1. You may copy and distribute verbatim copies of the Program's 80 | source code as you receive it, in any medium, provided that you 81 | conspicuously and appropriately publish on each copy an appropriate 82 | copyright notice and disclaimer of warranty; keep intact all the 83 | notices that refer to this License and to the absence of any warranty; 84 | and give any other recipients of the Program a copy of this License 85 | along with the Program. 86 | 87 | You may charge a fee for the physical act of transferring a copy, and 88 | you may at your option offer warranty protection in exchange for a fee. 89 | 90 | 2. You may modify your copy or copies of the Program or any portion 91 | of it, thus forming a work based on the Program, and copy and 92 | distribute such modifications or work under the terms of Section 1 93 | above, provided that you also meet all of these conditions: 94 | 95 | a) You must cause the modified files to carry prominent notices 96 | stating that you changed the files and the date of any change. 97 | 98 | b) You must cause any work that you distribute or publish, that in 99 | whole or in part contains or is derived from the Program or any 100 | part thereof, to be licensed as a whole at no charge to all third 101 | parties under the terms of this License. 102 | 103 | c) If the modified program normally reads commands interactively 104 | when run, you must cause it, when started running for such 105 | interactive use in the most ordinary way, to print or display an 106 | announcement including an appropriate copyright notice and a 107 | notice that there is no warranty (or else, saying that you provide 108 | a warranty) and that users may redistribute the program under 109 | these conditions, and telling the user how to view a copy of this 110 | License. (Exception: if the Program itself is interactive but 111 | does not normally print such an announcement, your work based on 112 | the Program is not required to print an announcement.) 113 | 114 | These requirements apply to the modified work as a whole. If 115 | identifiable sections of that work are not derived from the Program, 116 | and can be reasonably considered independent and separate works in 117 | themselves, then this License, and its terms, do not apply to those 118 | sections when you distribute them as separate works. But when you 119 | distribute the same sections as part of a whole which is a work based 120 | on the Program, the distribution of the whole must be on the terms of 121 | this License, whose permissions for other licensees extend to the 122 | entire whole, and thus to each and every part regardless of who wrote it. 123 | 124 | Thus, it is not the intent of this section to claim rights or contest 125 | your rights to work written entirely by you; rather, the intent is to 126 | exercise the right to control the distribution of derivative or 127 | collective works based on the Program. 128 | 129 | In addition, mere aggregation of another work not based on the Program 130 | with the Program (or with a work based on the Program) on a volume of 131 | a storage or distribution medium does not bring the other work under 132 | the scope of this License. 133 | 134 | 3. You may copy and distribute the Program (or a work based on it, 135 | under Section 2) in object code or executable form under the terms of 136 | Sections 1 and 2 above provided that you also do one of the following: 137 | 138 | a) Accompany it with the complete corresponding machine-readable 139 | source code, which must be distributed under the terms of Sections 140 | 1 and 2 above on a medium customarily used for software interchange; or, 141 | 142 | b) Accompany it with a written offer, valid for at least three 143 | years, to give any third party, for a charge no more than your 144 | cost of physically performing source distribution, a complete 145 | machine-readable copy of the corresponding source code, to be 146 | distributed under the terms of Sections 1 and 2 above on a medium 147 | customarily used for software interchange; or, 148 | 149 | c) Accompany it with the information you received as to the offer 150 | to distribute corresponding source code. (This alternative is 151 | allowed only for noncommercial distribution and only if you 152 | received the program in object code or executable form with such 153 | an offer, in accord with Subsection b above.) 154 | 155 | The source code for a work means the preferred form of the work for 156 | making modifications to it. For an executable work, complete source 157 | code means all the source code for all modules it contains, plus any 158 | associated interface definition files, plus the scripts used to 159 | control compilation and installation of the executable. However, as a 160 | special exception, the source code distributed need not include 161 | anything that is normally distributed (in either source or binary 162 | form) with the major components (compiler, kernel, and so on) of the 163 | operating system on which the executable runs, unless that component 164 | itself accompanies the executable. 165 | 166 | If distribution of executable or object code is made by offering 167 | access to copy from a designated place, then offering equivalent 168 | access to copy the source code from the same place counts as 169 | distribution of the source code, even though third parties are not 170 | compelled to copy the source along with the object code. 171 | 172 | 4. You may not copy, modify, sublicense, or distribute the Program 173 | except as expressly provided under this License. Any attempt 174 | otherwise to copy, modify, sublicense or distribute the Program is 175 | void, and will automatically terminate your rights under this License. 176 | However, parties who have received copies, or rights, from you under 177 | this License will not have their licenses terminated so long as such 178 | parties remain in full compliance. 179 | 180 | 5. You are not required to accept this License, since you have not 181 | signed it. However, nothing else grants you permission to modify or 182 | distribute the Program or its derivative works. These actions are 183 | prohibited by law if you do not accept this License. Therefore, by 184 | modifying or distributing the Program (or any work based on the 185 | Program), you indicate your acceptance of this License to do so, and 186 | all its terms and conditions for copying, distributing or modifying 187 | the Program or works based on it. 188 | 189 | 6. Each time you redistribute the Program (or any work based on the 190 | Program), the recipient automatically receives a license from the 191 | original licensor to copy, distribute or modify the Program subject to 192 | these terms and conditions. You may not impose any further 193 | restrictions on the recipients' exercise of the rights granted herein. 194 | You are not responsible for enforcing compliance by third parties to 195 | this License. 196 | 197 | 7. If, as a consequence of a court judgment or allegation of patent 198 | infringement or for any other reason (not limited to patent issues), 199 | conditions are imposed on you (whether by court order, agreement or 200 | otherwise) that contradict the conditions of this License, they do not 201 | excuse you from the conditions of this License. If you cannot 202 | distribute so as to satisfy simultaneously your obligations under this 203 | License and any other pertinent obligations, then as a consequence you 204 | may not distribute the Program at all. For example, if a patent 205 | license would not permit royalty-free redistribution of the Program by 206 | all those who receive copies directly or indirectly through you, then 207 | the only way you could satisfy both it and this License would be to 208 | refrain entirely from distribution of the Program. 209 | 210 | If any portion of this section is held invalid or unenforceable under 211 | any particular circumstance, the balance of the section is intended to 212 | apply and the section as a whole is intended to apply in other 213 | circumstances. 214 | 215 | It is not the purpose of this section to induce you to infringe any 216 | patents or other property right claims or to contest validity of any 217 | such claims; this section has the sole purpose of protecting the 218 | integrity of the free software distribution system, which is 219 | implemented by public license practices. Many people have made 220 | generous contributions to the wide range of software distributed 221 | through that system in reliance on consistent application of that 222 | system; it is up to the author/donor to decide if he or she is willing 223 | to distribute software through any other system and a licensee cannot 224 | impose that choice. 225 | 226 | This section is intended to make thoroughly clear what is believed to 227 | be a consequence of the rest of this License. 228 | 229 | 8. If the distribution and/or use of the Program is restricted in 230 | certain countries either by patents or by copyrighted interfaces, the 231 | original copyright holder who places the Program under this License 232 | may add an explicit geographical distribution limitation excluding 233 | those countries, so that distribution is permitted only in or among 234 | countries not thus excluded. In such case, this License incorporates 235 | the limitation as if written in the body of this License. 236 | 237 | 9. The Free Software Foundation may publish revised and/or new versions 238 | of the General Public License from time to time. Such new versions will 239 | be similar in spirit to the present version, but may differ in detail to 240 | address new problems or concerns. 241 | 242 | Each version is given a distinguishing version number. If the Program 243 | specifies a version number of this License which applies to it and "any 244 | later version", you have the option of following the terms and conditions 245 | either of that version or of any later version published by the Free 246 | Software Foundation. If the Program does not specify a version number of 247 | this License, you may choose any version ever published by the Free Software 248 | Foundation. 249 | 250 | 10. If you wish to incorporate parts of the Program into other free 251 | programs whose distribution conditions are different, write to the author 252 | to ask for permission. For software which is copyrighted by the Free 253 | Software Foundation, write to the Free Software Foundation; we sometimes 254 | make exceptions for this. Our decision will be guided by the two goals 255 | of preserving the free status of all derivatives of our free software and 256 | of promoting the sharing and reuse of software generally. 257 | 258 | NO WARRANTY 259 | 260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268 | REPAIR OR CORRECTION. 269 | 270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278 | POSSIBILITY OF SUCH DAMAGES. 279 | 280 | END OF TERMS AND CONDITIONS 281 | 282 | How to Apply These Terms to Your New Programs 283 | 284 | If you develop a new program, and you want it to be of the greatest 285 | possible use to the public, the best way to achieve this is to make it 286 | free software which everyone can redistribute and change under these terms. 287 | 288 | To do so, attach the following notices to the program. It is safest 289 | to attach them to the start of each source file to most effectively 290 | convey the exclusion of warranty; and each file should have at least 291 | the "copyright" line and a pointer to where the full notice is found. 292 | 293 | {description} 294 | Copyright (C) {year} {fullname} 295 | 296 | This program is free software; you can redistribute it and/or modify 297 | it under the terms of the GNU General Public License as published by 298 | the Free Software Foundation; either version 2 of the License, or 299 | (at your option) any later version. 300 | 301 | This program is distributed in the hope that it will be useful, 302 | but WITHOUT ANY WARRANTY; without even the implied warranty of 303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304 | GNU General Public License for more details. 305 | 306 | You should have received a copy of the GNU General Public License along 307 | with this program; if not, write to the Free Software Foundation, Inc., 308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 309 | 310 | Also add information on how to contact you by electronic and paper mail. 311 | 312 | If the program is interactive, make it output a short notice like this 313 | when it starts in an interactive mode: 314 | 315 | Gnomovision version 69, Copyright (C) year name of author 316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 317 | This is free software, and you are welcome to redistribute it 318 | under certain conditions; type `show c' for details. 319 | 320 | The hypothetical commands `show w' and `show c' should show the appropriate 321 | parts of the General Public License. Of course, the commands you use may 322 | be called something other than `show w' and `show c'; they could even be 323 | mouse-clicks or menu items--whatever suits your program. 324 | 325 | You should also get your employer (if you work as a programmer) or your 326 | school, if any, to sign a "copyright disclaimer" for the program, if 327 | necessary. Here is a sample; alter the names: 328 | 329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program 330 | `Gnomovision' (which makes passes at compilers) written by James Hacker. 331 | 332 | {signature of Ty Coon}, 1 April 1989 333 | Ty Coon, President of Vice 334 | 335 | This General Public License does not permit incorporating your program into 336 | proprietary programs. If your program is a subroutine library, you may 337 | consider it more useful to permit linking proprietary applications with the 338 | library. If this is what you want to do, use the GNU Lesser General 339 | Public License instead of this License. 340 | -------------------------------------------------------------------------------- /src/themes/my-site/README.md: -------------------------------------------------------------------------------- 1 | [![Build Status](https://travis-ci.org/Automattic/_s.svg?branch=master)](https://travis-ci.org/Automattic/_s) 2 | 3 | _s 4 | === 5 | 6 | Hi. I'm a starter theme called `_s`, or `underscores`, if you like. I'm a theme meant for hacking so don't use me as a Parent Theme. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for. 7 | 8 | My ultra-minimal CSS might make me look like theme tartare but that means less stuff to get in your way when you're designing your awesome theme. Here are some of the other more interesting things you'll find here: 9 | 10 | * A just right amount of lean, well-commented, modern, HTML5 templates. 11 | * A helpful 404 template. 12 | * A custom header implementation in `inc/custom-header.php` just add the code snippet found in the comments of `inc/custom-header.php` to your `header.php` template. 13 | * Custom template tags in `inc/template-tags.php` that keep your templates clean and neat and prevent code duplication. 14 | * Some small tweaks in `inc/template-functions.php` that can improve your theming experience. 15 | * A script at `js/navigation.js` that makes your menu a toggled dropdown on small screens (like your phone), ready for CSS artistry. It's enqueued in `functions.php`. 16 | * 2 sample CSS layouts in `layouts/` for a sidebar on either side of your content. 17 | Note: `.no-sidebar` styles are not automatically loaded. 18 | * Smartly organized starter CSS in `style.css` that will help you to quickly get your design off the ground. 19 | * Full support for `WooCommerce plugin` integration with hooks in `inc/woocommerce.php`, styling override woocommerce.css with product gallery features (zoom, swipe, lightbox) enabled. 20 | * Licensed under GPLv2 or later. :) Use it to make something cool. 21 | 22 | Getting Started 23 | --------------- 24 | 25 | If you want to keep it simple, head over to https://underscores.me and generate your `_s` based theme from there. You just input the name of the theme you want to create, click the "Generate" button, and you get your ready-to-awesomize starter theme. 26 | 27 | If you want to set things up manually, download `_s` from GitHub. The first thing you want to do is copy the `_s` directory and change the name to something else (like, say, `megatherium-is-awesome`), and then you'll need to do a five-step find and replace on the name in all the templates. 28 | 29 | 1. Search for `'_s'` (inside single quotations) to capture the text domain. 30 | 2. Search for `_s_` to capture all the function names. 31 | 3. Search for `Text Domain: _s` in `style.css`. 32 | 4. Search for  _s (with a space before it) to capture DocBlocks. 33 | 5. Search for `_s-` to capture prefixed handles. 34 | 6. Search for `_S_` (in uppercase) to capture constants. 35 | 36 | OR 37 | 38 | 1. Search for: `'_s'` and replace with: `'megatherium-is-awesome'`. 39 | 2. Search for: `_s_` and replace with: `megatherium_is_awesome_`. 40 | 3. Search for: `Text Domain: _s` and replace with: `Text Domain: megatherium-is-awesome` in `style.css`. 41 | 4. Search for:  _s and replace with:  Megatherium_is_Awesome. 42 | 5. Search for: `_s-` and replace with: `megatherium-is-awesome-`. 43 | 6. Search for: `_S_` and replace with: `MEGATHERIUM_IS_AWESOME_`. 44 | 45 | Then, update the stylesheet header in `style.css`, the links in `footer.php` with your own information and rename `_s.pot` from `languages` folder to use the theme's slug. Next, update or delete this readme. 46 | 47 | Now you're ready to go! The next step is easy to say, but harder to do: make an awesome WordPress theme. :) 48 | 49 | Good luck! 50 | -------------------------------------------------------------------------------- /src/themes/my-site/archive.php: -------------------------------------------------------------------------------- 1 | 12 | 13 |
14 |
15 | 16 | 17 | 18 | 24 | 25 | 47 | 48 |
49 |
50 | 51 | 22 | 23 |
24 | 25 | 29 |

30 | ' . wp_kses_post( get_the_title() ) . '' 37 | ); 38 | } else { 39 | printf( 40 | /* translators: 1: comment count number, 2: title. */ 41 | esc_html( _nx( '%1$s thought on “%2$s”', '%1$s thoughts on “%2$s”', $my_site_comment_count, 'comments title', 'my-site' ) ), 42 | number_format_i18n( $my_site_comment_count ), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped 43 | '' . wp_kses_post( get_the_title() ) . '' 44 | ); 45 | } 46 | ?> 47 |

48 | 49 | 50 | 51 |
    52 | 'ol', 56 | 'short_ping' => true, 57 | ) 58 | ); 59 | ?> 60 |
61 | 62 | 68 |

69 | 76 | 77 |
78 | -------------------------------------------------------------------------------- /src/themes/my-site/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "automattic/underscores", 3 | "type": "wordpress-theme", 4 | "description": "Hi. I'm a starter theme called _s, or underscores, if you like. I'm a theme meant for hacking so don't use me as a Parent Theme. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for.", 5 | "keywords": [ 6 | "WordPress", 7 | "Themes" 8 | ], 9 | "homepage": "https://github.com/Automattic/_s", 10 | "license": "GPL-2.0-or-later", 11 | "authors": [ 12 | { 13 | "name": "Contributors", 14 | "homepage": "https://github.com/Automattic/_s/graphs/contributors" 15 | } 16 | ], 17 | "require": { 18 | "php": ">=5.6" 19 | }, 20 | "require-dev": { 21 | "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2", 22 | "wptrt/wpthemereview": "^0.2.1", 23 | "php-parallel-lint/php-parallel-lint": "^1.2.0", 24 | "wp-cli/i18n-command": "^2.2" 25 | }, 26 | "scripts": { 27 | "lint:wpcs": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs", 28 | "lint:php": "@php ./vendor/bin/parallel-lint --exclude .git --exclude vendor .", 29 | "make-pot": "wp i18n make-pot . languages/_s.pot" 30 | }, 31 | "support": { 32 | "issues": "https://github.com/Automattic/_s/issues", 33 | "source": "https://github.com/Automattic/_s" 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/themes/my-site/footer.php: -------------------------------------------------------------------------------- 1 | 13 | 14 | 15 | 16 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /src/themes/my-site/functions.php: -------------------------------------------------------------------------------- 1 | tag in the document head, and expect WordPress to 39 | * provide it for us. 40 | */ 41 | add_theme_support( 'title-tag' ); 42 | 43 | /* 44 | * Enable support for Post Thumbnails on posts and pages. 45 | * 46 | * @link https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/ 47 | */ 48 | add_theme_support( 'post-thumbnails' ); 49 | 50 | // This theme uses wp_nav_menu() in one location. 51 | register_nav_menus( 52 | array( 53 | 'menu-1' => esc_html__( 'Primary', 'my-site' ), 54 | ) 55 | ); 56 | 57 | /* 58 | * Switch default core markup for search form, comment form, and comments 59 | * to output valid HTML5. 60 | */ 61 | add_theme_support( 62 | 'html5', 63 | array( 64 | 'search-form', 65 | 'comment-form', 66 | 'comment-list', 67 | 'gallery', 68 | 'caption', 69 | 'style', 70 | 'script', 71 | ) 72 | ); 73 | 74 | // Set up the WordPress core custom background feature. 75 | add_theme_support( 76 | 'custom-background', 77 | apply_filters( 78 | 'my_site_custom_background_args', 79 | array( 80 | 'default-color' => 'ffffff', 81 | 'default-image' => '', 82 | ) 83 | ) 84 | ); 85 | 86 | // Add theme support for selective refresh for widgets. 87 | add_theme_support( 'customize-selective-refresh-widgets' ); 88 | 89 | /** 90 | * Add support for core custom logo. 91 | * 92 | * @link https://codex.wordpress.org/Theme_Logo 93 | */ 94 | add_theme_support( 95 | 'custom-logo', 96 | array( 97 | 'height' => 250, 98 | 'width' => 250, 99 | 'flex-width' => true, 100 | 'flex-height' => true, 101 | ) 102 | ); 103 | } 104 | endif; 105 | add_action( 'after_setup_theme', 'my_site_setup' ); 106 | 107 | /** 108 | * Set the content width in pixels, based on the theme's design and stylesheet. 109 | * 110 | * Priority 0 to make it available to lower priority callbacks. 111 | * 112 | * @global int $content_width 113 | */ 114 | function my_site_content_width() { 115 | // This variable is intended to be overruled from themes. 116 | // Open WPCS issue: {@link https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1043}. 117 | // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound 118 | $GLOBALS['content_width'] = apply_filters( 'my_site_content_width', 640 ); 119 | } 120 | add_action( 'after_setup_theme', 'my_site_content_width', 0 ); 121 | 122 | /** 123 | * Register widget area. 124 | * 125 | * @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar 126 | */ 127 | function my_site_widgets_init() { 128 | register_sidebar( 129 | array( 130 | 'name' => esc_html__( 'Sidebar', 'my-site' ), 131 | 'id' => 'sidebar-1', 132 | 'description' => esc_html__( 'Add widgets here.', 'my-site' ), 133 | 'before_widget' => '
', 134 | 'after_widget' => '
', 135 | 'before_title' => '

', 136 | 'after_title' => '

', 137 | ) 138 | ); 139 | } 140 | add_action( 'widgets_init', 'my_site_widgets_init' ); 141 | 142 | /** 143 | * Enqueue scripts and styles. 144 | */ 145 | function my_site_scripts() { 146 | wp_enqueue_style( 'my-site-style', get_stylesheet_uri(), array(), _S_VERSION ); 147 | 148 | wp_enqueue_script( 'my-site-plugins', get_template_directory_uri() . '/js/plugins.min.js', array(), _S_VERSION, true ); 149 | wp_enqueue_script( 'my-site-main', get_template_directory_uri() . '/js/main.min.js', array(), _S_VERSION, true ); 150 | 151 | if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { 152 | wp_enqueue_script( 'comment-reply' ); 153 | } 154 | } 155 | add_action( 'wp_enqueue_scripts', 'my_site_scripts' ); 156 | 157 | /** 158 | * Implement the Custom Header feature. 159 | */ 160 | require get_template_directory() . '/inc/custom-header.php'; 161 | 162 | /** 163 | * Custom template tags for this theme. 164 | */ 165 | require get_template_directory() . '/inc/template-tags.php'; 166 | 167 | /** 168 | * Functions which enhance the theme by hooking into WordPress. 169 | */ 170 | require get_template_directory() . '/inc/template-functions.php'; 171 | 172 | /** 173 | * Customizer additions. 174 | */ 175 | require get_template_directory() . '/inc/customizer.php'; 176 | 177 | /** 178 | * Load Jetpack compatibility file. 179 | */ 180 | if ( defined( 'JETPACK__VERSION' ) ) { 181 | require get_template_directory() . '/inc/jetpack.php'; 182 | } 183 | 184 | -------------------------------------------------------------------------------- /src/themes/my-site/header.php: -------------------------------------------------------------------------------- 1 | section and everything up until
6 | * 7 | * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials 8 | * 9 | * @package My_Site 10 | */ 11 | 12 | ?> 13 | 14 | > 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | > 24 | 25 |
26 | 27 | 28 | 60 | 61 |
62 | -------------------------------------------------------------------------------- /src/themes/my-site/inc/custom-header.php: -------------------------------------------------------------------------------- 1 | 8 | * 9 | * @link https://developer.wordpress.org/themes/functionality/custom-headers/ 10 | * 11 | * @package My_Site 12 | */ 13 | 14 | /** 15 | * Set up the WordPress core custom header feature. 16 | * 17 | * @uses my_site_header_style() 18 | */ 19 | function my_site_custom_header_setup() { 20 | add_theme_support( 21 | 'custom-header', 22 | apply_filters( 23 | 'my_site_custom_header_args', 24 | array( 25 | 'default-image' => '', 26 | 'default-text-color' => '000000', 27 | 'width' => 1000, 28 | 'height' => 250, 29 | 'flex-height' => true, 30 | 'wp-head-callback' => 'my_site_header_style', 31 | ) 32 | ) 33 | ); 34 | } 35 | add_action( 'after_setup_theme', 'my_site_custom_header_setup' ); 36 | 37 | if ( ! function_exists( 'my_site_header_style' ) ) : 38 | /** 39 | * Styles the header image and text displayed on the blog. 40 | * 41 | * @see my_site_custom_header_setup(). 42 | */ 43 | function my_site_header_style() { 44 | $header_text_color = get_header_textcolor(); 45 | 46 | /* 47 | * If no custom options for text are set, let's bail. 48 | * get_header_textcolor() options: Any hex value, 'blank' to hide text. Default: add_theme_support( 'custom-header' ). 49 | */ 50 | if ( get_theme_support( 'custom-header', 'default-text-color' ) === $header_text_color ) { 51 | return; 52 | } 53 | 54 | // If we get this far, we have custom styles. Let's do this. 55 | ?> 56 | 76 | get_setting( 'blogname' )->transport = 'postMessage'; 15 | $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; 16 | $wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage'; 17 | 18 | if ( isset( $wp_customize->selective_refresh ) ) { 19 | $wp_customize->selective_refresh->add_partial( 20 | 'blogname', 21 | array( 22 | 'selector' => '.site-title a', 23 | 'render_callback' => 'my_site_customize_partial_blogname', 24 | ) 25 | ); 26 | $wp_customize->selective_refresh->add_partial( 27 | 'blogdescription', 28 | array( 29 | 'selector' => '.site-description', 30 | 'render_callback' => 'my_site_customize_partial_blogdescription', 31 | ) 32 | ); 33 | } 34 | } 35 | add_action( 'customize_register', 'my_site_customize_register' ); 36 | 37 | /** 38 | * Render the site title for the selective refresh partial. 39 | * 40 | * @return void 41 | */ 42 | function my_site_customize_partial_blogname() { 43 | bloginfo( 'name' ); 44 | } 45 | 46 | /** 47 | * Render the site tagline for the selective refresh partial. 48 | * 49 | * @return void 50 | */ 51 | function my_site_customize_partial_blogdescription() { 52 | bloginfo( 'description' ); 53 | } 54 | 55 | /** 56 | * Binds JS handlers to make Theme Customizer preview reload changes asynchronously. 57 | */ 58 | function my_site_customize_preview_js() { 59 | wp_enqueue_script( 'my-site-customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20151215', true ); 60 | } 61 | add_action( 'customize_preview_init', 'my_site_customize_preview_js' ); 62 | -------------------------------------------------------------------------------- /src/themes/my-site/inc/jetpack.php: -------------------------------------------------------------------------------- 1 | 'main', 23 | 'render' => 'my_site_infinite_scroll_render', 24 | 'footer' => 'page', 25 | ) 26 | ); 27 | 28 | // Add theme support for Responsive Videos. 29 | add_theme_support( 'jetpack-responsive-videos' ); 30 | 31 | // Add theme support for Content Options. 32 | add_theme_support( 33 | 'jetpack-content-options', 34 | array( 35 | 'post-details' => array( 36 | 'stylesheet' => 'my-site-style', 37 | 'date' => '.posted-on', 38 | 'categories' => '.cat-links', 39 | 'tags' => '.tags-links', 40 | 'author' => '.byline', 41 | 'comment' => '.comments-link', 42 | ), 43 | 'featured-images' => array( 44 | 'archive' => true, 45 | 'post' => true, 46 | 'page' => true, 47 | ), 48 | ) 49 | ); 50 | } 51 | add_action( 'after_setup_theme', 'my_site_jetpack_setup' ); 52 | 53 | /** 54 | * Custom render function for Infinite Scroll. 55 | */ 56 | function my_site_infinite_scroll_render() { 57 | while ( have_posts() ) { 58 | the_post(); 59 | if ( is_search() ) : 60 | get_template_part( 'template-parts/content', 'search' ); 61 | else : 62 | get_template_part( 'template-parts/content', get_post_type() ); 63 | endif; 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /src/themes/my-site/inc/template-functions.php: -------------------------------------------------------------------------------- 1 | ', esc_url( get_bloginfo( 'pingback_url' ) ) ); 35 | } 36 | } 37 | add_action( 'wp_head', 'my_site_pingback_header' ); 38 | -------------------------------------------------------------------------------- /src/themes/my-site/inc/template-tags.php: -------------------------------------------------------------------------------- 1 | %2$s'; 16 | if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) { 17 | $time_string = ''; 18 | } 19 | 20 | $time_string = sprintf( 21 | $time_string, 22 | esc_attr( get_the_date( DATE_W3C ) ), 23 | esc_html( get_the_date() ), 24 | esc_attr( get_the_modified_date( DATE_W3C ) ), 25 | esc_html( get_the_modified_date() ) 26 | ); 27 | 28 | $posted_on = sprintf( 29 | /* translators: %s: post date. */ 30 | esc_html_x( 'Posted on %s', 'post date', 'my-site' ), 31 | '' . $time_string . '' 32 | ); 33 | 34 | echo '' . $posted_on . ''; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped 35 | 36 | } 37 | endif; 38 | 39 | if ( ! function_exists( 'my_site_posted_by' ) ) : 40 | /** 41 | * Prints HTML with meta information for the current author. 42 | */ 43 | function my_site_posted_by() { 44 | $byline = sprintf( 45 | /* translators: %s: post author. */ 46 | esc_html_x( 'by %s', 'post author', 'my-site' ), 47 | '' . esc_html( get_the_author() ) . '' 48 | ); 49 | 50 | echo ''; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped 51 | 52 | } 53 | endif; 54 | 55 | if ( ! function_exists( 'my_site_entry_footer' ) ) : 56 | /** 57 | * Prints HTML with meta information for the categories, tags and comments. 58 | */ 59 | function my_site_entry_footer() { 60 | // Hide category and tag text for pages. 61 | if ( 'post' === get_post_type() ) { 62 | /* translators: used between list items, there is a space after the comma */ 63 | $categories_list = get_the_category_list( esc_html__( ', ', 'my-site' ) ); 64 | if ( $categories_list ) { 65 | /* translators: 1: list of categories. */ 66 | printf( '' . esc_html__( 'Posted in %1$s', 'my-site' ) . '', $categories_list ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped 67 | } 68 | 69 | /* translators: used between list items, there is a space after the comma */ 70 | $tags_list = get_the_tag_list( '', esc_html_x( ', ', 'list item separator', 'my-site' ) ); 71 | if ( $tags_list ) { 72 | /* translators: 1: list of tags. */ 73 | printf( '' . esc_html__( 'Tagged %1$s', 'my-site' ) . '', $tags_list ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped 74 | } 75 | } 76 | 77 | if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) { 78 | echo ''; 79 | comments_popup_link( 80 | sprintf( 81 | wp_kses( 82 | /* translators: %s: post title */ 83 | __( 'Leave a Comment on %s', 'my-site' ), 84 | array( 85 | 'span' => array( 86 | 'class' => array(), 87 | ), 88 | ) 89 | ), 90 | wp_kses_post( get_the_title() ) 91 | ) 92 | ); 93 | echo ''; 94 | } 95 | 96 | edit_post_link( 97 | sprintf( 98 | wp_kses( 99 | /* translators: %s: Name of current post. Only visible to screen readers */ 100 | __( 'Edit %s', 'my-site' ), 101 | array( 102 | 'span' => array( 103 | 'class' => array(), 104 | ), 105 | ) 106 | ), 107 | wp_kses_post( get_the_title() ) 108 | ), 109 | '', 110 | '' 111 | ); 112 | } 113 | endif; 114 | 115 | if ( ! function_exists( 'my_site_post_thumbnail' ) ) : 116 | /** 117 | * Displays an optional post thumbnail. 118 | * 119 | * Wraps the post thumbnail in an anchor element on index views, or a div 120 | * element when on single views. 121 | */ 122 | function my_site_post_thumbnail() { 123 | if ( post_password_required() || is_attachment() || ! has_post_thumbnail() ) { 124 | return; 125 | } 126 | 127 | if ( is_singular() ) : 128 | ?> 129 | 130 |
131 | 132 |
133 | 134 | 135 | 136 | 150 | 151 | 17 | 18 |
19 |
20 | 21 | 26 |
27 |

28 |
29 | 53 | 54 |
55 |
56 | 57 | \n" 8 | "Language-Team: LANGUAGE \n" 9 | "MIME-Version: 1.0\n" 10 | "Content-Type: text/plain; charset=UTF-8\n" 11 | "Content-Transfer-Encoding: 8bit\n" 12 | "POT-Creation-Date: 2020-04-10T15:22:10+00:00\n" 13 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 | "X-Generator: WP-CLI 2.4.0\n" 15 | "X-Domain: _s\n" 16 | 17 | #. Theme Name of the theme 18 | msgid "_s" 19 | msgstr "" 20 | 21 | #. Theme URI of the theme 22 | msgid "https://underscores.me/" 23 | msgstr "" 24 | 25 | #. Description of the theme 26 | msgid "Hi. I'm a starter theme called _s, or underscores, if you like. I'm a theme meant for hacking so don't use me as a Parent Theme. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for." 27 | msgstr "" 28 | 29 | #. Author of the theme 30 | msgid "Automattic" 31 | msgstr "" 32 | 33 | #. Author URI of the theme 34 | msgid "https://automattic.com/" 35 | msgstr "" 36 | 37 | #: 404.php:18 38 | msgid "Oops! That page can’t be found." 39 | msgstr "" 40 | 41 | #: 404.php:22 42 | msgid "It looks like nothing was found at this location. Maybe try one of the links below or a search?" 43 | msgstr "" 44 | 45 | #: 404.php:31 46 | msgid "Most Used Categories" 47 | msgstr "" 48 | 49 | #. translators: %1$s: smiley 50 | #: 404.php:49 51 | msgid "Try looking in the monthly archives. %1$s" 52 | msgstr "" 53 | 54 | #. translators: 1: title. 55 | #: comments.php:35 56 | msgid "One thought on “%1$s”" 57 | msgstr "" 58 | 59 | #. translators: 1: comment count number, 2: title. 60 | #: comments.php:41 61 | msgctxt "comments title" 62 | msgid "%1$s thought on “%2$s”" 63 | msgid_plural "%1$s thoughts on “%2$s”" 64 | msgstr[0] "" 65 | msgstr[1] "" 66 | 67 | #: comments.php:68 68 | msgid "Comments are closed." 69 | msgstr "" 70 | 71 | #: footer.php:18 72 | msgid "https://wordpress.org/" 73 | msgstr "" 74 | 75 | #. translators: %s: CMS name, i.e. WordPress. 76 | #: footer.php:21 77 | msgid "Proudly powered by %s" 78 | msgstr "" 79 | 80 | #. translators: 1: Theme name, 2: Theme author. 81 | #: footer.php:27 82 | msgid "Theme: %1$s by %2$s." 83 | msgstr "" 84 | 85 | #: functions.php:53 86 | msgid "Primary" 87 | msgstr "" 88 | 89 | #: functions.php:128 90 | msgid "Sidebar" 91 | msgstr "" 92 | 93 | #: functions.php:130 94 | msgid "Add widgets here." 95 | msgstr "" 96 | 97 | #: header.php:26 98 | msgid "Skip to content" 99 | msgstr "" 100 | 101 | #: header.php:49 102 | msgid "Primary Menu" 103 | msgstr "" 104 | 105 | #. translators: %s: post date. 106 | #: inc/template-tags.php:30 107 | msgctxt "post date" 108 | msgid "Posted on %s" 109 | msgstr "" 110 | 111 | #. translators: %s: post author. 112 | #: inc/template-tags.php:46 113 | msgctxt "post author" 114 | msgid "by %s" 115 | msgstr "" 116 | 117 | #. translators: used between list items, there is a space after the comma 118 | #: inc/template-tags.php:63 119 | msgid ", " 120 | msgstr "" 121 | 122 | #. translators: 1: list of categories. 123 | #: inc/template-tags.php:66 124 | msgid "Posted in %1$s" 125 | msgstr "" 126 | 127 | #. translators: used between list items, there is a space after the comma 128 | #: inc/template-tags.php:70 129 | msgctxt "list item separator" 130 | msgid ", " 131 | msgstr "" 132 | 133 | #. translators: 1: list of tags. 134 | #: inc/template-tags.php:73 135 | msgid "Tagged %1$s" 136 | msgstr "" 137 | 138 | #. translators: %s: post title 139 | #: inc/template-tags.php:83 140 | msgid "Leave a Comment on %s" 141 | msgstr "" 142 | 143 | #. translators: %s: Name of current post. Only visible to screen readers 144 | #: inc/template-tags.php:100 145 | #: template-parts/content-page.php:39 146 | msgid "Edit %s" 147 | msgstr "" 148 | 149 | #: inc/woocommerce.php:227 150 | msgid "View your shopping cart" 151 | msgstr "" 152 | 153 | #. translators: number of items in the mini cart. 154 | #: inc/woocommerce.php:231 155 | msgid "%d item" 156 | msgid_plural "%d items" 157 | msgstr[0] "" 158 | msgstr[1] "" 159 | 160 | #. translators: %s: search query. 161 | #: search.php:22 162 | msgid "Search Results for: %s" 163 | msgstr "" 164 | 165 | #: template-parts/content-none.php:14 166 | msgid "Nothing Found" 167 | msgstr "" 168 | 169 | #. translators: 1: link to WP admin new post page. 170 | #: template-parts/content-none.php:24 171 | msgid "Ready to publish your first post? Get started here." 172 | msgstr "" 173 | 174 | #: template-parts/content-none.php:37 175 | msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords." 176 | msgstr "" 177 | 178 | #: template-parts/content-none.php:44 179 | msgid "It seems we can’t find what you’re looking for. Perhaps searching can help." 180 | msgstr "" 181 | 182 | #: template-parts/content-page.php:25 183 | #: template-parts/content.php:53 184 | msgid "Pages:" 185 | msgstr "" 186 | 187 | #. translators: %s: Name of current post. Only visible to screen readers 188 | #: template-parts/content.php:40 189 | msgid "Continue reading \"%s\"" 190 | msgstr "" 191 | -------------------------------------------------------------------------------- /src/themes/my-site/languages/readme.txt: -------------------------------------------------------------------------------- 1 | Place your theme language files in this directory. 2 | 3 | Please visit the following links to learn more about translating WordPress themes: 4 | 5 | https://make.wordpress.org/polyglots/teams/ 6 | https://developer.wordpress.org/themes/functionality/localization/ 7 | https://developer.wordpress.org/reference/functions/load_theme_textdomain/ 8 | -------------------------------------------------------------------------------- /src/themes/my-site/layouts/content-sidebar.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Theme Name: My Site 3 | * 4 | * Layout: Content-Sidebar 5 | * 6 | * Learn more: https://developer.wordpress.org/themes/basics/template-files/ 7 | */ 8 | 9 | .content-area { 10 | float: left; 11 | margin: 0 -25% 0 0; 12 | width: 100%; 13 | } 14 | .site-main { 15 | margin: 0 25% 0 0; 16 | } 17 | .site-content .widget-area { 18 | float: right; 19 | overflow: hidden; 20 | width: 25%; 21 | } 22 | .site-footer { 23 | clear: both; 24 | width: 100%; 25 | } 26 | 27 | .no-sidebar .content-area { 28 | float: none; 29 | margin-left: auto; 30 | margin-right: auto; 31 | } 32 | .no-sidebar .site-main { 33 | margin-right: 0; 34 | } 35 | -------------------------------------------------------------------------------- /src/themes/my-site/layouts/sidebar-content.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Theme Name: My Site 3 | * 4 | * Layout: Sidebar-Content 5 | * 6 | * Learn more: https://developer.wordpress.org/themes/basics/template-files/ 7 | */ 8 | 9 | .content-area { 10 | float: right; 11 | margin: 0 0 0 -25%; 12 | width: 100%; 13 | } 14 | .site-main { 15 | margin: 0 0 0 25%; 16 | } 17 | .site-content .widget-area { 18 | float: left; 19 | overflow: hidden; 20 | width: 25%; 21 | } 22 | .site-footer { 23 | clear: both; 24 | width: 100%; 25 | } 26 | 27 | .no-sidebar .content-area { 28 | float: none; 29 | margin-left: auto; 30 | margin-right: auto; 31 | } 32 | .no-sidebar .site-main { 33 | margin-right: 0; 34 | } 35 | -------------------------------------------------------------------------------- /src/themes/my-site/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "underscores", 3 | "version": "1.0.0", 4 | "description": "Hi. I'm a starter theme called _s, or underscores, if you like. I'm a theme meant for hacking so don't use me as a Parent Theme. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for.", 5 | "author": "Automattic Theme Team", 6 | "license": "GPL-2.0-or-later", 7 | "keywords": [ 8 | "WordPress", 9 | "Theme" 10 | ], 11 | "homepage": "https://github.com/Automattic/_s#readme", 12 | "repository": { 13 | "type": "git", 14 | "url": "git+https://github.com/Automattic/_s.git" 15 | }, 16 | "bugs": { 17 | "url": "https://github.com/Automattic/_s/issues" 18 | }, 19 | "devDependencies": { 20 | "node-sass": "^4.13.1", 21 | "@wordpress/scripts": "^7.2.0" 22 | }, 23 | "scripts": { 24 | "compile:css": "node-sass sass/style.scss style.css && node-sass sass/woocommerce.scss woocommerce.css && stylelint '*.css' --fix || true && stylelint '*.css' --fix", 25 | "lint:scss": "wp-scripts lint-style 'sass/**/*.scss'", 26 | "lint:js": "wp-scripts lint-js 'js/*.js'" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/themes/my-site/page.php: -------------------------------------------------------------------------------- 1 | 17 | 18 |
19 |
20 | 21 | 34 | 35 |
36 |
37 | 38 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A custom set of code standard rules to check for WordPress themes. 10 | 11 | 12 | 18 | 19 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | . 36 | 37 | 38 | /vendor/* 39 | /node_modules/* 40 | 41 | 42 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 59 | 60 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 106 | 107 | 108 | 109 | 110 | 111 | -------------------------------------------------------------------------------- /src/themes/my-site/readme.txt: -------------------------------------------------------------------------------- 1 | === My Site === 2 | 3 | Contributors: automattic 4 | Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready 5 | 6 | Requires at least: 4.5 7 | Tested up to: 4.8 8 | Stable tag: 1.0.0 9 | License: GNU General Public License v2 or later 10 | License URI: LICENSE 11 | 12 | A starter theme called My Site. 13 | 14 | == Description == 15 | 16 | Description 17 | 18 | == Installation == 19 | 20 | 1. In your admin panel, go to Appearance > Themes and click the Add New button. 21 | 2. Click Upload Theme and Choose File, then select the theme's .zip file. Click Install Now. 22 | 3. Click Activate to use your new theme right away. 23 | 24 | == Frequently Asked Questions == 25 | 26 | = Does this theme support any plugins? = 27 | 28 | My Site includes support for Infinite Scroll in Jetpack. 29 | 30 | == Changelog == 31 | 32 | = 1.0 - May 12 2015 = 33 | * Initial release 34 | 35 | == Credits == 36 | 37 | * Based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc., [GPLv2 or later](https://www.gnu.org/licenses/gpl-2.0.html) 38 | * normalize.css https://necolas.github.io/normalize.css/, (C) 2012-2018 Nicolas Gallagher and Jonathan Neal, [MIT](https://opensource.org/licenses/MIT) 39 | -------------------------------------------------------------------------------- /src/themes/my-site/rtl.css: -------------------------------------------------------------------------------- 1 | /* 2 | Theme Name: My Site 3 | 4 | Adding support for languages written in a Right To Left (RTL) direction is easy. 5 | It's just a matter of overwriting all the horizontal positioning attributes 6 | of your CSS stylesheet in a separate stylesheet file named rtl.css. 7 | 8 | https://codex.wordpress.org/Right-to-Left_Language_Support 9 | 10 | */ 11 | 12 | /* 13 | body { 14 | direction: rtl; 15 | unicode-bidi: embed; 16 | } 17 | */ 18 | -------------------------------------------------------------------------------- /src/themes/my-site/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suthanbala/wordpress-docker-gulp/73bbecb11e1fce691ea9f4936a733daf4200a9e6/src/themes/my-site/screenshot.png -------------------------------------------------------------------------------- /src/themes/my-site/search.php: -------------------------------------------------------------------------------- 1 | 12 | 13 |
14 |
15 | 16 | 17 | 18 | 26 | 27 | 49 | 50 |
51 |
52 | 53 | 14 | 15 | 18 | -------------------------------------------------------------------------------- /src/themes/my-site/single.php: -------------------------------------------------------------------------------- 1 | 12 | 13 |
14 |
15 | 16 | 31 | 32 |
33 |
34 | 35 | ul, 15 | li > ol { 16 | margin-bottom: 0; 17 | margin-left: 1.5em; 18 | } 19 | 20 | dt { 21 | font-weight: 700; 22 | } 23 | 24 | dd { 25 | margin: 0 1.5em 1.5em; 26 | } 27 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/elements/_tables.scss: -------------------------------------------------------------------------------- 1 | table { 2 | margin: 0 0 1.5em; 3 | width: 100%; 4 | } 5 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/forms/_buttons.scss: -------------------------------------------------------------------------------- 1 | button, 2 | input[type="button"], 3 | input[type="reset"], 4 | input[type="submit"] { 5 | border: 1px solid; 6 | border-color: $color__border-button; 7 | border-radius: 3px; 8 | background: $color__background-button; 9 | color: rgba(0, 0, 0, 0.8); 10 | 11 | @include font-size(0.75); 12 | 13 | line-height: 1; 14 | padding: 0.6em 1em 0.4em; 15 | 16 | &:hover { 17 | border-color: $color__border-button-hover; 18 | } 19 | 20 | &:active, 21 | &:focus { 22 | border-color: $color__border-button-focus; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/forms/_fields.scss: -------------------------------------------------------------------------------- 1 | input[type="text"], 2 | input[type="email"], 3 | input[type="url"], 4 | input[type="password"], 5 | input[type="search"], 6 | input[type="number"], 7 | input[type="tel"], 8 | input[type="range"], 9 | input[type="date"], 10 | input[type="month"], 11 | input[type="week"], 12 | input[type="time"], 13 | input[type="datetime"], 14 | input[type="datetime-local"], 15 | input[type="color"], 16 | textarea { 17 | color: $color__text-input; 18 | border: 1px solid $color__border-input; 19 | border-radius: 3px; 20 | padding: 3px; 21 | 22 | &:focus { 23 | color: $color__text-input-focus; 24 | } 25 | } 26 | 27 | select { 28 | border: 1px solid $color__border-input; 29 | } 30 | 31 | textarea { 32 | width: 100%; 33 | } 34 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/forms/_forms.scss: -------------------------------------------------------------------------------- 1 | @import "buttons"; 2 | @import "fields"; 3 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/layout/_content-sidebar.scss: -------------------------------------------------------------------------------- 1 | .content-area { 2 | float: left; 3 | margin: 0 (-$size__site-sidebar) 0 0; 4 | width: $size__site-main; 5 | } 6 | 7 | .site-main { 8 | margin: 0 $size__site-sidebar 0 0; 9 | } 10 | 11 | .site-content .widget-area { 12 | float: right; 13 | overflow: hidden; 14 | width: $size__site-sidebar; 15 | } 16 | 17 | .site-footer { 18 | clear: both; 19 | width: $size__site-main; 20 | } 21 | 22 | @import "no-sidebar"; 23 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/layout/_no-sidebar.scss: -------------------------------------------------------------------------------- 1 | .no-sidebar { 2 | 3 | .content-area { 4 | float: none; 5 | margin-left: auto; 6 | margin-right: auto; 7 | } 8 | 9 | .site-main { 10 | margin-right: 0; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/layout/_sidebar-content.scss: -------------------------------------------------------------------------------- 1 | .content-area { 2 | float: right; 3 | margin: 0 0 0 (-$size__site-sidebar); 4 | width: $size__site-main; 5 | } 6 | 7 | .site-main { 8 | margin: 0 0 0 $size__site-sidebar; 9 | } 10 | 11 | .site-content .widget-area { 12 | float: left; 13 | overflow: hidden; 14 | width: $size__site-sidebar; 15 | } 16 | 17 | .site-footer { 18 | clear: both; 19 | width: $size__site-main; 20 | } 21 | 22 | @import "no-sidebar"; 23 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/media/_captions.scss: -------------------------------------------------------------------------------- 1 | .wp-caption { 2 | margin-bottom: 1.5em; 3 | max-width: 100%; 4 | 5 | img[class*="wp-image-"] { 6 | 7 | @include center-block; 8 | } 9 | 10 | .wp-caption-text { 11 | margin: 0.8075em 0; 12 | } 13 | } 14 | 15 | .wp-caption-text { 16 | text-align: center; 17 | } 18 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/media/_galleries.scss: -------------------------------------------------------------------------------- 1 | .gallery { 2 | margin-bottom: 1.5em; 3 | } 4 | 5 | .gallery-item { 6 | display: inline-block; 7 | text-align: center; 8 | vertical-align: top; 9 | width: 100%; 10 | 11 | // Loops to enumerate the classes for gallery columns. 12 | @for $i from 2 through 9 { 13 | 14 | .gallery-columns-#{$i} & { 15 | max-width: map-get($columns, $i); 16 | } 17 | } 18 | } 19 | 20 | .gallery-caption { 21 | display: block; 22 | } 23 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/media/_media.scss: -------------------------------------------------------------------------------- 1 | .page-content .wp-smiley, 2 | .entry-content .wp-smiley, 3 | .comment-content .wp-smiley { 4 | border: none; 5 | margin-bottom: 0; 6 | margin-top: 0; 7 | padding: 0; 8 | } 9 | 10 | /* Make sure embeds and iframes fit their containers. */ 11 | embed, 12 | iframe, 13 | object { 14 | max-width: 100%; 15 | } 16 | 17 | /* Make sure logo link wraps around logo image. */ 18 | .custom-logo-link { 19 | display: inline-block; 20 | } 21 | 22 | /*-------------------------------------------------------------- 23 | ## Captions 24 | --------------------------------------------------------------*/ 25 | @import "captions"; 26 | 27 | /*-------------------------------------------------------------- 28 | ## Galleries 29 | --------------------------------------------------------------*/ 30 | @import "galleries"; 31 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/mixins/_mixins-master.scss: -------------------------------------------------------------------------------- 1 | // Rem output with px fallback 2 | @mixin font-size($sizeValue: 1) { 3 | font-size: ($sizeValue * 16) * 1px; 4 | font-size: $sizeValue * 1rem; 5 | } 6 | 7 | // Center block 8 | @mixin center-block { 9 | display: block; 10 | margin-left: auto; 11 | margin-right: auto; 12 | } 13 | 14 | // Clearfix 15 | @mixin clearfix() { 16 | content: ""; 17 | display: table; 18 | table-layout: fixed; 19 | } 20 | 21 | // Clear after (not all clearfix need this also) 22 | @mixin clearfix-after() { 23 | clear: both; 24 | } 25 | 26 | // Column width with margin 27 | @mixin column-width($numberColumns: 3) { 28 | width: map-get($columns, $numberColumns) - ( ( $columns__margin * ( $numberColumns - 1 ) ) / $numberColumns ); 29 | } 30 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/modules/_accessibility.scss: -------------------------------------------------------------------------------- 1 | /* Text meant only for screen readers. */ 2 | .screen-reader-text { 3 | border: 0; 4 | clip: rect(1px, 1px, 1px, 1px); 5 | clip-path: inset(50%); 6 | height: 1px; 7 | margin: -1px; 8 | overflow: hidden; 9 | padding: 0; 10 | position: absolute !important; 11 | width: 1px; 12 | word-wrap: normal !important; // Many screen reader and browser combinations announce broken words as they would appear visually. 13 | 14 | &:focus { 15 | background-color: $color__background-screen; 16 | border-radius: 3px; 17 | box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); 18 | clip: auto !important; 19 | clip-path: none; 20 | color: $color__text-screen; 21 | display: block; 22 | 23 | @include font-size(0.875); 24 | 25 | font-weight: 700; 26 | height: auto; 27 | left: 5px; 28 | line-height: normal; 29 | padding: 15px 23px 14px; 30 | text-decoration: none; 31 | top: 5px; 32 | width: auto; 33 | z-index: 100000; // Above WP toolbar. 34 | } 35 | } 36 | 37 | /* Do not show the outline on the skip link target. */ 38 | #content[tabindex="-1"]:focus { 39 | outline: 0; 40 | } 41 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/modules/_alignments.scss: -------------------------------------------------------------------------------- 1 | .alignleft { 2 | display: inline; 3 | float: left; 4 | margin-right: 1.5em; 5 | margin-bottom: 1.5em; 6 | } 7 | 8 | .alignright { 9 | display: inline; 10 | float: right; 11 | margin-left: 1.5em; 12 | margin-bottom: 1.5em; 13 | } 14 | 15 | .aligncenter { 16 | clear: both; 17 | 18 | @include center-block; 19 | 20 | margin-bottom: 1.5em; 21 | } 22 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/modules/_clearings.scss: -------------------------------------------------------------------------------- 1 | .clear, 2 | .entry-content, 3 | .comment-content, 4 | .site-header, 5 | .site-content, 6 | .site-footer { 7 | 8 | &::before, 9 | &::after { 10 | 11 | @include clearfix; 12 | } 13 | 14 | &::after { 15 | 16 | @include clearfix-after; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/modules/_infinite-scroll.scss: -------------------------------------------------------------------------------- 1 | /* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */ 2 | .infinite-scroll .posts-navigation, 3 | .infinite-scroll.neverending .site-footer { 4 | display: none; 5 | } 6 | 7 | /* Re-display the Theme Footer when Infinite Scroll has reached its end. */ 8 | .infinity-end.neverending .site-footer { 9 | display: block; 10 | } 11 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/navigation/_links.scss: -------------------------------------------------------------------------------- 1 | a { 2 | color: $color__link; 3 | 4 | &:visited { 5 | color: $color__link-visited; 6 | } 7 | 8 | &:hover, 9 | &:focus, 10 | &:active { 11 | color: $color__link-hover; 12 | } 13 | 14 | &:focus { 15 | outline: thin dotted; 16 | } 17 | 18 | &:hover, 19 | &:active { 20 | outline: 0; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/navigation/_menus.scss: -------------------------------------------------------------------------------- 1 | .main-navigation { 2 | clear: both; 3 | display: block; 4 | float: left; 5 | width: 100%; 6 | 7 | ul { 8 | display: none; 9 | list-style: none; 10 | margin: 0; 11 | padding-left: 0; 12 | 13 | ul { 14 | box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); 15 | float: left; 16 | position: absolute; 17 | top: 100%; 18 | left: -999em; 19 | z-index: 99999; 20 | 21 | ul { 22 | left: -999em; 23 | top: 0; 24 | } 25 | 26 | li { 27 | 28 | &:hover > ul, 29 | &.focus > ul { 30 | left: 100%; 31 | } 32 | } 33 | 34 | a { 35 | width: 200px; 36 | } 37 | 38 | :hover > a, 39 | .focus > a { 40 | } 41 | 42 | a:hover, 43 | a.focus { 44 | } 45 | } 46 | 47 | li:hover > ul, 48 | li.focus > ul { 49 | left: auto; 50 | } 51 | } 52 | 53 | li { 54 | float: left; 55 | position: relative; 56 | 57 | &:hover > a, 58 | &.focus > a { 59 | } 60 | } 61 | 62 | a { 63 | display: block; 64 | text-decoration: none; 65 | } 66 | 67 | .current_page_item > a, 68 | .current-menu-item > a, 69 | .current_page_ancestor > a, 70 | .current-menu-ancestor > a { 71 | } 72 | } 73 | 74 | /* Small menu. */ 75 | .menu-toggle, 76 | .main-navigation.toggled ul { 77 | display: block; 78 | } 79 | 80 | @media screen and (min-width: 37.5em) { 81 | 82 | .menu-toggle { 83 | display: none; 84 | } 85 | 86 | .main-navigation ul { 87 | display: block; 88 | } 89 | } 90 | 91 | .comment-navigation, 92 | .posts-navigation, 93 | .post-navigation { 94 | 95 | .site-main & { 96 | margin: 0 0 1.5em; 97 | overflow: hidden; 98 | } 99 | 100 | .nav-previous { 101 | float: left; 102 | width: 50%; 103 | } 104 | 105 | .nav-next { 106 | float: right; 107 | text-align: right; 108 | width: 50%; 109 | } 110 | } 111 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/navigation/_navigation.scss: -------------------------------------------------------------------------------- 1 | /*-------------------------------------------------------------- 2 | ## Links 3 | --------------------------------------------------------------*/ 4 | @import "links"; 5 | 6 | /*-------------------------------------------------------------- 7 | ## Menus 8 | --------------------------------------------------------------*/ 9 | @import "menus"; 10 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/site/_site.scss: -------------------------------------------------------------------------------- 1 | // @import "../layout/content-sidebar"; 2 | // @import "../layout/sidebar-content"; 3 | 4 | /*-------------------------------------------------------------- 5 | ## Posts and pages 6 | --------------------------------------------------------------*/ 7 | @import "primary/posts-and-pages"; 8 | 9 | /*-------------------------------------------------------------- 10 | ## Comments 11 | --------------------------------------------------------------*/ 12 | @import "primary/comments"; 13 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/site/primary/_comments.scss: -------------------------------------------------------------------------------- 1 | .comment-content a { 2 | word-wrap: break-word; 3 | } 4 | 5 | .bypostauthor { 6 | display: block; 7 | } 8 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/site/primary/_posts-and-pages.scss: -------------------------------------------------------------------------------- 1 | .sticky { 2 | display: block; 3 | } 4 | 5 | .post, 6 | .page { 7 | margin: 0 0 1.5em; 8 | } 9 | 10 | .updated:not(.published) { 11 | display: none; 12 | } 13 | 14 | .page-content, 15 | .entry-content, 16 | .entry-summary { 17 | margin: 1.5em 0 0; 18 | } 19 | 20 | .page-links { 21 | clear: both; 22 | margin: 0 0 1.5em; 23 | } 24 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/site/secondary/_widgets.scss: -------------------------------------------------------------------------------- 1 | .widget { 2 | margin: 0 0 1.5em; 3 | 4 | // Make sure select elements fit in widgets. 5 | select { 6 | max-width: 100%; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/style.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | Theme Name: My Site 3 | Theme URI: http://underscores.me/ 4 | Author: Suthan Bala 5 | Author URI: https://suthanbala.com 6 | Description: Description 7 | Version: 1.0.0 8 | License: GNU General Public License v2 or later 9 | License URI: LICENSE 10 | Text Domain: my-site 11 | Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready 12 | 13 | This theme, like WordPress, is licensed under the GPL. 14 | Use it to make something cool, have fun, and share what you've learned. 15 | 16 | My Site is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc. 17 | Underscores is distributed under the terms of the GNU GPL v2 or later. 18 | 19 | Normalizing styles have been helped along thanks to the fine work of 20 | Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/ 21 | */ 22 | 23 | /*-------------------------------------------------------------- 24 | >>> TABLE OF CONTENTS: 25 | ---------------------------------------------------------------- 26 | # Normalize 27 | # Typography 28 | # Elements 29 | # Forms 30 | # Navigation 31 | ## Links 32 | ## Menus 33 | # Accessibility 34 | # Alignments 35 | # Clearings 36 | # Widgets 37 | # Content 38 | ## Posts and pages 39 | ## Comments 40 | # Infinite scroll 41 | # Media 42 | ## Captions 43 | ## Galleries 44 | --------------------------------------------------------------*/ 45 | @import "variables-site/variables-site"; 46 | @import "mixins/mixins-master"; 47 | 48 | /*-------------------------------------------------------------- 49 | # Normalize 50 | --------------------------------------------------------------*/ 51 | @import "normalize"; 52 | 53 | /*-------------------------------------------------------------- 54 | # Typography 55 | --------------------------------------------------------------*/ 56 | @import "typography/typography"; 57 | 58 | /*-------------------------------------------------------------- 59 | # Elements 60 | --------------------------------------------------------------*/ 61 | @import "elements/elements"; 62 | 63 | /*-------------------------------------------------------------- 64 | # Forms 65 | --------------------------------------------------------------*/ 66 | @import "forms/forms"; 67 | 68 | /*-------------------------------------------------------------- 69 | # Navigation 70 | --------------------------------------------------------------*/ 71 | @import "navigation/navigation"; 72 | 73 | /*-------------------------------------------------------------- 74 | # Accessibility 75 | --------------------------------------------------------------*/ 76 | @import "modules/accessibility"; 77 | 78 | /*-------------------------------------------------------------- 79 | # Alignments 80 | --------------------------------------------------------------*/ 81 | @import "modules/alignments"; 82 | 83 | /*-------------------------------------------------------------- 84 | # Clearings 85 | --------------------------------------------------------------*/ 86 | @import "modules/clearings"; 87 | 88 | /*-------------------------------------------------------------- 89 | # Widgets 90 | --------------------------------------------------------------*/ 91 | @import "site/secondary/widgets"; 92 | 93 | /*-------------------------------------------------------------- 94 | # Content 95 | --------------------------------------------------------------*/ 96 | @import "site/site"; 97 | 98 | /*-------------------------------------------------------------- 99 | # Infinite scroll 100 | --------------------------------------------------------------*/ 101 | @import "modules/infinite-scroll"; 102 | 103 | /*-------------------------------------------------------------- 104 | # Media 105 | --------------------------------------------------------------*/ 106 | @import "media/media"; 107 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/typography/_copy.scss: -------------------------------------------------------------------------------- 1 | p { 2 | margin-bottom: 1.5em; 3 | } 4 | 5 | dfn, 6 | cite, 7 | em, 8 | i { 9 | font-style: italic; 10 | } 11 | 12 | blockquote { 13 | margin: 0 1.5em; 14 | } 15 | 16 | address { 17 | margin: 0 0 1.5em; 18 | } 19 | 20 | pre { 21 | background: $color__background-pre; 22 | font-family: $font__pre; 23 | 24 | @include font-size(0.9375); 25 | line-height: $font__line-height-pre; 26 | margin-bottom: 1.6em; 27 | max-width: 100%; 28 | overflow: auto; 29 | padding: 1.6em; 30 | } 31 | 32 | code, 33 | kbd, 34 | tt, 35 | var { 36 | font-family: $font__code; 37 | 38 | @include font-size(0.9375); 39 | } 40 | 41 | abbr, 42 | acronym { 43 | border-bottom: 1px dotted $color__border-abbr; 44 | cursor: help; 45 | } 46 | 47 | mark, 48 | ins { 49 | background: $color__background-ins; 50 | text-decoration: none; 51 | } 52 | 53 | big { 54 | font-size: 125%; 55 | } 56 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/typography/_headings.scss: -------------------------------------------------------------------------------- 1 | h1, 2 | h2, 3 | h3, 4 | h4, 5 | h5, 6 | h6 { 7 | clear: both; 8 | } 9 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/typography/_typography.scss: -------------------------------------------------------------------------------- 1 | body, 2 | button, 3 | input, 4 | select, 5 | optgroup, 6 | textarea { 7 | color: $color__text-main; 8 | font-family: $font__main; 9 | 10 | @include font-size(1); 11 | line-height: $font__line-height-body; 12 | } 13 | 14 | @import "headings"; 15 | @import "copy"; 16 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/variables-site/_colors.scss: -------------------------------------------------------------------------------- 1 | $color__background-body: #fff; 2 | $color__background-screen: #f1f1f1; 3 | $color__background-hr: #ccc; 4 | $color__background-button: #e6e6e6; 5 | $color__background-pre: #eee; 6 | $color__background-ins: #fff9c0; 7 | 8 | $color__text-screen: #21759b; 9 | $color__text-input: #666; 10 | $color__text-input-focus: #111; 11 | $color__link: #4169e1; //royalblue 12 | $color__link-visited: #800080; //purple 13 | $color__link-hover: #191970; //midnightblue 14 | $color__text-main: #404040; 15 | 16 | $color__border-button: #ccc #ccc #bbb; 17 | $color__border-button-hover: #ccc #bbb #aaa; 18 | $color__border-button-focus: #aaa #bbb #bbb; 19 | $color__border-input: #ccc; 20 | $color__border-abbr: #666; 21 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/variables-site/_columns.scss: -------------------------------------------------------------------------------- 1 | $columns: ( 2 | 1: 100%, 3 | 2: 50%, 4 | 3: 33.33%, 5 | 4: 25%, 6 | 5: 20%, 7 | 6: 16.66%, 8 | 7: 14.28%, 9 | 8: 12.5%, 10 | 9: 11.11% 11 | ); 12 | 13 | $columns__margin: 3.8%; 14 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/variables-site/_structure.scss: -------------------------------------------------------------------------------- 1 | $size__site-main: 100%; 2 | $size__site-sidebar: 25%; 3 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/variables-site/_typography.scss: -------------------------------------------------------------------------------- 1 | $font__main: sans-serif; 2 | $font__code: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace; 3 | $font__pre: "Courier 10 Pitch", courier, monospace; 4 | $font__line-height-body: 1.5; 5 | $font__line-height-pre: 1.6; 6 | -------------------------------------------------------------------------------- /src/themes/my-site/src/sass/variables-site/_variables-site.scss: -------------------------------------------------------------------------------- 1 | @import "colors"; 2 | @import "typography"; 3 | @import "structure"; 4 | @import "columns"; 5 | -------------------------------------------------------------------------------- /src/themes/my-site/style.css: -------------------------------------------------------------------------------- 1 | /*! 2 | Theme Name: My Site 3 | Theme URI: http://underscores.me/ 4 | Author: Suthan Bala 5 | Author URI: https://suthanbala.com 6 | Description: Description 7 | Version: 1.0.0 8 | License: GNU General Public License v2 or later 9 | License URI: LICENSE 10 | Text Domain: my-site 11 | Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready 12 | 13 | This theme, like WordPress, is licensed under the GPL. 14 | Use it to make something cool, have fun, and share what you've learned. 15 | 16 | My Site is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc. 17 | Underscores is distributed under the terms of the GNU GPL v2 or later. 18 | 19 | Normalizing styles have been helped along thanks to the fine work of 20 | Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/ 21 | *//*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}body,button,input,optgroup,select,textarea{color:#404040;font-family:sans-serif;font-size:16px;font-size:1rem;line-height:1.5}h1,h2,h3,h4,h5,h6{clear:both}p{margin-bottom:1.5em}cite,dfn,em,i{font-style:italic}blockquote{margin:0 1.5em}address{margin:0 0 1.5em}pre{background:#eee;font-family:"Courier 10 Pitch",courier,monospace;font-size:15px;font-size:.9375rem;line-height:1.6;margin-bottom:1.6em;max-width:100%;overflow:auto;padding:1.6em}code,kbd,tt,var{font-family:monaco,consolas,"Andale Mono","DejaVu Sans Mono",monospace;font-size:15px;font-size:.9375rem}abbr,acronym{border-bottom:1px dotted #666;cursor:help}ins,mark{background:#fff9c0;text-decoration:none}big{font-size:125%}*,::after,::before{box-sizing:inherit}html{box-sizing:border-box}body{background:#fff}hr{background-color:#ccc;border:0;height:1px;margin-bottom:1.5em}ol,ul{margin:0 0 1.5em 3em}ul{list-style:disc}ol{list-style:decimal}li>ol,li>ul{margin-bottom:0;margin-left:1.5em}dt{font-weight:700}dd{margin:0 1.5em 1.5em}img{height:auto;max-width:100%}figure{margin:1em 0}table{margin:0 0 1.5em;width:100%}button,input[type=button],input[type=reset],input[type=submit]{border:1px solid;border-color:#ccc #ccc #bbb;border-radius:3px;background:#e6e6e6;color:rgba(0,0,0,.8);font-size:12px;font-size:.75rem;line-height:1;padding:.6em 1em .4em}button:hover,input[type=button]:hover,input[type=reset]:hover,input[type=submit]:hover{border-color:#ccc #bbb #aaa}button:active,button:focus,input[type=button]:active,input[type=button]:focus,input[type=reset]:active,input[type=reset]:focus,input[type=submit]:active,input[type=submit]:focus{border-color:#aaa #bbb #bbb}input[type=color],input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=range],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],textarea{color:#666;border:1px solid #ccc;border-radius:3px;padding:3px}input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=range]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,textarea:focus{color:#111}select{border:1px solid #ccc}textarea{width:100%}a{color:#4169e1}a:visited{color:purple}a:active,a:focus,a:hover{color:#191970}a:focus{outline:thin dotted}a:active,a:hover{outline:0}.main-navigation{clear:both;display:block;float:left;width:100%}.main-navigation ul{display:none;list-style:none;margin:0;padding-left:0}.main-navigation ul ul{box-shadow:0 3px 3px rgba(0,0,0,.2);float:left;position:absolute;top:100%;left:-999em;z-index:99999}.main-navigation ul ul ul{left:-999em;top:0}.main-navigation ul ul li.focus>ul,.main-navigation ul ul li:hover>ul{left:100%}.main-navigation ul ul a{width:200px}.main-navigation ul li.focus>ul,.main-navigation ul li:hover>ul{left:auto}.main-navigation li{float:left;position:relative}.main-navigation a{display:block;text-decoration:none}.main-navigation.toggled ul,.menu-toggle{display:block}@media screen and (min-width:37.5em){.menu-toggle{display:none}.main-navigation ul{display:block}}.site-main .comment-navigation,.site-main .post-navigation,.site-main .posts-navigation{margin:0 0 1.5em;overflow:hidden}.comment-navigation .nav-previous,.post-navigation .nav-previous,.posts-navigation .nav-previous{float:left;width:50%}.comment-navigation .nav-next,.post-navigation .nav-next,.posts-navigation .nav-next{float:right;text-align:right;width:50%}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}.screen-reader-text:focus{background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;clip-path:none;color:#21759b;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}#content[tabindex="-1"]:focus{outline:0}.alignleft{display:inline;float:left;margin-right:1.5em;margin-bottom:1.5em}.alignright{display:inline;float:right;margin-left:1.5em;margin-bottom:1.5em}.aligncenter{clear:both;display:block;margin-left:auto;margin-right:auto;margin-bottom:1.5em}.clear::after,.clear::before,.comment-content::after,.comment-content::before,.entry-content::after,.entry-content::before,.site-content::after,.site-content::before,.site-footer::after,.site-footer::before,.site-header::after,.site-header::before{content:"";display:table;table-layout:fixed}.clear::after,.comment-content::after,.entry-content::after,.site-content::after,.site-footer::after,.site-header::after{clear:both}.widget{margin:0 0 1.5em}.widget select{max-width:100%}.sticky{display:block}.page,.post{margin:0 0 1.5em}.updated:not(.published){display:none}.entry-content,.entry-summary,.page-content{margin:1.5em 0 0}.page-links{clear:both;margin:0 0 1.5em}.comment-content a{word-wrap:break-word}.bypostauthor{display:block}.infinite-scroll .posts-navigation,.infinite-scroll.neverending .site-footer{display:none}.infinity-end.neverending .site-footer{display:block}.comment-content .wp-smiley,.entry-content .wp-smiley,.page-content .wp-smiley{border:none;margin-bottom:0;margin-top:0;padding:0}embed,iframe,object{max-width:100%}.custom-logo-link{display:inline-block}.wp-caption{margin-bottom:1.5em;max-width:100%}.wp-caption img[class*=wp-image-]{display:block;margin-left:auto;margin-right:auto}.wp-caption .wp-caption-text{margin:.8075em 0}.wp-caption-text{text-align:center}.gallery{margin-bottom:1.5em}.gallery-item{display:inline-block;text-align:center;vertical-align:top;width:100%}.gallery-columns-2 .gallery-item{max-width:50%}.gallery-columns-3 .gallery-item{max-width:33.33%}.gallery-columns-4 .gallery-item{max-width:25%}.gallery-columns-5 .gallery-item{max-width:20%}.gallery-columns-6 .gallery-item{max-width:16.66%}.gallery-columns-7 .gallery-item{max-width:14.28%}.gallery-columns-8 .gallery-item{max-width:12.5%}.gallery-columns-9 .gallery-item{max-width:11.11%}.gallery-caption{display:block} 22 | /*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm15LXNpdGUvc3JjL3Nhc3Mvc3R5bGUuc2NzcyIsIm15LXNpdGUvc3JjL3Nhc3MvX25vcm1hbGl6ZS5zY3NzIiwic3R5bGUuY3NzIiwibXktc2l0ZS9zcmMvc2Fzcy90eXBvZ3JhcGh5L190eXBvZ3JhcGh5LnNjc3MiLCJteS1zaXRlL3NyYy9zYXNzL3ZhcmlhYmxlcy1zaXRlL19jb2xvcnMuc2NzcyIsIm15LXNpdGUvc3JjL3Nhc3MvdmFyaWFibGVzLXNpdGUvX3R5cG9ncmFwaHkuc2NzcyIsIm15LXNpdGUvc3JjL3Nhc3MvbW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cbjo6LXdlYmtpdC1maWxlLXVwbG9hZC1idXR0b24ge1xuXHQtd2Via2l0LWFwcGVhcmFuY2U6IGJ1dHRvbjtcblx0Zm9udDogaW5oZXJpdDtcbn1cblxuLyogSW50ZXJhY3RpdmVcblx0ID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ICovXG5cbi8qXG4gKiBBZGQgdGhlIGNvcnJlY3QgZGlzcGxheSBpbiBFZGdlLCBJRSAxMCssIGFuZCBGaXJlZm94LlxuICovXG5cbmRldGFpbHMge1xuXHRkaXNwbGF5OiBibG9jaztcbn1cblxuLypcbiAqIEFkZCB0aGUgY29ycmVjdCBkaXNwbGF5IGluIGFsbCBicm93c2Vycy5cbiAqL1xuXG5zdW1tYXJ5IHtcblx0ZGlzcGxheTogbGlzdC1pdGVtO1xufVxuXG4vKiBNaXNjXG5cdCA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PSAqL1xuXG4vKipcbiAqIEFkZCB0aGUgY29ycmVjdCBkaXNwbGF5IGluIElFIDEwKy5cbiAqL1xuXG50ZW1wbGF0ZSB7XG5cdGRpc3BsYXk6IG5vbmU7XG59XG5cbi8qKlxuICogQWRkIHRoZSBjb3JyZWN0IGRpc3BsYXkgaW4gSUUgMTAuXG4gKi9cblxuW2hpZGRlbl0ge1xuXHRkaXNwbGF5OiBub25lO1xufVxuIixudWxsLCJib2R5LFxuYnV0dG9uLFxuaW5wdXQsXG5zZWxlY3QsXG5vcHRncm91cCxcbnRleHRhcmVhIHtcblx0Y29sb3I6ICRjb2xvcl9fdGV4dC1tYWluO1xuXHRmb250LWZhbWlseTogJGZvbnRfX21haW47XG5cblx0QGluY2x1ZGUgZm9udC1zaXplKDEpO1xuXHRsaW5lLWhlaWdodDogJGZvbnRfX2xpbmUtaGVpZ2h0LWJvZHk7XG59XG5cbkBp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GF5OiBpbmxpbmUtYmxvY2s7XG5cdHRleHQtYWxpZ246IGNlbnRlcjtcblx0dmVydGljYWwtYWxpZ246IHRvcDtcblx0d2lkdGg6IDEwMCU7XG5cblx0Ly8gTG9vcHMgdG8gZW51bWVyYXRlIHRoZSBjbGFzc2VzIGZvciBnYWxsZXJ5IGNvbHVtbnMuXG5cdEBmb3IgJGkgZnJvbSAyIHRocm91Z2ggOSB7XG5cblx0XHQuZ2FsbGVyeS1jb2x1bW5zLSN7JGl9ICYge1xuXHRcdFx0bWF4LXdpZHRoOiBtYXAtZ2V0KCRjb2x1bW5zLCAkaSk7XG5cdFx0fVxuXHR9XG59XG5cbi5nYWxsZXJ5LWNhcHRpb24ge1xuXHRkaXNwbGF5OiBibG9jaztcbn1cbiIsIiRjb2x1bW5zOiAoXG5cdDE6IDEwMCUsXG5cdDI6IDUwJSxcblx0MzogMzMuMzMlLFxuXHQ0OiAyNSUsXG5cdDU6IDIwJSxcblx0NjogMTYuNjYlLFxuXHQ3OiAxNC4yOCUsXG5cdDg6IDEyLjUlLFxuXHQ5OiAxMS4xMSVcbik7XG5cbiRjb2x1bW5zX19tYXJnaW46IDMuOCU7XG4iXX0= */ -------------------------------------------------------------------------------- /src/themes/my-site/template-parts/content-none.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
13 | 16 | 17 |
18 | ' . wp_kses( 23 | /* translators: 1: link to WP admin new post page. */ 24 | __( 'Ready to publish your first post? Get started here.', 'my-site' ), 25 | array( 26 | 'a' => array( 27 | 'href' => array(), 28 | ), 29 | ) 30 | ) . '

', 31 | esc_url( admin_url( 'post-new.php' ) ) 32 | ); 33 | 34 | elseif ( is_search() ) : 35 | ?> 36 | 37 |

38 | 43 | 44 |

45 | 50 |
51 |
52 | -------------------------------------------------------------------------------- /src/themes/my-site/template-parts/content-page.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
> 13 |
14 | ', '' ); ?> 15 |
16 | 17 | 18 | 19 |
20 | '', 27 | ) 28 | ); 29 | ?> 30 |
31 | 32 | 33 |
34 | %s', 'my-site' ), 40 | array( 41 | 'span' => array( 42 | 'class' => array(), 43 | ), 44 | ) 45 | ), 46 | wp_kses_post( get_the_title() ) 47 | ), 48 | '', 49 | '' 50 | ); 51 | ?> 52 |
53 | 54 |
55 | -------------------------------------------------------------------------------- /src/themes/my-site/template-parts/content-search.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | 36 | -------------------------------------------------------------------------------- /src/themes/my-site/template-parts/content.php: -------------------------------------------------------------------------------- 1 | 11 | 12 |
> 13 |
14 | ', '' ); 17 | else : 18 | the_title( '

', '

' ); 19 | endif; 20 | 21 | if ( 'post' === get_post_type() ) : 22 | ?> 23 | 29 | 30 |
31 | 32 | 33 | 34 |
35 | "%s"', 'my-site' ), 41 | array( 42 | 'span' => array( 43 | 'class' => array(), 44 | ), 45 | ) 46 | ), 47 | wp_kses_post( get_the_title() ) 48 | ) 49 | ); 50 | 51 | wp_link_pages( 52 | array( 53 | 'before' => '', 55 | ) 56 | ); 57 | ?> 58 |
59 | 60 |
61 | 62 |
63 |
64 | -------------------------------------------------------------------------------- /src/uploads/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/suthanbala/wordpress-docker-gulp/73bbecb11e1fce691ea9f4936a733daf4200a9e6/src/uploads/index.php -------------------------------------------------------------------------------- /uploads.conf: -------------------------------------------------------------------------------- 1 | file_uploads = On 2 | memory_limit = 64M 3 | upload_max_filesize = 64M 4 | post_max_size = 64M 5 | max_execution_time = 600 6 | --------------------------------------------------------------------------------