Compare commits

..

No commits in common. "trunk" and "v1.0.49" have entirely different histories.

9048 changed files with 287515 additions and 367763 deletions

View file

@ -1,111 +0,0 @@
# Themes to be ignored when deploying to the WordPress.org theme repository
appleton
arbutus
artly
assembler
attar
awburn
azur
barnett
barnsbury23
beep
bennett
blank-canvas-3
block-canvas
blogorama
boxedbio
calvin
calyx
chanson
cortado
covr
craftfully
creatio-2
creatio
curriculum
dorna
dos
entry
epi
erma
eventual
exmoor
farrow
foam
grammerone
hall
hari
heiwa
ici
indice
infield
iotix
issue
jackson
kansei
kaze
kingsley
kiosko
lativ
loic
lois
luce
lynx
marl
masu
meraki
messagerie
montagna
mpho
muscat
mysa
nested
nook
organizer
otis
overlaid
perenne
pieria
poesis
pomme
programme
raw
reverie
ritratto
russell
screenplay
shhh
snd
spearhead-blocks
spiel
stage
startfit
sten
strand
sunderland
tenaz
texty
the-jazzers
the-menu
tu
twentytwentytwo-blue
twentytwentytwo-mint
twentytwentytwo-pink
twentytwentytwo-red
twentytwentytwo-swiss
verso
vetro
winkel
xanadu
# General paths to be ignored when deploying to the WordPress.org theme repository
inc/headstart
node_modules
package.json
.git
*.DS_Store
*.sh
*.map
*wpcom*
*.zip
postcss.config.js

View file

@ -1,109 +0,0 @@
name: Bug Report
description: Report issues with one of our products.
labels: [ 'Needs triage', '[Type] Bug' ]
body:
- type: markdown
attributes:
value: |
### Thanks for contributing!
Please write a clear title, then fill in the fields below and submit.
Please **do not** link to image hosting services such as Cloudup, Droplr, Imgur, etc…
Instead, directly embed screenshot(s) or recording(s) in any of the text areas below: click, then drag and drop.
- type: markdown
attributes:
value: |
---
## Core Information
- type: textarea
id: summary
attributes:
label: Quick summary
- type: textarea
id: steps
attributes:
label: Steps to reproduce
placeholder: |
1. Start at `site-domain.com/blog`.
2. Click on any blog post.
3. Click on the 'Like' button.
4. ...
validations:
required: true
- type: textarea
id: expected
attributes:
label: A clear and concise description of what you expected to happen.
placeholder: |
eg. Post should be liked.
- type: textarea
id: actual
attributes:
label: What actually happened
placeholder: |
eg. Clicking the button does nothing visibly.
- type: dropdown
id: users-affected
attributes:
label: Impact
description: Approximately how many users are impacted?
options:
- One
- Some (< 50%)
- Most (> 50%)
- All
validations:
required: true
- type: dropdown
id: workarounds
attributes:
label: Available workarounds?
options:
- No and the platform is unusable
- No but the platform is still usable
- Yes, difficult to implement
- Yes, easy to implement
- There is no user impact
validations:
required: true
- type: markdown
attributes:
value: |
<br>
- type: textarea
id: workaround-detail
attributes:
label: If the above answer is "Yes...", outline the workaround.
placeholder: |
Provide details of the specific steps to take that resolve the issue, e.g.:
- Open "Setting X".
- Toggle "Option Y".
- Click "Button Z".
- type: markdown
attributes:
value: |
<br>
## Optional Information
The following section is optional.
- type: dropdown
id: site-type
attributes:
label: Platform (Simple and/or Atomic)
description: (You may select more than one)
options:
- Simple
- Atomic
- Self-hosted
multiple: true
- type: textarea
id: logs
attributes:
label: Logs or notes
placeholder: |
Add any information that may be relevant, such as:
- Browser/Platform
- Theme
- Logs/Errors

View file

@ -1,15 +0,0 @@
name: DotCom theme launch checklist
description: Checklist used to keep track of theme launches on DotCom.
title: '[DotCom Launch]: <theme name>'
body:
- type: markdown
attributes:
value: |
### DotCom launch checklist
- [ ] Test the theme on dotCom
- [ ] Create demo site
- [ ] Create theme showcase
- [ ] Theme launch post
- [ ] Launch theme
Remember to add a label to this issue, or creating it if it doesn't exist. Format: [Theme] _<theme name>_

View file

@ -1,114 +0,0 @@
/*
* This function creates a WordPress Playground blueprint JSON string for a theme.
*
* @param {string} themeSlug - The slug of the theme to create a blueprint for.
* @param {string} branch - The branch where the theme changes are located.
* @returns {string} - A JSON string representing the blueprint.
*/
function createBlueprint(themeSlug, branch) {
const template = {
steps: [
{
step: 'login',
username: 'admin',
password: 'password',
},
{
step: 'installTheme',
themeZipFile: {
resource: 'url',
url: `https://github-proxy.com/proxy.php?action=partial&repo=Automattic/themes&directory=${themeSlug}&branch=${branch}`,
},
},
{
step: 'activateTheme',
themeFolderName: themeSlug,
},
],
};
return JSON.stringify(template);
}
/*
* This function creates a comment on a PR with preview links for the changed themes.
* It is used by `preview-theme` workflow.
*
* @param {object} github - An authenticated instance of the GitHub API.
* @param {object} context - The context of the event that triggered the action.
* @param {string} changedThemeSlugs - A space-separated string of theme slugs that have changed.
*/
async function createPreviewLinksComment(github, context, changedThemeSlugs) {
const changedThemes = changedThemeSlugs.split(',');
const previewLinks = changedThemes
.map((theme) => {
const [themeName, themeDir] = theme.split(':');
const themeSlug = themeDir.split('/')[0];
const parentThemeSlug = themeName.split('_childof_')[1];
return `- [Preview changes for **${
themeName.split('_childof_')[0]
}**](https://playground.wordpress.net/#${createBlueprint(
themeSlug,
context.payload.pull_request.head.ref
)})${parentThemeSlug ? ` (child of **${parentThemeSlug}**)` : ''}`;
})
.join('\n');
const includesChildThemes = previewLinks.includes('child of');
const comment = `
I've detected changes to the following themes in this PR: ${changedThemes
.map(
(changedThemes) => changedThemes.split(':')[0].split('_childof_')[0]
)
.join(', ')}.
You can preview these changes by following the links below:
${previewLinks}
I will update this comment with the latest preview links as you push more changes to this PR.
** Note:** The preview sites are created using [WordPress Playground](https://wordpress.org/playground/). You can add content, edit settings, and test the themes as you would on a real site, but please note that changes are not saved between sessions.
${
includesChildThemes
? '\n**⚠️ Note:** Child themes are dependent on their parent themes. You will have to install the parent theme as well for the preview to work correctly.'
: ''
}
`;
const repoData = {
owner: context.repo.owner,
repo: context.repo.repo,
};
// Check if a comment already exists and update it if it does
const { data: comments } = await github.rest.issues.listComments({
issue_number: context.payload.pull_request.number,
...repoData,
});
const existingComment = comments.find(
(comment) =>
comment.user.login === 'github-actions[bot]' &&
comment.body.startsWith('### Preview changes')
);
const commentObject = {
body: `### Preview changes\n${comment}`,
...repoData,
};
if (existingComment) {
await github.rest.issues.updateComment({
comment_id: existingComment.id,
...commentObject,
});
return;
}
// Create a new comment if one doesn't exist
github.rest.issues.createComment({
issue_number: context.payload.pull_request.number,
...commentObject,
});
}
module.exports = createPreviewLinksComment;

View file

@ -1,16 +0,0 @@
name: Deploy Themes to Dotorg
on:
push:
branches: [ trunk, automate/dotorgdeploy ]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- run: ./deploy-dotorg.sh
env:
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}

View file

@ -1,47 +0,0 @@
name: Repo gardening
on:
pull_request_target: # When a PR is opened or closed
types: [opened, closed]
issues: # For auto-triage of issues.
types: [opened, labeled, reopened, edited, closed]
issue_comment: # To gather support references in issue comments.
types: [created]
concurrency:
# For pull_request_target, cancel any concurrent jobs with the same type (e.g. "opened", "labeled") and branch.
# Don't cancel any for other events, accomplished by grouping on the unique run_id.
group: gardening-${{ github.event_name }}-${{ github.event.action }}-${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.ref || github.run_id }}
cancel-in-progress: true
jobs:
repo-gardening:
name: 'Perform automated triage tasks on PRs and issues'
runs-on: ubuntu-latest
if: github.event_name == 'pull_request_target' || github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Wait for prior instances of the workflow to finish
uses: softprops/turnstyle@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 'Run gardening action'
uses: automattic/action-repo-gardening@trunk
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
slack_token: ${{ secrets.SLACK_TOKEN }}
slack_team_channel: ${{ secrets.SLACK_TEAM_CHANNEL }}
slack_he_triage_channel: ${{ secrets.SLACK_HE_TRIAGE_CHANNEL }}
slack_quality_channel: ${{ secrets.SLACK_QUALITY_CHANNEL }}
triage_projects_token: ${{ secrets.PROJECT_AUTOMATION_TOKEN }}
project_board_url: ${{ secrets.PROJECT_BOARD_URL }}
tasks: 'cleanLabels,flagOss,triageIssues,gatherSupportReferences,replyToCustomersReminder,updateBoard'

View file

@ -1,23 +0,0 @@
name: Preview Theme Changes
on:
pull_request_target:
types: [opened, synchronize]
permissions:
pull-requests: write
jobs:
preview-theme-changes:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Preview Theme Changes
uses: vcanales/action-wp-playground-pr-preview@trunk
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.event.pull_request.head.sha }}
base-branch: trunk

34
.github/workflows/quadrat_deploy.yml vendored Normal file
View file

