- This is built for
Local by Flywheel, get an install up - Remove Everything from the
/publicfolder - Open
/publicin PHPStorm - Clone this Repo temp directory
- Run
git clone https://github.com/Mizner/mizner-starter temp
- Run
- Move files from
/tempinto/public- Run
mv temp/* ./(make sure.gitignoremoves)
- Run
- Recommended: delete the
.gitfolder- Run
rm -rf .git(Make sure you're in the right directory)
- Run
- Install NPM packages
- (Bonus: use YARN!) run
yarn installit's just likenpm install
- (Bonus: use YARN!) run
- (NEED TO FIX THIS) Create file
config.jsonupdate with settings - Update Client-name
---------- Deprecated Below This ---------
- Run
gulpto update your/distfolder to the new info - Now you should be able to run
gulp watchand have BrowserSync stream.csschanges and Reload on most.jsand.phpchanges.
- Get brand colors
- add to
_variables.scss
- add to
- Open
_header.scss- choose options by commenting out what you don't want
- Gravity Forms
- WP Migrate DB
- CPT UI (easy custom post types)
Okay, so: there's a few things to know. It's somewhat dynamic.
images/logo.svgwill take priorityimages/logo.pngis the first fallbackimages/logo.jpgis the second fallback- If none of these exist, you can upload a logo via the
Customizer - Lastly, if no image is set via any of the above options it will display text in an
htag
Let's say you have an SVG "icon.svg" saved to the images folder.
You can use the_svg('images/icons.svg') in a .php file and it should load that .svg without any trouble... hopefully.
Note: Keep an eye out for any ? characters in the .svg file, especially if you downloaded the file from a place like FlatIcon
First off, just keep in mind... there's probably no popup library that will take care of all the possible use cases... "probably". If you find one, let me know.
Secondly, I wrote it a while ago. It could probably use improvements or refactoring.
Anyways, here's what I came up with:
- Clicked Element: on some
<button>or<a>element, give it:class="popupTrigger"name="exampleTrigger"note: (exampleTrigger) could be anything.
- Popped Element: on the corresponding element, give it:
class="popupWrapper exampleTrigger"
Basically, we're associating the name attribute on the clicked element to a matching element with that as a class. So make sure it's fairly unique.
Note: not currently working with Fixed Header (You can use either/or).
If visibile-in-browser.js is compiled:
You can use class on-screen that will populate class visible when element is scrolled over