Updated for public server.
@@ -3,7 +3,7 @@ version: '3.8'
|
||||
services:
|
||||
db:
|
||||
image: mysql:8.0
|
||||
container_name: suffle_and_skirmish_wordpress_db
|
||||
container_name: shuffle_and_skirmish_wordpress_db
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD}
|
||||
@@ -14,51 +14,90 @@ services:
|
||||
- ./mysql/data:/var/lib/mysql
|
||||
- ./mysql/init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||
networks:
|
||||
- suffle_and_skirmish_wordpress_network
|
||||
- shuffle_and_skirmish_wordpress_network
|
||||
|
||||
wordpress:
|
||||
image: wordpress:6.4-php8.2
|
||||
container_name: suffle_and_skirmish_wordpress_app
|
||||
container_name: shuffle_and_skirmish_wordpress_app
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8000:80"
|
||||
environment:
|
||||
WORDPRESS_DB_HOST: db:3306
|
||||
WORDPRESS_DB_USER: ${DB_USER}
|
||||
WORDPRESS_DB_PASSWORD: ${DB_PASSWORD}
|
||||
WORDPRESS_DB_NAME: ${DB_NAME}
|
||||
WORDPRESS_DEBUG: 1
|
||||
WORDPRESS_DEBUG: ${WORDPRESS_DEBUG:-0}
|
||||
WORDPRESS_CONFIG_EXTRA: |
|
||||
define('WP_HOME', 'http://localhost:8000');
|
||||
define('WP_SITEURL', 'http://localhost:8000');
|
||||
define('WP_HOME', 'https://shuffleandskirmish.co.uk');
|
||||
define('WP_SITEURL', 'https://shuffleandskirmish.co.uk');
|
||||
define('WP_DEBUG_LOG', '/var/www/html/wp-content/debug.log');
|
||||
define('FORCE_SSL_ADMIN', true);
|
||||
if (strpos($$_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
|
||||
$$_SERVER['HTTPS']='on';
|
||||
volumes:
|
||||
- ./wp-content/themes:/var/www/html/wp-content/themes
|
||||
- ./wp-content/plugins:/var/www/html/wp-content/plugins
|
||||
- ./wp-content/uploads:/var/www/html/wp-content/uploads
|
||||
- wordpress_data:/var/www/html
|
||||
depends_on:
|
||||
- db
|
||||
networks:
|
||||
- suffle_and_skirmish_wordpress_network
|
||||
- shuffle_and_skirmish_wordpress_network
|
||||
- traefik-public
|
||||
expose:
|
||||
- "80"
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=traefik-public"
|
||||
# HTTPS router
|
||||
- "traefik.http.routers.shuffle-and-skirmish.rule=Host(`shuffleandskirmish.co.uk`) || Host(`www.shuffleandskirmish.co.uk`)"
|
||||
- "traefik.http.routers.shuffle-and-skirmish.entrypoints=https"
|
||||
- "traefik.http.routers.shuffle-and-skirmish.tls=true"
|
||||
- "traefik.http.routers.shuffle-and-skirmish.tls.certresolver=le"
|
||||
- "traefik.http.services.shuffle-and-skirmish.loadbalancer.server.port=80"
|
||||
# HTTP router (redirect to HTTPS)
|
||||
- "traefik.http.routers.shuffle-and-skirmish-http.rule=Host(`shuffleandskirmish.co.uk`) || Host(`www.shuffleandskirmish.co.uk`)"
|
||||
- "traefik.http.routers.shuffle-and-skirmish-http.entrypoints=http"
|
||||
- "traefik.http.routers.shuffle-and-skirmish-http.middlewares=https-redirect@docker"
|
||||
# WWW to non-WWW redirect (optional - remove if you want to keep www)
|
||||
- "traefik.http.middlewares.shuffle-and-skirmish-redirect.redirectregex.regex=^https://www\\.shuffleandskirmish\\.co\\.uk/(.*)"
|
||||
- "traefik.http.middlewares.shuffle-and-skirmish-redirect.redirectregex.replacement=https://shuffleandskirmish.co.uk/$${1}"
|
||||
- "traefik.http.middlewares.shuffle-and-skirmish-redirect.redirectregex.permanent=true"
|
||||
|
||||
phpmyadmin:
|
||||
image: phpmyadmin:latest
|
||||
container_name: suffle_and_skirmish_wordpress_phpmyadmin
|
||||
container_name: shuffle_and_skirmish_wordpress_phpmyadmin
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8080:80"
|
||||
environment:
|
||||
PMA_HOST: db
|
||||
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD}
|
||||
PMA_ABSOLUTE_URI: https://pma.shuffleandskirmish.co.uk
|
||||
depends_on:
|
||||
- db
|
||||
networks:
|
||||
- suffle_and_skirmish_wordpress_network
|
||||
- shuffle_and_skirmish_wordpress_network
|
||||
- traefik-public
|
||||
expose:
|
||||
- "80"
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=traefik-public"
|
||||
# HTTPS router
|
||||
- "traefik.http.routers.shuffle-and-skirmish-pma.rule=Host(`pma.shuffleandskirmish.co.uk`)"
|
||||
- "traefik.http.routers.shuffle-and-skirmish-pma.entrypoints=https"
|
||||
- "traefik.http.routers.shuffle-and-skirmish-pma.tls=true"
|
||||
- "traefik.http.routers.shuffle-and-skirmish-pma.tls.certresolver=le"
|
||||
- "traefik.http.services.shuffle-and-skirmish-pma.loadbalancer.server.port=80"
|
||||
# HTTP router (redirect to HTTPS)
|
||||
- "traefik.http.routers.shuffle-and-skirmish-pma-http.rule=Host(`pma.shuffleandskirmish.co.uk`)"
|
||||
- "traefik.http.routers.shuffle-and-skirmish-pma-http.entrypoints=http"
|
||||
- "traefik.http.routers.shuffle-and-skirmish-pma-http.middlewares=https-redirect@docker"
|
||||
|
||||
networks:
|
||||
suffle_and_skirmish_wordpress_network:
|
||||
shuffle_and_skirmish_wordpress_network:
|
||||
driver: bridge
|
||||
name: shuffle_and_skirmish_wordpress_network
|
||||
traefik-public:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
db_data:
|
||||
suffle_and_skirmish_wordpress_data:
|
||||
wordpress_data:
|
||||
64
docker-compose_DEPRECATED.yml
Normal file
@@ -0,0 +1,64 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: mysql:8.0
|
||||
container_name: suffle_and_skirmish_wordpress_db
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD}
|
||||
MYSQL_DATABASE: ${DB_NAME}
|
||||
MYSQL_USER: ${DB_USER}
|
||||
MYSQL_PASSWORD: ${DB_PASSWORD}
|
||||
volumes:
|
||||
- ./mysql/data:/var/lib/mysql
|
||||
- ./mysql/init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||
networks:
|
||||
- suffle_and_skirmish_wordpress_network
|
||||
|
||||
wordpress:
|
||||
image: wordpress:6.4-php8.2
|
||||
container_name: suffle_and_skirmish_wordpress_app
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8000:80"
|
||||
environment:
|
||||
WORDPRESS_DB_HOST: db:3306
|
||||
WORDPRESS_DB_USER: ${DB_USER}
|
||||
WORDPRESS_DB_PASSWORD: ${DB_PASSWORD}
|
||||
WORDPRESS_DB_NAME: ${DB_NAME}
|
||||
WORDPRESS_DEBUG: 1
|
||||
WORDPRESS_CONFIG_EXTRA: |
|
||||
define('WP_HOME', 'http://localhost:8000');
|
||||
define('WP_SITEURL', 'http://localhost:8000');
|
||||
define('WP_DEBUG_LOG', '/var/www/html/wp-content/debug.log');
|
||||
volumes:
|
||||
- ./wp-content/themes:/var/www/html/wp-content/themes
|
||||
- ./wp-content/plugins:/var/www/html/wp-content/plugins
|
||||
- ./wp-content/uploads:/var/www/html/wp-content/uploads
|
||||
depends_on:
|
||||
- db
|
||||
networks:
|
||||
- suffle_and_skirmish_wordpress_network
|
||||
|
||||
phpmyadmin:
|
||||
image: phpmyadmin:latest
|
||||
container_name: suffle_and_skirmish_wordpress_phpmyadmin
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8080:80"
|
||||
environment:
|
||||
PMA_HOST: db
|
||||
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD}
|
||||
depends_on:
|
||||
- db
|
||||
networks:
|
||||
- suffle_and_skirmish_wordpress_network
|
||||
|
||||
networks:
|
||||
suffle_and_skirmish_wordpress_network:
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
db_data:
|
||||
suffle_and_skirmish_wordpress_data:
|
||||
71
setup.sh
Executable file → Normal file
@@ -1,12 +1,26 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Setting up WordPress development environment..."
|
||||
echo "Setting up WordPress/WooCommerce environment for shuffleandskirmish.co.uk..."
|
||||
|
||||
# Check if .env file exists
|
||||
if [ ! -f .env ]; then
|
||||
echo "❌ Error: .env file not found!"
|
||||
echo "Please create a .env file with the following variables:"
|
||||
echo " DB_ROOT_PASSWORD=your_root_password"
|
||||
echo " DB_NAME=your_database_name"
|
||||
echo " DB_USER=your_database_user"
|
||||
echo " DB_PASSWORD=your_database_password"
|
||||
echo " WORDPRESS_DEBUG=0"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Create directories with proper permissions
|
||||
echo "Creating necessary directories..."
|
||||
mkdir -p wp-content/themes wp-content/plugins wp-content/uploads mysql/data
|
||||
|
||||
# Set ownership of current directory to current user
|
||||
sudo chown -R $USER:$USER .
|
||||
echo "Setting permissions..."
|
||||
chown -R $USER:$USER .
|
||||
|
||||
# Set directory permissions
|
||||
chmod -R 755 wp-content/
|
||||
@@ -15,40 +29,69 @@ chmod 644 .env
|
||||
|
||||
# Check if Docker is running
|
||||
if ! docker info > /dev/null 2>&1; then
|
||||
echo "Docker is not running. Please start Docker first."
|
||||
echo "❌ Docker is not running. Please start Docker first."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check if traefik-public network exists
|
||||
if ! docker network inspect traefik-public > /dev/null 2>&1; then
|
||||
echo "❌ Error: traefik-public network does not exist!"
|
||||
echo "Please ensure Traefik is properly set up with the traefik-public network."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check if user is in docker group
|
||||
if groups $USER | grep -q '\bdocker\b'; then
|
||||
echo "User is in docker group, proceeding without sudo..."
|
||||
DOCKER_COMPOSE_CMD="docker-compose"
|
||||
DOCKER_COMPOSE_CMD="docker compose"
|
||||
else
|
||||
echo "User not in docker group, using sudo..."
|
||||
DOCKER_COMPOSE_CMD="sudo docker-compose"
|
||||
DOCKER_COMPOSE_CMD="sudo docker compose"
|
||||
fi
|
||||
|
||||
# Pull latest images
|
||||
echo "Pulling latest Docker images..."
|
||||
$DOCKER_COMPOSE_CMD pull
|
||||
|
||||
# Build and start containers
|
||||
echo "Building and starting containers..."
|
||||
$DOCKER_COMPOSE_CMD up -d
|
||||
|
||||
echo "Waiting for containers to initialize..."
|
||||
sleep 15
|
||||
sleep 20
|
||||
|
||||
# Check if containers are running
|
||||
if $DOCKER_COMPOSE_CMD ps | grep -q "Up"; then
|
||||
echo "✅ WordPress development environment is ready!"
|
||||
if $DOCKER_COMPOSE_CMD ps | grep -q "running"; then
|
||||
echo ""
|
||||
echo "🌐 WordPress: http://localhost:8000"
|
||||
echo "📊 phpMyAdmin: http://localhost:8080"
|
||||
echo "✅ WordPress/WooCommerce environment is ready!"
|
||||
echo ""
|
||||
echo "Default credentials:"
|
||||
echo "WordPress Admin: admin / admin (you'll set this during installation)"
|
||||
echo "MySQL: root / root_password"
|
||||
echo "🌐 WordPress Site: https://shuffleandskirmish.co.uk"
|
||||
echo "🌐 WordPress Site (www): https://www.shuffleandskirmish.co.uk"
|
||||
echo "📊 phpMyAdmin: https://pma.shuffleandskirmish.co.uk"
|
||||
echo ""
|
||||
echo "Useful commands:"
|
||||
echo "⚠️ IMPORTANT SETUP STEPS:"
|
||||
echo "1. Visit https://shuffleandskirmish.co.uk to complete WordPress installation"
|
||||
echo "2. Install WooCommerce plugin from WordPress admin"
|
||||
echo "3. Configure SSL settings in WordPress (should be automatic with Traefik)"
|
||||
echo "4. Update DNS records to point to this server:"
|
||||
echo " - shuffleandskirmish.co.uk -> Server IP"
|
||||
echo " - www.shuffleandskirmish.co.uk -> Server IP"
|
||||
echo " - pma.shuffleandskirmish.co.uk -> Server IP"
|
||||
echo ""
|
||||
echo "🔒 Security Notes:"
|
||||
echo " - phpMyAdmin is exposed at pma.shuffleandskirmish.co.uk"
|
||||
echo " - Consider restricting access or disabling it in production"
|
||||
echo " - Change default database passwords in .env file"
|
||||
echo ""
|
||||
echo "📝 Useful commands:"
|
||||
echo " View logs: $DOCKER_COMPOSE_CMD logs -f"
|
||||
echo " View specific service: $DOCKER_COMPOSE_CMD logs -f wordpress"
|
||||
echo " Stop: $DOCKER_COMPOSE_CMD stop"
|
||||
echo " Start: $DOCKER_COMPOSE_CMD start"
|
||||
echo " Restart: $DOCKER_COMPOSE_CMD restart"
|
||||
echo " Remove: $DOCKER_COMPOSE_CMD down"
|
||||
echo " Remove with volumes: $DOCKER_COMPOSE_CMD down -v"
|
||||
else
|
||||
echo "❌ Some containers failed to start. Check logs with: $DOCKER_COMPOSE_CMD logs"
|
||||
exit 1
|
||||
fi
|
||||
54
setup_DEPRECATED.sh
Executable file
@@ -0,0 +1,54 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Setting up WordPress development environment..."
|
||||
|
||||
# Create directories with proper permissions
|
||||
mkdir -p wp-content/themes wp-content/plugins wp-content/uploads mysql/data
|
||||
|
||||
# Set ownership of current directory to current user
|
||||
sudo chown -R $USER:$USER .
|
||||
|
||||
# Set directory permissions
|
||||
chmod -R 755 wp-content/
|
||||
chmod -R 755 mysql/
|
||||
chmod 644 .env
|
||||
|
||||
# Check if Docker is running
|
||||
if ! docker info > /dev/null 2>&1; then
|
||||
echo "Docker is not running. Please start Docker first."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check if user is in docker group
|
||||
if groups $USER | grep -q '\bdocker\b'; then
|
||||
echo "User is in docker group, proceeding without sudo..."
|
||||
DOCKER_COMPOSE_CMD="docker-compose"
|
||||
else
|
||||
echo "User not in docker group, using sudo..."
|
||||
DOCKER_COMPOSE_CMD="sudo docker-compose"
|
||||
fi
|
||||
|
||||
echo "Building and starting containers..."
|
||||
$DOCKER_COMPOSE_CMD up -d
|
||||
|
||||
echo "Waiting for containers to initialize..."
|
||||
sleep 15
|
||||
|
||||
# Check if containers are running
|
||||
if $DOCKER_COMPOSE_CMD ps | grep -q "Up"; then
|
||||
echo "✅ WordPress development environment is ready!"
|
||||
echo ""
|
||||
echo "🌐 WordPress: http://localhost:8000"
|
||||
echo "📊 phpMyAdmin: http://localhost:8080"
|
||||
echo ""
|
||||
echo "Default credentials:"
|
||||
echo "WordPress Admin: admin / admin (you'll set this during installation)"
|
||||
echo "MySQL: root / root_password"
|
||||
echo ""
|
||||
echo "Useful commands:"
|
||||
echo " View logs: $DOCKER_COMPOSE_CMD logs -f"
|
||||
echo " Stop: $DOCKER_COMPOSE_CMD stop"
|
||||
echo " Remove: $DOCKER_COMPOSE_CMD down"
|
||||
else
|
||||
echo "❌ Some containers failed to start. Check logs with: $DOCKER_COMPOSE_CMD logs"
|
||||
fi
|
||||
0
wp-content/themes/eduacademy/CHANGELOG.md
Normal file
@@ -0,0 +1,93 @@
|
||||
Copyright 2021 The Albert Sans Project Authors (https://github.com/usted/Albert-Sans)
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
@@ -0,0 +1,93 @@
|
||||
Copyright 2022 The Figtree Project Authors (https://github.com/erikdkennedy/figtree)
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
@@ -0,0 +1,93 @@
|
||||
Copyright 2018 The Fraunces Project Authors (https://github.com/undercasetype/Fraunces)
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
@@ -0,0 +1,93 @@
|
||||
Copyright 2021 The Hanken Grotesk Project Authors (https://github.com/marcologous/hanken-grotesk)
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
94
wp-content/themes/eduacademy/assets/fonts/inter/License.txt
Normal file
@@ -0,0 +1,94 @@
|
||||
Copyright (c) 2016-2020 The Inter Project Authors.
|
||||
"Inter" is trademark of Rasmus Andersson.
|
||||
https://github.com/rsms/inter
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION AND CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
@@ -0,0 +1,93 @@
|
||||
Copyright 2011 The Montserrat Project Authors (https://github.com/JulietaUla/Montserrat)
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
@@ -0,0 +1,93 @@
|
||||
Copyright 2020 The Open Sans Project Authors (https://github.com/googlefonts/opensans)
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
93
wp-content/themes/eduacademy/assets/fonts/outfit/License.txt
Normal file
@@ -0,0 +1,93 @@
|
||||
Copyright 2021 The Outfit Project Authors (https://github.com/Outfitio/Outfit-Fonts)
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
@@ -0,0 +1,93 @@
|
||||
Copyright 2017 The Playfair Display Project Authors (https://github.com/clauseggers/Playfair-Display), with Reserved Font Name "Playfair Display"
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
@@ -0,0 +1,93 @@
|
||||
Copyright 2010, 2012, 2014 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name ‘Source’.
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
@@ -0,0 +1,93 @@
|
||||
Copyright 2021 The Spline Sans Project Authors (https://github.com/SorkinType/SplineSans)
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
BIN
wp-content/themes/eduacademy/assets/img/logo.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
wp-content/themes/eduacademy/assets/img/theme-image-01.webp
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
wp-content/themes/eduacademy/assets/img/theme-image-02.webp
Normal file
|
After Width: | Height: | Size: 51 KiB |
BIN
wp-content/themes/eduacademy/assets/img/theme-image-03.webp
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
wp-content/themes/eduacademy/assets/img/theme-image-04.webp
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
wp-content/themes/eduacademy/assets/img/theme-image-05.webp
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
BIN
wp-content/themes/eduacademy/assets/img/theme-image-06.webp
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
wp-content/themes/eduacademy/assets/img/theme-image-07.webp
Normal file
|
After Width: | Height: | Size: 702 B |
BIN
wp-content/themes/eduacademy/assets/img/theme-image-08.webp
Normal file
|
After Width: | Height: | Size: 992 B |
BIN
wp-content/themes/eduacademy/assets/img/theme-image-09.webp
Normal file
|
After Width: | Height: | Size: 884 B |
BIN
wp-content/themes/eduacademy/assets/img/theme-image-10.webp
Normal file
|
After Width: | Height: | Size: 540 B |
BIN
wp-content/themes/eduacademy/assets/img/theme-image-11.webp
Normal file
|
After Width: | Height: | Size: 414 B |
BIN
wp-content/themes/eduacademy/assets/img/theme-image-12.webp
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
wp-content/themes/eduacademy/assets/img/theme-image-13.webp
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
wp-content/themes/eduacademy/assets/img/theme-image-14.webp
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
wp-content/themes/eduacademy/assets/img/theme-image-15.webp
Normal file
|
After Width: | Height: | Size: 53 KiB |
BIN
wp-content/themes/eduacademy/assets/img/theme-image-16.webp
Normal file
|
After Width: | Height: | Size: 150 KiB |
BIN
wp-content/themes/eduacademy/assets/img/theme-image-17.webp
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
wp-content/themes/eduacademy/assets/img/theme-image-18.webp
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
wp-content/themes/eduacademy/assets/img/theme-image-19.webp
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
wp-content/themes/eduacademy/assets/img/theme-image-22.webp
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
wp-content/themes/eduacademy/assets/img/welcome-notice.webp
Normal file
|
After Width: | Height: | Size: 312 KiB |
177
wp-content/themes/eduacademy/functions.php
Normal file
@@ -0,0 +1,177 @@
|
||||
<?php
|
||||
/**
|
||||
* Eduacademy functions file
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
namespace Eduacademy;
|
||||
|
||||
/**
|
||||
* Bootstrap the theme.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function bootstrap() {
|
||||
global $_eduacademy_bootstrap_errors;
|
||||
|
||||
$_eduacademy_bootstrap_errors = new \WP_Error();
|
||||
|
||||
check_php();
|
||||
|
||||
define_constants();
|
||||
|
||||
check_build_files();
|
||||
|
||||
maybe_add_notices();
|
||||
|
||||
load_sdk();
|
||||
|
||||
load_dependencies();
|
||||
|
||||
run();
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks that the PHP version is correct.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function check_php() {
|
||||
global $_eduacademy_bootstrap_errors;
|
||||
|
||||
if ( version_compare( PHP_VERSION, '7.0' ) > 0 ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$_eduacademy_bootstrap_errors->add(
|
||||
'php_version',
|
||||
sprintf(
|
||||
/* translators: %s message to upgrade PHP to the latest version */
|
||||
__( "Hey, we've noticed that you're running an outdated version of PHP which is no longer supported. Make sure your site is fast and secure, by %1\$s. Eduacademy's minimal requirement is PHP%2\$s.", 'eduacademy' ),
|
||||
sprintf(
|
||||
/* translators: %s message to upgrade PHP to the latest version */
|
||||
'<a href="https://wordpress.org/support/upgrade-php/">%s</a>',
|
||||
__( 'upgrading PHP to the latest version', 'eduacademy' )
|
||||
),
|
||||
'7.0'
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Define theme constants.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function define_constants() {
|
||||
define( 'EDUACADEMY_VERSION', '0.2.0' );
|
||||
define( 'EDUACADEMY_DEBUG', defined( 'WP_DEBUG' ) && WP_DEBUG === true );
|
||||
define( 'EDUACADEMY_DIR', trailingslashit( get_template_directory() ) );
|
||||
define( 'EDUACADEMY_URL', trailingslashit( get_template_directory_uri() ) );
|
||||
define( 'EDUACADEMY_PRODUCT_SLUG', basename( EDUACADEMY_DIR ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks that the build files are present.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function check_build_files() {
|
||||
if ( defined( 'EDUACADEMY_IGNORE_SOURCE_CHECK' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$_files_to_check = array(
|
||||
EDUACADEMY_DIR . 'vendor/autoload.php',
|
||||
EDUACADEMY_DIR . 'assets/css/build/style.css',
|
||||
EDUACADEMY_DIR . 'assets/css/build/editor.css',
|
||||
EDUACADEMY_DIR . 'assets/css/build/style-rtl.css',
|
||||
EDUACADEMY_DIR . 'assets/css/build/editor-rtl.css',
|
||||
);
|
||||
|
||||
foreach ( $_files_to_check as $file ) {
|
||||
if ( is_file( $file ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
global $_eduacademy_bootstrap_errors;
|
||||
|
||||
$_eduacademy_bootstrap_errors->add(
|
||||
'build_missing',
|
||||
sprintf(
|
||||
/* translators: %s: commands to run the theme */
|
||||
__( 'You appear to be running the Eduacademy theme from source code. Please finish installation by running %s.', 'eduacademy' ),
|
||||
'<code>composer install --no-dev && yarn install --frozen-lockfile && yarn run build</code>'
|
||||
)
|
||||
);
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds notices if something went wrong and activates the default theme.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function maybe_add_notices() {
|
||||
global $_eduacademy_bootstrap_errors;
|
||||
|
||||
if ( ! $_eduacademy_bootstrap_errors->has_errors() ) {
|
||||
return;
|
||||
}
|
||||
|
||||
add_filter( 'template_include', '__return_null', 99 );
|
||||
switch_theme( WP_DEFAULT_THEME );
|
||||
unset( $_GET['activated'] ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
|
||||
add_action(
|
||||
'admin_notices',
|
||||
function () {
|
||||
global $_eduacademy_bootstrap_errors;
|
||||
|
||||
printf( '<div class="notice notice-error"><p>%1$s</p></div>', wp_kses_post( $_eduacademy_bootstrap_errors->get_error_message() ) );
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Load SDK.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function load_sdk() {
|
||||
add_filter(
|
||||
'themeisle_sdk_products',
|
||||
function ( $products ) {
|
||||
$products[] = EDUACADEMY_DIR . 'style.css';
|
||||
|
||||
return $products;
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Load composer dependencies.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function load_dependencies() {
|
||||
$vendor_file = EDUACADEMY_DIR . '/vendor/autoload.php';
|
||||
if ( is_readable( $vendor_file ) ) {
|
||||
require_once $vendor_file;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Run theme core.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function run() {
|
||||
Core::get_instance();
|
||||
}
|
||||
|
||||
bootstrap();
|
||||
296
wp-content/themes/eduacademy/inc/Admin.php
Normal file
@@ -0,0 +1,296 @@
|
||||
<?php
|
||||
/**
|
||||
* Admin class.
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
namespace Eduacademy;
|
||||
|
||||
/**
|
||||
* Admin class.
|
||||
*/
|
||||
class Admin {
|
||||
|
||||
/**
|
||||
* Masteriyo reference key.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
const MASTERIYO_REF = 'masteriyo_reference_key';
|
||||
|
||||
/**
|
||||
* Admin constructor.
|
||||
*/
|
||||
public function __construct() {
|
||||
$this->setup_admin_hooks();
|
||||
$this->add_install_time();
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the installation time.
|
||||
* This is needed here while the SDK is not available.
|
||||
* Once the SDK is available, this can safely be removed.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
private function add_install_time() {
|
||||
$install = get_option( Constants::PRODUCT_KEY . '_install', 0 );
|
||||
if ( 0 === $install ) {
|
||||
update_option( Constants::PRODUCT_KEY . '_install', time() );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Setup admin hooks.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup_admin_hooks() {
|
||||
add_action( 'admin_notices', array( $this, 'render_welcome_notice' ), 0 );
|
||||
add_action( 'activated_plugin', array( $this, 'after_masteriyo_activation' ) );
|
||||
add_action( 'wp_ajax_eduacademy_dismiss_welcome_notice', array( $this, 'remove_welcome_notice' ) );
|
||||
add_action( 'wp_ajax_eduacademy_set_masteriyo_ref', array( $this, 'set_masteriyo_ref' ) );
|
||||
|
||||
add_action( 'admin_enqueue_scripts', array( $this, 'register_internal_page' ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Render the welcome notice.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function render_welcome_notice() {
|
||||
if ( ! $this->should_show_welcome_notice() ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$masteriyo_status = $this->get_masteriyo_status();
|
||||
|
||||
Assets_Manager::enqueue_style( Assets_Manager::ASSETS_SLUGS['welcome-notice'], 'welcome-notice' );
|
||||
Assets_Manager::enqueue_script(
|
||||
Assets_Manager::ASSETS_SLUGS['welcome-notice'],
|
||||
'welcome-notice',
|
||||
true,
|
||||
array(),
|
||||
array(
|
||||
'nonce' => wp_create_nonce( 'eduacademy-dismiss-welcome-notice' ),
|
||||
'masteriyoRefNonce' => wp_create_nonce( 'eduacademy-set-masteriyo-ref' ),
|
||||
'ajaxUrl' => esc_url( admin_url( 'admin-ajax.php' ) ),
|
||||
'masteriyoStatus' => $masteriyo_status,
|
||||
'activationUrl' => esc_url(
|
||||
add_query_arg(
|
||||
array(
|
||||
'plugin_status' => 'all',
|
||||
'paged' => '1',
|
||||
'action' => 'activate',
|
||||
'plugin' => rawurlencode( 'learning-management-system/lms.php' ),
|
||||
'_wpnonce' => wp_create_nonce( 'activate-plugin_learning-management-system/lms.php' ),
|
||||
),
|
||||
admin_url( 'plugins.php' )
|
||||
)
|
||||
),
|
||||
'redirectUrl' => esc_url( admin_url( 'admin.php?page=masteriyo-onboard' ) ),
|
||||
'activating' => __( 'Activating', 'eduacademy' ) . '…',
|
||||
'installing' => __( 'Installing', 'eduacademy' ) . '…',
|
||||
'done' => __( 'Done', 'eduacademy' ),
|
||||
)
|
||||
);
|
||||
|
||||
$notice_html = '<div class="notice notice-info eduacademy-welcome-notice">';
|
||||
$notice_html .= '<button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button>';
|
||||
$notice_html .= '<div class="notice-content">';
|
||||
|
||||
$notice_html .= '<div class="notice-copy">';
|
||||
|
||||
$notice_html .= '<h2 class="notice-subtitle">';
|
||||
$notice_html .= '<span class="dashicons dashicons-welcome-learn-more"></span>';
|
||||
$notice_html .= __( 'The theme was designed to work best with Masteriyo LMS', 'eduacademy' );
|
||||
$notice_html .= '</h2>';
|
||||
|
||||
$notice_html .= '<h1 class="notice-title">';
|
||||
/* translators: %s: Masteriyo LMS */
|
||||
$notice_html .= sprintf( __( 'Create and Sell Online Courses with %s!', 'eduacademy' ), '<span>Masteriyo LMS</span>' );
|
||||
|
||||
$notice_html .= '</h1>';
|
||||
|
||||
$notice_html .= '<p class="description">' . __( 'The complete WordPress LMS solution for educators and businesses. Build engaging courses, track student progress, and monetize your knowledge with zero coding required. ', 'eduacademy' ) . '</p>';
|
||||
$notice_html .= '<p class="description"><span class="dashicons dashicons-yes"></span><strong>' . __( 'Quick setup', 'eduacademy' ) . '</strong> - ' . __( 'Install and create your first course in minutes', 'eduacademy' ) . '</p>';
|
||||
$notice_html .= '<p class="description"><span class="dashicons dashicons-yes"></span><strong>' . __( 'Multiple payment options', 'eduacademy' ) . '</strong> - ' . __( 'Built-in payment system with Stripe, PayPal & more', 'eduacademy' ) . '</p>';
|
||||
$notice_html .= '<p class="description"><span class="dashicons dashicons-yes"></span><strong>' . __( 'Complete course builder', 'eduacademy' ) . '</strong> - ' . __( 'Drag & drop builder with quizzes, certificates & assignments', 'eduacademy' ) . '</p>';
|
||||
|
||||
$notice_html .= '<div class="actions">';
|
||||
|
||||
/* translators: %s: Masteriyo LMS */
|
||||
$notice_html .= '<button id="eduacademy-install-masteriyo" class="button button-primary button-hero">';
|
||||
$notice_html .= '<span class="dashicons dashicons-update hidden"></span>';
|
||||
$notice_html .= '<span class="text">';
|
||||
$notice_html .= 'installed' === $masteriyo_status ?
|
||||
/* translators: %s: Masteriyo LMS */
|
||||
sprintf( __( 'Activate %s', 'eduacademy' ), 'Masteriyo LMS' ) :
|
||||
/* translators: %s: Masteriyo LMS */
|
||||
sprintf( __( 'Install & Activate %s', 'eduacademy' ), 'Masteriyo LMS' );
|
||||
$notice_html .= '</span>';
|
||||
$notice_html .= '</button>';
|
||||
|
||||
$notice_html .= '<a href="https://wordpress.org/plugins/learning-management-system/" target="_blank" class="button button-secondary button-hero">';
|
||||
$notice_html .= '<span>' . __( 'Learn More', 'eduacademy' ) . '</span>';
|
||||
$notice_html .= '<span class="dashicons dashicons-external"></span>';
|
||||
$notice_html .= '</a>';
|
||||
|
||||
$notice_html .= '</div>';
|
||||
|
||||
$notice_html .= '</div>';
|
||||
|
||||
$notice_html .= '<img class="masteriyo-preview" src="' . esc_url( Assets_Manager::get_image_url( 'welcome-notice.webp' ) ) . '" alt="' . esc_attr__( 'Masteriyo LMS preview', 'eduacademy' ) . '"/>';
|
||||
$notice_html .= '</div>';
|
||||
$notice_html .= '</div>';
|
||||
|
||||
echo wp_kses_post( $notice_html );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Dismiss the welcome notice.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function remove_welcome_notice() {
|
||||
if ( ! isset( $_POST['nonce'] ) ) {
|
||||
return;
|
||||
}
|
||||
if ( ! wp_verify_nonce( sanitize_text_field( $_POST['nonce'] ), 'eduacademy-dismiss-welcome-notice' ) ) {
|
||||
return;
|
||||
}
|
||||
update_option( Constants::CACHE_KEYS['dismissed-welcome-notice'], 'yes' );
|
||||
wp_die();
|
||||
}
|
||||
|
||||
/**
|
||||
* Should we show the welcome notice?
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
private function should_show_welcome_notice(): bool {
|
||||
// Already using Masteriyo.
|
||||
if ( is_plugin_active( 'learning-management-system/lms.php' ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Notice was dismissed.
|
||||
if ( get_option( Constants::CACHE_KEYS['dismissed-welcome-notice'], 'no' ) === 'yes' ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$screen = get_current_screen();
|
||||
|
||||
// Only show in dashboard/themes.
|
||||
if ( ! in_array( $screen->id, array( 'dashboard', 'themes' ) ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// AJAX actions.
|
||||
if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Don't show in network admin.
|
||||
if ( is_network_admin() ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// User can't dismiss. We don't show it.
|
||||
if ( ! current_user_can( 'manage_options' ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// User can't install plugins. We don't show it.
|
||||
if ( ! current_user_can( 'install_plugins' ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Block editor context.
|
||||
if ( $screen->is_block_editor() ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Dismiss after one week from activation.
|
||||
$activated_time = get_option( 'eduacademy_install' );
|
||||
|
||||
if ( ! empty( $activated_time ) && time() - intval( $activated_time ) > WEEK_IN_SECONDS ) {
|
||||
update_option( Constants::CACHE_KEYS['dismissed-welcome-notice'], 'yes' );
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the Masteriyo plugin status.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
private function get_masteriyo_status(): string {
|
||||
$status = 'not-installed';
|
||||
|
||||
if ( is_plugin_active( 'learning-management-system/lms.php' ) ) {
|
||||
return 'active';
|
||||
}
|
||||
|
||||
if ( file_exists( ABSPATH . 'wp-content/plugins/learning-management-system/lms.php' ) ) {
|
||||
return 'installed';
|
||||
}
|
||||
|
||||
return $status;
|
||||
}
|
||||
|
||||
/**
|
||||
* Run after Masteriyo activation.
|
||||
*
|
||||
* @param string $plugin Plugin name.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function after_masteriyo_activation( $plugin ) {
|
||||
if ( 'learning-management-system/lms.php' !== $plugin ) {
|
||||
return;
|
||||
}
|
||||
|
||||
update_option( Constants::CACHE_KEYS['dismissed-welcome-notice'], 'yes' );
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* Update Masteriyo reference key.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function set_masteriyo_ref() {
|
||||
if ( empty( $_POST['nonce'] ) || ! wp_verify_nonce( sanitize_text_field( $_POST['nonce'] ), 'eduacademy-set-masteriyo-ref' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
update_option( self::MASTERIYO_REF, 'eduacademy' );
|
||||
|
||||
wp_send_json_success();
|
||||
}
|
||||
|
||||
/**
|
||||
* Register internal pages.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function register_internal_page() {
|
||||
$screen = get_current_screen();
|
||||
|
||||
if ( ( 'dashboard' !== $screen->id && 'themes' !== $screen->id ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
do_action( 'themeisle_internal_page', EDUACADEMY_PRODUCT_SLUG, $screen->id );
|
||||
}
|
||||
}
|
||||
271
wp-content/themes/eduacademy/inc/Assets_Manager.php
Normal file
@@ -0,0 +1,271 @@
|
||||
<?php
|
||||
/**
|
||||
* Assets manager class.
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
namespace Eduacademy;
|
||||
|
||||
/**
|
||||
* Class Assets_Manager
|
||||
*
|
||||
* @package eduacademy
|
||||
*/
|
||||
class Assets_Manager {
|
||||
const ASSETS_SLUGS = array(
|
||||
'frontend-css' => 'eduacademy-style',
|
||||
'editor-css' => 'eduacademy-editor',
|
||||
'welcome-notice' => 'eduacademy-welcome-notice',
|
||||
);
|
||||
|
||||
const AVAILABLE_THEME_FONTS = array(
|
||||
'Inter',
|
||||
'Albert Sans',
|
||||
'Fraunces',
|
||||
'Hanken Grotesk',
|
||||
'Outfit',
|
||||
'Spline Sans',
|
||||
'Playfair Display',
|
||||
'Source Sans Pro',
|
||||
'Montserrat',
|
||||
'Open Sans',
|
||||
'Figtree',
|
||||
);
|
||||
|
||||
/**
|
||||
* Enqueue style.
|
||||
*
|
||||
* @param string $handle Name of the style.
|
||||
* @param string $file Path to the style file.
|
||||
* @param string[] $dependencies Array of style handles this style depends on.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function enqueue_style( string $handle, string $file, array $dependencies = array() ) {
|
||||
$uri = EDUACADEMY_URL . 'assets/css/build/' . $file . '.css';
|
||||
|
||||
wp_register_style( $handle, esc_url( $uri ), $dependencies, EDUACADEMY_VERSION );
|
||||
wp_style_add_data( $handle, 'rtl', 'replace' );
|
||||
wp_enqueue_style( $handle );
|
||||
|
||||
// Add the inherited values from Neve.
|
||||
$inherited_style_values = self::get_inherited_style_values();
|
||||
if ( ! empty( $inherited_style_values ) ) {
|
||||
wp_add_inline_style( $handle, $inherited_style_values );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Enqueue script.
|
||||
*
|
||||
* @param string $handle Name of the style.
|
||||
* @param string $file Path to the style file.
|
||||
* @param bool $in_footer Whether to enqueue the script in the footer.
|
||||
* @param string[] $dependencies Array of other script handles this script depends on.
|
||||
* @param array $localization Array of data to pass to the script.
|
||||
* @param string $localization_object_name Name of the object to create in the global scope.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function enqueue_script( string $handle, string $file, bool $in_footer = true, array $dependencies = array(), array $localization = array(), $localization_object_name = 'eduacademyData' ) {
|
||||
$uri = EDUACADEMY_URL . 'assets/js/build/' . $file . '.js';
|
||||
$php = EDUACADEMY_DIR . 'assets/js/build/' . $file . '.asset.php';
|
||||
|
||||
$deps = is_file( $php ) ? include $php : array(
|
||||
'dependencies' => array(),
|
||||
'version' => EDUACADEMY_VERSION,
|
||||
);
|
||||
|
||||
|
||||
if ( ! empty( $dependencies ) ) {
|
||||
$deps['dependencies'] = array_merge( $deps['dependencies'], $dependencies );
|
||||
}
|
||||
|
||||
wp_register_script( $handle, esc_url( $uri ), $deps['dependencies'], $deps['version'], $in_footer );
|
||||
|
||||
if ( ! empty( $localization ) ) {
|
||||
wp_localize_script( $handle, $localization_object_name, $localization );
|
||||
}
|
||||
|
||||
wp_enqueue_script( $handle );
|
||||
wp_set_script_translations( $handle, 'eduacademy' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Get image URL from assets folder.
|
||||
*
|
||||
* @param string $file Filename with extension.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function get_image_url( string $file ): string {
|
||||
return EDUACADEMY_URL . 'assets/img/' . $file;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get the CSS variables from Neve and add them to the style.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function get_inherited_style_values() {
|
||||
$css = '';
|
||||
|
||||
$color_vars = self::get_css_color_vars();
|
||||
$font_vars = self::get_css_font_vars();
|
||||
$button_vars = self::get_css_button_vars();
|
||||
$css_vars = $color_vars . $font_vars . $button_vars;
|
||||
if ( ! empty( $css_vars ) ) {
|
||||
$css .= ':root{' . $css_vars . '}';
|
||||
}
|
||||
|
||||
return $css;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the CSS variables for the button from Neve.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
private static function get_css_button_vars() {
|
||||
$neve_mods = Neve_Mods::get_instance();
|
||||
$button_apperance = $neve_mods->get_neve_button_appearance();
|
||||
$css = '';
|
||||
if ( empty( $button_apperance ) ) {
|
||||
return $css;
|
||||
}
|
||||
if ( isset( $button_apperance['borderRadius'] ) ) {
|
||||
$css .= '--neve-button-border-radius:' . $button_apperance['borderRadius'];
|
||||
}
|
||||
|
||||
return $css;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the CSS variables for the colors from Neve.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
private static function get_css_color_vars() {
|
||||
$neve_mods = Neve_Mods::get_instance();
|
||||
$palette = $neve_mods->get_neve_global_colors();
|
||||
$css = '';
|
||||
if ( empty( $palette ) ) {
|
||||
return $css;
|
||||
}
|
||||
foreach ( $palette as $slug => $color ) {
|
||||
$css .= '--' . $slug . ':' . $color . ';';
|
||||
}
|
||||
|
||||
return $css;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the CSS variables for the fonts from Neve.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
private static function get_css_font_vars() {
|
||||
$neve_mods = Neve_Mods::get_instance();
|
||||
$neve_body_font = $neve_mods->get_neve_body_font_family();
|
||||
$neve_headings_font = $neve_mods->get_neve_headings_font_family();
|
||||
$css = '';
|
||||
|
||||
if ( 'default' !== $neve_body_font && in_array( $neve_body_font, self::AVAILABLE_THEME_FONTS, true ) ) {
|
||||
$css .= '--neve-font-family-body:' . $neve_body_font . ';';
|
||||
$neve_headings_font = $neve_body_font; // If the body font is set, the headings font should be the same until we check if the headings font is set.
|
||||
}
|
||||
|
||||
if ( 'default' !== $neve_headings_font && in_array( $neve_headings_font, self::AVAILABLE_THEME_FONTS, true ) ) {
|
||||
$css .= '--neve-font-family-heading:' . $neve_headings_font . ';';
|
||||
}
|
||||
|
||||
$typeface_sections = Neve_Mods::AVAILABLE_TYPEFACE_CONTROLS;
|
||||
$default_font_size = '16px'; // default font size on most browsers.
|
||||
$default_line_height = '1.5'; // default line height on most browsers.
|
||||
foreach ( $typeface_sections as $typeface_section ) {
|
||||
$type_setting_name = empty( $typeface_section ) ? '' : $typeface_section . '_';
|
||||
$typeface = $neve_mods->get_neve_typeface_general( $type_setting_name );
|
||||
$css_typeface_name = empty( $typeface_section ) ? 'body' : $typeface_section;
|
||||
if ( ! empty( $typeface ) && isset( $typeface['fontWeight'] ) ) {
|
||||
// we default the global heading weight to the h1 weight.
|
||||
if ( 'h1' === $typeface_section ) {
|
||||
$css .= '--neve-font-weight-heading:' . $typeface['fontWeight'] . ';';
|
||||
}
|
||||
$css .= '--neve-font-weight-' . $css_typeface_name . ':' . $typeface['fontWeight'] . ';';
|
||||
}
|
||||
|
||||
if ( ! empty( $typeface ) && isset( $typeface['fontSize'] ) ) {
|
||||
$font_size = $default_font_size;
|
||||
if ( isset( $typeface['fontSize']['desktop'] ) && isset( $typeface['fontSize']['suffix']['desktop'] ) ) {
|
||||
$font_size = $typeface['fontSize']['desktop'] . 'px';
|
||||
if ( 'px' !== $typeface['fontSize']['suffix']['desktop'] ) {
|
||||
$font_size = self::convert_em_to_px( $typeface['fontSize']['desktop'] ) . 'px';
|
||||
}
|
||||
}
|
||||
|
||||
if ( '' === $typeface_section ) {
|
||||
$default_font_size = $font_size; // set the inherited size as a default font size for further calculations.
|
||||
}
|
||||
|
||||
// we default the global heading weight to the h1 weight.
|
||||
if ( 'h1' === $typeface_section ) {
|
||||
$css .= '--neve-font-size-heading:' . $font_size . ';';
|
||||
}
|
||||
$css .= '--neve-font-size-' . $css_typeface_name . ':' . $font_size . ';';
|
||||
}
|
||||
|
||||
if ( ! empty( $typeface ) && isset( $typeface['lineHeight'] ) ) {
|
||||
$line_height = $default_line_height;
|
||||
if ( isset( $typeface['lineHeight']['desktop'] ) && isset( $typeface['lineHeight']['suffix']['desktop'] ) ) {
|
||||
$line_height = $typeface['lineHeight']['desktop'];
|
||||
if ( 'em' !== $typeface['lineHeight']['suffix']['desktop'] ) {
|
||||
$line_height = self::convert_px_to_em( $typeface['fontSize']['desktop'], $default_font_size );
|
||||
}
|
||||
}
|
||||
|
||||
if ( '' === $typeface_section ) {
|
||||
$default_line_height = $line_height; // set the inherited size as a default font size for further calculations.
|
||||
}
|
||||
|
||||
// we default the global heading weight to the h1 weight.
|
||||
if ( 'h1' === $typeface_section ) {
|
||||
$css .= '--neve-font-line-height-heading:' . $font_size . ';';
|
||||
}
|
||||
$css .= '--neve-font-line-height-' . $css_typeface_name . ':' . $line_height . ';';
|
||||
}
|
||||
}
|
||||
|
||||
return $css;
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert px to em.
|
||||
*
|
||||
* @param int $px The px value.
|
||||
* @param int $default_px The default px value.
|
||||
*
|
||||
* @return float
|
||||
*/
|
||||
private static function convert_px_to_em( $px, $default_px = 16 ) {
|
||||
$em = $px / $default_px;
|
||||
return $em;
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert em to px.
|
||||
*
|
||||
* @param int $em The em value.
|
||||
* @param int $default_px The default px value.
|
||||
*
|
||||
* @return float
|
||||
*/
|
||||
private static function convert_em_to_px( $em, $default_px = 16 ) {
|
||||
$px = $em * $default_px;
|
||||
return $px;
|
||||
}
|
||||
|
||||
}
|
||||
146
wp-content/themes/eduacademy/inc/Block_Patterns.php
Normal file
@@ -0,0 +1,146 @@
|
||||
<?php
|
||||
/**
|
||||
* Patterns Handler.
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
namespace Eduacademy;
|
||||
|
||||
use WP_Block_Pattern_Categories_Registry;
|
||||
|
||||
/**
|
||||
* Class Block_Patterns
|
||||
*
|
||||
* @package eduacademy
|
||||
*/
|
||||
class Block_Patterns {
|
||||
|
||||
/**
|
||||
* Patterns categories.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
private $categories = array();
|
||||
/**
|
||||
* The patterns array.
|
||||
*
|
||||
* These use the file names without termination inside the `inc/patterns` directory.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
private $patterns = array();
|
||||
|
||||
/**
|
||||
* Block_Patterns constructor.
|
||||
*/
|
||||
public function __construct() {
|
||||
add_action( 'init', array( $this, 'run' ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Run the class functionality.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run() {
|
||||
$this->setup_properties();
|
||||
$this->register_categories();
|
||||
$this->register_patterns();
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup class properties.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
private function setup_properties() {
|
||||
$categories = array(
|
||||
'eduacademy' => array(
|
||||
'label' => __( 'Eduacademy Patterns', 'eduacademy' ),
|
||||
'description' => __( 'Patterns for several sections and components', 'eduacademy' ),
|
||||
),
|
||||
'eduacademy-layouts' => array(
|
||||
'label' => __( 'Eduacademy Layouts', 'eduacademy' ),
|
||||
'description' => __( 'Full-page layouts that can be used as templates', 'eduacademy' ),
|
||||
),
|
||||
);
|
||||
|
||||
$patterns = array(
|
||||
// layout templates patterns.
|
||||
'templates/single-post-cover-boxed',
|
||||
'templates/single-post-cover',
|
||||
'templates/archive-cover',
|
||||
'templates/archive-list',
|
||||
|
||||
// layout patterns.
|
||||
'layout/content-1',
|
||||
'layout/content-2',
|
||||
'layout/content-3',
|
||||
'layout/content-4',
|
||||
'layout/hero-1',
|
||||
'layout/hero-2',
|
||||
'layout/courses-1',
|
||||
'layout/courses-2',
|
||||
'layout/courses-3',
|
||||
'layout/features-1',
|
||||
'layout/features-2',
|
||||
'layout/instructors',
|
||||
'layout/testimonials-1',
|
||||
'layout/testimonials-2',
|
||||
'layout/course-cta',
|
||||
'layout/course-cta-2',
|
||||
'layout/curriculum',
|
||||
'layout/faq',
|
||||
'layout/pricing-1',
|
||||
'layout/pricing-2',
|
||||
|
||||
// Post patterns.
|
||||
'loops/posts-1',
|
||||
'loops/posts-2',
|
||||
'loops/posts-3',
|
||||
'loops/posts-4',
|
||||
|
||||
// Page title patterns.
|
||||
'page_titles/page-title-1',
|
||||
'page_titles/page-title-2',
|
||||
);
|
||||
|
||||
$this->categories = apply_filters( 'eduacademy_block_patterns_categories', $categories );
|
||||
$this->patterns = apply_filters( 'eduacademy_block_patterns', $patterns );
|
||||
}
|
||||
|
||||
/**
|
||||
* Register block patterns categories.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
private function register_categories() {
|
||||
foreach ( $this->categories as $slug => $args ) {
|
||||
if ( WP_Block_Pattern_Categories_Registry::get_instance()->is_registered( $slug ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
register_block_pattern_category( $slug, $args );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Register Patterns.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
private function register_patterns() {
|
||||
foreach ( $this->patterns as $pattern ) {
|
||||
$file = EDUACADEMY_DIR . 'inc/patterns/' . $pattern . '.php';
|
||||
|
||||
if ( ! is_file( $file ) ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
register_block_pattern( 'eduacademy/' . $pattern, require $file );
|
||||
}
|
||||
}
|
||||
}
|
||||
23
wp-content/themes/eduacademy/inc/Constants.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
/**
|
||||
* Constants class.
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
namespace Eduacademy;
|
||||
|
||||
/**
|
||||
* Class Constants
|
||||
*
|
||||
* @package eduacademy
|
||||
*/
|
||||
class Constants {
|
||||
const CACHE_KEYS = array(
|
||||
'dismissed-welcome-notice' => 'eduacademy-welcome-notice-dismissed',
|
||||
);
|
||||
|
||||
const PRODUCT_KEY = 'eduacademy';
|
||||
}
|
||||
107
wp-content/themes/eduacademy/inc/Core.php
Normal file
@@ -0,0 +1,107 @@
|
||||
<?php
|
||||
/**
|
||||
* Main theme class.
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
namespace Eduacademy;
|
||||
|
||||
/**
|
||||
* Class Core
|
||||
*
|
||||
* @package eduacademy
|
||||
*/
|
||||
class Core {
|
||||
/**
|
||||
* Core instance.
|
||||
*
|
||||
* @var Core
|
||||
*/
|
||||
public static $instance = null;
|
||||
|
||||
/**
|
||||
* Get the static instance of the class.
|
||||
*
|
||||
* @return Core
|
||||
*/
|
||||
public static function get_instance() {
|
||||
if ( null === self::$instance ) {
|
||||
self::$instance = new self();
|
||||
}
|
||||
|
||||
return self::$instance;
|
||||
}
|
||||
|
||||
/**
|
||||
* Core constructor.
|
||||
*/
|
||||
public function __construct() {
|
||||
$this->run_hooks();
|
||||
|
||||
new Admin();
|
||||
new Block_Patterns();
|
||||
}
|
||||
|
||||
/**
|
||||
* Initialize hooks.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
private function run_hooks() {
|
||||
add_action( 'after_setup_theme', array( $this, 'setup' ) );
|
||||
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue' ) );
|
||||
add_action( 'enqueue_block_editor_assets', array( $this, 'add_editor_styles' ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Setup theme.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setup() {
|
||||
load_theme_textdomain( 'eduacademy', EDUACADEMY_DIR . '/languages' );
|
||||
|
||||
$starter_content = new Starter_Content();
|
||||
|
||||
add_theme_support( 'starter-content', $starter_content->get() );
|
||||
add_theme_support( 'wp-block-styles' );
|
||||
add_theme_support( 'automatic-feed-links' );
|
||||
add_theme_support( 'post-thumbnails' );
|
||||
add_theme_support( 'editor-styles' );
|
||||
add_theme_support(
|
||||
'html5',
|
||||
array(
|
||||
'search-form',
|
||||
'comment-form',
|
||||
'comment-list',
|
||||
'gallery',
|
||||
'caption',
|
||||
'style',
|
||||
'script',
|
||||
)
|
||||
);
|
||||
|
||||
register_nav_menus( array( 'primary' => esc_html__( 'Primary Menu', 'eduacademy' ) ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Enqueue scripts and styles.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function enqueue() {
|
||||
Assets_Manager::enqueue_style( Assets_Manager::ASSETS_SLUGS['frontend-css'], 'style' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Add editor styles.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function add_editor_styles() {
|
||||
Assets_Manager::enqueue_style( Assets_Manager::ASSETS_SLUGS['editor-css'], 'editor' );
|
||||
}
|
||||
}
|
||||
203
wp-content/themes/eduacademy/inc/Neve_Mods.php
Normal file
@@ -0,0 +1,203 @@
|
||||
<?php
|
||||
/**
|
||||
* Neve Mods theme class.
|
||||
* This is used to inherit the mods from Neve.
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
namespace Eduacademy;
|
||||
|
||||
/**
|
||||
* Class Neve_Mods
|
||||
*
|
||||
* @package eduacademy
|
||||
*/
|
||||
class Neve_Mods {
|
||||
|
||||
/**
|
||||
* Neve_Mods instance.
|
||||
*
|
||||
* @var Neve_Mods
|
||||
*/
|
||||
public static $instance = null;
|
||||
|
||||
/**
|
||||
* The mods from Neve.
|
||||
*
|
||||
* @var array|false
|
||||
*/
|
||||
private $neve_mods = false;
|
||||
|
||||
const AVAILABLE_TYPEFACE_CONTROLS = array(
|
||||
'', // body does not have a name.
|
||||
'h1', // h1.
|
||||
'h2', // h2.
|
||||
'h3', // h3.
|
||||
'h4', // h4.
|
||||
'h5', // h5.
|
||||
'h6', // h6.
|
||||
);
|
||||
|
||||
/**
|
||||
* Get the static instance of the class.
|
||||
*
|
||||
* @return Neve_Mods
|
||||
*/
|
||||
public static function get_instance() {
|
||||
if ( null === self::$instance ) {
|
||||
self::$instance = new self();
|
||||
}
|
||||
|
||||
return self::$instance;
|
||||
}
|
||||
|
||||
/**
|
||||
* Neve_Mods constructor.
|
||||
*/
|
||||
public function __construct() {
|
||||
$this->neve_mods = get_option( 'theme_mods_neve' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a mod from Neve.
|
||||
*
|
||||
* @param string $name The mod name.
|
||||
* @param mixed $default The default value.
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
private function get_mod_from_neve( $name, $default = false ) {
|
||||
$value = $default;
|
||||
|
||||
if ( false === $this->neve_mods ) {
|
||||
return $value;
|
||||
}
|
||||
|
||||
if ( ! isset( $this->neve_mods[ $name ] ) ) {
|
||||
return $value;
|
||||
}
|
||||
|
||||
$value = apply_filters( "theme_mod_{$name}", $this->neve_mods[ $name ] );
|
||||
|
||||
return $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the button appearance from Neve.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function get_neve_button_appearance() {
|
||||
$button_appearance = $this->get_mod_from_neve( 'neve_button_appearance', array() );
|
||||
if ( empty( $button_appearance ) ) {
|
||||
return array();
|
||||
}
|
||||
|
||||
$appearance = array(
|
||||
'borderRadius' => '9999px',
|
||||
);
|
||||
|
||||
if ( isset( $button_appearance['borderRadius'] ) && ! empty( $button_appearance['borderRadius'] ) ) {
|
||||
$border_radius_array = $button_appearance['borderRadius'];
|
||||
|
||||
if ( ! isset( $border_radius_array['top'] ) || ! isset( $border_radius_array['right'] ) || ! isset( $border_radius_array['bottom'] ) || ! isset( $border_radius_array['left'] ) ) {
|
||||
return $appearance;
|
||||
}
|
||||
|
||||
if ( $border_radius_array['top'] === $border_radius_array['right'] && $border_radius_array['top'] === $border_radius_array['bottom'] && $border_radius_array['top'] === $border_radius_array['left'] ) {
|
||||
$appearance['borderRadius'] = $border_radius_array['top'] . 'px';
|
||||
return $appearance;
|
||||
}
|
||||
$appearance['borderRadius'] = $border_radius_array['top'] . 'px ' . $border_radius_array['right'] . 'px ' . $border_radius_array['bottom'] . 'px ' . $border_radius_array['left'] . 'px';
|
||||
}
|
||||
return $appearance;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the colors from Neve.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function get_neve_global_colors() {
|
||||
$default = array();
|
||||
$global_colors = $this->get_mod_from_neve( 'neve_global_colors', array() );
|
||||
|
||||
if ( empty( $global_colors ) ) {
|
||||
return $default;
|
||||
}
|
||||
|
||||
if ( ! isset( $global_colors['activePalette'] ) ) {
|
||||
return $default;
|
||||
}
|
||||
|
||||
$active = $global_colors['activePalette'];
|
||||
|
||||
if ( ! isset( $global_colors['palettes'][ $active ] ) ) {
|
||||
return $default;
|
||||
}
|
||||
|
||||
$palette = $global_colors['palettes'][ $active ];
|
||||
|
||||
if ( ! isset( $palette['colors'] ) ) {
|
||||
return $default;
|
||||
}
|
||||
|
||||
return $palette['colors'];
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the body font family from Neve.
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function get_neve_body_font_family() {
|
||||
return $this->get_mod_from_neve( 'neve_body_font_family', 'default' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the headings font family from Neve.
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function get_neve_headings_font_family() {
|
||||
return $this->get_mod_from_neve( 'neve_headings_font_family', 'default' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the typeface settings for a specific control.
|
||||
*
|
||||
* @param string $type_setting_name The type setting name.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function get_neve_typeface_general( $type_setting_name = '' ) {
|
||||
$default = array();
|
||||
if ( ! in_array( $type_setting_name, self::AVAILABLE_TYPEFACE_CONTROLS, true ) ) {
|
||||
return $default;
|
||||
}
|
||||
return $this->get_mod_from_neve( 'neve_' . $type_setting_name . 'typeface_general', $default );
|
||||
}
|
||||
|
||||
/**
|
||||
* Cloning is forbidden.
|
||||
*
|
||||
* @access public
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function __clone() {
|
||||
_doing_it_wrong( __FUNCTION__, '', '1.0.0' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Un-serializing instances of this class is forbidden.
|
||||
*
|
||||
* @access public
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function __wakeup() {
|
||||
_doing_it_wrong( __FUNCTION__, '', '1.0.0' );
|
||||
}
|
||||
}
|
||||
67
wp-content/themes/eduacademy/inc/Starter_Content.php
Normal file
@@ -0,0 +1,67 @@
|
||||
<?php
|
||||
/**
|
||||
* Starter content.
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
namespace Eduacademy;
|
||||
|
||||
/**
|
||||
* Class Starter Content
|
||||
*
|
||||
* @package eduacademy
|
||||
*/
|
||||
class Starter_Content {
|
||||
const HOME_SLUG = 'home';
|
||||
const BLOG_SLUG = 'blog';
|
||||
|
||||
/**
|
||||
* Get the starter content.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function get() {
|
||||
return array(
|
||||
'nav_menus' => array(
|
||||
'primary' => array(
|
||||
'items' => array(
|
||||
'home' => array(
|
||||
'type' => 'post_type',
|
||||
'object' => 'page',
|
||||
'object_id' => '{{' . self::HOME_SLUG . '}}',
|
||||
),
|
||||
'page_blog' => array(
|
||||
'type' => 'post_type',
|
||||
'object' => 'page',
|
||||
'object_id' => '{{' . self::BLOG_SLUG . '}}',
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
'options' => array(
|
||||
'page_on_front' => '{{' . self::HOME_SLUG . '}}',
|
||||
'page_for_posts' => '{{' . self::BLOG_SLUG . '}}',
|
||||
'show_on_front' => 'page',
|
||||
),
|
||||
'posts' => array(
|
||||
self::BLOG_SLUG => array(
|
||||
'post_name' => self::BLOG_SLUG,
|
||||
'post_type' => 'page',
|
||||
'post_title' => self::BLOG_SLUG,
|
||||
),
|
||||
self::HOME_SLUG => array(
|
||||
'post_type' => 'page',
|
||||
'post_title' => self::HOME_SLUG,
|
||||
'post_content' => '
|
||||
<!-- wp:paragraph {"align":"center"} -->
|
||||
<p class="has-text-align-center">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
',
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
157
wp-content/themes/eduacademy/inc/patterns/layout/content-1.php
Normal file
@@ -0,0 +1,157 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: content-1
|
||||
* title: Content 1
|
||||
* categories: Eduacademy
|
||||
* keywords: content, grid
|
||||
*/
|
||||
|
||||
use Eduacademy\Assets_Manager;
|
||||
|
||||
$eduacademy_img17 = Assets_Manager::get_image_url( 'theme-image-17.webp' );
|
||||
$eduacademy_img13 = Assets_Manager::get_image_url( 'theme-image-13.webp' );
|
||||
$eduacademy_img22 = Assets_Manager::get_image_url( 'theme-image-22.webp' );
|
||||
$eduacademy_img03 = Assets_Manager::get_image_url( 'theme-image-03.webp' );
|
||||
$eduacademy_img02 = Assets_Manager::get_image_url( 'theme-image-02.webp' );
|
||||
$eduacademy_img01 = Assets_Manager::get_image_url( 'theme-image-01.webp' );
|
||||
|
||||
return array(
|
||||
'title' => __( 'Content 1', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy' ),
|
||||
'keywords' => array( 'content', 'grid' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"metadata":{"name":"content 1"},"align":"full","style":{"spacing":{"padding":{"right":"0","left":"0","top":"0","bottom":"0"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:group {"metadata":{"name":"testimonial"},"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|50","right":"var:preset|spacing|50"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"metadata":{"name":"testimonial"},"align":"wide","style":{"spacing":{"padding":{"right":"0","left":"0"}}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group alignwide" style="padding-right:0;padding-left:0"><!-- wp:image {"id":118,"width":"140px","aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"50vw"}}} -->
|
||||
<figure class="wp-block-image size-full is-resized has-custom-border"><img src="' . esc_url( $eduacademy_img22 ) . '" alt="" class="wp-image-118" style="border-radius:50vw;aspect-ratio:1;object-fit:cover;width:140px"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:group {"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"luminous-vivid-amber","fontSize":"large"} -->
|
||||
<p class="has-luminous-vivid-amber-color has-text-color has-link-color has-large-font-size">★★★★★</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"medium"} -->
|
||||
<p class="has-medium-font-size">"The CSS course was a game changer for my freelancing career. Clear, practical, and beginner-friendly."</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Person</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:spacer {"width":"0px","style":{"layout":[]}} -->
|
||||
<div style="height:100px;width:0px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"grid"},"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|80","margin":{"top":"0","bottom":"0"}},"elements":{"link":{"color":{"text":"var:preset|color|ti-fg-alt"}}}},"backgroundColor":"ti-bg-inv","textColor":"ti-fg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull has-ti-fg-alt-color has-ti-bg-inv-background-color has-text-color has-background has-link-color" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"metadata":{"name":"bento"},"align":"wide","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"align":"wide","style":{"spacing":{"margin":{"top":"-170px"}}},"layout":{"type":"grid","minimumColumnWidth":"18rem"}} -->
|
||||
<div class="wp-block-group alignwide" style="margin-top:-170px"><!-- wp:group {"style":{"layout":{"columnSpan":2}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:cover {"url":"' . esc_url( $eduacademy_img03 ) . '","id":108,"dimRatio":30,"overlayColor":"black","isUserOverlayColor":true,"contentPosition":"bottom left","sizeSlug":"full","style":{"border":{"radius":"16px"},"spacing":{"padding":{"right":"var:preset|spacing|60","left":"var:preset|spacing|60","top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-cover has-custom-content-position is-position-bottom-left" style="border-radius:16px;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)"><img class="wp-block-cover__image-background wp-image-108 size-full" alt="" src="' . esc_url( $eduacademy_img03 ) . '" data-object-fit="cover"/><span aria-hidden="true" class="wp-block-cover__background has-black-background-color has-background-dim-30 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:heading {"textAlign":"left","fontSize":"x-large"} -->
|
||||
<h2 class="wp-block-heading has-text-align-left has-x-large-font-size">Build Smarter, Not Harder</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"medium"} -->
|
||||
<p class="has-medium-font-size">Discover proven workflows and tools to streamline your learning and development process.</p>
|
||||
<!-- /wp:paragraph --></div></div>
|
||||
<!-- /wp:cover --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"layout":{"columnSpan":1}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:cover {"url":"' . esc_url( $eduacademy_img02 ) . '","id":109,"dimRatio":40,"overlayColor":"black","isUserOverlayColor":true,"contentPosition":"bottom left","sizeSlug":"full","style":{"border":{"radius":"16px"},"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-cover has-custom-content-position is-position-bottom-left" style="border-radius:16px;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)"><img class="wp-block-cover__image-background wp-image-109 size-full" alt="" src="' . esc_url( $eduacademy_img02 ) . '" data-object-fit="cover"/><span aria-hidden="true" class="wp-block-cover__background has-black-background-color has-background-dim-40 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:heading {"textAlign":"left","fontSize":"large"} -->
|
||||
<h2 class="wp-block-heading has-text-align-left has-large-font-size">Meet Your Mentors</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"left","placeholder":"Write title…","fontSize":"normal"} -->
|
||||
<p class="has-text-align-left has-normal-font-size">Learn from experienced instructors who bring real-world expertise to every lesson.</p>
|
||||
<!-- /wp:paragraph --></div></div>
|
||||
<!-- /wp:cover --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"align":"wide","layout":{"type":"grid","minimumColumnWidth":"18rem"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"style":{"layout":{"columnSpan":1},"border":{"radius":"16px"},"spacing":{"blockGap":"var:preset|spacing|50"},"elements":{"link":{"color":{"text":"var:preset|color|ti-fg-alt"}}}},"backgroundColor":"ti-accent","textColor":"ti-fg-alt","layout":{"type":"flex","orientation":"vertical","verticalAlignment":"center"}} -->
|
||||
<div class="wp-block-group has-ti-fg-alt-color has-ti-accent-background-color has-text-color has-background has-link-color" style="border-radius:16px"><!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"style":{"typography":{"lineHeight":"1"}},"fontSize":"huge"} -->
|
||||
<p class="has-huge-font-size" style="line-height:1">2000+</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Students enrolled</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"style":{"typography":{"lineHeight":"1"}},"fontSize":"huge"} -->
|
||||
<p class="has-huge-font-size" style="line-height:1">300</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Lessons</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"style":{"typography":{"lineHeight":"1"}},"fontSize":"huge"} -->
|
||||
<p class="has-huge-font-size" style="line-height:1">5</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Expert instructors</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"layout":{"columnSpan":2}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
|
||||
<div class="wp-block-group"><!-- wp:cover {"url":"' . esc_url( $eduacademy_img01 ) . '","id":110,"dimRatio":30,"overlayColor":"black","isUserOverlayColor":true,"contentPosition":"bottom left","isDark":false,"sizeSlug":"full","style":{"border":{"radius":"16px"},"spacing":{"padding":{"right":"var:preset|spacing|60","left":"var:preset|spacing|60","top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}},"elements":{"link":{"color":{"text":"var:preset|color|ti-fg-alt"}}}},"textColor":"ti-fg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-cover is-light has-custom-content-position is-position-bottom-left has-ti-fg-alt-color has-text-color has-link-color" style="border-radius:16px;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)"><img class="wp-block-cover__image-background wp-image-110 size-full" alt="" src="' . esc_url( $eduacademy_img01 ) . '" data-object-fit="cover"/><span aria-hidden="true" class="wp-block-cover__background has-black-background-color has-background-dim-30 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:heading {"textAlign":"left","fontSize":"x-large"} -->
|
||||
<h2 class="wp-block-heading has-text-align-left has-x-large-font-size">Hands-On Projects</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"medium"} -->
|
||||
<p class="has-medium-font-size">Apply what you learn through interactive projects that prepare you for real-world challenges.</p>
|
||||
<!-- /wp:paragraph --></div></div>
|
||||
<!-- /wp:cover --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"testimonial"},"align":"wide","style":{"spacing":{"padding":{"right":"0","left":"0"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignwide" style="padding-right:0;padding-left:0"><!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"grid","minimumColumnWidth":"18rem"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"layout":{"type":"grid"}} -->
|
||||
<div class="wp-block-group"></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"layout":{"columnSpan":2}},"layout":{"type":"constrained","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"align":"left","style":{"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"luminous-vivid-amber","fontSize":"large"} -->
|
||||
<p class="has-text-align-left has-luminous-vivid-amber-color has-text-color has-link-color has-large-font-size">★★★★★</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"align":"left","fontSize":"medium"} -->
|
||||
<p class="has-text-align-left has-medium-font-size">"The CSS course was a game changer for my freelancing career. Clear, practical, and beginner-friendly."</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"align":"left"} -->
|
||||
<p class="has-text-align-left">George Kent, USA</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: content-2
|
||||
* title: Content 2
|
||||
* categories: Eduacademy
|
||||
* keywords: content
|
||||
*/
|
||||
|
||||
use Eduacademy\Assets_Manager;
|
||||
|
||||
$eduacademy_img13 = Assets_Manager::get_image_url( 'theme-image-13.webp' );
|
||||
|
||||
return array(
|
||||
'title' => __( 'Content 2', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy' ),
|
||||
'keywords' => array( 'content' ),
|
||||
'content' => '
|
||||
<!-- wp:columns {"metadata":{"name":"content 2"},"align":"full","style":{"spacing":{"margin":{"top":"0","bottom":"0"},"blockGap":{"top":"0","left":"0"},"padding":{"right":"0","left":"0","top":"0","bottom":"0"}},"elements":{"link":{"color":{"text":"var:preset|color|ti-fg-alt"}}}},"backgroundColor":"ti-bg-inv","textColor":"ti-fg-alt"} -->
|
||||
<div class="wp-block-columns alignfull has-ti-fg-alt-color has-ti-bg-inv-background-color has-text-color has-background has-link-color" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:column {"verticalAlignment":"center","width":"50%","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"},"blockGap":"0"}}} -->
|
||||
<div class="wp-block-column is-vertically-aligned-center" style="padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--50);flex-basis:50%"><!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center"} -->
|
||||
<h2 class="wp-block-heading has-text-align-center">Ready to start your learning journey? </h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center","fontSize":"medium"} -->
|
||||
<p class="has-text-align-center has-medium-font-size">Contact us today to explore our courses, ask questions, or get personalized recommendations. We’re here to help you gain the skills to build and launch your own web projects.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"className":"is-style-outline","fontSize":"medium"} -->
|
||||
<div class="wp-block-button is-style-outline"><a class="wp-block-button__link has-medium-font-size has-custom-font-size wp-element-button">Get in touch</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"width":"50%"} -->
|
||||
<div class="wp-block-column" style="flex-basis:50%"><!-- wp:group {"style":{"dimensions":{"minHeight":"600px"},"background":{"backgroundImage":{"url":"' . esc_url( $eduacademy_img13 ) . '","id":104,"source":"file","title":"theme-image-13"},"backgroundSize":"cover"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="min-height:600px"></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns -->
|
||||
',
|
||||
);
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: content-3
|
||||
* title: Content 3
|
||||
* categories: Eduacademy
|
||||
* keywords: content, grid
|
||||
*/
|
||||
|
||||
return array(
|
||||
'title' => __( 'Content 3', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy' ),
|
||||
'keywords' => array( 'content', 'grid' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"metadata":{"name":"content 3"},"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|40","right":"var:preset|spacing|40"},"margin":{"top":"0","bottom":"0"},"blockGap":"var:preset|spacing|80"}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull has-ti-bg-alt-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--40)"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"40px","left":"40px"}}}} -->
|
||||
<div class="wp-block-columns alignwide"><!-- wp:column {"style":{"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"}}}} -->
|
||||
<div class="wp-block-column" style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:heading {"textAlign":"left","align":"wide"} -->
|
||||
<h2 class="wp-block-heading alignwide has-text-align-left">Discover Course Features</h2>
|
||||
<!-- /wp:heading --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}}} -->
|
||||
<div class="wp-block-column" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:heading {"textAlign":"left","level":3,"style":{"typography":{"textTransform":"uppercase"},"elements":{"link":{"color":{"text":"var:preset|color|ti-accent"}}}},"textColor":"ti-accent","fontSize":"small"} -->
|
||||
<h3 class="wp-block-heading has-text-align-left has-ti-accent-color has-text-color has-link-color has-small-font-size" style="text-transform:uppercase">Interactive Lessons</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"left"} -->
|
||||
<p class="has-text-align-left">Hands-on exercises and challenges to reinforce learning.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:heading {"textAlign":"left","level":3,"style":{"typography":{"textTransform":"uppercase"},"elements":{"link":{"color":{"text":"var:preset|color|ti-accent"}}}},"textColor":"ti-accent","fontSize":"small"} -->
|
||||
<h3 class="wp-block-heading has-text-align-left has-ti-accent-color has-text-color has-link-color has-small-font-size" style="text-transform:uppercase">Expert Instructors</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"left"} -->
|
||||
<p class="has-text-align-left">Learn from seasoned professionals with years of industry experience.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}}} -->
|
||||
<div class="wp-block-column" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><!-- wp:heading {"textAlign":"left","level":3,"style":{"typography":{"textTransform":"uppercase"},"elements":{"link":{"color":{"text":"var:preset|color|ti-accent"}}}},"textColor":"ti-accent","fontSize":"small"} -->
|
||||
<h3 class="wp-block-heading has-text-align-left has-ti-accent-color has-text-color has-link-color has-small-font-size" style="text-transform:uppercase">Flexible Learning</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"left"} -->
|
||||
<p class="has-text-align-left">Access content anytime, anywhere, at your own pace.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:heading {"textAlign":"left","level":3,"style":{"typography":{"textTransform":"uppercase"},"elements":{"link":{"color":{"text":"var:preset|color|ti-accent"}}}},"textColor":"ti-accent","fontSize":"small"} -->
|
||||
<h3 class="wp-block-heading has-text-align-left has-ti-accent-color has-text-color has-link-color has-small-font-size" style="text-transform:uppercase">Real-World Projects</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"left"} -->
|
||||
<p class="has-text-align-left">Build practical projects you can showcase in your portfolio.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: content-4
|
||||
* title: Content 4
|
||||
* categories: Eduacademy
|
||||
* keywords: content
|
||||
*/
|
||||
|
||||
use Eduacademy\Assets_Manager;
|
||||
|
||||
$eduacademy_img13 = Assets_Manager::get_image_url( 'theme-image-13.webp' );
|
||||
|
||||
return array(
|
||||
'title' => __( 'Content 4', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy' ),
|
||||
'keywords' => array( 'cta' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"metadata":{"name":"content 4"},"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|50","right":"var:preset|spacing|50"},"margin":{"top":"0","bottom":"0"}}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull has-ti-bg-alt-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"align":"wide","layout":{"type":"grid","minimumColumnWidth":"28rem"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"left","verticalAlignment":"center"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading -->
|
||||
<h2 class="wp-block-heading">Build Your Skills</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Join thousands of students learning in-demand skills with step-by-step courses, practical exercises, and expert guidance.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button -->
|
||||
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button">Learn more</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:image {"id":104,"aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"16px"}}} -->
|
||||
<figure class="wp-block-image size-full has-custom-border"><img src="' . esc_url( $eduacademy_img13 ) . '" alt="" class="wp-image-104" style="border-radius:16px;aspect-ratio:1;object-fit:cover"/></figure>
|
||||
<!-- /wp:image --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
@@ -0,0 +1,103 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: course-cta-2
|
||||
* title: Course CTA 2
|
||||
* categories: Eduacademy
|
||||
* keywords: cta, banner
|
||||
*/
|
||||
|
||||
use Eduacademy\Assets_Manager;
|
||||
|
||||
$eduacademy_img13 = Assets_Manager::get_image_url( 'theme-image-13.webp' );
|
||||
$eduacademy_img19 = Assets_Manager::get_image_url( 'theme-image-19.webp' );
|
||||
|
||||
return array(
|
||||
'title' => __( 'Course CTA 2', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy' ),
|
||||
'keywords' => array( 'cta', 'banner' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"metadata":{"name":"Course CTA 2"},"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|40","right":"var:preset|spacing|40"},"margin":{"top":"0","bottom":"0"},"blockGap":"var:preset|spacing|80"},"elements":{"link":{"color":{"text":"var:preset|color|ti-fg-alt"}}}},"backgroundColor":"ti-bg-inv","textColor":"ti-fg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull has-ti-fg-alt-color has-ti-bg-inv-background-color has-text-color has-background has-link-color" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--40)"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"top":"var:preset|spacing|70","left":"var:preset|spacing|70"}}}} -->
|
||||
<div class="wp-block-columns alignwide"><!-- wp:column {"verticalAlignment":"center","width":"","style":{"spacing":{"blockGap":"var:preset|spacing|60"}}} -->
|
||||
<div class="wp-block-column is-vertically-aligned-center"><!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"0","bottom":"var:preset|spacing|50"}},"border":{"top":{"width":"0px","style":"none"},"right":{"width":"0px","style":"none"},"bottom":{"width":"1px"},"left":{"width":"0px","style":"none"}}},"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group alignwide" style="border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-width:1px;border-left-style:none;border-left-width:0px;padding-top:0;padding-bottom:var(--wp--preset--spacing--50)"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"level":3,"fontSize":"large"} -->
|
||||
<h3 class="wp-block-heading has-large-font-size">Buy Single course for $39</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>One-time purchase, lifetime access</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"0","bottom":"var:preset|spacing|50"}},"border":{"top":{"width":"0px","style":"none"},"right":{"width":"0px","style":"none"},"bottom":{"width":"1px"},"left":{"width":"0px","style":"none"}}},"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group alignwide" style="border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-width:1px;border-left-style:none;border-left-width:0px;padding-top:0;padding-bottom:var(--wp--preset--spacing--50)"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"level":3,"fontSize":"large"} -->
|
||||
<h3 class="wp-block-heading has-large-font-size">Self-Paced Learning</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Go through the lessons when it’s most convenient for you.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"0","bottom":"var:preset|spacing|50"}},"border":{"top":{"width":"0px","style":"none"},"right":{"width":"0px","style":"none"},"bottom":{"width":"1px"},"left":{"width":"0px","style":"none"}}},"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group alignwide" style="border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-width:1px;border-left-style:none;border-left-width:0px;padding-top:0;padding-bottom:var(--wp--preset--spacing--50)"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"level":3,"fontSize":"large"} -->
|
||||
<h3 class="wp-block-heading has-large-font-size">Expert Support</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Direct Q&A access to your instructor for guidance and feedback.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Gain the skills you need to start building professional websites today. From HTML basics to fully functional layouts, everything is explained step-by-step.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"width":"","style":{"spacing":{"blockGap":"0"},"border":{"radius":"16px"}}} -->
|
||||
<div class="wp-block-column" style="border-radius:16px"><!-- wp:image {"id":104,"sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":{"topLeft":"16px","topRight":"16px"}}}} -->
|
||||
<figure class="wp-block-image size-full has-custom-border"><img src="' . esc_url( $eduacademy_img13 ) . '" alt="" class="wp-image-104" style="border-top-left-radius:16px;border-top-right-radius:16px"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|80","right":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|30"},"border":{"radius":{"topLeft":"0px","topRight":"0px","bottomLeft":"16px","bottomRight":"16px"},"width":"0px","style":"none"},"elements":{"link":{"color":{"text":"var:preset|color|ti-fg"}}}},"backgroundColor":"ti-bg","textColor":"ti-fg","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-fg-color has-ti-bg-background-color has-text-color has-background has-link-color" style="border-style:none;border-width:0px;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-left-radius:16px;border-bottom-right-radius:16px;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--80)"><!-- wp:image {"id":121,"width":"80px","aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","align":"center","style":{"border":{"radius":"999px","width":"4px"},"spacing":{"margin":{"top":"-120px"}}},"borderColor":"ti-bg"} -->
|
||||
<figure class="wp-block-image aligncenter size-full is-resized has-custom-border" style="margin-top:-120px"><img src="' . esc_url( $eduacademy_img19 ) . '" alt="" class="has-border-color has-ti-bg-border-color wp-image-121" style="border-width:4px;border-radius:999px;aspect-ratio:1;object-fit:cover;width:80px"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:heading {"textAlign":"center","level":3} -->
|
||||
<h3 class="wp-block-heading has-text-align-center">Interested in this Course? Let us know!</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"luminous-vivid-amber","fontSize":"medium"} -->
|
||||
<p class="has-text-align-center has-luminous-vivid-amber-color has-text-color has-link-color has-medium-font-size">★★★★★</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"className":"is-style-fill"} -->
|
||||
<div class="wp-block-button is-style-fill"><a class="wp-block-button__link wp-element-button">Request Availability</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p></p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
150
wp-content/themes/eduacademy/inc/patterns/layout/course-cta.php
Normal file
@@ -0,0 +1,150 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: course-cta
|
||||
* title: Pricing 2
|
||||
* categories: Eduacademy
|
||||
* keywords: cta, course
|
||||
*/
|
||||
|
||||
use Eduacademy\Assets_Manager;
|
||||
|
||||
$eduacademy_img22 = Assets_Manager::get_image_url( 'theme-image-22.webp' );
|
||||
$eduacademy_img18 = Assets_Manager::get_image_url( 'theme-image-18.webp' );
|
||||
$eduacademy_img19 = Assets_Manager::get_image_url( 'theme-image-19.webp' );
|
||||
$eduacademy_img04 = Assets_Manager::get_image_url( 'theme-image-04.webp' );
|
||||
$eduacademy_img14 = Assets_Manager::get_image_url( 'theme-image-14.webp' );
|
||||
|
||||
return array(
|
||||
'title' => __( 'Course CTA', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy' ),
|
||||
'keywords' => array( 'CTA', 'course' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"metadata":{"name":"Course CTA"},"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|80","margin":{"top":"0","bottom":"0"}}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull has-ti-bg-alt-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"align":"wide","layout":{"type":"grid","minimumColumnWidth":"28rem"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|70"}},"layout":{"type":"flex","flexWrap":"nowrap","orientation":"vertical"}} -->
|
||||
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"level":1} -->
|
||||
<h1 class="wp-block-heading">Buy this Course</h1>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"medium"} -->
|
||||
<p class="has-medium-font-size">Buy just this course, keep it forever. Perfect for quick learning on this specific topic.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"top"}} -->
|
||||
<div class="wp-block-group"><!-- wp:image {"id":118,"width":"60px","aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"50vw"}}} -->
|
||||
<figure class="wp-block-image size-full is-resized has-custom-border"><img src="' . esc_url( $eduacademy_img22 ) . '" alt="" class="wp-image-118" style="border-radius:50vw;aspect-ratio:1;object-fit:cover;width:60px"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"luminous-vivid-amber"} -->
|
||||
<p class="has-luminous-vivid-amber-color has-text-color has-link-color">★★★★★</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>"Clear, concise, and exactly what I needed..."</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"style":{"typography":{"fontStyle":"normal","fontWeight":"600"}},"fontSize":"small"} -->
|
||||
<p class="has-small-font-size" style="font-style:normal;font-weight:600">Mary B. - USA</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"top"}} -->
|
||||
<div class="wp-block-group"><!-- wp:image {"id":120,"width":"60px","aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"50vw"}}} -->
|
||||
<figure class="wp-block-image size-full is-resized has-custom-border"><img src="' . esc_url( $eduacademy_img18 ) . '" alt="" class="wp-image-120" style="border-radius:50vw;aspect-ratio:1;object-fit:cover;width:60px"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"luminous-vivid-amber"} -->
|
||||
<p class="has-luminous-vivid-amber-color has-text-color has-link-color">★★★★★</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"normal"} -->
|
||||
<p class="has-normal-font-size">"I learned more in one week than in months elsewhere."</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"style":{"typography":{"fontStyle":"normal","fontWeight":"600"}},"fontSize":"small"} -->
|
||||
<p class="has-small-font-size" style="font-style:normal;font-weight:600">John B. - Germany</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"top"}} -->
|
||||
<div class="wp-block-group"><!-- wp:image {"id":121,"width":"60px","aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"50vw"}}} -->
|
||||
<figure class="wp-block-image size-full is-resized has-custom-border"><img src="' . esc_url( $eduacademy_img19 ) . '" alt="" class="wp-image-121" style="border-radius:50vw;aspect-ratio:1;object-fit:cover;width:60px"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"luminous-vivid-amber"} -->
|
||||
<p class="has-luminous-vivid-amber-color has-text-color has-link-color">★★★★★</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>"Practical lessons I could apply immediately."</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"style":{"typography":{"fontStyle":"normal","fontWeight":"600"}},"fontSize":"small"} -->
|
||||
<p class="has-small-font-size" style="font-style:normal;font-weight:600">Mary B. - France</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"pricing plan wrapper"},"style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}},"border":{"radius":"16px"}},"backgroundColor":"ti-bg","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" style="border-radius:16px;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)"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:image {"id":107,"aspectRatio":"16/9","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"16px"}}} -->
|
||||
<figure class="wp-block-image size-full has-custom-border"><img src="' . esc_url( $eduacademy_img04 ) . '" alt="" class="wp-image-107" style="border-radius:16px;aspect-ratio:16/9;object-fit:cover"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:image {"id":119,"width":"80px","aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","align":"center","style":{"border":{"radius":"999px","width":"4px"},"spacing":{"margin":{"top":"-40px","left":"7px"}}},"borderColor":"ti-bg"} -->
|
||||
<figure class="wp-block-image aligncenter size-full is-resized has-custom-border" style="margin-top:-40px;margin-left:7px"><img src="' . esc_url( $eduacademy_img14 ) . '" alt="" class="has-border-color has-ti-bg-border-color wp-image-119" style="border-width:4px;border-radius:999px;aspect-ratio:1;object-fit:cover;width:80px"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:heading {"textAlign":"center","fontSize":"x-large"} -->
|
||||
<h2 class="wp-block-heading has-text-align-center has-x-large-font-size">HTML Basics</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"center"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|ti-accent"}}}},"textColor":"ti-accent","fontSize":"x-large"} -->
|
||||
<p class="has-ti-accent-color has-text-color has-link-color has-x-large-font-size">$39</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"luminous-vivid-amber","fontSize":"large"} -->
|
||||
<p class="has-luminous-vivid-amber-color has-text-color has-link-color has-large-font-size">★★★★★</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"features wrapper"},"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"align":"center"} -->
|
||||
<p class="has-text-align-center">Full video lesson access / Downloadable resources / Lifetime access / Flexible learning</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"width":100,"fontSize":"large"} -->
|
||||
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link has-large-font-size has-custom-font-size wp-element-button">Buy this Course</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
140
wp-content/themes/eduacademy/inc/patterns/layout/courses-1.php
Normal file
@@ -0,0 +1,140 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: courses-1
|
||||
* title: Courses 1
|
||||
* categories: Eduacademy
|
||||
* keywords: courses, grid
|
||||
*/
|
||||
|
||||
use Eduacademy\Assets_Manager;
|
||||
|
||||
$eduacademy_img04 = Assets_Manager::get_image_url( 'theme-image-04.webp' );
|
||||
$eduacademy_img05 = Assets_Manager::get_image_url( 'theme-image-05.webp' );
|
||||
$eduacademy_img06 = Assets_Manager::get_image_url( 'theme-image-06.webp' );
|
||||
|
||||
return array(
|
||||
'title' => __( 'Courses 1', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy' ),
|
||||
'keywords' => array( 'courses', 'grid' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"metadata":{"name":"courses 1"},"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|80"}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull has-ti-bg-alt-background-color has-background" style="padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"align":"wide","layout":{"type":"grid","minimumColumnWidth":"28rem"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"level":1} -->
|
||||
<h1 class="wp-block-heading">Web Development Courses</h1>
|
||||
<!-- /wp:heading --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"fontSize":"medium"} -->
|
||||
<p class="has-medium-font-size">Join thousands of students learning in-demand skills with step-by-step courses, practical exercises, and expert guidance.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"align":"wide","layout":{"type":"grid","minimumColumnWidth":"18rem"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"metadata":{"name":"course card"},"style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"},"blockGap":"var:preset|spacing|40"}},"backgroundColor":"ti-bg","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" 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:image {"id":107,"aspectRatio":"4/3","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"16px"}}} -->
|
||||
<figure class="wp-block-image size-full has-custom-border"><img src="' . esc_url( $eduacademy_img04 ) . '" alt="" class="wp-image-107" style="border-radius:16px;aspect-ratio:4/3;object-fit:cover"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"content wrapper"},"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"fontSize":"medium"} -->
|
||||
<h2 class="wp-block-heading has-medium-font-size">HTML Basics</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">12 lessons / 9.5 hours</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"luminous-vivid-amber"} -->
|
||||
<p class="has-luminous-vivid-amber-color has-text-color has-link-color">★★★★★</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Learn the structure of the web and build your first webpage.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"width":100} -->
|
||||
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link wp-element-button">Enroll</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"course card"},"style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"},"blockGap":"var:preset|spacing|40"},"border":{"radius":"16px"}},"backgroundColor":"ti-bg","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" style="border-radius:16px;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:image {"id":106,"aspectRatio":"4/3","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"16px"}}} -->
|
||||
<figure class="wp-block-image size-full has-custom-border"><img src="' . esc_url( $eduacademy_img05 ) . '" alt="" class="wp-image-106" style="border-radius:16px;aspect-ratio:4/3;object-fit:cover"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"content wrapper"},"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"fontSize":"medium"} -->
|
||||
<h2 class="wp-block-heading has-medium-font-size">CSS Fundamentals</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">12 lessons / 9.5 hours</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"luminous-vivid-amber"} -->
|
||||
<p class="has-luminous-vivid-amber-color has-text-color has-link-color">★★★★★</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Style your pages with clean, scalable, and responsive designs.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"width":100} -->
|
||||
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link wp-element-button">Enroll</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"course card"},"style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"},"blockGap":"var:preset|spacing|40"},"border":{"radius":"16px"}},"backgroundColor":"ti-bg","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" style="border-radius:16px;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:image {"id":105,"aspectRatio":"4/3","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"16px"}}} -->
|
||||
<figure class="wp-block-image size-full has-custom-border"><img src="' . esc_url( $eduacademy_img06 ) . '" alt="" class="wp-image-105" style="border-radius:16px;aspect-ratio:4/3;object-fit:cover"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"content wrapper"},"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"fontSize":"medium"} -->
|
||||
<h2 class="wp-block-heading has-medium-font-size">JavaScript Essentials</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">12 lessons / 9.5 hours</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"luminous-vivid-amber"} -->
|
||||
<p class="has-luminous-vivid-amber-color has-text-color has-link-color">★★★★★</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Bring interactivity and logic to your web projects.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"width":100} -->
|
||||
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link wp-element-button">Enroll</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
140
wp-content/themes/eduacademy/inc/patterns/layout/courses-2.php
Normal file
@@ -0,0 +1,140 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: courses-2
|
||||
* title: Courses 2
|
||||
* categories: Eduacademy
|
||||
* keywords: CTA, courses
|
||||
*/
|
||||
|
||||
use Eduacademy\Assets_Manager;
|
||||
|
||||
$eduacademy_img04 = Assets_Manager::get_image_url( 'theme-image-04.webp' );
|
||||
$eduacademy_img05 = Assets_Manager::get_image_url( 'theme-image-05.webp' );
|
||||
$eduacademy_img06 = Assets_Manager::get_image_url( 'theme-image-06.webp' );
|
||||
|
||||
return array(
|
||||
'title' => __( 'Courses 2', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy' ),
|
||||
'keywords' => array( 'CTA', 'courses' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"metadata":{"name":"courses 2"},"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|80","margin":{"top":"0","bottom":"0"}}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull has-ti-bg-alt-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"align":"wide","layout":{"type":"grid","minimumColumnWidth":"28rem"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"level":1} -->
|
||||
<h1 class="wp-block-heading">Web Development Courses</h1>
|
||||
<!-- /wp:heading --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"fontSize":"medium"} -->
|
||||
<p class="has-medium-font-size">Join thousands of students learning in-demand skills with step-by-step courses, practical exercises, and expert guidance.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"align":"wide","layout":{"type":"grid","minimumColumnWidth":"37rem"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"metadata":{"name":"course card"},"style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"},"blockGap":"var:preset|spacing|40"},"border":{"radius":"16px"}},"backgroundColor":"ti-bg","layout":{"type":"grid","minimumColumnWidth":null,"columnCount":2}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" style="border-radius:16px;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:image {"id":107,"aspectRatio":"4/3","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"16px"}}} -->
|
||||
<figure class="wp-block-image size-full has-custom-border"><img src="' . esc_url( $eduacademy_img04 ) . '" alt="" class="wp-image-107" style="border-radius:16px;aspect-ratio:4/3;object-fit:cover"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"content wrapper"},"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"flex","orientation":"vertical","verticalAlignment":"center"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading -->
|
||||
<h2 class="wp-block-heading">HTML Basics</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph -->
|
||||
<p>12 lessons / 9.5 hours</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"luminous-vivid-amber"} -->
|
||||
<p class="has-luminous-vivid-amber-color has-text-color has-link-color">★★★★★</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Learn the structure of the web and build your first webpage.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"width":100} -->
|
||||
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link wp-element-button">Course Details</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"course card"},"style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"},"blockGap":"var:preset|spacing|40"},"border":{"radius":"16px"}},"backgroundColor":"ti-bg","layout":{"type":"grid","columnCount":null,"minimumColumnWidth":"28rem"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" style="border-radius:16px;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:image {"id":106,"aspectRatio":"4/3","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"16px"}}} -->
|
||||
<figure class="wp-block-image size-full has-custom-border"><img src="' . esc_url( $eduacademy_img05 ) . '" alt="" class="wp-image-106" style="border-radius:16px;aspect-ratio:4/3;object-fit:cover"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"content wrapper"},"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"flex","orientation":"vertical","verticalAlignment":"center"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading -->
|
||||
<h2 class="wp-block-heading">CSS Fundamentals</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph -->
|
||||
<p>12 lessons / 9.5 hours</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"luminous-vivid-amber"} -->
|
||||
<p class="has-luminous-vivid-amber-color has-text-color has-link-color">★★★★★</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Style your pages with clean, scalable, and responsive designs.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"width":100} -->
|
||||
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link wp-element-button">Course Details</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"course card"},"style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"},"blockGap":"var:preset|spacing|40"},"border":{"radius":"16px"}},"backgroundColor":"ti-bg","layout":{"type":"grid","columnCount":null,"minimumColumnWidth":"23rem"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" style="border-radius:16px;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:image {"id":105,"aspectRatio":"4/3","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"16px"}}} -->
|
||||
<figure class="wp-block-image size-full has-custom-border"><img src="' . esc_url( $eduacademy_img06 ) . '" alt="" class="wp-image-105" style="border-radius:16px;aspect-ratio:4/3;object-fit:cover"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"content wrapper"},"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"flex","orientation":"vertical","verticalAlignment":"center"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading -->
|
||||
<h2 class="wp-block-heading">JavaScript Essentials</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph -->
|
||||
<p>12 lessons / 9.5 hours</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"luminous-vivid-amber"} -->
|
||||
<p class="has-luminous-vivid-amber-color has-text-color has-link-color">★★★★★</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Bring interactivity and logic to your web projects.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"width":100} -->
|
||||
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link wp-element-button">Course Details</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
@@ -0,0 +1,93 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: courses-3
|
||||
* title: Courses 3
|
||||
* categories: Eduacademy
|
||||
* keywords: courses, grid
|
||||
*/
|
||||
|
||||
use Eduacademy\Assets_Manager;
|
||||
|
||||
$eduacademy_img04 = Assets_Manager::get_image_url( 'theme-image-04.webp' );
|
||||
$eduacademy_img05 = Assets_Manager::get_image_url( 'theme-image-05.webp' );
|
||||
|
||||
return array(
|
||||
'title' => __( 'Courses 3', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy' ),
|
||||
'keywords' => array( 'courses', 'grid' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"metadata":{"name":"courses 3"},"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|80","margin":{"top":"0","bottom":"0"}}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull has-ti-bg-alt-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"align":"wide","layout":{"type":"grid","minimumColumnWidth":"24rem"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"metadata":{"name":"course card"},"style":{"spacing":{"padding":{"right":"var:preset|spacing|60","left":"var:preset|spacing|60","top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"},"blockGap":"var:preset|spacing|40"}},"backgroundColor":"ti-bg","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" 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)"><!-- wp:image {"id":107,"aspectRatio":"4/3","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"16px"}}} -->
|
||||
<figure class="wp-block-image size-full has-custom-border"><img src="' . esc_url( $eduacademy_img04 ) . '" alt="" class="wp-image-107" style="border-radius:16px;aspect-ratio:4/3;object-fit:cover"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"content wrapper"},"style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center"} -->
|
||||
<h2 class="wp-block-heading has-text-align-center">HTML Basics</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"center"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph -->
|
||||
<p>12 lessons / 9.5 hours</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"luminous-vivid-amber"} -->
|
||||
<p class="has-luminous-vivid-amber-color has-text-color has-link-color">★★★★★</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center","fontSize":"medium"} -->
|
||||
<p class="has-text-align-center has-medium-font-size">Learn the structure of the web and build your first webpage.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons {"style":{"spacing":{"blockGap":{"top":"var:preset|spacing|30"}}},"layout":{"type":"flex","orientation":"horizontal","justifyContent":"center"}} -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"width":50} -->
|
||||
<div class="wp-block-button has-custom-width wp-block-button__width-50"><a class="wp-block-button__link wp-element-button">Course details</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"course card"},"style":{"spacing":{"padding":{"right":"var:preset|spacing|60","left":"var:preset|spacing|60","top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"},"blockGap":"var:preset|spacing|40"},"border":{"radius":"16px"}},"backgroundColor":"ti-bg","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" style="border-radius:16px;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)"><!-- wp:image {"id":106,"aspectRatio":"4/3","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"16px"}}} -->
|
||||
<figure class="wp-block-image size-full has-custom-border"><img src="' . esc_url( $eduacademy_img05 ) . '" alt="" class="wp-image-106" style="border-radius:16px;aspect-ratio:4/3;object-fit:cover"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"content wrapper"},"style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center"} -->
|
||||
<h2 class="wp-block-heading has-text-align-center">CSS Fundamentals</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"center"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph -->
|
||||
<p>12 lessons / 9.5 hours</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"luminous-vivid-amber"} -->
|
||||
<p class="has-luminous-vivid-amber-color has-text-color has-link-color">★★★★★</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center","fontSize":"medium"} -->
|
||||
<p class="has-text-align-center has-medium-font-size">Style your pages with clean, scalable, and responsive designs.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons {"style":{"spacing":{"blockGap":{"top":"var:preset|spacing|30"}}},"layout":{"type":"flex","justifyContent":"center"}} -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"width":50} -->
|
||||
<div class="wp-block-button has-custom-width wp-block-button__width-50"><a class="wp-block-button__link wp-element-button">Course details</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
116
wp-content/themes/eduacademy/inc/patterns/layout/curriculum.php
Normal file
@@ -0,0 +1,116 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: curriculum
|
||||
* title: Curriculum
|
||||
* categories: Eduacademy
|
||||
* keywords: content
|
||||
*/
|
||||
|
||||
use Eduacademy\Assets_Manager;
|
||||
|
||||
$eduacademy_img04 = Assets_Manager::get_image_url( 'theme-image-04.webp' );
|
||||
|
||||
return array(
|
||||
'title' => __( 'Curriculum', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy' ),
|
||||
'keywords' => array( 'content' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"metadata":{"name":"curriculum"},"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|80","margin":{"top":"0","bottom":"0"}}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull has-ti-bg-alt-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"align":"wide","layout":{"type":"grid","minimumColumnWidth":"28rem"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|70"}},"layout":{"type":"flex","flexWrap":"nowrap","orientation":"vertical"}} -->
|
||||
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:image {"id":107,"aspectRatio":"16/9","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"16px"}}} -->
|
||||
<figure class="wp-block-image size-full has-custom-border"><img src="' . esc_url( $eduacademy_img04 ) . '" alt="" class="wp-image-107" style="border-radius:16px;aspect-ratio:16/9;object-fit:cover"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:heading -->
|
||||
<h2 class="wp-block-heading">HTML Basics</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph -->
|
||||
<p>12 lessons / 9.5 hours</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"luminous-vivid-amber","fontSize":"medium"} -->
|
||||
<p class="has-luminous-vivid-amber-color has-text-color has-link-color has-medium-font-size">★★★★★</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"medium"} -->
|
||||
<p class="has-medium-font-size">Step-by-step lessons designed to take you from absolute beginner to confident HTML coder.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button -->
|
||||
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button">Buy this Course - $39</a></div>
|
||||
<!-- /wp:button -->
|
||||
|
||||
<!-- wp:button {"className":"is-style-outline"} -->
|
||||
<div class="wp-block-button is-style-outline"><a class="wp-block-button__link wp-element-button">Access all Courses</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30","padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}},"border":{"radius":"16px"},"elements":{"link":{"color":{"text":"var:preset|color|ti-fg"}}}},"backgroundColor":"ti-bg","textColor":"ti-fg","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-fg-color has-ti-bg-background-color has-text-color has-background has-link-color" style="border-radius:16px;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--60)"><!-- wp:heading {"level":3,"fontSize":"medium"} -->
|
||||
<h3 class="wp-block-heading has-medium-font-size">Introduction to HTML & How the Web Works </h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Understand what HTML is and how browsers render web pages.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30","padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}},"border":{"radius":"16px"},"elements":{"link":{"color":{"text":"var:preset|color|ti-fg"}}}},"backgroundColor":"ti-bg","textColor":"ti-fg","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-fg-color has-ti-bg-background-color has-text-color has-background has-link-color" style="border-radius:16px;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--60)"><!-- wp:heading {"level":3,"fontSize":"medium"} -->
|
||||
<h3 class="wp-block-heading has-medium-font-size">Setting Up Your First HTML Document</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Learn the basic structure and required elements of any HTML page.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30","padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}},"border":{"radius":"16px"},"elements":{"link":{"color":{"text":"var:preset|color|ti-fg"}}}},"backgroundColor":"ti-bg","textColor":"ti-fg","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-fg-color has-ti-bg-background-color has-text-color has-background has-link-color" style="border-radius:16px;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--60)"><!-- wp:heading {"level":3,"fontSize":"medium"} -->
|
||||
<h3 class="wp-block-heading has-medium-font-size">Headings, Paragraphs & Text Formatting</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Add and style text content with semantic meaning.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30","padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}},"border":{"radius":"16px"},"elements":{"link":{"color":{"text":"var:preset|color|ti-fg"}}}},"backgroundColor":"ti-bg","textColor":"ti-fg","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-fg-color has-ti-bg-background-color has-text-color has-background has-link-color" style="border-radius:16px;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--60)"><!-- wp:heading {"level":3,"fontSize":"medium"} -->
|
||||
<h3 class="wp-block-heading has-medium-font-size">Creating Tables & Forms</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Organize data with tables and collect user input with forms.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30","padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}},"border":{"radius":"16px"},"elements":{"link":{"color":{"text":"var:preset|color|ti-fg"}}}},"backgroundColor":"ti-bg","textColor":"ti-fg","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-fg-color has-ti-bg-background-color has-text-color has-background has-link-color" style="border-radius:16px;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--60)"><!-- wp:heading {"level":3,"fontSize":"medium"} -->
|
||||
<h3 class="wp-block-heading has-medium-font-size">HTML5 Features & Best Practices</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Discover modern HTML elements and recommended coding standards.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
72
wp-content/themes/eduacademy/inc/patterns/layout/faq.php
Normal file
@@ -0,0 +1,72 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: faq
|
||||
* title: faq
|
||||
* categories: Eduacademy
|
||||
* keywords: faq
|
||||
*/
|
||||
|
||||
return array(
|
||||
'title' => __( 'FAQ', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy' ),
|
||||
'keywords' => array( 'faq' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"metadata":{"name":"FAQ"},"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|80","margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--50)"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"left":"var:preset|spacing|70"}}}} -->
|
||||
<div class="wp-block-columns alignwide"><!-- wp:column {"verticalAlignment":"top"} -->
|
||||
<div class="wp-block-column is-vertically-aligned-top"><!-- wp:paragraph {"align":"left","style":{"typography":{"textTransform":"uppercase"},"elements":{"link":{"color":{"text":"var:preset|color|ti-accent"}}}},"textColor":"ti-accent","fontSize":"small"} -->
|
||||
<p class="has-text-align-left has-ti-accent-color has-text-color has-link-color has-small-font-size" style="text-transform:uppercase"><strong>FAQ</strong></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:heading -->
|
||||
<h2 class="wp-block-heading">Questions? Let us know!</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Or <a href="#">send us an email</a></p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"width":"66%","style":{"spacing":{"blockGap":"var:preset|spacing|30"}}} -->
|
||||
<div class="wp-block-column" style="flex-basis:66%"><!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}},"border":{"radius":"16px"}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-bg-alt-background-color has-background" style="border-radius:16px;padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)"><!-- wp:details -->
|
||||
<details class="wp-block-details"><summary>Question title goes here</summary><!-- wp:paragraph {"placeholder":"Type / to add a hidden block"} -->
|
||||
<p>Logic folds in on itself, recursive and calm, while events ripple outward, binding fragments into a single, persistent state. The compiler dreams in syntax; the browser wakes in render. Somewhere between the brackets and the build, a system emerges—not written, but grown.</p>
|
||||
<!-- /wp:paragraph --></details>
|
||||
<!-- /wp:details --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}},"border":{"radius":"16px"}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-bg-alt-background-color has-background" style="border-radius:16px;padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)"><!-- wp:details -->
|
||||
<details class="wp-block-details"><summary>Question title goes here</summary><!-- wp:paragraph {"placeholder":"Type / to add a hidden block"} -->
|
||||
<p>Logic folds in on itself, recursive and calm, while events ripple outward, binding fragments into a single, persistent state. The compiler dreams in syntax; the browser wakes in render. Somewhere between the brackets and the build, a system emerges—not written, but grown.</p>
|
||||
<!-- /wp:paragraph --></details>
|
||||
<!-- /wp:details --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}},"border":{"radius":"16px"}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-bg-alt-background-color has-background" style="border-radius:16px;padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)"><!-- wp:details -->
|
||||
<details class="wp-block-details"><summary>Question title goes here</summary><!-- wp:paragraph {"placeholder":"Type / to add a hidden block"} -->
|
||||
<p>Logic folds in on itself, recursive and calm, while events ripple outward, binding fragments into a single, persistent state. The compiler dreams in syntax; the browser wakes in render. Somewhere between the brackets and the build, a system emerges—not written, but grown.</p>
|
||||
<!-- /wp:paragraph --></details>
|
||||
<!-- /wp:details --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}},"border":{"radius":"16px"}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-bg-alt-background-color has-background" style="border-radius:16px;padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)"><!-- wp:details -->
|
||||
<details class="wp-block-details"><summary>Question title goes here</summary><!-- wp:paragraph {"placeholder":"Type / to add a hidden block"} -->
|
||||
<p>Logic folds in on itself, recursive and calm, while events ripple outward, binding fragments into a single, persistent state. The compiler dreams in syntax; the browser wakes in render. Somewhere between the brackets and the build, a system emerges—not written, but grown.</p>
|
||||
<!-- /wp:paragraph --></details>
|
||||
<!-- /wp:details --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
129
wp-content/themes/eduacademy/inc/patterns/layout/features-1.php
Normal file
@@ -0,0 +1,129 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: features-1
|
||||
* title: Features 1
|
||||
* categories: Eduacademy
|
||||
* keywords: features, cards
|
||||
*/
|
||||
|
||||
use Eduacademy\Assets_Manager;
|
||||
|
||||
$eduacademy_img12 = Assets_Manager::get_image_url( 'theme-image-12.webp' );
|
||||
$eduacademy_img11 = Assets_Manager::get_image_url( 'theme-image-11.webp' );
|
||||
$eduacademy_img10 = Assets_Manager::get_image_url( 'theme-image-10.webp' );
|
||||
$eduacademy_img07 = Assets_Manager::get_image_url( 'theme-image-07.webp' );
|
||||
$eduacademy_img08 = Assets_Manager::get_image_url( 'theme-image-08.webp' );
|
||||
$eduacademy_img09 = Assets_Manager::get_image_url( 'theme-image-09.webp' );
|
||||
|
||||
return array(
|
||||
'title' => __( 'Features 1', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy' ),
|
||||
'keywords' => array( 'features', 'cards' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"metadata":{"name":"features 1"},"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|50","right":"var:preset|spacing|50"},"margin":{"top":"0","bottom":"0"}}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull has-ti-bg-alt-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|60"}},"layout":{"type":"grid","minimumColumnWidth":"17rem"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40","padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}},"border":{"radius":"16px"}},"backgroundColor":"ti-bg","layout":{"type":"flex","orientation":"vertical","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" style="border-radius:16px;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)"><!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|40","left":"var:preset|spacing|40","top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}},"border":{"radius":"16px"}},"backgroundColor":"ti-accent","layout":{"type":"constrained","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group has-ti-accent-background-color has-background" style="border-radius:16px;padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)"><!-- wp:image {"id":111,"width":"48px","sizeSlug":"full","linkDestination":"none"} -->
|
||||
<figure class="wp-block-image size-full is-resized"><img src="' . esc_url( $eduacademy_img12 ) . '" alt="" class="wp-image-111" style="width:48px"/></figure>
|
||||
<!-- /wp:image --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:heading {"fontSize":"large"} -->
|
||||
<h2 class="wp-block-heading has-large-font-size">Global Learning Community</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"left"} -->
|
||||
<p class="has-text-align-left">Connect with learners from all over the world. Share ideas, collaborate on projects, and grow together in an inclusive, supportive environment.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40","padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}},"border":{"radius":"16px"}},"backgroundColor":"ti-bg","layout":{"type":"flex","orientation":"vertical","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" style="border-radius:16px;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)"><!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|40","left":"var:preset|spacing|40","top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}},"border":{"radius":"16px"}},"backgroundColor":"ti-accent","layout":{"type":"constrained","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group has-ti-accent-background-color has-background" style="border-radius:16px;padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)"><!-- wp:image {"id":112,"width":"48px","sizeSlug":"full","linkDestination":"none"} -->
|
||||
<figure class="wp-block-image size-full is-resized"><img src="' . esc_url( $eduacademy_img11 ) . '" alt="" class="wp-image-112" style="width:48px"/></figure>
|
||||
<!-- /wp:image --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:heading {"textAlign":"left","fontSize":"large"} -->
|
||||
<h2 class="wp-block-heading has-text-align-left has-large-font-size">Interactive Course Pages</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"left"} -->
|
||||
<p class="has-text-align-left">Our courses are designed with clean, easy-to-use layouts that make learning smooth and engaging. Access lessons, resources, and assignments in one place.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40","padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}},"border":{"radius":"16px"}},"backgroundColor":"ti-bg","layout":{"type":"flex","orientation":"vertical","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" style="border-radius:16px;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)"><!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|40","left":"var:preset|spacing|40","top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}},"border":{"radius":"16px"}},"backgroundColor":"ti-accent","layout":{"type":"constrained","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group has-ti-accent-background-color has-background" style="border-radius:16px;padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)"><!-- wp:image {"id":113,"width":"48px","sizeSlug":"full","linkDestination":"none"} -->
|
||||
<figure class="wp-block-image size-full is-resized"><img src="' . esc_url( $eduacademy_img10 ) . '" alt="" class="wp-image-113" style="width:48px"/></figure>
|
||||
<!-- /wp:image --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:heading {"textAlign":"left","fontSize":"large"} -->
|
||||
<h2 class="wp-block-heading has-text-align-left has-large-font-size">Expert Instructors</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"left"} -->
|
||||
<p class="has-text-align-left">Learn directly from seasoned professionals with real-world experience. Each instructor brings unique insights, practical skills, and mentorship to your journey.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40","padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}},"border":{"radius":"16px"}},"backgroundColor":"ti-bg","layout":{"type":"flex","orientation":"vertical","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" style="border-radius:16px;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)"><!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|40","left":"var:preset|spacing|40","top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}},"border":{"radius":"16px"}},"backgroundColor":"ti-accent","layout":{"type":"constrained","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group has-ti-accent-background-color has-background" style="border-radius:16px;padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)"><!-- wp:image {"id":116,"width":"48px","sizeSlug":"full","linkDestination":"none"} -->
|
||||
<figure class="wp-block-image size-full is-resized"><img src="' . esc_url( $eduacademy_img07 ) . '" alt="" class="wp-image-116" style="width:48px"/></figure>
|
||||
<!-- /wp:image --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:heading {"textAlign":"left","fontSize":"large"} -->
|
||||
<h2 class="wp-block-heading has-text-align-left has-large-font-size">Premium Content Quality</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"left"} -->
|
||||
<p class="has-text-align-left">Every lesson is carefully crafted for clarity, depth, and relevance. No fluff—just valuable, actionable knowledge you can apply immediately.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40","padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}},"border":{"radius":"16px"}},"backgroundColor":"ti-bg","layout":{"type":"flex","orientation":"vertical","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" style="border-radius:16px;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)"><!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|40","left":"var:preset|spacing|40","top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}},"border":{"radius":"16px"}},"backgroundColor":"ti-accent","layout":{"type":"constrained","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group has-ti-accent-background-color has-background" style="border-radius:16px;padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)"><!-- wp:image {"id":115,"width":"48px","sizeSlug":"full","linkDestination":"none"} -->
|
||||
<figure class="wp-block-image size-full is-resized"><img src="' . esc_url( $eduacademy_img08 ) . '" alt="" class="wp-image-115" style="width:48px"/></figure>
|
||||
<!-- /wp:image --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:heading {"textAlign":"left","fontSize":"large"} -->
|
||||
<h2 class="wp-block-heading has-text-align-left has-large-font-size">Earn Recognized Certificates</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"left"} -->
|
||||
<p class="has-text-align-left">Showcase your skills with certificates that prove your expertise. Perfect for your portfolio, résumé, or LinkedIn profile.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40","padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}},"border":{"radius":"16px"}},"backgroundColor":"ti-bg","layout":{"type":"flex","orientation":"vertical","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" style="border-radius:16px;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)"><!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|40","left":"var:preset|spacing|40","top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}},"border":{"radius":"16px"}},"backgroundColor":"ti-accent","layout":{"type":"constrained","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group has-ti-accent-background-color has-background" style="border-radius:16px;padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)"><!-- wp:image {"id":114,"width":"48px","sizeSlug":"full","linkDestination":"none"} -->
|
||||
<figure class="wp-block-image size-full is-resized"><img src="' . esc_url( $eduacademy_img09 ) . '" alt="" class="wp-image-114" style="width:48px"/></figure>
|
||||
<!-- /wp:image --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:heading {"textAlign":"left","fontSize":"large"} -->
|
||||
<h2 class="wp-block-heading has-text-align-left has-large-font-size">Learn Anywhere, Anytime</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"left"} -->
|
||||
<p class="has-text-align-left">Access your courses from any device. Whether online or offline, your progress syncs seamlessly so you can learn without interruption.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
@@ -0,0 +1,86 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: features-2
|
||||
* title: Features 2
|
||||
* categories: Eduacademy
|
||||
* keywords: features, grid
|
||||
*/
|
||||
|
||||
use Eduacademy\Assets_Manager;
|
||||
|
||||
$eduacademy_img13 = Assets_Manager::get_image_url( 'theme-image-13.webp' );
|
||||
$eduacademy_img03 = Assets_Manager::get_image_url( 'theme-image-03.webp' );
|
||||
$eduacademy_img02 = Assets_Manager::get_image_url( 'theme-image-02.webp' );
|
||||
|
||||
return array(
|
||||
'title' => __( 'Features 2', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy' ),
|
||||
'keywords' => array( 'features', 'grid' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"metadata":{"name":"features 2"},"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|80","margin":{"top":"0","bottom":"0"}},"elements":{"link":{"color":{"text":"var:preset|color|ti-fg-alt"}}}},"backgroundColor":"ti-bg-inv","textColor":"ti-fg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull has-ti-fg-alt-color has-ti-bg-inv-background-color has-text-color has-background has-link-color" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|80"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"align":"wide","layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:heading {"textAlign":"center","align":"wide"} -->
|
||||
<h2 class="wp-block-heading alignwide has-text-align-center">Why Choose us</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button -->
|
||||
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button">Choose your plan</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|70"}},"layout":{"type":"grid","minimumColumnWidth":"18rem"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:image {"id":104,"sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"16px"}}} -->
|
||||
<figure class="wp-block-image size-full has-custom-border"><img src="' . esc_url( $eduacademy_img13 ) . '" alt="" class="wp-image-104" style="border-radius:16px"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:heading {"level":3} -->
|
||||
<h3 class="wp-block-heading">Global Community</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"left"} -->
|
||||
<p class="has-text-align-left">Connect with learners from all over the world. Share ideas, collaborate on projects, and grow together in an inclusive, supportive environment.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:image {"id":108,"sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"16px"}}} -->
|
||||
<figure class="wp-block-image size-full has-custom-border"><img src="' . esc_url( $eduacademy_img03 ) . '" alt="" class="wp-image-108" style="border-radius:16px"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:heading {"level":3} -->
|
||||
<h3 class="wp-block-heading">Premium Content Quality</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Every lesson is carefully crafted for clarity, depth, and relevance. No fluff—just valuable, actionable knowledge you can apply immediately.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:image {"id":109,"sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"16px"}}} -->
|
||||
<figure class="wp-block-image size-full has-custom-border"><img src="' . esc_url( $eduacademy_img02 ) . '" alt="" class="wp-image-109" style="border-radius:16px"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:heading {"level":3} -->
|
||||
<h3 class="wp-block-heading">Expert Instructors</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Learn directly from seasoned professionals with real-world experience. Each instructor brings unique insights, practical skills, and mentorship to your journey.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
144
wp-content/themes/eduacademy/inc/patterns/layout/hero-1.php
Normal file
@@ -0,0 +1,144 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: hero-1
|
||||
* title: Hero with courses
|
||||
* categories: Eduacademy
|
||||
* keywords: hero, cover, courses
|
||||
*/
|
||||
|
||||
use Eduacademy\Assets_Manager;
|
||||
|
||||
$eduacademy_img17 = Assets_Manager::get_image_url( 'theme-image-17.webp' );
|
||||
$eduacademy_img13 = Assets_Manager::get_image_url( 'theme-image-13.webp' );
|
||||
$eduacademy_img04 = Assets_Manager::get_image_url( 'theme-image-04.webp' );
|
||||
$eduacademy_img05 = Assets_Manager::get_image_url( 'theme-image-05.webp' );
|
||||
$eduacademy_img06 = Assets_Manager::get_image_url( 'theme-image-06.webp' );
|
||||
|
||||
return array(
|
||||
'title' => __( 'Hero with Courses', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy' ),
|
||||
'keywords' => array( 'hero', 'cover', 'courses' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"metadata":{"name":"hero with courses"},"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|80"},"background":{"backgroundImage":{"url":"' . esc_url( $eduacademy_img17 ) . '","id":163,"source":"file","title":"theme-image-17"},"backgroundSize":"1100px","backgroundPosition":"100% 0%","backgroundRepeat":"no-repeat"}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull has-ti-bg-alt-background-color has-background" style="padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"align":"wide","layout":{"type":"grid","minimumColumnWidth":"28rem"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"left","verticalAlignment":"center"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"level":1} -->
|
||||
<h1 class="wp-block-heading">Build Your Skills. One Lesson at a Time.</h1>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"medium"} -->
|
||||
<p class="has-medium-font-size">Join thousands of students learning in-demand skills with step-by-step courses, practical exercises, and expert guidance.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button -->
|
||||
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button">Learn more</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"luminous-vivid-amber"} -->
|
||||
<p class="has-luminous-vivid-amber-color has-text-color has-link-color">★★★★★</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>1K+ reviews</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:image {"id":104,"aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"16px"}}} -->
|
||||
<figure class="wp-block-image size-full has-custom-border"><img src="' . esc_url( $eduacademy_img13 ) . '" alt="" class="wp-image-104" style="border-radius:16px;aspect-ratio:1;object-fit:cover"/></figure>
|
||||
<!-- /wp:image --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"align":"wide","layout":{"type":"grid","minimumColumnWidth":"18rem"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"metadata":{"name":"course card"},"style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"},"blockGap":"var:preset|spacing|40"}},"backgroundColor":"ti-bg","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" 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:image {"id":107,"aspectRatio":"4/3","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"16px"}}} -->
|
||||
<figure class="wp-block-image size-full has-custom-border"><img src="' . esc_url( $eduacademy_img04 ) . '" alt="" class="wp-image-107" style="border-radius:16px;aspect-ratio:4/3;object-fit:cover"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"content wrapper"},"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center","fontSize":"medium"} -->
|
||||
<h2 class="wp-block-heading has-text-align-center has-medium-font-size">HTML Basics</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center","fontSize":"small"} -->
|
||||
<p class="has-text-align-center has-small-font-size">12 lessons / 9.5 hours</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center"} -->
|
||||
<p class="has-text-align-center">Learn the structure of the web and build your first webpage.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"width":100} -->
|
||||
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link wp-element-button">Enroll</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"course card"},"style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"},"blockGap":"var:preset|spacing|40"},"border":{"radius":"16px"}},"backgroundColor":"ti-bg","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" style="border-radius:16px;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:image {"id":106,"aspectRatio":"4/3","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"16px"}}} -->
|
||||
<figure class="wp-block-image size-full has-custom-border"><img src="' . esc_url( $eduacademy_img05 ) . '" alt="" class="wp-image-106" style="border-radius:16px;aspect-ratio:4/3;object-fit:cover"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"content wrapper"},"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center","fontSize":"medium"} -->
|
||||
<h2 class="wp-block-heading has-text-align-center has-medium-font-size">CSS Fundamentals</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center","fontSize":"small"} -->
|
||||
<p class="has-text-align-center has-small-font-size">12 lessons / 9.5 hours</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center"} -->
|
||||
<p class="has-text-align-center">Style your pages with clean, scalable, and responsive designs.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"width":100} -->
|
||||
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link wp-element-button">Enroll</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"course card"},"style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"},"blockGap":"var:preset|spacing|40"},"border":{"radius":"16px"}},"backgroundColor":"ti-bg","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" style="border-radius:16px;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:image {"id":105,"aspectRatio":"4/3","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"16px"}}} -->
|
||||
<figure class="wp-block-image size-full has-custom-border"><img src="' . esc_url( $eduacademy_img06 ) . '" alt="" class="wp-image-105" style="border-radius:16px;aspect-ratio:4/3;object-fit:cover"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"content wrapper"},"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center","fontSize":"medium"} -->
|
||||
<h2 class="wp-block-heading has-text-align-center has-medium-font-size">JavaScript Essentials</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center","fontSize":"small"} -->
|
||||
<p class="has-text-align-center has-small-font-size">12 lessons / 9.5 hours</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center"} -->
|
||||
<p class="has-text-align-center">Bring interactivity and logic to your web projects.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"width":100} -->
|
||||
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link wp-element-button">Enroll</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
61
wp-content/themes/eduacademy/inc/patterns/layout/hero-2.php
Normal file
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: hero-2
|
||||
* title: Simple Hero
|
||||
* categories: Eduacademy
|
||||
* keywords: hero, cover
|
||||
*/
|
||||
|
||||
use Eduacademy\Assets_Manager;
|
||||
|
||||
$eduacademy_img17 = Assets_Manager::get_image_url( 'theme-image-17.webp' );
|
||||
$eduacademy_img13 = Assets_Manager::get_image_url( 'theme-image-13.webp' );
|
||||
|
||||
return array(
|
||||
'title' => __( 'HSimple Hero', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy' ),
|
||||
'keywords' => array( 'hero', 'cover' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"metadata":{"name":"hero-2"},"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|80","margin":{"top":"0","bottom":"0"}},"background":{"backgroundImage":{"url":"' . esc_url( $eduacademy_img17 ) . '","id":163,"source":"file","title":"theme-image-17"},"backgroundSize":"1100px","backgroundPosition":"100% 0%","backgroundRepeat":"no-repeat"}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull has-ti-bg-alt-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"align":"wide","layout":{"type":"grid","minimumColumnWidth":"28rem"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"left","verticalAlignment":"center"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"level":1} -->
|
||||
<h1 class="wp-block-heading">Build Your Skills. One Lesson at a Time.</h1>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"medium"} -->
|
||||
<p class="has-medium-font-size">Join thousands of students learning in-demand skills with step-by-step courses, practical exercises, and expert guidance.</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button -->
|
||||
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button">Learn more</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"luminous-vivid-amber"} -->
|
||||
<p class="has-luminous-vivid-amber-color has-text-color has-link-color">★★★★★</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>1K+ reviews</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:image {"id":104,"aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"16px"}}} -->
|
||||
<figure class="wp-block-image size-full has-custom-border"><img src="' . esc_url( $eduacademy_img13 ) . '" alt="" class="wp-image-104" style="border-radius:16px;aspect-ratio:1;object-fit:cover"/></figure>
|
||||
<!-- /wp:image --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
134
wp-content/themes/eduacademy/inc/patterns/layout/instructors.php
Normal file
@@ -0,0 +1,134 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: instructors
|
||||
* title: Instructors
|
||||
* categories: Eduacademy
|
||||
* keywords: instructors
|
||||
*/
|
||||
|
||||
use Eduacademy\Assets_Manager;
|
||||
|
||||
$eduacademy_img19 = Assets_Manager::get_image_url( 'theme-image-19.webp' );
|
||||
$eduacademy_img15 = Assets_Manager::get_image_url( 'theme-image-15.webp' );
|
||||
$eduacademy_img18 = Assets_Manager::get_image_url( 'theme-image-18.webp' );
|
||||
|
||||
return array(
|
||||
'title' => __( 'Instructors', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy' ),
|
||||
'keywords' => array( 'instructors' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"metadata":{"name":"instructors"},"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|50","right":"var:preset|spacing|50"},"margin":{"top":"0","bottom":"0"},"blockGap":"var:preset|spacing|80"}},"backgroundColor":"ti-bg","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull has-ti-bg-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"align":"wide","layout":{"type":"grid","minimumColumnWidth":"28rem"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"level":1} -->
|
||||
<h1 class="wp-block-heading">Expert Instructors</h1>
|
||||
<!-- /wp:heading --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"fontSize":"medium"} -->
|
||||
<p class="has-medium-font-size">Our team of passionate educators brings real-world experience to every lesson.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"align":"wide","layout":{"type":"grid","minimumColumnWidth":"19rem"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}},"border":{"radius":"16px"},"layout":{"columnSpan":1,"rowSpan":1}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignwide has-ti-bg-alt-background-color has-background" style="border-radius:16px;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)"><!-- wp:image {"id":121,"width":"140px","aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"16px"}}} -->
|
||||
<figure class="wp-block-image size-full is-resized has-custom-border"><img src="' . esc_url( $eduacademy_img19 ) . '" alt="" class="wp-image-121" style="border-radius:16px;aspect-ratio:1;object-fit:cover;width:140px"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"style":{"layout":{"columnSpan":1,"rowSpan":1}},"layout":{"type":"flex","orientation":"vertical","verticalAlignment":"center"}} -->
|
||||
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"align":"left","style":{"typography":{"textTransform":"uppercase"},"elements":{"link":{"color":{"text":"var:preset|color|ti-accent"}}}},"textColor":"ti-accent","fontSize":"small"} -->
|
||||
<p class="has-text-align-left has-ti-accent-color has-text-color has-link-color has-small-font-size" style="text-transform:uppercase"><strong>Instructor</strong></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:heading {"level":3} -->
|
||||
<h3 class="wp-block-heading">Tania Anselmo</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Expert in HTML and CSS. Helping students achieve their goals.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:social-links {"iconColor":"ti-fg-alt","iconColorValue":"var(\u002d\u002dnv-text-dark-bg, #FFFFFF)","iconBackgroundColor":"ti-bg-inv","iconBackgroundColorValue":"var(\u002d\u002dnv-dark-bg, #191919)","className":"is-style-default","style":{"spacing":{"blockGap":{"left":"var:preset|spacing|30"}}}} -->
|
||||
<ul class="wp-block-social-links has-icon-color has-icon-background-color is-style-default"><!-- wp:social-link {"url":"#","service":"x"} /-->
|
||||
|
||||
<!-- wp:social-link {"url":"#","service":"linkedin"} /-->
|
||||
|
||||
<!-- wp:social-link {"url":"#","service":"github"} /--></ul>
|
||||
<!-- /wp:social-links --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}},"border":{"radius":"16px"}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignwide has-ti-bg-alt-background-color has-background" style="border-radius:16px;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)"><!-- wp:image {"id":103,"width":"140px","aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"16px"}}} -->
|
||||
<figure class="wp-block-image size-full is-resized has-custom-border"><img src="' . esc_url( $eduacademy_img15 ) . '" alt="" class="wp-image-103" style="border-radius:16px;aspect-ratio:1;object-fit:cover;width:140px"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"style":{"border":{"radius":"16px"}},"layout":{"type":"flex","orientation":"vertical","verticalAlignment":"center","justifyContent":"stretch"}} -->
|
||||
<div class="wp-block-group" style="border-radius:16px"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase"},"elements":{"link":{"color":{"text":"var:preset|color|ti-accent"}}}},"textColor":"ti-accent","fontSize":"small"} -->
|
||||
<p class="has-ti-accent-color has-text-color has-link-color has-small-font-size" style="text-transform:uppercase"><strong>Instructor</strong></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:heading {"level":3} -->
|
||||
<h3 class="wp-block-heading">David Chen</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Specialist in Javascript. Dedicated to delivering engaging, practical lessons.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:social-links {"iconColor":"ti-fg-alt","iconColorValue":"var(\u002d\u002dnv-text-dark-bg, #FFFFFF)","iconBackgroundColor":"ti-bg-inv","iconBackgroundColorValue":"var(\u002d\u002dnv-dark-bg, #191919)","className":"is-style-default","style":{"spacing":{"blockGap":{"left":"var:preset|spacing|30"}}}} -->
|
||||
<ul class="wp-block-social-links has-icon-color has-icon-background-color is-style-default"><!-- wp:social-link {"url":"#","service":"x"} /-->
|
||||
|
||||
<!-- wp:social-link {"url":"#","service":"linkedin"} /-->
|
||||
|
||||
<!-- wp:social-link {"url":"#","service":"github"} /--></ul>
|
||||
<!-- /wp:social-links --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}},"border":{"radius":"16px"}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignwide has-ti-bg-alt-background-color has-background" style="border-radius:16px;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)"><!-- wp:image {"id":120,"width":"140px","aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"16px"}}} -->
|
||||
<figure class="wp-block-image size-full is-resized has-custom-border"><img src="' . esc_url( $eduacademy_img18 ) . '" alt="" class="wp-image-120" style="border-radius:16px;aspect-ratio:1;object-fit:cover;width:140px"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"style":{"border":{"radius":"16px"}},"layout":{"type":"flex","orientation":"vertical","verticalAlignment":"center","justifyContent":"stretch"}} -->
|
||||
<div class="wp-block-group" style="border-radius:16px"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase"},"elements":{"link":{"color":{"text":"var:preset|color|ti-accent"}}}},"textColor":"ti-accent","fontSize":"small"} -->
|
||||
<p class="has-ti-accent-color has-text-color has-link-color has-small-font-size" style="text-transform:uppercase"><strong>Instructor</strong></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:heading {"level":3} -->
|
||||
<h3 class="wp-block-heading">Amir Patel</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Guides students in bridging design and development.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:social-links {"iconColor":"ti-fg-alt","iconColorValue":"var(\u002d\u002dnv-text-dark-bg, #FFFFFF)","iconBackgroundColor":"ti-bg-inv","iconBackgroundColorValue":"var(\u002d\u002dnv-dark-bg, #191919)","className":"is-style-default","style":{"spacing":{"blockGap":{"left":"var:preset|spacing|30"}}}} -->
|
||||
<ul class="wp-block-social-links has-icon-color has-icon-background-color is-style-default"><!-- wp:social-link {"url":"#","service":"x"} /-->
|
||||
|
||||
<!-- wp:social-link {"url":"#","service":"linkedin"} /-->
|
||||
|
||||
<!-- wp:social-link {"url":"#","service":"github"} /--></ul>
|
||||
<!-- /wp:social-links --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
106
wp-content/themes/eduacademy/inc/patterns/layout/pricing-1.php
Normal file
@@ -0,0 +1,106 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: pricing-1
|
||||
* title: Pricing 1
|
||||
* categories: Eduacademy
|
||||
* keywords: pricing
|
||||
*/
|
||||
|
||||
return array(
|
||||
'title' => __( 'Pricing 1', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy' ),
|
||||
'keywords' => array( 'pricing' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|80","margin":{"top":"0","bottom":"0"}}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull has-ti-bg-alt-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:heading {"textAlign":"center","level":1} -->
|
||||
<h1 class="wp-block-heading has-text-align-center">Choose Your Learning Path</h1>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center","fontSize":"medium"} -->
|
||||
<p class="has-text-align-center has-medium-font-size">Flexible options for every type of learner.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"align":"wide","layout":{"type":"grid","minimumColumnWidth":"23rem"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"metadata":{"name":"pricing plan wrapper"},"style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}},"border":{"radius":"16px"}},"backgroundColor":"ti-bg","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" style="border-radius:16px;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)"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"level":3,"fontSize":"x-large"} -->
|
||||
<h3 class="wp-block-heading has-x-large-font-size">Starter</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p><em>Perfect for beginners taking their first steps in web development.</em></p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|ti-accent"}}}},"textColor":"ti-accent","fontSize":"large"} -->
|
||||
<p class="has-ti-accent-color has-text-color has-link-color has-large-font-size">$19/mo</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"features wrapper"},"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph -->
|
||||
<p>Access to all beginner courses</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Downloadable learning materials</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Community forum access</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button -->
|
||||
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button">Get started</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"pricing plan wrapper"},"style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}},"border":{"radius":"16px"}},"backgroundColor":"ti-bg","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" style="border-radius:16px;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)"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"level":3,"fontSize":"x-large"} -->
|
||||
<h3 class="wp-block-heading has-x-large-font-size">Pro</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p><em>Perfect for learners who want advanced skills and guided practice.</em></p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|ti-accent"}}}},"textColor":"ti-accent","fontSize":"large"} -->
|
||||
<p class="has-ti-accent-color has-text-color has-link-color has-large-font-size">$30/mo</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"features wrapper"},"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph -->
|
||||
<p>Everything in Starter</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Advanced courses & projects</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Monthly live Q&A sessions</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button -->
|
||||
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button">Get started</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
142
wp-content/themes/eduacademy/inc/patterns/layout/pricing-2.php
Normal file
@@ -0,0 +1,142 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: pricing-2
|
||||
* title: Pricing 2
|
||||
* categories: Eduacademy
|
||||
* keywords: pricing
|
||||
*/
|
||||
|
||||
return array(
|
||||
'title' => __( 'Pricing 2', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy' ),
|
||||
'keywords' => array( 'pricing' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"metadata":{"name":"pricing 2"},"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|80","margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center","level":1} -->
|
||||
<h1 class="wp-block-heading has-text-align-center">Choose Your Learning Path</h1>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center","fontSize":"medium"} -->
|
||||
<p class="has-text-align-center has-medium-font-size">Flexible options for every type of learner.</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"align":"wide","layout":{"type":"grid","minimumColumnWidth":"18rem"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"metadata":{"name":"pricing plan wrapper"},"style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}},"border":{"radius":"16px"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="border-radius:16px;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)"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"fontSize":"x-large"} -->
|
||||
<h2 class="wp-block-heading has-x-large-font-size">Pay As You Go</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p><em>Buy only the courses you need, keep them forever.</em></p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|ti-accent"}}}},"textColor":"ti-accent","fontSize":"medium"} -->
|
||||
<p class="has-ti-accent-color has-text-color has-link-color has-medium-font-size">from $15/course</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"features wrapper"},"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph -->
|
||||
<p>Buy only the modules you need</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Lifetime access</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Code samples included</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"width":100} -->
|
||||
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link wp-element-button">Pick a course</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"pricing plan wrapper"},"style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}},"border":{"radius":"16px"}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-bg-alt-background-color has-background" style="border-radius:16px;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)"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"fontSize":"x-large"} -->
|
||||
<h2 class="wp-block-heading has-x-large-font-size">Starter</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p><em>Access all beginner-friendly courses anytime.</em></p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|ti-accent"}}}},"textColor":"ti-accent","fontSize":"medium"} -->
|
||||
<p class="has-ti-accent-color has-text-color has-link-color has-medium-font-size">$19/mo</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"features wrapper"},"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph -->
|
||||
<p>Access to all beginner courses</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Downloadable materials</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Community forum access</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"width":100} -->
|
||||
<div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link wp-element-button">Get started</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"pricing plan wrapper"},"style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}},"border":{"radius":"16px"},"elements":{"link":{"color":{"text":"var:preset|color|ti-fg-alt"}}}},"backgroundColor":"ti-bg-inv","textColor":"ti-fg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-fg-alt-color has-ti-bg-inv-background-color has-text-color has-background has-link-color" style="border-radius:16px;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)"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"fontSize":"x-large"} -->
|
||||
<h2 class="wp-block-heading has-x-large-font-size">Pro</h2>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p><em>Unlock advanced lessons, projects, and live sessions.</em></p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|ti-fg-alt"}}}},"textColor":"ti-fg-alt","fontSize":"medium"} -->
|
||||
<p class="has-ti-fg-alt-color has-text-color has-link-color has-medium-font-size">$30/mo</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:group {"metadata":{"name":"features wrapper"},"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph -->
|
||||
<p>Everything in Starter</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Advanced courses & projects</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Monthly live Q&A sessions</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button {"textColor":"ti-fg-alt","width":100,"className":"is-style-fill","style":{"elements":{"link":{"color":{"text":"var:preset|color|ti-fg-alt"}}}}} -->
|
||||
<div class="wp-block-button has-custom-width wp-block-button__width-100 is-style-fill"><a class="wp-block-button__link has-ti-fg-alt-color has-text-color has-link-color wp-element-button">Get started</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
@@ -0,0 +1,110 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: testimonials-1
|
||||
* title: Testimonials 1
|
||||
* categories: Eduacademy
|
||||
* keywords: testimonials, reviews
|
||||
*/
|
||||
|
||||
use Eduacademy\Assets_Manager;
|
||||
|
||||
$eduacademy_img22 = Assets_Manager::get_image_url( 'theme-image-22.webp' );
|
||||
$eduacademy_img14 = Assets_Manager::get_image_url( 'theme-image-14.webp' );
|
||||
$eduacademy_img19 = Assets_Manager::get_image_url( 'theme-image-19.webp' );
|
||||
|
||||
return array(
|
||||
'title' => __( 'Testimonials 1', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy' ),
|
||||
'keywords' => array( 'testimonial', 'reviews' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"metadata":{"name":"testimonials 1"},"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|80","margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"align":"wide","layout":{"type":"grid","minimumColumnWidth":"28rem"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|70"}},"layout":{"type":"flex","flexWrap":"nowrap","orientation":"vertical"}} -->
|
||||
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"level":1} -->
|
||||
<h1 class="wp-block-heading">Hear from our students</h1>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"medium"} -->
|
||||
<p class="has-medium-font-size">1000+ Students worldwide</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"center"}} -->
|
||||
<div class="wp-block-group"><!-- wp:image {"id":118,"width":"80px","aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"50vw"}}} -->
|
||||
<figure class="wp-block-image size-full is-resized has-custom-border"><img src="' . esc_url( $eduacademy_img22 ) . '" alt="" class="wp-image-118" style="border-radius:50vw;aspect-ratio:1;object-fit:cover;width:80px"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"luminous-vivid-amber"} -->
|
||||
<p class="has-luminous-vivid-amber-color has-text-color has-link-color">★★★★★</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"medium"} -->
|
||||
<p class="has-medium-font-size">"Clear, concise, and exactly what I needed..."</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">Mary B. - USA</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"center"}} -->
|
||||
<div class="wp-block-group"><!-- wp:image {"id":119,"width":"80px","aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"50vw"}}} -->
|
||||
<figure class="wp-block-image size-full is-resized has-custom-border"><img src="' . esc_url( $eduacademy_img14 ) . '" alt="" class="wp-image-119" style="border-radius:50vw;aspect-ratio:1;object-fit:cover;width:80px"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"luminous-vivid-amber"} -->
|
||||
<p class="has-luminous-vivid-amber-color has-text-color has-link-color">★★★★★</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"medium"} -->
|
||||
<p class="has-medium-font-size">"I learned more in one week than in months elsewhere."</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">John B. - Germany</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"center"}} -->
|
||||
<div class="wp-block-group"><!-- wp:image {"id":121,"width":"80px","aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"50vw"}}} -->
|
||||
<figure class="wp-block-image size-full is-resized has-custom-border"><img src="' . esc_url( $eduacademy_img19 ) . '" alt="" class="wp-image-121" style="border-radius:50vw;aspect-ratio:1;object-fit:cover;width:80px"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"luminous-vivid-amber"} -->
|
||||
<p class="has-luminous-vivid-amber-color has-text-color has-link-color">★★★★★</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"fontSize":"medium"} -->
|
||||
<p class="has-medium-font-size">"Practical lessons I could apply immediately."</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">Mary B. - France</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
@@ -0,0 +1,110 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: testimonials-2
|
||||
* title: Testiminials 2
|
||||
* categories: Eduacademy
|
||||
* keywords: courses, grid
|
||||
*/
|
||||
|
||||
use Eduacademy\Assets_Manager;
|
||||
|
||||
$eduacademy_img22 = Assets_Manager::get_image_url( 'theme-image-22.webp' );
|
||||
$eduacademy_img14 = Assets_Manager::get_image_url( 'theme-image-14.webp' );
|
||||
$eduacademy_img19 = Assets_Manager::get_image_url( 'theme-image-19.webp' );
|
||||
|
||||
return array(
|
||||
'title' => __( 'Testimonials 2', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy' ),
|
||||
'keywords' => array( 'testimonials', 'grid' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"metadata":{"name":"testimonials 2"},"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"},"blockGap":"var:preset|spacing|80","margin":{"top":"0","bottom":"0"}}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull has-ti-bg-alt-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--50)"><!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|80"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|70"}},"layout":{"type":"flex","flexWrap":"nowrap","orientation":"vertical","justifyContent":"center"}} -->
|
||||
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center","level":1} -->
|
||||
<h1 class="wp-block-heading has-text-align-center">Hear from our students</h1>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center","fontSize":"medium"} -->
|
||||
<p class="has-text-align-center has-medium-font-size">1000+ Students worldwide</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"grid","minimumColumnWidth":"22rem"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40","padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}},"border":{"radius":"16px"}},"backgroundColor":"ti-bg","layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" style="border-radius:16px;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:image {"id":118,"width":"80px","aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"50vw"}}} -->
|
||||
<figure class="wp-block-image size-full is-resized has-custom-border"><img src="' . esc_url( $eduacademy_img22 ) . '" alt="" class="wp-image-118" style="border-radius:50vw;aspect-ratio:1;object-fit:cover;width:80px"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"align":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"luminous-vivid-amber"} -->
|
||||
<p class="has-text-align-center has-luminous-vivid-amber-color has-text-color has-link-color">★★★★★</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center","fontSize":"medium"} -->
|
||||
<p class="has-text-align-center has-medium-font-size">"Clear, concise, and exactly what I needed..."</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">Mary B. - USA</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40","padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}},"border":{"radius":"16px"}},"backgroundColor":"ti-bg","layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" style="border-radius:16px;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:image {"id":119,"width":"80px","aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"50vw"}}} -->
|
||||
<figure class="wp-block-image size-full is-resized has-custom-border"><img src="' . esc_url( $eduacademy_img14 ) . '" alt="" class="wp-image-119" style="border-radius:50vw;aspect-ratio:1;object-fit:cover;width:80px"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"align":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"luminous-vivid-amber"} -->
|
||||
<p class="has-text-align-center has-luminous-vivid-amber-color has-text-color has-link-color">★★★★★</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center","fontSize":"medium"} -->
|
||||
<p class="has-text-align-center has-medium-font-size">"I learned more in one week than in months elsewhere."</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"align":"center","fontSize":"small"} -->
|
||||
<p class="has-text-align-center has-small-font-size">John B. - Germany</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40","padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}},"border":{"radius":"16px"}},"backgroundColor":"ti-bg","layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" style="border-radius:16px;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:image {"id":121,"width":"80px","aspectRatio":"1","scale":"cover","sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"50vw"}}} -->
|
||||
<figure class="wp-block-image size-full is-resized has-custom-border"><img src="' . esc_url( $eduacademy_img19 ) . '" alt="" class="wp-image-121" style="border-radius:50vw;aspect-ratio:1;object-fit:cover;width:80px"/></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"align":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|luminous-vivid-amber"}}}},"textColor":"luminous-vivid-amber"} -->
|
||||
<p class="has-text-align-center has-luminous-vivid-amber-color has-text-color has-link-color">★★★★★</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"align":"center","fontSize":"medium"} -->
|
||||
<p class="has-text-align-center has-medium-font-size">"Practical lessons I could apply immediately."</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"fontSize":"small"} -->
|
||||
<p class="has-small-font-size">Mary B. - France</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
44
wp-content/themes/eduacademy/inc/patterns/loops/posts-1.php
Normal file
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: posts-1
|
||||
* title: Posts 1
|
||||
* categories: Eduacademy
|
||||
* keywords: posts, loop, blog
|
||||
*/
|
||||
|
||||
return array(
|
||||
'title' => __( 'Posts', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy', 'posts' ),
|
||||
'keywords' => array( 'posts', 'loop', 'blog' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"metadata":{"name":"posts 1"},"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|30","right":"var:preset|spacing|30"},"blockGap":"var:preset|spacing|80","margin":{"top":"0","bottom":"0"}}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull has-ti-bg-alt-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--30)"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"constrained","justifyContent":"left"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center"} -->
|
||||
<h2 class="wp-block-heading has-text-align-center">Latest Blog Posts</h2>
|
||||
<!-- /wp:heading --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:query {"queryId":4,"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"align":"wide","layout":{"type":"constrained","contentSize":null}} -->
|
||||
<div class="wp-block-query alignwide"><!-- wp:post-template {"align":"wide","layout":{"type":"grid","columnCount":3}} -->
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"0"},"border":{"radius":"16px"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="border-radius:16px"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"3/2","style":{"border":{"radius":{"topLeft":"16px","topRight":"16px"}}}} /-->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"16px","padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}},"border":{"radius":{"bottomLeft":"16px","bottomRight":"16px"}}},"backgroundColor":"ti-bg","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" style="border-bottom-left-radius:16px;border-bottom-right-radius:16px;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:post-date {"style":{"typography":{"textTransform":"none"}},"fontSize":"small"} /-->
|
||||
|
||||
<!-- wp:post-title {"level":3,"isLink":true} /-->
|
||||
|
||||
<!-- wp:post-excerpt {"moreText":"Continue Reading","style":{"elements":{"link":{"color":{"text":"var:preset|color|ti-accent"}}}}} /--></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:post-template --></div>
|
||||
<!-- /wp:query --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
36
wp-content/themes/eduacademy/inc/patterns/loops/posts-2.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: posts-2
|
||||
* title: Posts 2
|
||||
* categories: Eduacademy
|
||||
* keywords: posts, loop, blog
|
||||
*/
|
||||
|
||||
return array(
|
||||
'title' => __( 'Posts', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy', 'posts' ),
|
||||
'keywords' => array( 'posts', 'loop', 'blog' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"metadata":{"name":"posts 2"},"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|30","right":"var:preset|spacing|30"},"blockGap":"var:preset|spacing|80","margin":{"top":"0","bottom":"0"}}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull has-ti-bg-alt-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--30)"><!-- wp:query {"queryId":4,"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"align":"wide","layout":{"type":"constrained","contentSize":null}} -->
|
||||
<div class="wp-block-query alignwide"><!-- wp:post-template {"align":"wide","layout":{"type":"grid","columnCount":3}} -->
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"0"},"border":{"radius":"16px"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="border-radius:16px"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"3/2","style":{"border":{"radius":{"topLeft":"16px","topRight":"16px"}}}} /-->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"16px","padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}},"border":{"radius":{"bottomLeft":"16px","bottomRight":"16px"}}},"backgroundColor":"ti-bg","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" style="border-bottom-left-radius:16px;border-bottom-right-radius:16px;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:post-date {"textAlign":"center","style":{"typography":{"textTransform":"none"}},"fontSize":"small"} /-->
|
||||
|
||||
<!-- wp:post-title {"textAlign":"center","level":3,"isLink":true} /--></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:post-template --></div>
|
||||
<!-- /wp:query --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
38
wp-content/themes/eduacademy/inc/patterns/loops/posts-3.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: posts-3
|
||||
* title: Posts 3
|
||||
* categories: Eduacademy
|
||||
* keywords: posts, loop, blog
|
||||
*/
|
||||
|
||||
return array(
|
||||
'title' => __( 'Posts 3', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy', 'posts' ),
|
||||
'keywords' => array( 'posts', 'loop', 'blog' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|40","right":"var:preset|spacing|40"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--40)"><!-- wp:query {"queryId":0,"query":{"perPage":4,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"align":"wide"} -->
|
||||
<div class="wp-block-query alignwide"><!-- wp:post-template {"style":{"spacing":{"blockGap":"var:preset|spacing|70"}}} -->
|
||||
<!-- wp:columns {"style":{"spacing":{"padding":{"bottom":"var:preset|spacing|70"}},"border":{"bottom":{"width":"1px"}}}} -->
|
||||
<div class="wp-block-columns" style="border-bottom-width:1px;padding-bottom:var(--wp--preset--spacing--70)"><!-- wp:column {"width":""} -->
|
||||
<div class="wp-block-column"><!-- wp:post-date {"style":{"typography":{"textTransform":"uppercase","fontStyle":"normal","fontWeight":"600"}},"fontSize":"small"} /--></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"width":"70%","style":{"spacing":{"blockGap":"var:preset|spacing|30"}}} -->
|
||||
<div class="wp-block-column" style="flex-basis:70%"><!-- wp:post-title {"isLink":true,"fontSize":"x-large"} /-->
|
||||
|
||||
<!-- wp:post-excerpt /--></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns -->
|
||||
<!-- /wp:post-template --></div>
|
||||
<!-- /wp:query --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
38
wp-content/themes/eduacademy/inc/patterns/loops/posts-4.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: posts-4
|
||||
* title: Posts 4
|
||||
* categories: Eduacademy
|
||||
* keywords: posts, loop, blog
|
||||
*/
|
||||
|
||||
return array(
|
||||
'title' => __( 'Posts 4', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy', 'posts' ),
|
||||
'keywords' => array( 'posts', 'loop', 'blog' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"metadata":{"name":"Posts 4"},"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"blockGap":"40px","margin":{"top":"0px","bottom":"0px"}}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull has-ti-bg-alt-background-color has-background" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px"><!-- wp:query {"queryId":1,"query":{"perPage":2,"pages":"3","offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"align":"wide"} -->
|
||||
<div class="wp-block-query alignwide"><!-- wp:post-template {"align":"wide","layout":{"type":"grid","columnCount":2}} -->
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"0"},"border":{"radius":"16px"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="border-radius:16px"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"3/2","style":{"border":{"radius":{"topLeft":"16px","topRight":"16px"}}}} /-->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"16px","padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}},"border":{"radius":{"bottomLeft":"16px","bottomRight":"16px"}}},"backgroundColor":"ti-bg","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-bg-background-color has-background" style="border-bottom-left-radius:16px;border-bottom-right-radius:16px;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:post-date {"style":{"typography":{"textTransform":"none"}},"fontSize":"small"} /-->
|
||||
|
||||
<!-- wp:post-title {"isLink":true} /-->
|
||||
|
||||
<!-- wp:post-excerpt {"moreText":"Continue Reading","style":{"elements":{"link":{"color":{"text":"var:preset|color|ti-accent"}}}}} /--></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
<!-- /wp:post-template --></div>
|
||||
<!-- /wp:query --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: page-title-1
|
||||
* title: Page Title
|
||||
* categories: Eduacademy
|
||||
* keywords: page title
|
||||
*/
|
||||
|
||||
use Eduacademy\Assets_Manager;
|
||||
|
||||
return array(
|
||||
'title' => __( 'Page Title', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy', 'posts' ),
|
||||
'keywords' => array( 'page title' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"metadata":{"name":"page title 1"},"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"},"margin":{"top":"0px","bottom":"0px"},"blockGap":"8px"}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull has-ti-bg-alt-background-color has-background" style="margin-top:0px;margin-bottom:0px;padding-top:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80)"><!-- wp:heading {"textAlign":"left","level":1,"align":"wide"} -->
|
||||
<h1 class="wp-block-heading alignwide has-text-align-left">Title goes here</h1>
|
||||
<!-- /wp:heading --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: page-title-2
|
||||
* title: Page Title
|
||||
* categories: Eduacademy
|
||||
* keywords: page title, cover
|
||||
*/
|
||||
|
||||
use Eduacademy\Assets_Manager;
|
||||
|
||||
$eduacademy_img04 = Assets_Manager::get_image_url( 'theme-image-04.webp' );
|
||||
|
||||
return array(
|
||||
'title' => __( 'Page Title', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy', 'posts' ),
|
||||
'keywords' => array( 'page title', 'cover' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:cover {"url":"' . esc_url( $eduacademy_img04 ) . '","id":299,"dimRatio":90,"overlayColor":"ti-bg-inv","isUserOverlayColor":true,"minHeight":300,"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|40","right":"var:preset|spacing|40"},"margin":{"top":"0","bottom":"0"}}}} -->
|
||||
<div class="wp-block-cover alignfull" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--40);min-height:300px"><span aria-hidden="true" class="wp-block-cover__background has-ti-bg-inv-background-color has-background-dim-90 has-background-dim"></span><img class="wp-block-cover__image-background wp-image-299" alt="" src="' . esc_url( $eduacademy_img04 ) . '" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:heading {"textAlign":"center","level":1,"align":"wide"} -->
|
||||
<h1 class="wp-block-heading alignwide has-text-align-center">Title goes here</h1>
|
||||
<!-- /wp:heading --></div></div>
|
||||
<!-- /wp:cover --></div>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
@@ -0,0 +1,54 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: archive-cover
|
||||
* title: Archive (Cover)
|
||||
* categories: Eduacademy
|
||||
* keywords: archive, posts, cover
|
||||
*/
|
||||
|
||||
use Eduacademy\Assets_Manager;
|
||||
|
||||
return array(
|
||||
'title' => __( 'Archive (Cover)', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy-layouts' ),
|
||||
'keywords' => array( 'archive', 'posts', 'cover' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"tagName":"main","align":"full","style":{"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"},"blockGap":"0","margin":{"top":"0","bottom":"0"}}}} -->
|
||||
<main class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"},"blockGap":"0","margin":{"top":"0","bottom":"0"}}}} -->
|
||||
<main class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|40","right":"var:preset|spacing|40"},"margin":{"top":"0","bottom":"0"},"blockGap":"8px"},"elements":{"link":{"color":{"text":"var:preset|color|ti-fg-alt"}}}},"backgroundColor":"ti-bg-inv","textColor":"ti-fg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull has-ti-fg-alt-color has-ti-bg-inv-background-color has-text-color has-background has-link-color" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--40)"><!-- wp:query-title {"type":"archive","textAlign":"center","align":"wide"} /--></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"blockGap":"40px","margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px"><!-- wp:query {"queryId":1,"query":{"perPage":"4","pages":"","offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"align":"wide"} -->
|
||||
<div class="wp-block-query alignwide"><!-- wp:post-template {"layout":{"type":"grid","columnCount":2}} -->
|
||||
<!-- wp:cover {"useFeaturedImage":true,"dimRatio":80,"overlayColor":"ti-bg-inv","isUserOverlayColor":true,"contentPosition":"center center","tagName":"section"} -->
|
||||
<section class="wp-block-cover"><span aria-hidden="true" class="wp-block-cover__background has-ti-bg-inv-background-color has-background-dim-80 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:post-title {"textAlign":"center","isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|ti-fg-alt"}}}}} /-->
|
||||
|
||||
<!-- wp:post-date {"textAlign":"center","fontSize":"small"} /--></div></section>
|
||||
<!-- /wp:cover -->
|
||||
<!-- /wp:post-template -->
|
||||
|
||||
<!-- wp:query-no-results -->
|
||||
<!-- wp:paragraph {"align":"center","placeholder":"Add text or blocks that will display when a query returns no results.","backgroundColor":"ti-bg-alt"} -->
|
||||
<p class="has-text-align-center has-ti-bg-alt-background-color has-background">No Posts were found</p>
|
||||
<!-- /wp:paragraph -->
|
||||
<!-- /wp:query-no-results -->
|
||||
|
||||
<!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
|
||||
<!-- wp:query-pagination-previous {"label":"Previous","style":{"typography":{"textTransform":"none"}}} /-->
|
||||
|
||||
<!-- wp:query-pagination-next {"label":"Next","style":{"typography":{"textTransform":"none"}}} /-->
|
||||
<!-- /wp:query-pagination --></div>
|
||||
<!-- /wp:query --></div>
|
||||
<!-- /wp:group --></main>
|
||||
<!-- /wp:group --></main>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: archive-list
|
||||
* title: Archive List
|
||||
* categories: Eduacademy
|
||||
* keywords: archive, posts, list
|
||||
*/
|
||||
|
||||
use Eduacademy\Assets_Manager;
|
||||
|
||||
return array(
|
||||
'title' => __( 'Archive List', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy-layouts' ),
|
||||
'keywords' => array( 'archive', 'posts', 'list' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"tagName":"main","align":"full","style":{"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"},"blockGap":"0","margin":{"top":"0","bottom":"0"}}}} -->
|
||||
<main class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|40","right":"var:preset|spacing|40"},"margin":{"top":"0px","bottom":"0px"},"blockGap":"8px"},"elements":{"link":{"color":{"text":"var:preset|color|ti-fg-alt"}}}},"backgroundColor":"ti-bg-inv","textColor":"ti-fg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull has-ti-fg-alt-color has-ti-bg-inv-background-color has-text-color has-background has-link-color" style="margin-top:0px;margin-bottom:0px;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--40)"><!-- wp:query-title {"type":"archive","textAlign":"center","align":"wide"} /--></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"blockGap":"40px","margin":{"top":"0px","bottom":"0px"}}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull has-ti-bg-alt-background-color has-background" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px"><!-- wp:query {"queryId":9,"query":{"perPage":3,"pages":"3","offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"align":"wide"} -->
|
||||
<div class="wp-block-query alignwide"><!-- wp:post-template {"layout":{"type":"default","columnCount":3}} -->
|
||||
<!-- wp:columns {"style":{"spacing":{"padding":{"top":"0","bottom":"0","left":"0","right":"0"},"blockGap":{"left":"0"}}},"backgroundColor":"ti-bg"} -->
|
||||
<div class="wp-block-columns has-ti-bg-background-color has-background" style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:column {"width":"30%"} -->
|
||||
<div class="wp-block-column" style="flex-basis:30%"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"1"} /--></div>
|
||||
<!-- /wp:column -->
|
||||
|
||||
<!-- wp:column {"verticalAlignment":"center","style":{"spacing":{"blockGap":"var:preset|spacing|40","padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}}}} -->
|
||||
<div class="wp-block-column is-vertically-aligned-center" 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:post-title {"level":3,"isLink":true} /-->
|
||||
|
||||
<!-- wp:post-date {"fontSize":"small"} /-->
|
||||
|
||||
<!-- wp:post-excerpt {"showMoreOnNewLine":false} /--></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns -->
|
||||
<!-- /wp:post-template -->
|
||||
|
||||
<!-- wp:query-no-results -->
|
||||
<!-- wp:paragraph {"align":"center","placeholder":"Add text or blocks that will display when a query returns no results.","backgroundColor":"ti-bg-alt"} -->
|
||||
<p class="has-text-align-center has-ti-bg-alt-background-color has-background">No Posts were found</p>
|
||||
<!-- /wp:paragraph -->
|
||||
<!-- /wp:query-no-results -->
|
||||
|
||||
<!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
|
||||
<!-- wp:query-pagination-previous {"label":"Previous","style":{"typography":{"textTransform":"none"}}} /-->
|
||||
|
||||
<!-- wp:query-pagination-next {"label":"Next","style":{"typography":{"textTransform":"none"}}} /-->
|
||||
<!-- /wp:query-pagination --></div>
|
||||
<!-- /wp:query --></div>
|
||||
<!-- /wp:group --></main>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: single-post-cover-boxed
|
||||
* title: Single Post 2 (Cover Boxed)
|
||||
* categories: Eduacademy
|
||||
* keywords: single, post, cover, boxed
|
||||
*/
|
||||
|
||||
use Eduacademy\Assets_Manager;
|
||||
|
||||
return array(
|
||||
'title' => __( 'Single Post 2 (Cover Boxed)', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy-layouts' ),
|
||||
'keywords' => array( 'single', 'post', 'cover', 'boxed' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"tagName":"main","align":"full","style":{"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"},"blockGap":"0","margin":{"top":"0","bottom":"0"}}}} -->
|
||||
<main class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:group {"align":"full","layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group alignfull"><!-- wp:cover {"useFeaturedImage":true,"dimRatio":10,"overlayColor":"ti-bg-inv","isUserOverlayColor":true,"isDark":false,"align":"full","style":{"spacing":{"padding":{"top":"64px","right":"24px","bottom":"64px","left":"24px"}}}} -->
|
||||
<div class="wp-block-cover alignfull is-light" style="padding-top:64px;padding-right:24px;padding-bottom:64px;padding-left:24px"><span aria-hidden="true" class="wp-block-cover__background has-ti-bg-inv-background-color has-background-dim-10 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"align":"wide","layout":{"type":"constrained","wideSize":"800px"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:cover {"dimRatio":0,"minHeightUnit":"vh","isDark":false,"align":"wide","style":{"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"}}}} -->
|
||||
<div class="wp-block-cover alignwide is-light" style="padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|60","right":"var:preset|spacing|60","bottom":"var:preset|spacing|60","left":"var:preset|spacing|60"}},"elements":{"link":{"color":{"text":"var:preset|color|ti-fg-alt"}}}},"backgroundColor":"ti-bg-inv","textColor":"ti-fg-alt","layout":{"type":"constrained","wideSize":"800px"}} -->
|
||||
<div class="wp-block-group has-ti-fg-alt-color has-ti-bg-inv-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)"><!-- wp:post-title {"textAlign":"center","level":1} /-->
|
||||
|
||||
<!-- wp:post-date {"textAlign":"center"} /--></div>
|
||||
<!-- /wp:group --></div></div>
|
||||
<!-- /wp:cover --></div>
|
||||
<!-- /wp:group --></div></div>
|
||||
<!-- /wp:cover --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"0","right":"0"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:0;padding-bottom:var(--wp--preset--spacing--80);padding-left:0"><!-- wp:group {"layout":{"inherit":true,"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:post-content /--></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|80","right":"var:preset|spacing|40","bottom":"var:preset|spacing|80","left":"var:preset|spacing|40"},"margin":{"top":"0","bottom":"0"}},"border":{"radius":"8px"}},"backgroundColor":"ti-bg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-bg-alt-background-color has-background" style="border-radius:8px;margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--40)"><!-- wp:post-comments-form /--></div>
|
||||
<!-- /wp:group --></main>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/**
|
||||
* Pattern
|
||||
*
|
||||
* @author Themeisle
|
||||
* @package eduacademy
|
||||
* @since 1.0.0
|
||||
*
|
||||
* slug: single-post-cover
|
||||
* title: Single Post 3 (Cover)
|
||||
* categories: Eduacademy
|
||||
* keywords: single, post, cover
|
||||
*/
|
||||
|
||||
use Eduacademy\Assets_Manager;
|
||||
|
||||
return array(
|
||||
'title' => __( 'Single Post 3 (Cover)', 'eduacademy' ),
|
||||
'categories' => array( 'eduacademy-layouts' ),
|
||||
'keywords' => array( 'single', 'post', 'cover', 'boxed' ),
|
||||
'content' => '
|
||||
<!-- wp:group {"tagName":"main","align":"full","style":{"spacing":{"padding":{"top":"0","right":"0","bottom":"0","left":"0"},"blockGap":"0","margin":{"top":"0","bottom":"0"}}}} -->
|
||||
<main class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:0;padding-right:0;padding-bottom:0;padding-left:0"><!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"0px","bottom":"0px"},"margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"default"}} -->
|
||||
<div class="wp-block-group alignfull" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-bottom:0px"><!-- wp:cover {"useFeaturedImage":true,"dimRatio":80,"overlayColor":"ti-bg-inv","isUserOverlayColor":true,"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px","right":"24px","left":"24px"}}}} -->
|
||||
<div class="wp-block-cover alignfull" style="padding-top:64px;padding-right:24px;padding-bottom:64px;padding-left:24px"><span aria-hidden="true" class="wp-block-cover__background has-ti-bg-inv-background-color has-background-dim-80 has-background-dim"></span><div class="wp-block-cover__inner-container"><!-- wp:group {"textColor":"ti-fg-alt","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-fg-alt-color has-text-color"><!-- wp:post-title {"textAlign":"center","level":1} /-->
|
||||
|
||||
<!-- wp:post-date {"textAlign":"center"} /--></div>
|
||||
<!-- /wp:group --></div></div>
|
||||
<!-- /wp:cover --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px"><!-- wp:group {"layout":{"inherit":true,"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:post-content /--></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"64px","bottom":"64px"},"margin":{"top":"0px","bottom":"0px"},"blockGap":"40px"}},"backgroundColor":"ti-bg-alt","layout":{"inherit":true,"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignfull has-ti-bg-alt-background-color has-background" style="margin-top:0px;margin-bottom:0px;padding-top:64px;padding-bottom:64px"><!-- wp:comments {"className":"wp-block-comments-query-loop "} -->
|
||||
<div class="wp-block-comments wp-block-comments-query-loop"><!-- wp:post-comments-form /--></div>
|
||||
<!-- /wp:comments --></div>
|
||||
<!-- /wp:group --></main>
|
||||
<!-- /wp:group -->
|
||||
',
|
||||
);
|
||||
6
wp-content/themes/eduacademy/index.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* Silence is golden.
|
||||
*
|
||||
* @package eduacademy
|
||||
*/
|
||||
436
wp-content/themes/eduacademy/languages/eduacademy.pot
Normal file
@@ -0,0 +1,436 @@
|
||||
# Copyright (C) 2025 ThemeIsle
|
||||
# This file is distributed under the GNU General Public License v2 or later.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Eduacademy\n"
|
||||
"Report-Msgid-Bugs-To: https://github.com/Codeinwp/eduacademy/issues\n"
|
||||
"Last-Translator: friends@themeisle.com\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"POT-Creation-Date: 2025-09-25T23:26:56+00:00\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"X-Generator: WP-CLI 2.12.0\n"
|
||||
"X-Domain: eduacademy\n"
|
||||
|
||||
#. Theme Name of the theme
|
||||
#: style.css
|
||||
msgid "Eduacademy"
|
||||
msgstr ""
|
||||
|
||||
#. Theme URI of the theme
|
||||
#: style.css
|
||||
msgid "https://github.com/Codeinwp/eduacademy/"
|
||||
msgstr ""
|
||||
|
||||
#. Description of the theme
|
||||
#: style.css
|
||||
msgid "Eduacademy is a modern education WordPress theme ideal for schools, instructors, and course platforms. It supports Masteriyo, LearnPress, Tutor LMS, and Sensei LMS, making it easy to create structured courses and manage students. With clean design, mobile responsiveness, and full WooCommerce support, Eduacademy helps you build high-converting LMS websites quickly using Elementor or the block editor."
|
||||
msgstr ""
|
||||
|
||||
#. Author of the theme
|
||||
#: style.css
|
||||
msgid "ThemeIsle"
|
||||
msgstr ""
|
||||
|
||||
#. Author URI of the theme
|
||||
#: style.css
|
||||
msgid "https://themeisle.com"
|
||||
msgstr ""
|
||||
|
||||
#. translators: %s message to upgrade PHP to the latest version
|
||||
#: functions.php:53
|
||||
#, php-format
|
||||
msgid "Hey, we've noticed that you're running an outdated version of PHP which is no longer supported. Make sure your site is fast and secure, by %1$s. Eduacademy's minimal requirement is PHP%2$s."
|
||||
msgstr ""
|
||||
|
||||
#: functions.php:57
|
||||
msgid "upgrading PHP to the latest version"
|
||||
msgstr ""
|
||||
|
||||
#. translators: %s: commands to run the theme
|
||||
#: functions.php:106
|
||||
#, php-format
|
||||
msgid "You appear to be running the Eduacademy theme from source code. Please finish installation by running %s."
|
||||
msgstr ""
|
||||
|
||||
#: inc/Admin.php:97
|
||||
msgid "Activating"
|
||||
msgstr ""
|
||||
|
||||
#: inc/Admin.php:98
|
||||
msgid "Installing"
|
||||
msgstr ""
|
||||
|
||||
#: inc/Admin.php:99
|
||||
msgid "Done"
|
||||
msgstr ""
|
||||
|
||||
#: inc/Admin.php:111
|
||||
msgid "The theme was designed to work best with Masteriyo LMS"
|
||||
msgstr ""
|
||||
|
||||
#. translators: %s: Masteriyo LMS
|
||||
#: inc/Admin.php:116
|
||||
#, php-format
|
||||
msgid "Create and Sell Online Courses with %s!"
|
||||
msgstr ""
|
||||
|
||||
#: inc/Admin.php:120
|
||||
msgid "The complete WordPress LMS solution for educators and businesses. Build engaging courses, track student progress, and monetize your knowledge with zero coding required. "
|
||||
msgstr ""
|
||||
|
||||
#: inc/Admin.php:121
|
||||
msgid "Quick setup"
|
||||
msgstr ""
|
||||
|
||||
#: inc/Admin.php:121
|
||||
msgid "Install and create your first course in minutes"
|
||||
msgstr ""
|
||||
|
||||
#: inc/Admin.php:122
|
||||
msgid "Multiple payment options"
|
||||
msgstr ""
|
||||
|
||||
#: inc/Admin.php:122
|
||||
msgid "Built-in payment system with Stripe, PayPal & more"
|
||||
msgstr ""
|
||||
|
||||
#: inc/Admin.php:123
|
||||
msgid "Complete course builder"
|
||||
msgstr ""
|
||||
|
||||
#: inc/Admin.php:123
|
||||
msgid "Drag & drop builder with quizzes, certificates & assignments"
|
||||
msgstr ""
|
||||
|
||||
#. translators: %s: Masteriyo LMS
|
||||
#: inc/Admin.php:133
|
||||
#, php-format
|
||||
msgid "Activate %s"
|
||||
msgstr ""
|
||||
|
||||
#. translators: %s: Masteriyo LMS
|
||||
#: inc/Admin.php:135
|
||||
#, php-format
|
||||
msgid "Install & Activate %s"
|
||||
msgstr ""
|
||||
|
||||
#: inc/Admin.php:140
|
||||
msgid "Learn More"
|
||||
msgstr ""
|
||||
|
||||
#: inc/Admin.php:148
|
||||
msgid "Masteriyo LMS preview"
|
||||
msgstr ""
|
||||
|
||||
#: inc/Block_Patterns.php:62
|
||||
msgid "Eduacademy Patterns"
|
||||
msgstr ""
|
||||
|
||||
#: inc/Block_Patterns.php:63
|
||||
msgid "Patterns for several sections and components"
|
||||
msgstr ""
|
||||
|
||||
#: inc/Block_Patterns.php:66
|
||||
msgid "Eduacademy Layouts"
|
||||
msgstr ""
|
||||
|
||||
#: inc/Block_Patterns.php:67
|
||||
msgid "Full-page layouts that can be used as templates"
|
||||
msgstr ""
|
||||
|
||||
#: inc/Core.php:87
|
||||
msgid "Primary Menu"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/layout/content-1.php:25
|
||||
msgid "Content 1"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/layout/content-2.php:20
|
||||
msgid "Content 2"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/layout/content-3.php:16
|
||||
msgid "Content 3"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/layout/content-4.php:20
|
||||
msgid "Content 4"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/layout/course-cta-2.php:21
|
||||
msgid "Course CTA 2"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/layout/course-cta.php:24
|
||||
msgid "Course CTA"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/layout/courses-1.php:22
|
||||
msgid "Courses 1"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/layout/courses-2.php:22
|
||||
msgid "Courses 2"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/layout/courses-3.php:21
|
||||
msgid "Courses 3"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/layout/curriculum.php:20
|
||||
msgid "Curriculum"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/layout/faq.php:16
|
||||
msgid "FAQ"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/layout/features-1.php:25
|
||||
msgid "Features 1"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/layout/features-2.php:22
|
||||
msgid "Features 2"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/layout/hero-1.php:24
|
||||
msgid "Hero with Courses"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/layout/hero-2.php:21
|
||||
msgid "HSimple Hero"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/layout/instructors.php:22
|
||||
msgid "Instructors"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/layout/pricing-1.php:16
|
||||
msgid "Pricing 1"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/layout/pricing-2.php:16
|
||||
msgid "Pricing 2"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/layout/testimonials-1.php:22
|
||||
msgid "Testimonials 1"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/layout/testimonials-2.php:22
|
||||
msgid "Testimonials 2"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/loops/posts-1.php:16
|
||||
#: inc/patterns/loops/posts-2.php:16
|
||||
msgid "Posts"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/loops/posts-3.php:16
|
||||
msgid "Posts 3"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/loops/posts-4.php:16
|
||||
msgid "Posts 4"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/page_titles/page-title-1.php:18
|
||||
#: inc/patterns/page_titles/page-title-2.php:20
|
||||
msgid "Page Title"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/templates/archive-cover.php:18
|
||||
msgid "Archive (Cover)"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/templates/archive-list.php:18
|
||||
msgid "Archive List"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/templates/single-post-cover-boxed.php:18
|
||||
msgid "Single Post 2 (Cover Boxed)"
|
||||
msgstr ""
|
||||
|
||||
#: inc/patterns/templates/single-post-cover.php:18
|
||||
msgid "Single Post 3 (Cover)"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
#: styles/branches.json
|
||||
#: styles/darkmode.json
|
||||
#: styles/Orange.json
|
||||
msgctxt "Color name"
|
||||
msgid "Background"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
#: styles/branches.json
|
||||
#: styles/darkmode.json
|
||||
#: styles/Orange.json
|
||||
msgctxt "Color name"
|
||||
msgid "Foreground"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
#: styles/branches.json
|
||||
#: styles/darkmode.json
|
||||
#: styles/Orange.json
|
||||
msgctxt "Color name"
|
||||
msgid "Accent"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
#: styles/branches.json
|
||||
#: styles/darkmode.json
|
||||
#: styles/Orange.json
|
||||
msgctxt "Color name"
|
||||
msgid "Accent Secondary"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
#: styles/branches.json
|
||||
#: styles/darkmode.json
|
||||
#: styles/Orange.json
|
||||
msgctxt "Color name"
|
||||
msgid "Background Dark"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
#: styles/branches.json
|
||||
#: styles/darkmode.json
|
||||
#: styles/Orange.json
|
||||
msgctxt "Color name"
|
||||
msgid "Background Alt"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
#: styles/branches.json
|
||||
#: styles/darkmode.json
|
||||
#: styles/Orange.json
|
||||
msgctxt "Color name"
|
||||
msgid "Foreground Alt"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
msgctxt "Font family name"
|
||||
msgid "Inter"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
msgctxt "Font family name"
|
||||
msgid "Albert Sans"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
msgctxt "Font family name"
|
||||
msgid "Fraunces"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
msgctxt "Font family name"
|
||||
msgid "Hanken Grotesk"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
msgctxt "Font family name"
|
||||
msgid "Outfit"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
msgctxt "Font family name"
|
||||
msgid "Spline Sans"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
msgctxt "Font family name"
|
||||
msgid "Playfair Display"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
msgctxt "Font family name"
|
||||
msgid "Source Sans Pro"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
msgctxt "Font family name"
|
||||
msgid "Montserrat"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
msgctxt "Font family name"
|
||||
msgid "Open Sans"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
msgctxt "Font family name"
|
||||
msgid "Figtree"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
msgctxt "Font size name"
|
||||
msgid "Small"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
msgctxt "Font size name"
|
||||
msgid "Normal"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
msgctxt "Font size name"
|
||||
msgid "Medium"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
msgctxt "Font size name"
|
||||
msgid "Large"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
msgctxt "Font size name"
|
||||
msgid "Extra Large"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
msgctxt "Font size name"
|
||||
msgid "Huge"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
msgctxt "Template part name"
|
||||
msgid "Header"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
msgctxt "Template part name"
|
||||
msgid "Simple"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
msgctxt "Template part name"
|
||||
msgid "Alt"
|
||||
msgstr ""
|
||||
|
||||
#: theme.json
|
||||
msgctxt "Template part name"
|
||||
msgid "Footer"
|
||||
msgstr ""
|
||||
|
||||
#: styles/branches.json
|
||||
msgctxt "Style variation name"
|
||||
msgid "Branches"
|
||||
msgstr ""
|
||||
|
||||
#: styles/darkmode.json
|
||||
msgctxt "Style variation name"
|
||||
msgid "Dark mode"
|
||||
msgstr ""
|
||||
|
||||
#: styles/Orange.json
|
||||
msgctxt "Style variation name"
|
||||
msgid "Orange"
|
||||
msgstr ""
|
||||
67
wp-content/themes/eduacademy/parts/footer.html
Normal file
@@ -0,0 +1,67 @@
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","right":"var:preset|spacing|40","left":"var:preset|spacing|40"}}},"backgroundColor":"ti-bg-inv","textColor":"ti-fg-alt","layout":{"inherit":true,"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-fg-alt-color has-ti-bg-inv-background-color has-text-color has-background" style="padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--40)"><!-- wp:group {"align":"wide","layout":{"type":"grid","minimumColumnWidth":"17rem"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"textAlign":"left","level":3} -->
|
||||
<h3 class="wp-block-heading has-text-align-left">About</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"align":"left"} -->
|
||||
<p class="has-text-align-left">Eduacademy<br>123 Learning Street, Your City<br>Monday–Friday: 9:00 AM – 6:00 PM<br>Phone: (123) 456-7890</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"textAlign":"left","level":3} -->
|
||||
<h3 class="wp-block-heading has-text-align-left">Courses</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"align":"left"} -->
|
||||
<p class="has-text-align-left">HTML Basics</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>CSS Fundamentals</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>JavaScript Essentials</p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:heading {"textAlign":"left","level":3} -->
|
||||
<h3 class="wp-block-heading has-text-align-left">Stay Connected</h3>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:paragraph {"align":"left"} -->
|
||||
<p class="has-text-align-left">Subscribe to our newsletter for special offers and weekly learning tips</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:buttons -->
|
||||
<div class="wp-block-buttons"><!-- wp:button -->
|
||||
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button">Subscribe</a></div>
|
||||
<!-- /wp:button --></div>
|
||||
<!-- /wp:buttons --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","right":"var:preset|spacing|40","left":"var:preset|spacing|40"},"margin":{"top":"0","bottom":"0"}}},"backgroundColor":"ti-bg-inv","textColor":"ti-fg-alt","layout":{"inherit":true,"type":"constrained"}} -->
|
||||
<div class="wp-block-group has-ti-fg-alt-color has-ti-bg-inv-background-color has-text-color has-background" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--40)"><!-- wp:group {"align":"wide","layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group alignwide"><!-- wp:paragraph {"align":"center","fontSize":"small"} -->
|
||||
<p class="has-text-align-center has-small-font-size">Copyright 2025 - Eduacademy FSE theme</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:social-links {"iconColor":"ti-fg-alt","iconColorValue":"#FBFBFB","className":"is-style-logos-only","layout":{"type":"flex","justifyContent":"center"}} -->
|
||||
<ul class="wp-block-social-links has-icon-color is-style-logos-only"><!-- wp:social-link {"url":"#","service":"facebook"} /-->
|
||||
|
||||
<!-- wp:social-link {"url":"#","service":"twitter"} /-->
|
||||
|
||||
<!-- wp:social-link {"url":"#","service":"instagram"} /--></ul>
|
||||
<!-- /wp:social-links --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group -->
|
||||