@ -0,0 +1,34 @@
name: Quadrat Demo Deploy
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the trunk branch
push:
branches: [ trunk ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Deploy-Theme
uses: SamKirkland/FTP-Deploy-Action@3.1.1
with:
ftp-server: sftp://sftp.pressable.com:22/htdocs/wp-content/themes/
ftp-username: ${{ secrets.QUADRAT_DEMO_USERNAME }}
ftp-password: ${{ secrets.QUADRAT_DEMO_PASSWORD }}
git-ftp-args: --insecure
local-dir: ./quadrat/
- name: Deploy-Parent
uses: SamKirkland/FTP-Deploy-Action@3.1.1
with:
ftp-server: sftp://sftp.pressable.com:22/htdocs/wp-content/themes/
ftp-username: ${{ secrets.QUADRAT_DEMO_USERNAME }}
ftp-password: ${{ secrets.QUADRAT_DEMO_PASSWORD }}
git-ftp-args: --insecure
local-dir: ./blockbase/

View file

@ -1,28 +0,0 @@
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests
on:
schedule:
- cron: '0 */2 * * *'
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
remove-issue-stale-when-updated: true
ascending: true
days-before-stale: 30
days-before-close: -1
stale-issue-message: "As a part of this repositorys maintenance, this issue is being marked as stale due to inactivity. Please feel free to comment on it in case we missed something."
stale-issue-label: '[Status] Stale'

View file

@ -1,132 +0,0 @@
name: Version bump themes
on:
workflow_dispatch:
inputs:
theme-slug:
description: 'Theme slug'
required: false
default: 'all'
jobs:
version-bump:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: trunk
- name: Create branch
id: create-branch
run: |
BRANCH_NAME="automated-version-bump/${{ github.run_number }}"
git checkout -b $BRANCH_NAME
echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 19
- name: Install node dependencies
run: npm install
- name: Version bump
id: version-bump
run: |
if [ "${{ github.event.inputs.theme-slug }}" == 'all' ]; then
npm run deploy:version-bump
else
# Check if theme exists
theme_exists=false
target_theme_slug=${{ github.event.inputs.theme-slug }}
# Loop through each subdirectory in the themes directory
for dir in ./*/; do
# Get the name of the directory (theme name)
theme_dir_name=$(basename "$dir")
# Check if the directory name matches the target theme name and if it contains a style.css file
if [[ "$theme_dir_name" == "$target_theme_slug" && -f "$dir/style.css" ]]; then
theme_exists=true
fi
done
# Error out if theme does not exist
if [ "$theme_exists" == false ]; then
echo "Theme `${{ github.event.inputs.theme-slug }}` does not exist"
exit 1
fi
npm run deploy:version-bump -- ${{ github.event.inputs.theme-slug }}
fi
- name: Check if there are changes
id: check-changes
run: |
if [ "$(git diff --cached --name-only)" ]; then
echo "HAS_CHANGES=true" >> $GITHUB_ENV
# Get list of changed directory names for staged changes
changed_dirs=$(git diff --cached --name-only | xargs -I {} dirname {} | sort | uniq)
# Initialize an array for CHANGED_THEMES
changed_themes=()
# Iterate over the changed directories
for dir in $changed_dirs; do
if [ -f "$dir/style.css" ]; then
# Append the directory to changed_themes array
changed_themes+=("$dir")
fi
done
# Join array elements into a string
CHANGED_THEMES=$(IFS=,; echo "${changed_themes[*]}")
echo "CHANGED_THEMES=$CHANGED_THEMES" >> $GITHUB_ENV
echo "Themes with changes: $CHANGED_THEMES"
else
echo "HAS_CHANGES=false" >> $GITHUB_ENV
fi
- name: Commit changes
if: env.HAS_CHANGES == 'true'
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
git add .
git commit -m "Version bump & changelog update" --no-verify
git push --set-upstream origin ${{ env.BRANCH_NAME }}
- name: Create Pull Request
if: env.HAS_CHANGES == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CHANGED_THEMES: ${{ env.CHANGED_THEMES }}
run: |
echo "Creating PR for themes: $CHANGED_THEMES"
THEMES_LIST=$(echo "$CHANGED_THEMES" | tr ',' '\n')
PR_BODY=$(cat <<-EOF
## [Automation] Themes Version Bump
This PR was automatically created by the version bump workflow.
### Updated Themes
The following themes are being updated due to changes since the last git tag:
$THEMES_LIST
### Why These Updates?
This script bumps the version of themes that have changes since the last git tag. This ensures that any updates or fixes are properly versioned and deployed.
### Disclaimer
This is an automated process. Please review the changes carefully.
EOF
)
gh pr create \
--title "[Automation] Themes version bump" \
--base trunk \
--head ${{ env.BRANCH_NAME }} \
--body "$PR_BODY"

4
.gitignore vendored
View file

@ -5,7 +5,6 @@ theme-dev-utils/
theme-dev-utils
vendor/
*.DS_Store
.DS_Store
*.zip
*.rej
**/*.map
@ -16,7 +15,6 @@ vendor/
.github_token
.wp-env.override.json
.pub-git-hash
.idea
#Ignoring headstart files
*/inc/headstart/*
@ -350,8 +348,6 @@ twentytwenty/
twentytwentyone/
twentytwentyone-blocks/
twentytwentytwo/
twentytwentythree/
twentytwentyfour/
typo/
under-the-influence/
unsleepable/

1
.husky/_/.gitignore vendored
View file

@ -1 +0,0 @@
*

View file

@ -1,5 +0,0 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx lint-staged
node pre-commit-hook.js

2
.npmrc
View file

@ -1,2 +0,0 @@
engine-strict = true
lockfile-version = 3

1
.nvmrc
View file

@ -1 +0,0 @@
18

View file

@ -9,7 +9,6 @@
.vscode
.wp-env.*
*.code-workspace
block-canvas/
package-lock.json
sandbox.sh
sandbox-git.sh
@ -21,8 +20,3 @@ deploy-dotorg.sh
**/*.zip
variations
variations/**
inc/headstart
languages
*.map
.DS_Store
**/*/twentytwentythree/screenshot.png

View file

@ -1,108 +0,0 @@
# Guide to Contributing Code
The following guide will help you through the process of contributing code to the themes repo.
By contributing code to our free themes, you grant its use under the [GNU General Public License v2 (or later)](LICENSE).
## Prerequisites
Our repo is a [monorepo](https://en.wikipedia.org/wiki/Monorepo) which stores all the themes maintained by the Automattic Theme Team. We use [Node.js](https://nodejs.org/) to run utility functions from the top-level directory, and also to run commands for some themes, such as building the CSS files. We are currently using Node version 16.
We recommend using the [Node Version Manager](https://github.com/nvm-sh/nvm) (nvm) since it is the easiest way to install and manage Node for macOS, Linux, and Windows 10. See the Node.js site for additional installation instructions.
Also make sure you have an updated version of git installed on your computer, as well as a GitHub account.
## Local Environment Setup
We recommend setting up a local WordPress environment to test any changes.
You can use the [wp-env package](https://github.com/WordPress/gutenberg/blob/trunk/packages/env/README.md) for setting up a WordPress environment locally. You'll need to install Docker to use wp-env.
As an alternative to Docker setup, you can use [Local](https://localwp.com/), [WampServer](http://www.wampserver.com/en/), or [MAMP](https://www.mamp.info/), or even use a remote server.
## Local Themes Setup
Clone the repo locally and then install the dependencies:
```bash
$ git clone git@github.com:Automattic/themes.git
$ cd themes
$ npm install
```
## Coding Standards
Themes code should adhere to the [WordPress coding standards](https://make.wordpress.org/core/handbook/best-practices/coding-standards/). This repo contains a pre-commit hook which enables you to detect and fix code that doesn't follow the standards.
To set this up follow these instructions:
1. Run `npm install` in the root of the repo.
2. Run `composer install`
Now when you commit changes to a file PHPCBF will attempt to fix any issues with the file.
This will also install the [WordPress-standard Prettier Configuration](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-prettier-config/) which can (optionally) be used in your IDE or command-line to format your code via [Prettier](https://prettier.io/docs/en/editors.html).
### Browser Support
We support the same browsers as WordPress Core, [listed here](https://make.wordpress.org/core/handbook/best-practices/browser-support/).
## Contributing CSS
A great way to get started with contributing to our themes is to pick up a CSS fix or patch.
A lot of our themes use SASS for styling, and then use Node to compile the final CSS. Usually, these themes will have a `sass` directory ([example](https://github.com/Automattic/themes/tree/trunk/varia/sass)), and there will also be a `package.json` file at the root of the theme ([example](https://github.com/Automattic/themes/blob/trunk/varia/package.json)).
In order to change the styles in these themes, you need to edit the SASS file first, and then run a build command to compile the CSS. Here is the process in most cases, using Varia as an example:
1. Change to the theme's directory `cd varia`
2. Find the `.scss` file you need to edit in the `sass` directory
3. Make your changes
4. Run the build command using `npm run build`
5. You should see your updates in the newly built `.css` file/s
If you are unsure what to do, leave us a comment so that we can improve documentation for other themes that may work differently.
### Best Practices
We use the latest features from the CSS, HTML and JS specifications, where our browser support will allow it. [Caniuse.com](https://caniuse.com/) is a great way to check if a feature is supported.
We use intrinsic web design in our themes where possible. [Every Layout](https://every-layout.dev/rudiments/boxes/) is a good resource for this.
## Workflow
Here is a quick summary of our workflow:
1. Create a pull request with your changes
2. Request a review of your PR
3. The Themes Team will provide feedback or approve your PR
4. The team will merge and deploy your PR (to both .com and .org)
### Creating a pull request
When your changes are ready for review you should create a pull request. Here are a couple tips for crafting a great pull request:
* Include the purpose of your PR. Be explicit about the idea or issue your PR solves.
* Reference any existing issues that relate to your PR. This allows everyone to easily see all related discussions.
The Themes Team will be notified when a new pull request is opened and we triage new issues and PRs regularly. Another good way to request a review is to add the team as Reviewers to your PR using the team handle, @Automattic/theam.
Once your PR has been approved, the Themes Team will merge and deploy your change to both .com and .org. **Please note that merging a PR does not automatically deploy a change.**
## Deployments
The easiest way to deploy a change is to let the Themes Team handle it! This is because not everyone has a sandbox or the appropriate commit rights to handle a deployment.
Deploying changes is part of the team's daily processes. We try to deploy approved changes as soon as possible, often multiple times a day. Please leave a comment if you have any questions or you want us to trigger a deploy.
### Triggering a deployment
If you have a sandbox and have the correct commit rights, you can use one of our sandbox tools to trigger your own deployment.
From the top-level directory, run `npm run deploy` and follow the prompts. Please make sure to test your changes on your sandbox before completing the deployment.
## Sandbox Tools
If you use a sandbox to test or develop your themes you can use a couple of utilities to operate on that sandbox.
- From the top-level directory, run `node ./theme-utils.mjs clean-sandbox` to bring the public themes GIT repository to a clean state. (This will only matter if your sandbox uses GIT such as how _WordPress.com_ is currently managed.) Alternately you can trigger that as an npm script: `npm run sandbox:clean`. `npm run sandbox:clean-all` will clean the entire sandbox.
- From the top-level directory, run `node ./theme-utils.mjs push-to-sandbox` to push your entire working copy to the public themes folder of your sandbox. Alternately you can trigger this as an npm script: `npm run deploy:push:all` This command will rsync your local copy with the exception of anything in the `.sandbox-ignore` file. You should clean your sandbox before pushing any changes to it. `node ./theme-utils.mjs push-changes-to-sandbox` or `npm run deploy:push:changes` alternatively will push only files that have changed since the last deployment.

View file

@ -1,39 +1,39 @@
# Automattic Themes
# Automattic's Free Themes
The development repository for themes maintained by the [Automattic Theme Team](https://themeshaper.com/about/).
## Maintainers
## What's Here
These themes are maintained by the [Automattic Theme Team](https://themeshaper.com/about/).
We're committed to imagining and creating the future of themes. Our latest themes are [block themes](https://developer.wordpress.org/block-editor/how-to-guides/themes/block-theme-overview/) — they depend on the latest features available in the [Gutenberg plugin](https://wordpress.org/plugins/gutenberg/). Read about our latest themes built to support full-site editing [here](https://wordpress.com/blog/2022/03/09/customize-your-entire-site-with-new-block-themes/).
## Submitting issues
<img width="1399" alt="A gallery of block themes with a variety of styles" src="https://user-images.githubusercontent.com/5375500/159330814-8f8883f3-1cd4-44a6-a404-05c8f800ac93.png">
Before submitting your issue, make sure it has not been discussed earlier. You can search for existing tickets [here](https://github.com/Automattic/themes/search).
## Contributing
Here are some tips to consider and to help you write a great report:
### Issues
* Themes support Microsoft Internet Explorer 11 and Edge, as well as the latest two versions of all other major browsers.
* Themes are backwards compatible with the two versions prior to the current stable version of WordPress.
* Themes use HTML5 markup.
* Translation files should not be included in PRs, as these are handled by WordPress.com. [See here for information on contributing to i18n efforts on WordPress.com](https://translate.wordpress.com/).
Before submitting your issue, please search for an existing or related ticket [here](https://github.com/Automattic/themes/search).
## Contributing code
Here are some tips to consider for writing a useful report:
Found a bug you can fix? Fantastic! Patches are always welcome. Here are a couple tips for crafting a great pull request:
* Share steps for replicating the issue.
* Add screenshots and videos where helpful.
* Share your environment details, including what version of WordPress and Gutenberg you're using
* Include the purpose of your PR. Be explicit about the issue your PR solves.
* Reference any existing issues that relate to your PR. This allows everyone to easily see all related discussions.
### Code
By contributing code to our free themes, you grant its use under the [GNU General Public License v2 (or later)](LICENSE).
Patches and ideas in the form of code are always welcome! A great way to get started is to work on a [CSS fix](https://github.com/Automattic/themes/blob/trunk/CONTRIBUTING.md#contributing-css) or a [Good First Issue](https://github.com/Automattic/themes/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22). Please read our [full guide to contributing](https://github.com/Automattic/themes/blob/trunk/CONTRIBUTING.md) for more information.
## Testing pull requests
### Testing pull requests
#### Using GitHub
### Using GitHub
1. Clone repository locally `git clone git@github.com:Automattic/themes.git`
2. [Identify the branch](https://cloudup.com/cAy1j0D8tvH) of the pull request, e.g. `update/#1889`
3. Check out featured branch of pull request, e.g. `git checkout update/#1889`
4. Symlink or copy affected theme OR zip affected theme and import into WordPress site
#### Manually download
### Manually download
1. Identify and visit [the branch](https://cloudup.com/cAy1j0D8tvH) of the pull request.
2. Change the `/tree/` part of the branch's URL to `archive`, and add a `.zip` to the end to download a zip of the branch. e.g. `https://github.com/Automattic/themes/tree/update/%231889` would become `https://github.com/Automattic/themes/archive/update/%231889.zip`
@ -42,7 +42,19 @@ Patches and ideas in the form of code are always welcome! A great way to get sta
**Note:** In case the affected theme already exists on the WordPress site, it needs to be deleted before the theme zip file gets uploaded.
### Packaging for WordPress.org Themes Showcase
### Coding Standards
Themes code should adhere to the [WordPress coding standards](https://make.wordpress.org/core/handbook/best-practices/coding-standards/). This repo contains a pre-commit hook which enables you to detect and fix code that doesn't follow the standards.
To set this up follow these instructions:
1. Run `npm i` in the root of the repo.
2. Run `composer install`
Now when you commit changes to a file PHPCBF will attempt to fix any issues with the file.
This will also install the [WordPress-standard Prettier Configuration](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-prettier-config/) which can (optionally) be used in your IDE or command-line to format your code via (Prettier)[https://prettier.io/docs/en/editors.html].
## Packaging for WordPress.org Themes Showcase
The code in this repository mirrors the code needed for the theme to function correctly on _WordPress.com_. To prepare a theme.zip that passes the _WordPress.org_ theme review automated test, do the following:
@ -50,3 +62,20 @@ The code in this repository mirrors the code needed for the theme to function co
- View the generated zip in the respective theme's sub-directory
Note that this script rebuilds the theme to strip it of .com-specific functionality, and discards any changes via git after doing so. _Make sure you have committed any working changes before running this script._
## Sandbox Tools
If you use a sandbox to test or develop your themes you can use a couple of utilities to operate on that sandbox.
- From the top-level directory, run `./sandbox.sh clean` to bring the public themes SVN repository to a clean state. (This will only matter if your sandbox uses SVN such as how _WordPress.com_ is currently managed.) Alternately you can trigger that as an npm script: `npm run sandbox:clean`
- From the top-level directory, run `./sandbox.sh push` to push your working copy to the public themes folder of your sandbox. Alternately you can trigger this as an npm script: `npm run sandbox:push` This command will rsync your local copy with the exception of anything in the `.sandbox-ignore` file. You should clean your sandbox before pushing any changes to it.
NOTE: When pushing changes if your local branch is not current with /trunk you will be prompted to choose an option:
- FORCE where all changes you have locally will be pushed to the sandbox. This is helpful if you are doing regression testing and want to make sure that every change is pushed to the sandbox. This option is used if --force is passed to the script.
- IGNORE where all of the files that were changed on the trunk since your current branch diverged will be ignored (with the exception of any files that you changed in your branch). This is helpful during development, though it is advised that you bring your branch current with /trunk before pushing any builds. This option is used if --ignore is passed to the script.
- You can automatically ignore changes on trunk adding the `--ignore` flag or by running `npm run sandbox:push:ignore`
- In addition to pushing your local changes you can also WATCH for any local changes and trigger the sandbox sync by using the `npm run sandbox:watch` Any changes to your local files will trigger the rsync. Make sure that you have executed `npm install` to ensure the needed dependencies for this are installed.
Note: The first time you run the `sandbox.sh` shell script you will be prompted for details about your sandbox which will be stored in a `.sandbox-config` file. Edit (or delete and be re-prompted) if details about your sandbox change. This file will not be comitted to version controll and will not sync to your sandbox.

View file

@ -1,27 +0,0 @@
#!/bin/bash
# Verify an argument is provided
if [ "$#" -ne 1 ]; then
echo "Usage: $0 <directory>"
echo "Error: Directory argument missing."
exit 1
fi
# Directory containing PHP files, passed as an argument
DIRECTORY="$1"
# Loop over each PHP file in the specified directory
find "$DIRECTORY" -type f -name "*.php" | while read -r file; do
[ -n "$DEBUG" ] && echo "Processing file: $file"
# Check if the file contains the strict_types declaration
if ! grep -qE 'declare\s*\(\s*strict_types\s*=\s*1\s*\)\s*;' "$file"; then
[ -n "$DEBUG" ] && echo "Declaration not found in: $file"
# If not, prepend the strict_types declaration
{
echo '<?php declare( strict_types = 1 ); ?>'
cat "$file"
} > "$file.tmp" && mv "$file.tmp" "$file"
else
[ -n "$DEBUG" ] && echo "Declaration found in: $file"
fi
done

Binary file not shown.

Before

Width:  |  Height:  |  Size: 415 KiB

View file

@ -1,85 +0,0 @@
<?php
/**
* Adonay functions and definitions
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package Adonay
* @since Adonay 1.0
*/
if ( ! function_exists( 'adonay_support' ) ) :
/**
* Sets up theme defaults and registers support for various WordPress features.
*
* @since Adonay 1.0
*
* @return void
*/
function adonay_support() {
// Enqueue editor styles.
add_editor_style( 'style.css' );
// Make theme available for translation.
load_theme_textdomain( 'adonay' );
}
endif;
add_action( 'after_setup_theme', 'adonay_support' );
if ( ! function_exists( 'adonay_styles' ) ) :
/**
* Enqueue styles.
*
* @since Adonay 1.0
*
* @return void
*/
function adonay_styles() {
// Register theme stylesheet.
wp_register_style(
'adonay-style',
get_stylesheet_directory_uri() . '/style.css',
array(),
wp_get_theme()->get( 'Version' )
);
// Enqueue theme stylesheet.
wp_enqueue_style( 'adonay-style' );
}
endif;
add_action( 'wp_enqueue_scripts', 'adonay_styles' );
/**
* Register pattern categories.
*/
if ( ! function_exists( 'adonay_pattern_categories' ) ) :
/**
* Register pattern categories
*
* @since Adonay 1.0
* @return void
*/
function adonay_pattern_categories() {
register_block_pattern_category(
'page',
array(
'label' => _x( 'Pages', 'Block pattern category', 'adonay' ),
'description' => __( 'A collection of full page layouts.', 'adonay' ),
)
);
}
endif;
add_action( 'init', 'adonay_pattern_categories' );

View file

@ -1,11 +0,0 @@
<!-- wp:spacer {"height":"var(--wp--preset--spacing--80)"} -->
<div style="height:var(--wp--preset--spacing--80)" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var(--wp--preset--spacing--60)","bottom":"var(--wp--preset--spacing--60)"}}}} -->
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)"><!-- wp:paragraph {"align":"left","style":{"typography":{"fontSize":"14px"}}} -->
<p class="has-text-align-left" style="font-size:14px">Designed with <a href="https://wordpress.org" rel="nofollow">WordPress</a></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

View file

@ -1,11 +0,0 @@
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|60","top":"var:preset|spacing|60","right":"var:preset|spacing|50","left":"var:preset|spacing|50"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--50)"><!-- wp:site-title {"fontSize":"large"} /-->
<!-- wp:navigation {"ref":4,"overlayBackgroundColor":"base","overlayTextColor":"contrast","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right","orientation":"horizontal"},"style":{"spacing":{"margin":{"top":"0"}}}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:spacer {"height":"var(--wp--preset--spacing--80)"} -->
<div style="height:var(--wp--preset--spacing--80)" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->

View file

@ -1,7 +0,0 @@
<!-- wp:group {"layout":{"type":"default"}} -->
<div class="wp-block-group"><!-- wp:group {"layout":{"type":"flex","justifyContent":"left"}} -->
<div class="wp-block-group"><!-- wp:post-date {"isLink":true,"fontSize":"small"} /-->
<!-- wp:post-terms {"term":"category","fontSize":"small"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

View file

@ -1,16 +0,0 @@
<?php
/**
* Title: A 404 page
* Slug: adonay/404
* Inserter: no
*/
?>
<!-- wp:heading {"textAlign":"center","level":1,"fontSize":"x-large"} -->
<h1 class="has-text-align-center has-x-large-font-size" id="oops-that-page-can-t-be-found"><?php echo esc_html__( 'Oops! That page can&rsquo;t be found.', 'adonay' ); ?></h1>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p><?php echo esc_html__( 'It looks like nothing was found at this location. Maybe try a search?', 'adonay' ); ?></p>
<!-- /wp:paragraph -->

View file

@ -1,52 +0,0 @@
<?php
/**
* Title: Comments
* slug: adonay/comments
* inserter: no
*/
?>
<!-- wp:comments {"className":"wp-block-comments-query-loop"} -->
<div class="wp-block-comments wp-block-comments-query-loop">
<!-- wp:comments-title {"level":3} /-->
<!-- wp:comment-template -->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|50"}}}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--50)">
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"},"style":{"spacing":{"blockGap":"0.5em"}}} -->
<div class="wp-block-group">
<!-- wp:avatar {"size":40,"style":{"spacing":{"margin":{"top":"0.5em"}}}} /-->
<!-- wp:group -->
<div class="wp-block-group">
<!-- wp:comment-author-name /-->
<!-- wp:group {"layout":{"type":"flex"},"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"0.5em"}}} -->
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px">
<!-- wp:comment-date {"format":"F j, Y \\a\\t g:i a"} /-->
<!-- wp:comment-edit-link /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
<!-- wp:comment-content /-->
<!-- wp:comment-reply-link /-->
</div>
<!-- /wp:group -->
<!-- /wp:comment-template -->
<!-- wp:comments-pagination -->
<!-- wp:comments-pagination-previous /-->
<!-- wp:comments-pagination-numbers /-->
<!-- wp:comments-pagination-next /-->
<!-- /wp:comments-pagination -->
<!-- wp:post-comments-form /-->
</div>
<!-- /wp:comments -->

View file

@ -1,33 +0,0 @@
<?php
/**
* Title: Default footer
* Slug: adonay/footer
* Categories: footer
* Block Types: core/template-part/footer
*/
?>
<!-- wp:spacer {"height":"var(--wp--preset--spacing--80)"} -->
<div style="height:var(--wp--preset--spacing--80)" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var(--wp--preset--spacing--60)","bottom":"var(--wp--preset--spacing--60)"}}}} -->
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)">
<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center">
<?php
/* Translators: WordPress link. */
$wordpress_link = '<a href="' . esc_url( __( 'https://wordpress.org', 'adonay' ) ) . '" rel="nofollow">WordPress</a>';
echo sprintf(
esc_html__( 'Designed with %1$s', 'adonay' ),
$wordpress_link
);
?>
</p>
<!-- /wp:paragraph -->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->

View file

@ -1,10 +0,0 @@
<?php
/**
* Title: Hidden No Results Content
* Slug: adonay/hidden-no-results-content
* Inserter: no
*/
?>
<!-- wp:paragraph -->
<p><?php echo esc_html_x( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'Message explaining that there are no results returned from a search', 'adonay' ); ?></p>
<!-- /wp:paragraph -->

View file

@ -1,51 +0,0 @@
<?php
/**
* Title: home
* Slug: adonay/home
* Categories: hidden
* Inserter: no
*/
?>
<!-- wp:columns {"lock":{"move":false,"remove":true},"style":{"spacing":{"blockGap":{"left":"0"}}}} -->
<div class="wp-block-columns"><!-- wp:column {"style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}}} -->
<div class="wp-block-column" style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"style":{"dimensions":{"minHeight":"100%"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"left","verticalAlignment":"space-between"}} -->
<div class="wp-block-group" style="min-height:100%"><!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"100px","selfStretch":"fixed"}}} -->
<div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group"><!-- wp:site-title /-->
<!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.3"},"spacing":{"margin":{"right":"var:preset|spacing|80"}}}} -->
<p style="margin-right:var(--wp--preset--spacing--80);line-height:1.3">Im a photographer and art director based in Manchester, United Kingdom. When Im not shooting weddings and portraits, you can find me posting on Instagram. Currently available for hire.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
<p><a href="#">Get in Touch</a></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><a href="#">Instagram</a></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><a href="#">X</a></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><a href="#">Youtube</a></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/adonay_image-1-scaled.jpg","id":149,"dimRatio":0,"overlayColor":"base","isUserOverlayColor":true,"minHeight":100,"minHeightUnit":"vh","contentPosition":"bottom right","style":{"layout":{"selfStretch":"fit","flexSize":null},"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}},"color":[]},"layout":{"type":"constrained"}} -->
<div class="wp-block-cover has-custom-content-position is-position-bottom-right" style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50);min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-base-background-color has-background-dim-0 has-background-dim"></span><img class="wp-block-cover__image-background wp-image-149" alt="" src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/adonay_image-1-scaled.jpg" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"align":"right","placeholder":"Write title…","style":{"typography":{"fontSize":"14px"}}} -->
<p class="has-text-align-right" style="font-size:14px">Designed with WordPress</p>
<!-- /wp:paragraph --></div></div>
<!-- /wp:cover --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->

View file

@ -1,41 +0,0 @@
<?php
/**
* Title: Homepage with a small, rounded image
* Slug: adonay/homepage-with-a-small-rounded-image
* Categories: page
* Inserter: yes
*/
?>
<!-- wp:group {"style":{"dimensions":{"minHeight":"100%"},"spacing":{"padding":{"left":"5.1vw","right":"5.1vw","top":"5.1vh","bottom":"5.1vh"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"left","verticalAlignment":"center"}} -->
<div class="wp-block-group" style="min-height:100%;padding-top:5.1vh;padding-right:5.1vw;padding-bottom:5.1vh;padding-left:5.1vw"><!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"100px","selfStretch":"fixed"}}} -->
<div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:image {"id":149,"width":"200px","aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"layout":{"flexSize":"13px","selfStretch":"fixed"}},"className":"is-style-rounded"} -->
<figure class="wp-block-image size-full is-resized is-style-rounded"><img src="https://linkinbioone.mystagingwebsite.com/wp-content/uploads/2023/11/adonay_image-1-scaled.jpg" alt="" class="wp-image-149" style="aspect-ratio:1;object-fit:cover;width:200px"/></figure>
<!-- /wp:image -->
<!-- wp:spacer {"height":"13px","style":{"layout":{"flexSize":"20px","selfStretch":"fixed"}}} -->
<div style="height:13px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"left"}} -->
<div class="wp-block-group"><!-- wp:site-title /-->
<!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.2","fontSize":"38px"}}} -->
<p style="font-size:38px;line-height:1.2">Im a photographer and art director based in Manchester, United Kingdom. When Im not shooting weddings and portraits, you can find me posting on <a href="#">Instagram</a>. Currently available for hire.</p>
<!-- /wp:paragraph -->
<!-- wp:social-links {"iconColor":"contrast","iconColorValue":"#ffffff","size":"has-large-icon-size","className":"is-style-logos-only"} -->
<ul class="wp-block-social-links has-large-icon-size has-icon-color is-style-logos-only"><!-- wp:social-link {"url":"#","service":"instagram"} /-->
<!-- wp:social-link {"url":"#","service":"x"} /-->
<!-- wp:social-link {"url":"#","service":"youtube"} /--></ul>
<!-- /wp:social-links --></div>
<!-- /wp:group -->
<!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"100px","selfStretch":"fixed"}}} -->
<div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group -->

View file

@ -1,51 +0,0 @@
<?php
/**
* Title: Homepage with a full height image
* Slug: adonay/homepage-with-a-full-height-image
* Categories: page
* Inserter: yes
*/
?>
<!-- wp:columns {"lock":{"move":false,"remove":true},"style":{"spacing":{"blockGap":{"left":"0"}}}} -->
<div class="wp-block-columns"><!-- wp:column {"style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}}}} -->
<div class="wp-block-column" style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"style":{"dimensions":{"minHeight":"100%"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"left","verticalAlignment":"space-between"}} -->
<div class="wp-block-group" style="min-height:100%"><!-- wp:spacer {"height":"0px","style":{"layout":{"flexSize":"100px","selfStretch":"fixed"}}} -->
<div style="height:0px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group"><!-- wp:site-title /-->
<!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.3"},"spacing":{"margin":{"right":"var:preset|spacing|80"}}}} -->
<p style="margin-right:var(--wp--preset--spacing--80);line-height:1.3">Im a photographer and art director based in Manchester, United Kingdom. When Im not shooting weddings and portraits, you can find me posting on Instagram. Currently available for hire.</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:paragraph -->
<p><a href="#">Get in Touch</a></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><a href="#">Instagram</a></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><a href="#">X</a></p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><a href="#">Youtube</a></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:column -->
<!-- wp:column -->
<div class="wp-block-column"><!-- wp:cover {"url":"https://linkinbioone.mystagingwebsite.com/wp-content/uploads/2023/11/adonay_image-1-scaled.jpg","id":149,"dimRatio":0,"overlayColor":"base","isUserOverlayColor":true,"minHeight":100,"minHeightUnit":"vh","contentPosition":"bottom right","style":{"layout":{"selfStretch":"fit","flexSize":null},"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}},"color":{}},"layout":{"type":"constrained"}} -->
<div class="wp-block-cover has-custom-content-position is-position-bottom-right" style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50);min-height:100vh"><span aria-hidden="true" class="wp-block-cover__background has-base-background-color has-background-dim-0 has-background-dim"></span><img class="wp-block-cover__image-background wp-image-149" alt="" src="https://linkinbioone.mystagingwebsite.com/wp-content/uploads/2023/11/adonay_image-1-scaled.jpg" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:paragraph {"align":"right","placeholder":"Write title…","style":{"typography":{"fontSize":"14px"}}} -->
<p class="has-text-align-right" style="font-size:14px">Designed with WordPress</p>
<!-- /wp:paragraph --></div></div>
<!-- /wp:cover --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->

View file

@ -1,62 +0,0 @@
=== Adonay ===
Contributors: Automattic
Requires at least: 6.0
Tested up to: 6.4.1
Requires PHP: 5.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
== Description ==
Adonay is crafted for single page websites that want to leave a stunning and memorable first impression. It also provides post and page templates for those looking to customize and broaden their website's functionality. Adonay comes with 3 distinctive style variations and 12 vibrant color options.
== Changelog ==
= 1.0.0 =
* Initial release
== Copyright ==
Adonay is based on Block Canvas (https://github.com/Automattic/themes/tree/trunk/block-canvas), (C) Automattic, [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html) Block Canvas WordPress Theme, (C) 2022 Automattic Block Canvas is distributed under the terms of the GNU GPL.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
BioRhyme Expanded Font
Copyright 2016 Aoife Mooney (aoifemooney@gmail.com www.aoifemooney.org)
This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: http://scripts.sil.org/OFL
License URL: http://scripts.sil.org/OFL
Source: http://www.aoifemooney.org
-- End of BioRhyme Expanded Font credits --
Instrument Serif Font
Copyright 2022 The Instrument Serif Project Authors (https://github.com/Instrument/instrument-serif)
This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL
License URL: https://scripts.sil.org/OFL
Source: www.fragtypefoundry.xyz
-- End of Instrument Serif Font credits --
Public Sans Font
Copyright 2015 The Public Sans Project Authors (https://github.com/uswds/public-sans)
This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL. The license for USWDSs Modified Version,...
License URL: SIL Open Font License, Version 1.1: https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL_web; USWDS Modified Version: https://github.com/uswds/public-sans/blob/master/LICENSE.md
-- End of Public Sans Font credits --
adonay_image-1-scaled.jpg
CC0 License
https://nappy.co/photo/435
Zilla Slab Font
Copyright 2017, The Mozilla Foundation
Source: http://www.typotheque.com
-- End of Zilla Slab Font credits --
Libre Caslon Condensed Font
Copyright 2020 The Libre Caslon Text Project Authors (https://github.com/thundernixon/Libre-Caslon)
This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL
License URL: https://scripts.sil.org/OFL
Source: https://fonts.google.com/
-- End of Libre Caslon Condensed Font credits --

Binary file not shown.

Before

Width:  |  Height:  |  Size: 334 KiB

View file

@ -1,35 +0,0 @@
/*
Theme Name: Adonay
Theme URI:
Author: Automattic
Author URI: https://automattic.com
Description: Adonay is crafted for single page websites that want to leave a stunning and memorable first impression. Nonetheless, the theme provides post and page templates for those looking to customize and broaden their website's functionality. Adonay comes with 3 distinctive style variations and an array of 12 vibrant color options.
Requires at least: 6.0
Tested up to: 6.4.1
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adonay
Tags: one-column, two-columns, wide-blocks, block-patterns, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, rtl-language-support, style-variations, template-editing, theme-options, threaded-comments, translation-ready
*/
/*
* Control the hover stylings of outline block style.
* Unnecessary once block styles are configurable via theme.json
* https://github.com/WordPress/gutenberg/issues/42794
*/
.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background):hover {
background-color: var(--wp--preset--color--secondary);
color: var(--wp--preset--color--base);
border-color: var(--wp--preset--color--secondary);
}
/*
* Link styles
* https://github.com/WordPress/gutenberg/issues/42319
*/
a {
text-decoration-thickness: .0625em !important;
text-underline-offset: .15em;
}

View file

@ -1,36 +0,0 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#f1f1f1",
"name": "Base",
"slug": "base"
},
{
"color": "#171db7",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#171db7",
"name": "Primary",
"slug": "primary"
},
{
"color": "#171db7",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#ececec",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"title": "Accent Blue",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -1,36 +0,0 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#000000",
"name": "Base",
"slug": "base"
},
{
"color": "#ffffff",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#ffffff",
"name": "Primary",
"slug": "primary"
},
{
"color": "#d7d7d7",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#262626",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"title": "Black",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -1,67 +0,0 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#feffcc",
"name": "Base",
"slug": "base"
},
{
"color": "#3f4b50",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#3f4b50",
"name": "Primary",
"slug": "primary"
},
{
"color": "#3f4b50",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#ffffe2",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "0px"
}
},
"core/site-title": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-serif)",
"fontSize": "8rem",
"lineHeight": "1.2"
}
}
},
"elements": {
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-caslon-condensed)",
"fontStyle": "normal",
"fontWeight": "400"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-caslon-condensed)",
"fontSize": "1.6rem",
"fontStyle": "normal",
"fontWeight": "400"
}
},
"title": "Funky Serif Cream",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -1,67 +0,0 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#232732",
"name": "Base",
"slug": "base"
},
{
"color": "#ffffff",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#ffffff",
"name": "Primary",
"slug": "primary"
},
{
"color": "#ffffff",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#313846",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "0px"
}
},
"core/site-title": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-serif)",
"fontSize": "8rem",
"lineHeight": "1.2"
}
}
},
"elements": {
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-caslon-condensed)",
"fontStyle": "normal",
"fontWeight": "400"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-caslon-condensed)",
"fontSize": "1.6rem",
"fontStyle": "normal",
"fontWeight": "400"
}
},
"title": "Funky Serif Indigo",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -1,67 +0,0 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#ecdddd",
"name": "Base",
"slug": "base"
},
{
"color": "#853322",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#853322",
"name": "Primary",
"slug": "primary"
},
{
"color": "#853322",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#f4efef",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "0px"
}
},
"core/site-title": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-serif)",
"fontSize": "8rem",
"lineHeight": "1.2"
}
}
},
"elements": {
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-caslon-condensed)",
"fontStyle": "normal",
"fontWeight": "400"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-caslon-condensed)",
"fontSize": "1.6rem",
"fontStyle": "normal",
"fontWeight": "400"
}
},
"title": "Funky Serif Pink",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -1,82 +0,0 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#f3f3f3",
"name": "Base",
"slug": "base"
},
{
"color": "#ab18d0",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#ab18d0",
"name": "Primary",
"slug": "primary"
},
{
"color": "#ab18d0",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#ebebeb",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"radius": "0px"
}
},
"core/cover": {
"filter": {
"duotone": "var(--wp--preset--duotone--duotone-2)"
}
},
"core/image": {
"filter": {
"duotone": "var(--wp--preset--duotone--duotone-2)"
}
},
"core/post-featured-image": {
"filter": {
"duotone": "var(--wp--preset--duotone--duotone-2)"
}
},
"core/site-title": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--instrument-serif)",
"fontSize": "8rem",
"lineHeight": "1.2"
}
}
},
"elements": {
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-caslon-condensed)",
"fontStyle": "normal",
"fontWeight": "400"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--libre-caslon-condensed)",
"fontSize": "1.6rem",
"fontStyle": "normal",
"fontWeight": "400"
}
},
"title": "Funky Serif Purple",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -1,95 +0,0 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#542723",
"name": "Base",
"slug": "base"
},
{
"color": "#ffdef7",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#ffdef7",
"name": "Primary",
"slug": "primary"
},
{
"color": "#ffdef7",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#6d3731",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"bottom": {
"style": "none",
"width": "0px"
},
"color": null,
"left": {
"style": "none",
"width": "0px"
},
"radius": "100px",
"right": {
"style": "none",
"width": "0px"
},
"style": null,
"top": {
"style": "none",
"width": "0px"
},
"width": null
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--biorhyme)",
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/search": {
"border": {
"radius": "100px"
}
},
"core/site-title": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--biorhyme-expanded)",
"fontSize": "3.6rem"
}
}
},
"elements": {
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--biorhyme)",
"fontStyle": "normal",
"fontWeight": "700"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--zilla-slab)",
"fontSize": "1.5rem",
"fontStyle": "normal",
"fontWeight": "300",
"lineHeight": "1.3"
}
},
"title": "Funky Slab Brown",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -1,95 +0,0 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#f5c1ad",
"name": "Base",
"slug": "base"
},
{
"color": "#24101f",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#24101f",
"name": "Primary",
"slug": "primary"
},
{
"color": "#24101f",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#eab39d",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"bottom": {
"style": "none",
"width": "0px"
},
"color": null,
"left": {
"style": "none",
"width": "0px"
},
"radius": "100px",
"right": {
"style": "none",
"width": "0px"
},
"style": null,
"top": {
"style": "none",
"width": "0px"
},
"width": null
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--biorhyme)",
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/search": {
"border": {
"radius": "100px"
}
},
"core/site-title": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--biorhyme-expanded)",
"fontSize": "3.6rem"
}
}
},
"elements": {
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--biorhyme)",
"fontStyle": "normal",
"fontWeight": "700"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--zilla-slab)",
"fontSize": "1.5rem",
"fontStyle": "normal",
"fontWeight": "300",
"lineHeight": "1.3"
}
},
"title": "Funky Slab Desert",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -1,110 +0,0 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#feeee8",
"name": "Base",
"slug": "base"
},
{
"color": "#11620a",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#11620a",
"name": "Primary",
"slug": "primary"
},
{
"color": "#11620a",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#f8e0d8",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"bottom": {
"style": "none",
"width": "0px"
},
"color": null,
"left": {
"style": "none",
"width": "0px"
},
"radius": "100px",
"right": {
"style": "none",
"width": "0px"
},
"style": null,
"top": {
"style": "none",
"width": "0px"
},
"width": null
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--biorhyme)",
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/cover": {
"filter": {
"duotone": "var(--wp--preset--duotone--duotone-1)"
}
},
"core/image": {
"filter": {
"duotone": "var(--wp--preset--duotone--duotone-1)"
}
},
"core/post-featured-image": {
"filter": {
"duotone": "var(--wp--preset--duotone--duotone-1)"
}
},
"core/search": {
"border": {
"radius": "100px"
}
},
"core/site-title": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--biorhyme-expanded)",
"fontSize": "3.6rem"
}
}
},
"elements": {
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--biorhyme)",
"fontStyle": "normal",
"fontWeight": "700"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--zilla-slab)",
"fontSize": "1.5rem",
"fontStyle": "normal",
"fontWeight": "300",
"lineHeight": "1.3"
}
},
"title": "Funky Slab Linen",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -1,95 +0,0 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#5b5b39",
"name": "Base",
"slug": "base"
},
{
"color": "#fffb83",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#fffb83",
"name": "Primary",
"slug": "primary"
},
{
"color": "#fffb83",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#535332",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"styles": {
"blocks": {
"core/button": {
"border": {
"bottom": {
"style": "none",
"width": "0px"
},
"color": null,
"left": {
"style": "none",
"width": "0px"
},
"radius": "100px",
"right": {
"style": "none",
"width": "0px"
},
"style": null,
"top": {
"style": "none",
"width": "0px"
},
"width": null
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--biorhyme)",
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"core/search": {
"border": {
"radius": "100px"
}
},
"core/site-title": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--biorhyme-expanded)",
"fontSize": "3.6rem"
}
}
},
"elements": {
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--biorhyme)",
"fontStyle": "normal",
"fontWeight": "700"
}
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--zilla-slab)",
"fontSize": "1.5rem",
"fontStyle": "normal",
"fontWeight": "300",
"lineHeight": "1.3"
}
},
"title": "Funky Slab Olive",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -1,36 +0,0 @@
{
"settings": {
"color": {
"palette": [
{
"color": "#fefefe",
"name": "Base",
"slug": "base"
},
{
"color": "#1a1a1a",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#1a1a1a",
"name": "Primary",
"slug": "primary"
},
{
"color": "#555555",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#eeeeee",
"name": "Tertiary",
"slug": "tertiary"
}
]
}
},
"title": "White",
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

View file

@ -1,17 +0,0 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","style":{"spacing":{"blockGap":"var:preset|spacing|50","margin":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
<main class="wp-block-group" style="margin-top:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--60)"><!-- wp:group {"align":"wide","layout":{"type":"default"}} -->
<div class="wp-block-group alignwide"><!-- wp:heading {"textAlign":"left","level":1,"fontSize":"large"} -->
<h1 class="wp-block-heading has-text-align-left has-large-font-size" id="oops-that-page-can-t-be-found">Oops! That page cant be found.</h1>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>It looks like nothing was found at this location. Maybe try a search?</p>
<!-- /wp:paragraph -->
<!-- wp:search {"label":""} /--></div>
<!-- /wp:group --></main>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -1,33 +0,0 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:query {"queryId":1,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"constrained"}} -->
<main class="wp-block-query"><!-- wp:query-title {"type":"archive","textAlign":"left","align":"wide","style":{"spacing":{"margin":{"bottom":"100px"}}},"fontSize":"large"} /-->
<!-- wp:post-template {"align":"wide"} -->
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|60"}}} -->
<div class="wp-block-group"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"auto"} /-->
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"left"}} -->
<div class="wp-block-group"><!-- wp:template-part {"slug":"post-meta"} /-->
<!-- wp:post-title {"textAlign":"left","isLink":true} /--></div>
<!-- /wp:group -->
<!-- wp:post-excerpt /-->
<!-- wp:spacer {"height":"40px"} -->
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide"><!-- wp:query-pagination {"paginationArrow":"chevron","align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination --></div>
<!-- /wp:group --></main>
<!-- /wp:query -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -1 +0,0 @@
<!-- wp:pattern {"slug":"adonay/home"} /-->

View file

@ -1,31 +0,0 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:query {"queryId":1,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"constrained"}} -->
<main class="wp-block-query"><!-- wp:post-template {"align":"wide"} -->
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|60"}}} -->
<div class="wp-block-group"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"auto"} /-->
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"left"}} -->
<div class="wp-block-group"><!-- wp:template-part {"slug":"post-meta"} /-->
<!-- wp:post-title {"textAlign":"left","isLink":true} /--></div>
<!-- /wp:group -->
<!-- wp:post-excerpt /-->
<!-- wp:spacer {"height":"40px"} -->
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide"><!-- wp:query-pagination {"paginationArrow":"chevron","align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination --></div>
<!-- /wp:group --></main>
<!-- /wp:query -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -1,19 +0,0 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","lock":{"move":false,"remove":false},"layout":{"type":"constrained"}} -->
<main class="wp-block-group"><!-- wp:post-featured-image {"aspectRatio":"3/2","align":"wide"} /-->
<!-- wp:spacer {"height":"30px"} -->
<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:post-title {"textAlign":"left","align":"wide","fontSize":"x-large"} /--></main>
<!-- /wp:group -->
<!-- wp:group {"lock":{"move":false,"remove":true},"align":"full","layout":{"type":"default"}} -->
<div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"0","left":"0"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group alignfull" style="padding-right:0;padding-left:0"><!-- wp:post-content {"lock":{"move":false,"remove":false},"align":"full","layout":{"type":"constrained"}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -1,41 +0,0 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:query-title {"type":"search","fontSize":"large"} /-->
<!-- wp:search {"showLabel":false} /-->
<!-- wp:spacer {"height":"40px"} -->
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group -->
<!-- wp:query {"queryId":1,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"constrained"}} -->
<main class="wp-block-query"><!-- wp:post-template {"align":"wide"} -->
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|60"}}} -->
<div class="wp-block-group"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"auto"} /-->
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"left"}} -->
<div class="wp-block-group"><!-- wp:template-part {"slug":"post-meta"} /-->
<!-- wp:post-title {"textAlign":"left","isLink":true} /--></div>
<!-- /wp:group -->
<!-- wp:post-excerpt /-->
<!-- wp:spacer {"height":"40px"} -->
<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer --></div>
<!-- /wp:group -->
<!-- /wp:post-template -->
<!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignwide"><!-- wp:query-pagination {"paginationArrow":"chevron","align":"wide","layout":{"type":"flex","justifyContent":"space-between"}} -->
<!-- wp:query-pagination-previous /-->
<!-- wp:query-pagination-next /-->
<!-- /wp:query-pagination --></div>
<!-- /wp:group --></main>
<!-- /wp:query -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -1,61 +0,0 @@
<!-- wp:template-part {"slug":"header","tagName":"header"} /-->
<!-- wp:group {"tagName":"main","lock":{"move":false,"remove":false},"layout":{"type":"constrained"}} -->
<main class="wp-block-group"><!-- wp:template-part {"slug":"post-meta","align":"wide"} /-->
<!-- wp:post-title {"textAlign":"left","align":"wide","fontSize":"x-large"} /-->
<!-- wp:spacer {"height":"30px"} -->
<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:post-featured-image {"aspectRatio":"auto","align":"wide"} /--></main>
<!-- /wp:group -->
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"0","left":"0"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group alignfull" style="padding-right:0;padding-left:0"><!-- wp:post-content {"lock":{"move":false,"remove":false},"align":"full","layout":{"type":"constrained"}} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group"><!-- wp:spacer {"height":"4rem"} -->
<div style="height:4rem" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:comments {"className":"wp-block-comments-query-loop"} -->
<div class="wp-block-comments wp-block-comments-query-loop"><!-- wp:comments-title {"level":3} /-->
<!-- wp:comment-template -->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"var:preset|spacing|50"}}}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:var(--wp--preset--spacing--50)"><!-- wp:group {"style":{"spacing":{"blockGap":"0.5em"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:avatar {"size":40,"style":{"spacing":{"margin":{"top":"0.5em"}}}} /-->
<!-- wp:group -->
<div class="wp-block-group"><!-- wp:comment-author-name /-->
<!-- wp:group {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"},"blockGap":"0.5em"}},"layout":{"type":"flex"}} -->
<div class="wp-block-group" style="margin-top:0px;margin-bottom:0px"><!-- wp:comment-date {"format":"F j, Y \\a\\t g:i a"} /-->
<!-- wp:comment-edit-link /--></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- wp:comment-content /-->
<!-- wp:comment-reply-link /--></div>
<!-- /wp:group -->
<!-- /wp:comment-template -->
<!-- wp:comments-pagination {"paginationArrow":"chevron","layout":{"type":"flex","justifyContent":"space-between"}} -->
<!-- wp:comments-pagination-previous /-->
<!-- wp:comments-pagination-next /-->
<!-- /wp:comments-pagination -->
<!-- wp:post-comments-form /--></div>
<!-- /wp:comments --></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->

View file

@ -1,733 +0,0 @@
{
"settings": {
"appearanceTools": true,
"color": {
"duotone": [
{
"colors": [
"#4F9249",
"#FEEEE8"
],
"name": "Green",
"slug": "duotone-1"
},
{
"colors": [
"#BC2BE0",
"#F3F3F3"
],
"name": "Purple",
"slug": "duotone-2"
}
],
"palette": [
{
"color": "#ce0808",
"name": "Base",
"slug": "base"
},
{
"color": "#ffffff",
"name": "Contrast",
"slug": "contrast"
},
{
"color": "#ffffff",
"name": "Primary",
"slug": "primary"
},
{
"color": "#ffffff",
"name": "Secondary",
"slug": "secondary"
},
{
"color": "#b80c0c",
"name": "Tertiary",
"slug": "tertiary"
}
]
},
"layout": {
"contentSize": "800px",
"wideSize": "800px"
},
"spacing": {
"units": [
"%",
"px",
"em",
"rem",
"vh",
"vw"
]
},
"typography": {
"fluid": true,
"fontFamilies": [
{
"fontFamily": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
"name": "System Font",
"slug": "system-font"
},
{
"fontFace": [
{
"fontFamily": "BioRhyme Expanded",
"fontStyle": "normal",
"fontWeight": "800",
"src": [
"file:./assets/fonts/biorhyme-expanded_normal_800.ttf"
]
}
],
"fontFamily": "BioRhyme Expanded",
"slug": "biorhyme-expanded"
},
{
"fontFace": [
{
"fontFamily": "Instrument Serif",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/instrument-serif_italic_400.ttf"
]
},
{
"fontFamily": "Instrument Serif",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/instrument-serif_normal_400.ttf"
]
}
],
"fontFamily": "Instrument Serif",
"slug": "instrument-serif"
},
{
"fontFace": [
{
"fontFamily": "Public Sans",
"fontStyle": "normal",
"fontWeight": "200",
"src": [
"file:./assets/fonts/public-sans_normal_200.ttf"
]
},
{
"fontFamily": "Public Sans",
"fontStyle": "normal",
"fontWeight": "300",
"src": [
"file:./assets/fonts/public-sans_normal_300.ttf"
]
},
{
"fontFamily": "Public Sans",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/public-sans_normal_400.ttf"
]
},
{
"fontFamily": "Public Sans",
"fontStyle": "normal",
"fontWeight": "500",
"src": [
"file:./assets/fonts/public-sans_normal_500.ttf"
]
},
{
"fontFamily": "Public Sans",
"fontStyle": "normal",
"fontWeight": "600",
"src": [
"file:./assets/fonts/public-sans_normal_600.ttf"
]
},
{
"fontFamily": "Public Sans",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/public-sans_normal_700.ttf"
]
},
{
"fontFamily": "Public Sans",
"fontStyle": "italic",
"fontWeight": "200",
"src": [
"file:./assets/fonts/public-sans_italic_200.ttf"
]
},
{
"fontFamily": "Public Sans",
"fontStyle": "italic",
"fontWeight": "300",
"src": [
"file:./assets/fonts/public-sans_italic_300.ttf"
]
},
{
"fontFamily": "Public Sans",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/public-sans_italic_400.ttf"
]
},
{
"fontFamily": "Public Sans",
"fontStyle": "italic",
"fontWeight": "500",
"src": [
"file:./assets/fonts/public-sans_italic_500.ttf"
]
},
{
"fontFamily": "Public Sans",
"fontStyle": "italic",
"fontWeight": "600",
"src": [
"file:./assets/fonts/public-sans_italic_600.ttf"
]
},
{
"fontFamily": "Public Sans",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/public-sans_italic_700.ttf"
]
}
],
"fontFamily": "Public Sans",
"slug": "public-sans"
},
{
"fontFace": [
{
"fontFamily": "BioRhyme",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/biorhyme_normal_400.ttf"
]
},
{
"fontFamily": "BioRhyme",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/biorhyme_normal_700.ttf"
]
}
],
"fontFamily": "BioRhyme",
"slug": "biorhyme"
},
{
"fontFace": [
{
"fontFamily": "Zilla Slab",
"fontStyle": "normal",
"fontWeight": "300",
"src": [
"file:./assets/fonts/zilla-slab_normal_300.ttf"
]
},
{
"fontFamily": "Zilla Slab",
"fontStyle": "italic",
"fontWeight": "300",
"src": [
"file:./assets/fonts/zilla-slab_italic_300.ttf"
]
},
{
"fontFamily": "Zilla Slab",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/zilla-slab_normal_400.ttf"
]
},
{
"fontFamily": "Zilla Slab",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/zilla-slab_italic_400.ttf"
]
},
{
"fontFamily": "Zilla Slab",
"fontStyle": "normal",
"fontWeight": "500",
"src": [
"file:./assets/fonts/zilla-slab_normal_500.ttf"
]
},
{
"fontFamily": "Zilla Slab",
"fontStyle": "italic",
"fontWeight": "500",
"src": [
"file:./assets/fonts/zilla-slab_italic_500.ttf"
]
},
{
"fontFamily": "Zilla Slab",
"fontStyle": "normal",
"fontWeight": "600",
"src": [
"file:./assets/fonts/zilla-slab_normal_600.ttf"
]
},
{
"fontFamily": "Zilla Slab",
"fontStyle": "italic",
"fontWeight": "600",
"src": [
"file:./assets/fonts/zilla-slab_italic_600.ttf"
]
}
],
"fontFamily": "Zilla Slab",
"slug": "zilla-slab"
},
{
"fontFace": [
{
"fontFamily": "Libre Caslon Condensed",
"fontStyle": "normal",
"fontWeight": "400",
"src": [
"file:./assets/fonts/libre-caslon-condensed_normal_400.otf"
]
},
{
"fontFamily": "Libre Caslon Condensed",
"fontStyle": "italic",
"fontWeight": "400",
"src": [
"file:./assets/fonts/libre-caslon-condensed_italic_400.otf"
]
},
{
"fontFamily": "Libre Caslon Condensed",
"fontStyle": "normal",
"fontWeight": "700",
"src": [
"file:./assets/fonts/libre-caslon-condensed_normal_700.otf"
]
},
{
"fontFamily": "Libre Caslon Condensed",
"fontStyle": "italic",
"fontWeight": "700",
"src": [
"file:./assets/fonts/libre-caslon-condensed_italic_700.otf"
]
}
],
"fontFamily": "Libre Caslon Condensed",
"slug": "libre-caslon-condensed"
}
],
"fontSizes": [
{
"fluid": {
"max": "1.0625rem",
"min": "0.825rem"
},
"name": "Small",
"size": "1rem",
"slug": "small"
},
{
"fluid": {
"max": "1.25rem",
"min": "1rem"
},
"name": "Medium",
"size": "1.125rem",
"slug": "medium"
},
{
"fluid": {
"max": "2rem",
"min": "1.75rem"
},
"name": "Large",
"size": "1.75rem",
"slug": "large"
},
{
"fluid": {
"max": "3rem",
"min": "2.5rem"
},
"name": "Extra Large",
"size": "3rem",
"slug": "x-large"
}
]
},
"useRootPaddingAwareAlignments": true
},
"styles": {
"blocks": {
"core/code": {
"border": {
"bottom": {
"style": "none",
"width": "0px"
},
"color": "var(--wp--preset--color--contrast)",
"left": {
"style": "none",
"width": "0px"
},
"radius": "0.25rem",
"right": {
"style": "none",
"width": "0px"
},
"style": "solid",
"top": {
"style": "none",
"width": "0px"
},
"width": "2px"
},
"color": {
"background": "var(--wp--preset--color--tertiary)"
},
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--50)",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontFamily": "monospace"
}
},
"core/comment-author-name": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-date": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-edit-link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/comment-reply-link": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/gallery": {
"spacing": {
"margin": {
"bottom": "var(--wp--preset--spacing--50)"
}
}
},
"core/list": {
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--70)"
}
}
},
"core/navigation": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/post-author-name": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/post-date": {
"color": {
"text": "var(--wp--preset--color--contrast)"
},
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/post-terms": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
}
},
"core/post-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"spacing": {
"margin": {
"bottom": "0"
}
}
},
"core/pullquote": {
"border": {
"color": "var(--wp--preset--color--contrast)",
"style": "solid",
"width": "1px 0"
},
"spacing": {
"padding": {
"bottom": "var(--wp--preset--spacing--50)",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontSize": "var(--wp--preset--font-size--large)",
"fontStyle": "normal",
"fontWeight": "400",
"lineHeight": "1.4",
"textTransform": "none"
}
},
"core/quote": {
"border": {
"color": "var(--wp--preset--color--primary)",
"style": "solid",
"width": "0 0 0 1px"
},
"spacing": {
"padding": {
"left": "var(--wp--preset--spacing--50)"
}
},
"typography": {
"fontStyle": "normal"
}
},
"core/search": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)",
"lineHeight": "1.6"
}
},
"core/separator": {
"border": {
"color": "currentColor",
"style": "solid",
"width": "0 0 1px 0"
},
"color": {
"text": "var(--wp--preset--color--contrast)"
}
},
"core/site-tagline": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"core/site-title": {
"elements": {
"link": {
":hover": {
"typography": {
"textDecoration": "underline"
}
},
"typography": {
"textDecoration": "none"
}
}
},
"typography": {
"fontSize": "2.9rem",
"fontStyle": "normal",
"fontWeight": "600"
}
}
},
"color": {
"background": "var(--wp--preset--color--base)",
"text": "var(--wp--preset--color--contrast)"
},
"css": "a:any-link {\ncursor: auto;\n text-decoration-thickness: .02em !important;\n text-underline-offset: .20em;\n}\na:where(:not(.wp-element-button)):hover {\n text-decoration: none;\n}",
"elements": {
"button": {
":active": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--base)"
}
},
":focus": {
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--base)"
},
"outline": {
"color": "var(--wp--preset--color--primary)",
"offset": "2px",
"style": "dotted",
"width": "1px"
}
},
":hover": {
"color": {
"background": "var(--wp--preset--color--secondary)",
"text": "var(--wp--preset--color--base)"
}
},
"border": {
"radius": "0.25rem"
},
"color": {
"background": "var(--wp--preset--color--primary)",
"text": "var(--wp--preset--color--base)"
}
},
"h1": {
"typography": {
"fontSize": "var(--wp--preset--font-size--x-large)"
}
},
"h2": {
"typography": {
"fontSize": "var(--wp--preset--font-size--large)"
}
},
"h3": {
"typography": {
"fontSize": "clamp(1.5rem, calc(1.5rem + ((1vw - 0.48rem) * 0.4808)), 1.75rem)"
}
},
"h4": {
"typography": {
"fontSize": "clamp(1.25rem, calc(1.25rem + ((1vw - 0.48rem) * 0.4808)), 1.5rem)"
}
},
"h5": {
"typography": {
"fontSize": "var(--wp--preset--font-size--medium)"
}
},
"h6": {
"typography": {
"fontSize": "var(--wp--preset--font-size--small)"
}
},
"heading": {
"typography": {
"fontFamily": "var(--wp--preset--font-family--public-sans)",
"fontStyle": "normal",
"fontWeight": "500",
"lineHeight": "1.125"
}
},
"link": {
":hover": {
"typography": {
"textDecoration": "none"
}
},
"color": {
"text": "var(--wp--preset--color--secondary)"
}
}
},
"spacing": {
"blockGap": "var(--wp--preset--spacing--40)",
"padding": {
"bottom": "0",
"left": "var(--wp--preset--spacing--50)",
"right": "var(--wp--preset--spacing--50)",
"top": "0"
}
},
"typography": {
"fontFamily": "var(--wp--preset--font-family--public-sans)",
"fontSize": "var(--wp--preset--font-size--medium)",
"fontStyle": "normal",
"fontWeight": "300",
"lineHeight": "1.5"
}
},
"templateParts": [
{
"area": "header",
"name": "header"
},
{
"area": "footer",
"name": "footer"
}
],
"version": 2,
"$schema": "https://schemas.wp.org/trunk/theme.json"
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 951 KiB

View file

@ -1,60 +0,0 @@
<?php
/**
* Adventurer functions and definitions
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package Adventurer
* @since Adventurer 1.0
*/
if ( ! function_exists( 'adventurer_support' ) ) :
/**
* Sets up theme defaults and registers support for various WordPress features.
*
* @since Adventurer 1.0
*
* @return void
*/
function adventurer_support() {
// Enqueue editor styles.
add_editor_style( 'style.css' );
// Make theme available for translation.
load_theme_textdomain( 'adventurer' );
}
endif;
add_action( 'after_setup_theme', 'adventurer_support' );
if ( ! function_exists( 'adventurer_styles' ) ) :
/**
* Enqueue styles.
*
* @since Adventurer 1.0
*
* @return void
*/
function adventurer_styles() {
// Register theme stylesheet.
wp_register_style(
'adventurer-style',
get_stylesheet_directory_uri() . '/style.css',
array(),
wp_get_theme()->get( 'Version' )
);
// Enqueue theme stylesheet.
wp_enqueue_style( 'adventurer-style' );
}
endif;
add_action( 'wp_enqueue_scripts', 'adventurer_styles' );

View file

@ -1 +0,0 @@
<!-- wp:pattern {"slug":"adventurer/footer"} /-->

View file

@ -1 +0,0 @@
<!-- wp:pattern {"slug":"adventurer/header"} /-->

View file

@ -1 +0,0 @@
<!-- wp:pattern {"slug":"adventurer/post-meta"} /-->

View file

@ -1 +0,0 @@
<!-- wp:pattern {"slug":"adventurer/secondary-header"} /-->

View file

@ -1 +0,0 @@
<!-- wp:pattern {"slug":"adventurer/sidebar"} /-->

View file

@ -1,23 +0,0 @@
<?php
/**
* Title: A 404 page
* Slug: adventurer/404
* Inserter: no
*/
?>
<!-- wp:group {"tagName":"main","style":{"spacing":{"blockGap":"var:preset|spacing|50","margin":{"top":"16vh","bottom":"16vh"}}},"layout":{"type":"constrained","contentSize":"1100px"}} -->
<main class="wp-block-group" style="margin-top:16vh;margin-bottom:16vh">
<!-- wp:heading {"textAlign":"left","level":1,"align":"wide","style":{"typography":{"fontSize":"4.4rem"}}} -->
<h1 class="wp-block-heading alignwide has-text-align-left" id="oops-that-page-can-t-be-found" style="font-size:4.4rem"><?php echo esc_html__( 'Oops! That page can&rsquo;t be found.', 'adventurer' ); ?></h1>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p><?php echo esc_html__( 'It looks like nothing was found at this location. Maybe try a search?', 'adventurer' ); ?></p>
<!-- /wp:paragraph -->
<!-- wp:search {"label":"","showLabel":false,"placeholder":"E.g. \u0022Botswana\u0022"} /-->
</main>
<!-- /wp:group -->

View file

@ -1,40 +0,0 @@
<?php
/**
* Title: About
* Slug: adventurer/about
* Inserter: yes
*/
?>
<!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ) . '/assets/images/adventurer_about.jpg'; ?>","dimRatio":50,"overlayColor":"primary","minHeight":630,"minHeightUnit":"px","isDark":false,"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|70","top":"var:preset|spacing|70","bottom":"var:preset|spacing|70","left":"var:preset|spacing|70"}}}} -->
<div class="wp-block-cover alignfull is-light" style="padding-top:var(--wp--preset--spacing--70);padding-right:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70);padding-left:var(--wp--preset--spacing--70);min-height:630px"><span aria-hidden="true" class="wp-block-cover__background has-primary-background-color has-background-dim"></span><img class="wp-block-cover__image-background" alt="" src="<?php echo esc_url( get_stylesheet_directory_uri() ) . '/assets/images/adventurer_about.jpg'; ?>" data-object-fit="cover"/><div class="wp-block-cover__inner-container">
<!-- wp:columns -->
<div class="wp-block-columns">
<!-- wp:column {"width":"60%"} -->
<div class="wp-block-column" style="flex-basis:60%"></div>
<!-- /wp:column -->
<!-- wp:column {"width":"40%","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}},"spacing":{"padding":{"top":"var:preset|spacing|60","right":"var:preset|spacing|60","bottom":"var:preset|spacing|60","left":"var:preset|spacing|60"}}},"backgroundColor":"primary","textColor":"background"} -->
<div class="wp-block-column has-background-color has-primary-background-color has-text-color has-background has-link-color" style="padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--60);flex-basis:40%">
<!-- wp:heading -->
<h2 class="wp-block-heading"><?php echo esc_html__( 'About Me', 'adventurer' ); ?></h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p><?php echo esc_html__( 'Hi, Im Austin. I love exploring and writing about the world and getting lost with my camera. This blog is where I write about the things I find, and I hope it gives you some inspiration to go and have your own adventures.', 'adventurer' ); ?></p>
<!-- /wp:paragraph -->
<!-- wp:buttons -->
<div class="wp-block-buttons">
<!-- wp:button {"backgroundColor":"background","textColor":"primary"} -->
<div class="wp-block-button"><a class="wp-block-button__link has-primary-color has-background-background-color has-text-color has-background wp-element-button" href=""><?php echo esc_html__( 'Read Full Bio', 'adventurer' ); ?></a></div>
<!-- /wp:button -->
</div>
<!-- /wp:buttons -->
</div>
<!-- /wp:column -->
</div>
<!-- /wp:columns -->
</div></div>
<!-- /wp:cover -->

Some files were not shown because too many files have changed in this diff Show more