Skip to content

Instantly share code, notes, and snippets.

View marbaque's full-sized avatar

marbaque

View GitHub Profile
@marbaque
marbaque / css-test-button.markdown
Created May 27, 2020 15:53
CSS Test — Button
<?php
$settings=array(
/* (string) Unique identifier for the form. Defaults to 'acf-form' */
'id'=>'acf-form',
/* (int|string) The post ID to load data from and save data to. Defaults to the current post ID.
Can also be set to 'new_post' to create a new post on submit */
'post_id'=>false,
wp core download
wp core config --dbname="dbname" --dbuser="dbuser" --dbpass="dbpass" --extra-php <<PHP
/* Pressbooks */
define( 'WP_DEFAULT_THEME', 'pressbooks-book' );
define( 'PB_PRINCE_COMMAND', '/usr/bin/prince' );
define( 'PB_KINDLEGEN_COMMAND', '/opt/kindlegen/kindlegen' );
define( 'PB_EPUBCHECK_COMMAND', '/usr/bin/java -jar /opt/epubcheck-3.0.1/epubcheck-3.0.1.jar' );
define( 'PB_XMLLINT_COMMAND', '/usr/bin/xmllint' );
PHP
wp core install --url="http://domain.com" --title="Pressbooks" --admin_user="username" --admin_password="password" --admin_email="[email protected]"
{
"name": "OEGlobal Custom Blocks",
"version": "1.1",
"download_url": "https://github.com/ocwc/oeg-blocks-acf/archive/refs/heads/main.zip",
"homepage": "http://oeglobal.org/",
"requires": "4.5",
"tested": "5.7",
"last_updated": "2021-08-21 21:08:00",
"upgrade_notice": "Here's why you should upgrade...",
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
p {
text-align: center;
font-size: 60px;
margin-top: 0px;
}