This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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, | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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]" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "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...", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!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; | |
| } |
OlderNewer