This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command
$ docker-compose up -d
# To Tear Down
$ docker-compose down --volumes
version: "2" | |
services: | |
my-wpdb: | |
image: mariadb | |
ports: | |
- "8081:3306" | |
environment: | |
MYSQL_ROOT_PASSWORD: ChangeMeIfYouWant | |
my-wp: | |
image: wordpress |
// # PugJs Cheat Sheet | |
// ## Syntax | |
doctype html | |
html | |
head | |
meta(name="Pugcupid", content="Wiggle with love") | |
body | |
main#page |
//operators | |
B O SM AS | |
operator precedent in javascript | |
Brackets pOwers (Division Multiple) (Addition Subtraction) | |
modulas operators give you the remainder (whatever is left) of any division | |
first it divides what it can | |
ie: 5 goes into 9 once with 4 left over | |
9 % 5 = 4 |
// Get Product ID | |
$product->get_id(); | |
// Get Product General Info | |
$product->get_type(); | |
$product->get_name(); | |
$product->get_slug(); |
Orange | |
In color psychology, orange represents creativity, adventure, enthusiasm, success, and balance. | |
The color orange adds a bit of fun to any picture, website, or marketing material it’s on. | |
Despite it’s attracting color, it’s not as commanding as the color red. | |
Many marketers still use the color for call to actions or areas of a website that they want to draw the eye too. | |
Red | |
Marketing colors like red can capture attention. | |
The red color meaning is associated with excitement, passion, danger, energy, and action. | |
You might’ve noticed that some brands use red for ‘order now’ buttons or for their packaging as a way to stand out on the shelf. |
* minute | |
* hour | |
* day of month | |
* month | |
* day of week |
create process for webinar | |
create sign up page with | |
optional countdown | |
when it is | |
who its hosted by | |
what they can expect to learn | |
- connect with email marketing software | |
- need to send signups a "confirmation" email right away | |
- must map people to the course they signed up for - this way we can email all people at once. |
this composer part of the installer is not easy to follow https://laravel.com/docs/5.8/valet | |
so this one is better | |
https://www.hostinger.com/tutorials/how-to-install-composer |
https://developer.yoast.com/schema-documentation/integration-guidelines/ | |
implementeing custom json ld schema into a yoast install. | |
Yoast outputs some basic markup for json ld. most of the time this is ok but if you need more. | |
then you need to output custom "content type" peices and stich it to the main graph. | |
add_filter( 'wpseo_schema_graph_pieces', 'yoast_add_graph_pieces', 11, 2 ); | |
//sample adding the person content type |