https://github.com/andrewiom/teddymcr-wordpress-theme

Wordpress theme for the St Edmund Hall MCR, University of Oxford

https://github.com/andrewiom/teddymcr-wordpress-theme

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.3%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

Wordpress theme for the St Edmund Hall MCR, University of Oxford

Basic Info
  • Host: GitHub
  • Owner: AndrewIOM
  • Language: PHP
  • Default Branch: master
  • Size: 9.05 MB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Archived
Created about 9 years ago · Last pushed about 9 years ago
Metadata Files
Readme

README.md

Teddy Hall MCR Wordpress Theme

Basic Child Theme for UnderStrap Theme Framework: https://github.com/holger1411/understrap

How it works

It shares with the parent theme all PHP files and adds its own functions.php on top of the UnderStrap parent themes functions.php.

IT DIT NOT LOAD THE PARENT THEMES CSS FILE(S)! Instead it uses the UnderStrap Parent Theme as dependency via Bower and compiles its own CSS file from it.

Uses the Enqueue method the load and sort the CSS file the right way instead of the old @import methode

Installation

  1. Install the parent theme UnderStrap first: https://github.com/holger1411/understrap
  2. IMPORTANT: If you download it from GitHub make sure you rename the "understrap-master.zip" file just to "understrap.zip" or you might have problems using this child themes !!

  3. Just upload the understrap-child folder to your wp-content/themes directory

  4. Go into your WP admin backend

  5. Go to "Appearance -> Themes"

  6. Activate the UnderStrap Child theme

Editing

Add your own CSS styles to /sass/theme/childtheme.scss ot import you own files into /sass/theme/understrap-child.scss

To overwrite Bootstrap or UnderStraps base variables just add your own value to: /sass/theme/childtheme_variables.scss

For example: the "$brand-primary" variable is used by both, Bootstrap and UnderStrap. Add your own color like: $brand-primary: #ff6600; in /sass/theme/childtheme_variables.scss to overwrite it. That will change automatically all elements who use this variable. It will be outputted into: /css/understrap-child.min.css and /css/understrap-child.css

So you have one clean CSS file at the end and just one request.

Developing With NPM, Bower, Gulp, SASS and Browser Sync

Installing Dependencies

  • Make sure you have installed Node.js, Bower, and Browser-Sync [1] on your computer globally
  • Then open your terminal and browse to the location of your UnderStrap copy
  • Run: $ npm install then: $ bower install and finally: $ gulp copy-assets

Running

To work and compile your Sass files on the fly start:

  • $ gulp watch

Or, to run with Browser-Sync:

  • First change the browser-sync options to reflect your environment in the file /gulpfile.js in the beginning of the file: javascript var browserSyncOptions = { proxy: "localhost/theme_test/", // <----- CHANGE HERE notify: false };
  • then run: $ gulp watch-bs

[1] Visit http://browsersync.io for more information on Browser Sync

Owner

  • Name: Andrew Martin
  • Login: AndrewIOM
  • Kind: user
  • Location: Isle of Man
  • Company: University of Oxford

Environmental Scientist - Long-Term Ecology, Biodiversity, Dendrochronology

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels