diff --git a/.github/workflows/command-rebase.yml b/.github/workflows/command-rebase.yml
new file mode 100644
index 0000000..85f94c3
--- /dev/null
+++ b/.github/workflows/command-rebase.yml
@@ -0,0 +1,49 @@
+# This workflow is provided via the organization template repository
+#
+# https://github.com/nextcloud/.github
+# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
+
+name: Rebase command
+
+on:
+ issue_comment:
+ types: created
+
+jobs:
+ rebase:
+ runs-on: ubuntu-latest
+
+ # On pull requests and if the comment starts with `/rebase`
+ if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase')
+
+ steps:
+ - name: Add reaction on start
+ uses: peter-evans/create-or-update-comment@v2
+ with:
+ token: ${{ secrets.COMMAND_BOT_PAT }}
+ repository: ${{ github.event.repository.full_name }}
+ comment-id: ${{ github.event.comment.id }}
+ reaction-type: "+1"
+
+ - name: Checkout the latest code
+ uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+ token: ${{ secrets.COMMAND_BOT_PAT }}
+
+ - name: Fix permissions
+ run: git config --global --add safe.directory /github/workspace
+
+ - name: Automatic Rebase
+ uses: cirrus-actions/rebase@1.5
+ env:
+ GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }}
+
+ - name: Add reaction on failure
+ uses: peter-evans/create-or-update-comment@v2
+ if: failure()
+ with:
+ token: ${{ secrets.COMMAND_BOT_PAT }}
+ repository: ${{ github.event.repository.full_name }}
+ comment-id: ${{ github.event.comment.id }}
+ reaction-type: "-1"
diff --git a/.github/workflows/lint-php-cs.yml b/.github/workflows/lint-php-cs.yml
new file mode 100644
index 0000000..63d1b51
--- /dev/null
+++ b/.github/workflows/lint-php-cs.yml
@@ -0,0 +1,36 @@
+# This workflow is provided via the organization template repository
+#
+# https://github.com/nextcloud/.github
+# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
+
+name: Lint
+
+on:
+ pull_request:
+ push:
+ branches:
+ - main
+ - master
+ - stable*
+
+jobs:
+ lint:
+ runs-on: ubuntu-latest
+
+ name: php-cs
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+
+ - name: Set up php ${{ matrix.php-versions }}
+ uses: shivammathur/setup-php@v2
+ with:
+ php-version: "7.4"
+ coverage: none
+
+ - name: Install dependencies
+ run: composer i
+
+ - name: Lint
+ run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
diff --git a/.github/workflows/lint-php.yml b/.github/workflows/lint-php.yml
index 104fed6..8c1c65b 100644
--- a/.github/workflows/lint-php.yml
+++ b/.github/workflows/lint-php.yml
@@ -1,70 +1,48 @@
-# This workflow is provided via the organization template repository
-#
-# https://github.com/nextcloud/.github
-# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
-#
-# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
-# SPDX-License-Identifier: MIT
-
-name: Lint php
-
-on: pull_request
-
-permissions:
- contents: read
-
-concurrency:
- group: lint-php-${{ github.head_ref || github.run_id }}
- cancel-in-progress: true
-
-jobs:
- matrix:
- runs-on: ubuntu-latest-low
- outputs:
- php-versions: ${{ steps.versions.outputs.php-versions }}
- steps:
- - name: Checkout app
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- - name: Get version matrix
- id: versions
- uses: icewind1991/nextcloud-version-matrix@58becf3b4bb6dc6cef677b15e2fd8e7d48c0908f # v1.0.0
-
- php-lint:
- runs-on: ubuntu-latest
- needs: matrix
- strategy:
- matrix:
- php-versions: ${{fromJson(needs.matrix.outputs.php-versions)}}
-
- name: php-lint
-
- steps:
- - name: Checkout
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
-
- - name: Set up php ${{ matrix.php-versions }}
- uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
- with:
- php-version: ${{ matrix.php-versions }}
- extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
- coverage: none
- ini-file: development
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
- - name: Lint
- run: composer run lint
-
- summary:
- permissions:
- contents: none
- runs-on: ubuntu-latest-low
- needs: php-lint
-
- if: always()
-
- name: php-lint-summary
-
- steps:
- - name: Summary status
- run: if ${{ needs.php-lint.result != 'success' && needs.php-lint.result != 'skipped' }}; then exit 1; fi
+# This workflow is provided via the organization template repository
+#
+# https://github.com/nextcloud/.github
+# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
+
+name: Lint
+
+on:
+ pull_request:
+ push:
+ branches:
+ - main
+ - master
+ - stable*
+
+jobs:
+ php-lint:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ php-versions: ["7.4", "8.0"]
+
+ name: php-lint
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+
+ - name: Set up php ${{ matrix.php-versions }}
+ uses: shivammathur/setup-php@v2
+ with:
+ php-version: ${{ matrix.php-versions }}
+ coverage: none
+
+ - name: Lint
+ run: composer run lint
+
+ summary:
+ runs-on: ubuntu-latest
+ needs: php-lint
+
+ if: always()
+
+ name: php-lint-summary
+
+ steps:
+ - name: Summary status
+ run: if ${{ needs.php-lint.result != 'success' && needs.php-lint.result != 'skipped' }}; then exit 1; fi
diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml
index 3ca15c8..6252b19 100644
--- a/.github/workflows/node.yml
+++ b/.github/workflows/node.yml
@@ -1,105 +1,43 @@
-# This workflow is provided via the organization template repository
-#
-# https://github.com/nextcloud/.github
-# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
-#
-# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
-# SPDX-License-Identifier: MIT
-
-name: Node
-
-on: pull_request
-
-permissions:
- contents: read
-
-concurrency:
- group: node-${{ github.head_ref || github.run_id }}
- cancel-in-progress: true
-
-jobs:
- changes:
- runs-on: ubuntu-latest-low
- permissions:
- contents: read
- pull-requests: read
-
- outputs:
- src: ${{ steps.changes.outputs.src}}
-
- steps:
- - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
- id: changes
- continue-on-error: true
- with:
- filters: |
- src:
- - '.github/workflows/**'
- - 'src/**'
- - 'appinfo/info.xml'
- - 'package.json'
- - 'package-lock.json'
- - 'tsconfig.json'
- - '**.js'
- - '**.ts'
- - '**.vue'
-
- build:
- runs-on: ubuntu-latest
-
- needs: changes
- if: needs.changes.outputs.src != 'false'
-
- name: NPM build
- steps:
- - name: Checkout
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
-
- - name: Read package.json node and npm engines version
- uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
- id: versions
- with:
- fallbackNode: '^20'
- fallbackNpm: '^10'
-
- - name: Set up node ${{ steps.versions.outputs.nodeVersion }}
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
- with:
- node-version: ${{ steps.versions.outputs.nodeVersion }}
-
- - name: Set up npm ${{ steps.versions.outputs.npmVersion }}
- run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'
-
- - name: Install dependencies & build
- env:
- CYPRESS_INSTALL_BINARY: 0
- PUPPETEER_SKIP_DOWNLOAD: true
- run: |
- npm ci
- npm run build --if-present
-
- - name: Check webpack build changes
- run: |
- bash -c "[[ ! \"`git status --porcelain `\" ]] || (echo 'Please recompile and commit the assets, see the section \"Show changes on failure\" for details' && exit 1)"
-
- - name: Show changes on failure
- if: failure()
- run: |
- git status
- git --no-pager diff
- exit 1 # make it red to grab attention
-
- summary:
- permissions:
- contents: none
- runs-on: ubuntu-latest-low
- needs: [changes, build]
-
- if: always()
-
- # This is the summary, we just avoid to rename it so that branch protection rules still match
- name: node
-
- steps:
- - name: Summary status
- run: if ${{ needs.changes.outputs.src != 'false' && needs.build.result != 'success' }}; then exit 1; fi
+# This workflow is provided via the organization template repository
+#
+# https://github.com/nextcloud/.github
+# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
+
+name: Node
+
+on:
+ pull_request:
+ push:
+ branches:
+ - main
+ - master
+ - stable*
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ name: node
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+
+ - name: Read package.json node and npm engines version
+ uses: skjnldsv/read-package-engines-version-actions@v1.2
+ id: versions
+ with:
+ fallbackNode: '^12'
+ fallbackNpm: '^6'
+
+ - name: Set up node ${{ steps.versions.outputs.nodeVersion }}
+ uses: actions/setup-node@v3
+ with:
+ node-version: ${{ steps.versions.outputs.nodeVersion }}
+
+ - name: Set up npm ${{ steps.versions.outputs.npmVersion }}
+ run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
+
+ - name: Install dependencies & build
+ run: |
+ npm ci
+ npm run sass --if-present
diff --git a/404.php b/404.php
index dab46ff..1eb59b7 100644
--- a/404.php
+++ b/404.php
@@ -1,11 +1,11 @@
-
+
- value arguments to match against the post type objects. Default empty array.
* @return array A list of post type names.
*/
-function acf_get_post_types($args = array()) {
+function acf_get_post_types($args = []) {
}
-function acf_get_pretty_post_types($post_types = array()) {
+function acf_get_pretty_post_types($post_types = []) {
}
/*
* acf_get_post_type_label
@@ -3422,7 +3422,7 @@ function acf_get_terms($args) {
* @param $taxonomies (array)
* @return (array)
*/
-function acf_get_taxonomy_terms($taxonomies = array()) {
+function acf_get_taxonomy_terms($taxonomies = []) {
}
/*
* acf_decode_taxonomy_terms
@@ -3463,7 +3463,7 @@ function acf_decode_taxonomy_term($value) {
* @param mixed $val The value to cast.
* @return array
*/
-function acf_array($val = array()) {
+function acf_array($val = []) {
}
/**
* Returns a non-array value.
@@ -3515,7 +3515,7 @@ function acf_get_numeric($value = '') {
* @param array $args The query args.
* @return array
*/
-function acf_get_posts($args = array()) {
+function acf_get_posts($args = []) {
}
/*
* _acf_query_remove_post_type
@@ -3580,7 +3580,7 @@ function acf_get_pretty_user_roles($allowed = \false) {
* @param $args (array)
* @return (array)
*/
-function acf_get_grouped_users($args = array()) {
+function acf_get_grouped_users($args = []) {
}
/**
* acf_json_encode
@@ -3640,7 +3640,7 @@ function acf_debug_end() {
* @param $post_id (int)
* @return $post_id (int)
*/
-function acf_encode_choices($array = array(), $show_keys = \true) {
+function acf_encode_choices($array = [], $show_keys = \true) {
}
function acf_decode_choices($string = '', $array_keys = \false) {
}
@@ -3658,7 +3658,7 @@ function acf_decode_choices($string = '', $array_keys = \false) {
* @param $post_id (int)
* @return $post_id (int)
*/
-function acf_str_replace($string = '', $search_replace = array()) {
+function acf_str_replace($string = '', $search_replace = []) {
}
/*
* acf_split_date_time
@@ -3838,7 +3838,7 @@ function acf_isset_termmeta($taxonomy = '') {
* @param $ancestors (array) an internal parameter, not required
* @return n/a
*/
-function acf_upload_files($ancestors = array()) {
+function acf_upload_files($ancestors = []) {
}
/*
* acf_upload_file
@@ -3898,7 +3898,7 @@ function acf_is_screen($id = '') {
* @param $default (mixed) the value returned if not found
* @return $post_id (int)
*/
-function acf_maybe_get($array = array(), $key = 0, $default = \null) {
+function acf_maybe_get($array = [], $key = 0, $default = \null) {
}
function acf_maybe_get_POST($key = '', $default = \null) {
}
@@ -4457,7 +4457,7 @@ function acf_str_camel_case($string = '') {
* @param array $array The array to convert.
* @return array
*/
-function acf_array_camel_case($array = array()) {
+function acf_array_camel_case($array = []) {
}
/**
* Returns true if the current screen is using the block editor.
@@ -4482,7 +4482,7 @@ function acf_is_block_editor() {
* @param int $index The param index to find variation values.
* @return void
*/
-function acf_add_filter_variations($filter = '', $variations = array(), $index = 0) {
+function acf_add_filter_variations($filter = '', $variations = [], $index = 0) {
}
/**
* acf_add_action_variations
@@ -4497,7 +4497,7 @@ function acf_add_filter_variations($filter = '', $variations = array(), $index =
* @param int $index The param index to find variation values.
* @return void
*/
-function acf_add_action_variations($action = '', $variations = array(), $index = 0) {
+function acf_add_action_variations($action = '', $variations = [], $index = 0) {
}
/**
* _acf_apply_hook_variations
@@ -4596,7 +4596,7 @@ function acf_enqueue_script($name) {
* @param array $args See ACF_Assets::enqueue_scripts() for a list of args.
* @return void
*/
-function acf_enqueue_scripts($args = array()) {
+function acf_enqueue_scripts($args = []) {
}
/**
* Enqueues the WP media uploader scripts and styles.
@@ -4742,7 +4742,7 @@ function acf_include($filename = '') {
*/
function acf_form_head() {
}
-function acf_form($args = array()) {
+function acf_form($args = []) {
}
function acf_get_form($id = '') {
}
@@ -4811,7 +4811,7 @@ function acf_is_field_group_key($id = '') {
* @param array $field The field group array.
* @return array
*/
-function acf_validate_field_group($field_group = array()) {
+function acf_validate_field_group($field_group = []) {
}
/**
* acf_get_valid_field_group
@@ -4837,7 +4837,7 @@ function acf_get_valid_field_group($field_group = \false) {
* @param array $field_group The field group array.
* @return array
*/
-function acf_translate_field_group($field_group = array()) {
+function acf_translate_field_group($field_group = []) {
}
/**
* acf_get_field_groups
@@ -4850,7 +4850,7 @@ function acf_translate_field_group($field_group = array()) {
* @param array $filter An array of args to filter results by.
* @return array
*/
-function acf_get_field_groups($filter = array()) {
+function acf_get_field_groups($filter = []) {
}
/**
* acf_get_raw_field_groups
@@ -4877,7 +4877,7 @@ function acf_get_raw_field_groups() {
* @param array $args An array of location args.
* @return array
*/
-function acf_filter_field_groups($field_groups, $args = array()) {
+function acf_filter_field_groups($field_groups, $args = []) {
}
/**
* acf_get_field_group_visibility
@@ -4891,7 +4891,7 @@ function acf_filter_field_groups($field_groups, $args = array()) {
* @param array $args An array of location args.
* @return bool
*/
-function acf_get_field_group_visibility($field_group, $args = array()) {
+function acf_get_field_group_visibility($field_group, $args = []) {
}
/**
* acf_update_field_group
@@ -5054,7 +5054,7 @@ function acf_get_field_group_edit_link($post_id) {
* @param array $field_group The field group array.
* @return array
*/
-function acf_prepare_field_group_for_export($field_group = array()) {
+function acf_prepare_field_group_for_export($field_group = []) {
}
/**
* acf_prepare_field_group_for_import
@@ -5137,7 +5137,7 @@ function acf_get_field_type($name) {
* @param n/a
* @return n/a
*/
-function acf_get_field_types($args = array()) {
+function acf_get_field_types($args = []) {
}
/**
* acf_get_field_types_info
@@ -5150,7 +5150,7 @@ function acf_get_field_types($args = array()) {
* @param type $var Description. Default.
* @return type Description.
*/
-function acf_get_field_types_info($args = array()) {
+function acf_get_field_types_info($args = []) {
}
/*
* acf_is_field_type
@@ -5293,7 +5293,7 @@ function acf_get_form_data($name = '') {
* @param void
* @return void
*/
-function acf_form_data($data = array()) {
+function acf_form_data($data = []) {
}
/**
* acf_save_post
@@ -5516,7 +5516,7 @@ function acf_get_local_field_group($key = '') {
* @param array $fields An array of un prepared fields.
* @return array
*/
-function acf_add_local_fields($fields = array()) {
+function acf_add_local_fields($fields = []) {
}
/**
* acf_get_local_fields
@@ -5647,7 +5647,7 @@ function acf_get_local_field($key = '') {
* @param array $field_groups An array of field groups.
* @return array
*/
-function _acf_apply_get_local_field_groups($groups = array()) {
+function _acf_apply_get_local_field_groups($groups = []) {
}
/**
* _acf_apply_is_local_field_key
@@ -5826,7 +5826,7 @@ function acf_add_options_page($page = '') {
}
function acf_add_options_sub_page($page = '') {
}
-function acf_update_options_page($slug = '', $data = array()) {
+function acf_update_options_page($slug = '', $data = []) {
}
function acf_get_options_page($slug) {
}
diff --git a/archive.php b/archive.php
index 0156c25..706a05c 100644
--- a/archive.php
+++ b/archive.php
@@ -14,7 +14,7 @@
+?>
@@ -27,43 +27,43 @@
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
- add_query_arg('paged', $paged);
- //add_query_arg('post_type', 'post');
+add_query_arg('paged', $paged);
+//add_query_arg('post_type', 'post');
- if (have_posts()) : ?>
+if (have_posts()) : ?>
cat_ID)) {
- $cat_id = $category->cat_ID;
- }
+$category = get_category(get_query_var('cat'));
+if(isset($category)) {
+ if(isset($category->cat_ID)) {
+ $cat_id = $category->cat_ID;
+ }
- }
+}
- if(get_post_type() == 'event') {
- $cat_id = get_queried_object()->term_id;
- }
+if(get_post_type() == 'event') {
+ $cat_id = get_queried_object()->term_id;
+}
- ?>
+?>
diff --git a/assets/footer.scss b/assets/footer.scss
index 226eb9d..7b6df21 100644
--- a/assets/footer.scss
+++ b/assets/footer.scss
@@ -8,6 +8,10 @@ footer {
padding: 50px 0px 20px;
background-color: #0F0833;
+ &.footer-simplified {
+ padding-top: 20px;
+ }
+
.footer-logo {
width: 100%;
//max-width: 105px;
@@ -224,6 +228,14 @@ footer {
}
}
+
+footer.footer-simplified {
+ .foot-text, .social-media-holder {
+ padding-top: 15px !important;
+ }
+}
+
+
.scroll_up {
position: fixed;
right: 20px;
diff --git a/assets/forms.scss b/assets/forms.scss
index 2e72949..2310a19 100644
--- a/assets/forms.scss
+++ b/assets/forms.scss
@@ -1,10 +1,27 @@
// SPDX-FileCopyrightText: 2022 Carl Schwan
// SPDX-License-Identifier: AGPL-3.0-or-later
-.nf-form-cont {
+select {
+ &.users_select {
+ padding: 5px 15px;
+ border-radius: 10px;
+ background: #f7f7f7;
+ border: 1px solid #c4c4c4;
+ }
+}
+
+.nf-form-cont {
.nf-field-container {
- margin-bottom: 25px !important;
+
+ &.textbox-container{
+ margin-bottom: 8px !important;
+ }
+
+ &.checkbox-container {
+ margin: 20px 0 !important;
+ }
+
input[type=submit]:focus {
color: $mainColor !important;
@@ -70,6 +87,10 @@
border-bottom-right-radius: 9px;
border-top-right-radius: 9px;
}
+
+ select.ninja-forms-field {
+ color: initial !important;
+ }
}
.nf-response-msg {
@@ -157,8 +178,7 @@
padding: 0px 160px 0px 20px;
border: 1px solid rgba(0, 0, 0, 0.25);
background-color: transparent;
- border-radius: 24px !important;
- -webkit-border-radius: 24px;
+ border-radius: $borderRadius !important;
color: #000;
font-size: 16px;
}
@@ -181,8 +201,7 @@
height: 48px;
border: 1px solid #0F0833;
background-color: #0F0833;
- border-radius: 24px;
- -webkit-border-radius: 24px;
+ border-radius: $borderRadius;
color: #FFF;
font-size: 16px;
font-weight: 600;
@@ -262,7 +281,7 @@
background: $mainColor !important;
color: #fff;
transition: all .3s;
- border-radius: 25px !important;
+ border-radius: $borderRadius !important;
padding: 12px 2rem;
border: 2px solid $mainColor !important;
line-height: initial;
@@ -331,13 +350,20 @@
@media screen and (min-width: $tablet-breakpoint ) {
& {
display: flex;
+ flex-wrap: wrap;
}
}
li {
+ margin-bottom: 15px;
&:not(:last-child) {
margin-right: 10px !important;
+ flex: 0 0 48%;
+ }
+
+ &:last-child {
+ //flex-basis: 100%;
}
label {
@@ -358,10 +384,6 @@
width: 20px;
}
- &:before {
-
- }
-
&::after {
border-radius: 5px;
}
diff --git a/assets/header.scss b/assets/header.scss
index 42201b3..7b61173 100644
--- a/assets/header.scss
+++ b/assets/header.scss
@@ -98,10 +98,6 @@ header {
}
.row {
- background: url("../img/confetti-background.svg");
- background-size: 320px auto;
- background-position: right 13% top 42%;
- background-repeat: no-repeat;
@media screen and (max-width: $sm-breakpoint) {
& {
@@ -219,6 +215,10 @@ header {
p {
margin: 0 !important;
+
+ strong {
+ display: inline-block;
+ }
}
}
@@ -382,7 +382,6 @@ header {
flex-direction: row;
&>li {
-
transition: all 0.3s ease;
position: relative;
padding: 16px 5px;
@@ -390,8 +389,7 @@ header {
&:not(.nav-btn) > a {
padding: 16px 12px;
- border-radius: 27px;
- -webkit-border-radius: 27px;
+ border-radius: $borderRadius;
}
&.nav-btn {
@@ -401,8 +399,7 @@ header {
background-color: #fff;
color: $textColor;
padding: 10px 20px;
- border-radius: 27px;
- -webkit-border-radius: 27px;
+ border-radius: $borderRadius;
transition: all 0.3s ease;
margin: 6px auto;
white-space: nowrap;
@@ -412,6 +409,10 @@ header {
color: #fff;
}
+ &:before {
+ transition: all 0.3s ease;
+ }
+
}
&.open {
@@ -434,6 +435,7 @@ header {
font-weight: 900;
margin-right: 10px;
color: $textColor;
+ transition: all 0.3s ease;
}
&:hover {
diff --git a/assets/home.scss b/assets/home.scss
index 869a957..ba53e4d 100644
--- a/assets/home.scss
+++ b/assets/home.scss
@@ -219,8 +219,8 @@
height: 61px;
top: -156px;
border: none;
- border-radius: 50%;
- -webkit-border-radius: 50%;
+ border-radius: $borderRadiusSmall;
+
background-color: #004871;
background-repeat: no-repeat;
background-position: left 26px center;
@@ -685,7 +685,7 @@
}
.promo-section {
- padding: 55px 0px;
+ padding: 2rem 0;
background-image: url("https://nextcloud.com/wp-content/uploads/2022/12/nc-people-microsoft-integrations-titlebar.jpg");
background-repeat: no-repeat;
background-position: center center;
@@ -743,6 +743,21 @@
padding-bottom: 6rem;
}
+
+ &.lightBG {
+ background-image: none;
+
+ .text-block {
+ h2 {
+ color: $textColor;
+ }
+
+ p {
+ color: $textColor;
+ }
+ }
+ }
+
&.promo_webinar {
.nf-form-title {
display: none;
@@ -776,7 +791,7 @@
}
- &.has_custom_bg_image {
+ &.has_custom_bg_image:not(.lightBG) {
&:before {
position: absolute;
top: 0;
@@ -994,6 +1009,14 @@
a {
width: 100%;
display: flex;
+ align-items: center;
+
+ .title {
+ height: fit-content;
+ margin: 0;
+ text-align: center;
+ font-size: 1rem;
+ }
&:focus {
filter: grayscale(0);
@@ -1006,14 +1029,11 @@
img {
transition: all 0.3s ease;
- //max-height: 100px;
- //width: auto !important;
margin: auto;
opacity: 0.5;
max-width: 100%;
+ width: auto;
align-self: center;
- //max-height: 100px;
- //min-width: 100px;
max-height: 75px;
@media screen and (min-width: $tablet-breakpoint) and (max-width: $xl-breakpoint) {
@@ -1122,24 +1142,45 @@
ul{
list-style-type: none;
- //text-align: center;
padding-left: 0;
width: fit-content;
margin: auto;
-
+
@media screen and (min-width:$tablet-breakpoint) {
& {
- padding-left: 3rem;
- padding-right: 3rem;
+ padding-left: 2rem;
+ padding-right: 1rem;
}
}
+
+ &.three_cols {
+ li{
+
+ @media screen and (min-width:$tablet-breakpoint) {
+ & {
+ width: calc(31% - 5px) !important;
+ }
+ }
+
+ }
+
+ @media screen and (min-width:$tablet-breakpoint) {
+ & {
+ padding-left: 0 !important;
+ padding-right: 0 !important;
+ }
+ }
+
+ }
+
+
li{
padding: 9px 0;
display: block;
width: fit-content;
-
+
@media screen and (min-width:$tablet-breakpoint) {
& {
@@ -1170,6 +1211,7 @@
width: 100% !important;
}
}
+
}
}
@@ -1178,9 +1220,9 @@
}
-.nextcloud-hub-accordion {
+.nextcloud-hub-accordion {
.product_tab {
&:not(:last-child){
@@ -1221,7 +1263,7 @@
height: 48px;
position: absolute;
padding: 10px;
- border-radius: 10px;
+ border-radius: $borderRadius;
background-color: $mainColor;
opacity: 0.25;
background-size: 22px auto;
@@ -1254,6 +1296,7 @@
.vc_tta-panel-title {
&:before {
background-image: url('/wp-content/uploads/2022/09/nc-groupware-icon.svg');
+ background-size: 66%;
}
}
}
@@ -1274,6 +1317,15 @@
}
}
+ &.nextcloud_assistant_tab{
+ .vc_tta-panel-title {
+ &:before {
+ background-image: url('/wp-content/uploads/2024/04/assistant-logo-white.svg');
+ }
+ }
+ }
+
+
&.nc_integration_tab {
.vc_tta-panel-title {
&:before {
@@ -1403,6 +1455,15 @@
}
+ &.context_write_tab, &.context_chat_tab, &.transcribe_tab, &.generate_text_tab {
+ .vc_tta-panel-title {
+ &:before {
+ background-image: url('/wp-content/uploads/2024/04/assistant-logo-white.svg');
+ }
+ }
+ }
+
+
&.vc_active {
.vc_tta-panel-title {
@@ -1633,6 +1694,8 @@
&:hover, &:focus {
+ color: #fff;
+
.overlay {
background-color: rgba(0,130,201,0.75);
}
diff --git a/assets/intlTelInput.scss b/assets/intlTelInput.scss
index 7d6322b..29ad9ed 100644
--- a/assets/intlTelInput.scss
+++ b/assets/intlTelInput.scss
@@ -297,4 +297,4 @@ $mobilePopupMargin: 30px !default;
// hack for Nepal which is the only flag that is not square/rectangle, so it has transparency, so you can see the default grey behind it
.iti__flag.iti__np {
background-color: transparent;
-}
+}
\ No newline at end of file
diff --git a/assets/metadata.scss b/assets/metadata.scss
new file mode 100644
index 0000000..17faf98
--- /dev/null
+++ b/assets/metadata.scss
@@ -0,0 +1,1339 @@
+// ! DO NOT EDIT This file is autogenerated DO NOT EDIT !//
+
+$flags-sprite-1x: (
+ height: 15px,
+ width: 5762px,
+);
+
+$flags-sprite-2x: (
+ height: 30px,
+ width: 11524px,
+);
+
+$most-common-flag-width: 20px;
+
+$most-common-flag-height: 14px;
+
+$unique-flag-widths: (13px, 15px, 18px, 19px, 20px);
+
+$unique-flag-heights: (10px, 11px, 12px, 13px, 14px, 15px, 8px);
+
+$flags: (
+ ac: (
+ width: 20px,
+ height: 10px,
+ offset: 0px,
+ ),
+ ad: (
+ width: 20px,
+ height: 14px,
+ offset: -22px,
+ ),
+ ae: (
+ width: 20px,
+ height: 10px,
+ offset: -44px,
+ ),
+ af: (
+ width: 20px,
+ height: 14px,
+ offset: -66px,
+ ),
+ ag: (
+ width: 20px,
+ height: 14px,
+ offset: -88px,
+ ),
+ ai: (
+ width: 20px,
+ height: 10px,
+ offset: -110px,
+ ),
+ al: (
+ width: 20px,
+ height: 15px,
+ offset: -132px,
+ ),
+ am: (
+ width: 20px,
+ height: 10px,
+ offset: -154px,
+ ),
+ ao: (
+ width: 20px,
+ height: 14px,
+ offset: -176px,
+ ),
+ aq: (
+ width: 20px,
+ height: 14px,
+ offset: -198px,
+ ),
+ ar: (
+ width: 20px,
+ height: 13px,
+ offset: -220px,
+ ),
+ as: (
+ width: 20px,
+ height: 10px,
+ offset: -242px,
+ ),
+ at: (
+ width: 20px,
+ height: 14px,
+ offset: -264px,
+ ),
+ au: (
+ width: 20px,
+ height: 10px,
+ offset: -286px,
+ ),
+ aw: (
+ width: 20px,
+ height: 14px,
+ offset: -308px,
+ ),
+ ax: (
+ width: 20px,
+ height: 13px,
+ offset: -330px,
+ ),
+ az: (
+ width: 20px,
+ height: 10px,
+ offset: -352px,
+ ),
+ ba: (
+ width: 20px,
+ height: 10px,
+ offset: -374px,
+ ),
+ bb: (
+ width: 20px,
+ height: 14px,
+ offset: -396px,
+ ),
+ bd: (
+ width: 20px,
+ height: 12px,
+ offset: -418px,
+ ),
+ be: (
+ width: 18px,
+ height: 15px,
+ offset: -440px,
+ ),
+ bf: (
+ width: 20px,
+ height: 14px,
+ offset: -460px,
+ ),
+ bg: (
+ width: 20px,
+ height: 12px,
+ offset: -482px,
+ ),
+ bh: (
+ width: 20px,
+ height: 12px,
+ offset: -504px,
+ ),
+ bi: (
+ width: 20px,
+ height: 12px,
+ offset: -526px,
+ ),
+ bj: (
+ width: 20px,
+ height: 14px,
+ offset: -548px,
+ ),
+ bl: (
+ width: 20px,
+ height: 14px,
+ offset: -570px,
+ ),
+ bm: (
+ width: 20px,
+ height: 10px,
+ offset: -592px,
+ ),
+ bn: (
+ width: 20px,
+ height: 10px,
+ offset: -614px,
+ ),
+ bo: (
+ width: 20px,
+ height: 14px,
+ offset: -636px,
+ ),
+ bq: (
+ width: 20px,
+ height: 14px,
+ offset: -658px,
+ ),
+ br: (
+ width: 20px,
+ height: 14px,
+ offset: -680px,
+ ),
+ bs: (
+ width: 20px,
+ height: 10px,
+ offset: -702px,
+ ),
+ bt: (
+ width: 20px,
+ height: 14px,
+ offset: -724px,
+ ),
+ bv: (
+ width: 20px,
+ height: 15px,
+ offset: -746px,
+ ),
+ bw: (
+ width: 20px,
+ height: 14px,
+ offset: -768px,
+ ),
+ by: (
+ width: 20px,
+ height: 10px,
+ offset: -790px,
+ ),
+ bz: (
+ width: 20px,
+ height: 12px,
+ offset: -812px,
+ ),
+ ca: (
+ width: 20px,
+ height: 10px,
+ offset: -834px,
+ ),
+ cc: (
+ width: 20px,
+ height: 10px,
+ offset: -856px,
+ ),
+ cd: (
+ width: 20px,
+ height: 15px,
+ offset: -878px,
+ ),
+ cf: (
+ width: 20px,
+ height: 14px,
+ offset: -900px,
+ ),
+ cg: (
+ width: 20px,
+ height: 14px,
+ offset: -922px,
+ ),
+ ch: (
+ width: 15px,
+ height: 15px,
+ offset: -944px,
+ ),
+ ci: (
+ width: 20px,
+ height: 14px,
+ offset: -961px,
+ ),
+ ck: (
+ width: 20px,
+ height: 10px,
+ offset: -983px,
+ ),
+ cl: (
+ width: 20px,
+ height: 14px,
+ offset: -1005px,
+ ),
+ cm: (
+ width: 20px,
+ height: 14px,
+ offset: -1027px,
+ ),
+ cn: (
+ width: 20px,
+ height: 14px,
+ offset: -1049px,
+ ),
+ co: (
+ width: 20px,
+ height: 14px,
+ offset: -1071px,
+ ),
+ cp: (
+ width: 20px,
+ height: 14px,
+ offset: -1093px,
+ ),
+ cq: (
+ width: 20px,
+ height: 12px,
+ offset: -1115px,
+ ),
+ cr: (
+ width: 20px,
+ height: 12px,
+ offset: -1137px,
+ ),
+ cu: (
+ width: 20px,
+ height: 10px,
+ offset: -1159px,
+ ),
+ cv: (
+ width: 20px,
+ height: 12px,
+ offset: -1181px,
+ ),
+ cw: (
+ width: 20px,
+ height: 14px,
+ offset: -1203px,
+ ),
+ cx: (
+ width: 20px,
+ height: 10px,
+ offset: -1225px,
+ ),
+ cy: (
+ width: 20px,
+ height: 14px,
+ offset: -1247px,
+ ),
+ cz: (
+ width: 20px,
+ height: 14px,
+ offset: -1269px,
+ ),
+ de: (
+ width: 20px,
+ height: 12px,
+ offset: -1291px,
+ ),
+ dg: (
+ width: 20px,
+ height: 10px,
+ offset: -1313px,
+ ),
+ dj: (
+ width: 20px,
+ height: 14px,
+ offset: -1335px,
+ ),
+ dk: (
+ width: 20px,
+ height: 15px,
+ offset: -1357px,
+ ),
+ dm: (
+ width: 20px,
+ height: 10px,
+ offset: -1379px,
+ ),
+ do: (
+ width: 20px,
+ height: 14px,
+ offset: -1401px,
+ ),
+ dz: (
+ width: 20px,
+ height: 14px,
+ offset: -1423px,
+ ),
+ ea: (
+ width: 20px,
+ height: 14px,
+ offset: -1445px,
+ ),
+ ec: (
+ width: 20px,
+ height: 14px,
+ offset: -1467px,
+ ),
+ ee: (
+ width: 20px,
+ height: 13px,
+ offset: -1489px,
+ ),
+ eg: (
+ width: 20px,
+ height: 14px,
+ offset: -1511px,
+ ),
+ eh: (
+ width: 20px,
+ height: 10px,
+ offset: -1533px,
+ ),
+ er: (
+ width: 20px,
+ height: 10px,
+ offset: -1555px,
+ ),
+ es: (
+ width: 20px,
+ height: 14px,
+ offset: -1577px,
+ ),
+ et: (
+ width: 20px,
+ height: 10px,
+ offset: -1599px,
+ ),
+ eu: (
+ width: 20px,
+ height: 14px,
+ offset: -1621px,
+ ),
+ ez: (
+ width: 20px,
+ height: 14px,
+ offset: -1643px,
+ ),
+ fi: (
+ width: 20px,
+ height: 12px,
+ offset: -1665px,
+ ),
+ fj: (
+ width: 20px,
+ height: 10px,
+ offset: -1687px,
+ ),
+ fk: (
+ width: 20px,
+ height: 10px,
+ offset: -1709px,
+ ),
+ fm: (
+ width: 20px,
+ height: 11px,
+ offset: -1731px,
+ ),
+ fo: (
+ width: 20px,
+ height: 15px,
+ offset: -1753px,
+ ),
+ fr: (
+ width: 20px,
+ height: 14px,
+ offset: -1775px,
+ ),
+ fx: (
+ width: 20px,
+ height: 14px,
+ offset: -1797px,
+ ),
+ ga: (
+ width: 20px,
+ height: 15px,
+ offset: -1819px,
+ ),
+ gb: (
+ width: 20px,
+ height: 10px,
+ offset: -1841px,
+ ),
+ gd: (
+ width: 20px,
+ height: 12px,
+ offset: -1863px,
+ ),
+ ge: (
+ width: 20px,
+ height: 14px,
+ offset: -1885px,
+ ),
+ gf: (
+ width: 20px,
+ height: 14px,
+ offset: -1907px,
+ ),
+ gg: (
+ width: 20px,
+ height: 14px,
+ offset: -1929px,
+ ),
+ gh: (
+ width: 20px,
+ height: 14px,
+ offset: -1951px,
+ ),
+ gi: (
+ width: 20px,
+ height: 10px,
+ offset: -1973px,
+ ),
+ gl: (
+ width: 20px,
+ height: 14px,
+ offset: -1995px,
+ ),
+ gm: (
+ width: 20px,
+ height: 14px,
+ offset: -2017px,
+ ),
+ gn: (
+ width: 20px,
+ height: 14px,
+ offset: -2039px,
+ ),
+ gp: (
+ width: 20px,
+ height: 14px,
+ offset: -2061px,
+ ),
+ gq: (
+ width: 20px,
+ height: 14px,
+ offset: -2083px,
+ ),
+ gr: (
+ width: 20px,
+ height: 14px,
+ offset: -2105px,
+ ),
+ gs: (
+ width: 20px,
+ height: 10px,
+ offset: -2127px,
+ ),
+ gt: (
+ width: 20px,
+ height: 13px,
+ offset: -2149px,
+ ),
+ gu: (
+ width: 20px,
+ height: 11px,
+ offset: -2171px,
+ ),
+ gw: (
+ width: 20px,
+ height: 10px,
+ offset: -2193px,
+ ),
+ gy: (
+ width: 20px,
+ height: 12px,
+ offset: -2215px,
+ ),
+ hk: (
+ width: 20px,
+ height: 14px,
+ offset: -2237px,
+ ),
+ hm: (
+ width: 20px,
+ height: 10px,
+ offset: -2259px,
+ ),
+ hn: (
+ width: 20px,
+ height: 10px,
+ offset: -2281px,
+ ),
+ hr: (
+ width: 20px,
+ height: 10px,
+ offset: -2303px,
+ ),
+ ht: (
+ width: 20px,
+ height: 12px,
+ offset: -2325px,
+ ),
+ hu: (
+ width: 20px,
+ height: 10px,
+ offset: -2347px,
+ ),
+ ic: (
+ width: 20px,
+ height: 14px,
+ offset: -2369px,
+ ),
+ id: (
+ width: 20px,
+ height: 14px,
+ offset: -2391px,
+ ),
+ ie: (
+ width: 20px,
+ height: 10px,
+ offset: -2413px,
+ ),
+ il: (
+ width: 20px,
+ height: 15px,
+ offset: -2435px,
+ ),
+ im: (
+ width: 20px,
+ height: 10px,
+ offset: -2457px,
+ ),
+ in: (
+ width: 20px,
+ height: 14px,
+ offset: -2479px,
+ ),
+ io: (
+ width: 20px,
+ height: 10px,
+ offset: -2501px,
+ ),
+ iq: (
+ width: 20px,
+ height: 14px,
+ offset: -2523px,
+ ),
+ ir: (
+ width: 20px,
+ height: 12px,
+ offset: -2545px,
+ ),
+ is: (
+ width: 20px,
+ height: 15px,
+ offset: -2567px,
+ ),
+ it: (
+ width: 20px,
+ height: 14px,
+ offset: -2589px,
+ ),
+ je: (
+ width: 20px,
+ height: 12px,
+ offset: -2611px,
+ ),
+ jm: (
+ width: 20px,
+ height: 10px,
+ offset: -2633px,
+ ),
+ jo: (
+ width: 20px,
+ height: 10px,
+ offset: -2655px,
+ ),
+ jp: (
+ width: 20px,
+ height: 14px,
+ offset: -2677px,
+ ),
+ ke: (
+ width: 20px,
+ height: 14px,
+ offset: -2699px,
+ ),
+ kg: (
+ width: 20px,
+ height: 12px,
+ offset: -2721px,
+ ),
+ kh: (
+ width: 20px,
+ height: 13px,
+ offset: -2743px,
+ ),
+ ki: (
+ width: 20px,
+ height: 10px,
+ offset: -2765px,
+ ),
+ km: (
+ width: 20px,
+ height: 12px,
+ offset: -2787px,
+ ),
+ kn: (
+ width: 20px,
+ height: 14px,
+ offset: -2809px,
+ ),
+ kp: (
+ width: 20px,
+ height: 10px,
+ offset: -2831px,
+ ),
+ kr: (
+ width: 20px,
+ height: 14px,
+ offset: -2853px,
+ ),
+ kw: (
+ width: 20px,
+ height: 10px,
+ offset: -2875px,
+ ),
+ ky: (
+ width: 20px,
+ height: 10px,
+ offset: -2897px,
+ ),
+ kz: (
+ width: 20px,
+ height: 10px,
+ offset: -2919px,
+ ),
+ la: (
+ width: 20px,
+ height: 14px,
+ offset: -2941px,
+ ),
+ lb: (
+ width: 20px,
+ height: 14px,
+ offset: -2963px,
+ ),
+ lc: (
+ width: 20px,
+ height: 10px,
+ offset: -2985px,
+ ),
+ li: (
+ width: 20px,
+ height: 12px,
+ offset: -3007px,
+ ),
+ lk: (
+ width: 20px,
+ height: 10px,
+ offset: -3029px,
+ ),
+ lr: (
+ width: 20px,
+ height: 11px,
+ offset: -3051px,
+ ),
+ ls: (
+ width: 20px,
+ height: 14px,
+ offset: -3073px,
+ ),
+ lt: (
+ width: 20px,
+ height: 12px,
+ offset: -3095px,
+ ),
+ lu: (
+ width: 20px,
+ height: 12px,
+ offset: -3117px,
+ ),
+ lv: (
+ width: 20px,
+ height: 10px,
+ offset: -3139px,
+ ),
+ ly: (
+ width: 20px,
+ height: 10px,
+ offset: -3161px,
+ ),
+ ma: (
+ width: 20px,
+ height: 14px,
+ offset: -3183px,
+ ),
+ mc: (
+ width: 19px,
+ height: 15px,
+ offset: -3205px,
+ ),
+ md: (
+ width: 20px,
+ height: 10px,
+ offset: -3226px,
+ ),
+ me: (
+ width: 20px,
+ height: 10px,
+ offset: -3248px,
+ ),
+ mf: (
+ width: 20px,
+ height: 14px,
+ offset: -3270px,
+ ),
+ mg: (
+ width: 20px,
+ height: 14px,
+ offset: -3292px,
+ ),
+ mh: (
+ width: 20px,
+ height: 11px,
+ offset: -3314px,
+ ),
+ mk: (
+ width: 20px,
+ height: 10px,
+ offset: -3336px,
+ ),
+ ml: (
+ width: 20px,
+ height: 14px,
+ offset: -3358px,
+ ),
+ mm: (
+ width: 20px,
+ height: 14px,
+ offset: -3380px,
+ ),
+ mn: (
+ width: 20px,
+ height: 10px,
+ offset: -3402px,
+ ),
+ mo: (
+ width: 20px,
+ height: 14px,
+ offset: -3424px,
+ ),
+ mp: (
+ width: 20px,
+ height: 10px,
+ offset: -3446px,
+ ),
+ mq: (
+ width: 20px,
+ height: 14px,
+ offset: -3468px,
+ ),
+ mr: (
+ width: 20px,
+ height: 14px,
+ offset: -3490px,
+ ),
+ ms: (
+ width: 20px,
+ height: 10px,
+ offset: -3512px,
+ ),
+ mt: (
+ width: 20px,
+ height: 14px,
+ offset: -3534px,
+ ),
+ mu: (
+ width: 20px,
+ height: 14px,
+ offset: -3556px,
+ ),
+ mv: (
+ width: 20px,
+ height: 14px,
+ offset: -3578px,
+ ),
+ mw: (
+ width: 20px,
+ height: 14px,
+ offset: -3600px,
+ ),
+ mx: (
+ width: 20px,
+ height: 12px,
+ offset: -3622px,
+ ),
+ my: (
+ width: 20px,
+ height: 10px,
+ offset: -3644px,
+ ),
+ mz: (
+ width: 20px,
+ height: 14px,
+ offset: -3666px,
+ ),
+ na: (
+ width: 20px,
+ height: 14px,
+ offset: -3688px,
+ ),
+ nc: (
+ width: 20px,
+ height: 10px,
+ offset: -3710px,
+ ),
+ ne: (
+ width: 18px,
+ height: 15px,
+ offset: -3732px,
+ ),
+ nf: (
+ width: 20px,
+ height: 10px,
+ offset: -3752px,
+ ),
+ ng: (
+ width: 20px,
+ height: 10px,
+ offset: -3774px,
+ ),
+ ni: (
+ width: 20px,
+ height: 12px,
+ offset: -3796px,
+ ),
+ nl: (
+ width: 20px,
+ height: 14px,
+ offset: -3818px,
+ ),
+ no: (
+ width: 20px,
+ height: 15px,
+ offset: -3840px,
+ ),
+ np: (
+ width: 13px,
+ height: 15px,
+ offset: -3862px,
+ ),
+ nr: (
+ width: 20px,
+ height: 10px,
+ offset: -3877px,
+ ),
+ nu: (
+ width: 20px,
+ height: 10px,
+ offset: -3899px,
+ ),
+ nz: (
+ width: 20px,
+ height: 10px,
+ offset: -3921px,
+ ),
+ om: (
+ width: 20px,
+ height: 10px,
+ offset: -3943px,
+ ),
+ pa: (
+ width: 20px,
+ height: 14px,
+ offset: -3965px,
+ ),
+ pe: (
+ width: 20px,
+ height: 14px,
+ offset: -3987px,
+ ),
+ pf: (
+ width: 20px,
+ height: 14px,
+ offset: -4009px,
+ ),
+ pg: (
+ width: 20px,
+ height: 15px,
+ offset: -4031px,
+ ),
+ ph: (
+ width: 20px,
+ height: 10px,
+ offset: -4053px,
+ ),
+ pk: (
+ width: 20px,
+ height: 14px,
+ offset: -4075px,
+ ),
+ pl: (
+ width: 20px,
+ height: 13px,
+ offset: -4097px,
+ ),
+ pm: (
+ width: 20px,
+ height: 14px,
+ offset: -4119px,
+ ),
+ pn: (
+ width: 20px,
+ height: 10px,
+ offset: -4141px,
+ ),
+ pr: (
+ width: 20px,
+ height: 14px,
+ offset: -4163px,
+ ),
+ ps: (
+ width: 20px,
+ height: 10px,
+ offset: -4185px,
+ ),
+ pt: (
+ width: 20px,
+ height: 14px,
+ offset: -4207px,
+ ),
+ pw: (
+ width: 20px,
+ height: 13px,
+ offset: -4229px,
+ ),
+ py: (
+ width: 20px,
+ height: 11px,
+ offset: -4251px,
+ ),
+ qa: (
+ width: 20px,
+ height: 8px,
+ offset: -4273px,
+ ),
+ re: (
+ width: 20px,
+ height: 14px,
+ offset: -4295px,
+ ),
+ ro: (
+ width: 20px,
+ height: 14px,
+ offset: -4317px,
+ ),
+ rs: (
+ width: 20px,
+ height: 14px,
+ offset: -4339px,
+ ),
+ ru: (
+ width: 20px,
+ height: 14px,
+ offset: -4361px,
+ ),
+ rw: (
+ width: 20px,
+ height: 14px,
+ offset: -4383px,
+ ),
+ sa: (
+ width: 20px,
+ height: 14px,
+ offset: -4405px,
+ ),
+ sb: (
+ width: 20px,
+ height: 10px,
+ offset: -4427px,
+ ),
+ sc: (
+ width: 20px,
+ height: 10px,
+ offset: -4449px,
+ ),
+ sd: (
+ width: 20px,
+ height: 10px,
+ offset: -4471px,
+ ),
+ se: (
+ width: 20px,
+ height: 13px,
+ offset: -4493px,
+ ),
+ sg: (
+ width: 20px,
+ height: 14px,
+ offset: -4515px,
+ ),
+ sh: (
+ width: 20px,
+ height: 10px,
+ offset: -4537px,
+ ),
+ si: (
+ width: 20px,
+ height: 10px,
+ offset: -4559px,
+ ),
+ sj: (
+ width: 20px,
+ height: 15px,
+ offset: -4581px,
+ ),
+ sk: (
+ width: 20px,
+ height: 14px,
+ offset: -4603px,
+ ),
+ sl: (
+ width: 20px,
+ height: 14px,
+ offset: -4625px,
+ ),
+ sm: (
+ width: 20px,
+ height: 15px,
+ offset: -4647px,
+ ),
+ sn: (
+ width: 20px,
+ height: 14px,
+ offset: -4669px,
+ ),
+ so: (
+ width: 20px,
+ height: 14px,
+ offset: -4691px,
+ ),
+ sr: (
+ width: 20px,
+ height: 14px,
+ offset: -4713px,
+ ),
+ ss: (
+ width: 20px,
+ height: 10px,
+ offset: -4735px,
+ ),
+ st: (
+ width: 20px,
+ height: 10px,
+ offset: -4757px,
+ ),
+ su: (
+ width: 20px,
+ height: 10px,
+ offset: -4779px,
+ ),
+ sv: (
+ width: 20px,
+ height: 12px,
+ offset: -4801px,
+ ),
+ sx: (
+ width: 20px,
+ height: 14px,
+ offset: -4823px,
+ ),
+ sy: (
+ width: 20px,
+ height: 14px,
+ offset: -4845px,
+ ),
+ sz: (
+ width: 20px,
+ height: 14px,
+ offset: -4867px,
+ ),
+ ta: (
+ width: 20px,
+ height: 10px,
+ offset: -4889px,
+ ),
+ tc: (
+ width: 20px,
+ height: 10px,
+ offset: -4911px,
+ ),
+ td: (
+ width: 20px,
+ height: 14px,
+ offset: -4933px,
+ ),
+ tf: (
+ width: 20px,
+ height: 14px,
+ offset: -4955px,
+ ),
+ tg: (
+ width: 20px,
+ height: 13px,
+ offset: -4977px,
+ ),
+ th: (
+ width: 20px,
+ height: 14px,
+ offset: -4999px,
+ ),
+ tj: (
+ width: 20px,
+ height: 10px,
+ offset: -5021px,
+ ),
+ tk: (
+ width: 20px,
+ height: 10px,
+ offset: -5043px,
+ ),
+ tl: (
+ width: 20px,
+ height: 10px,
+ offset: -5065px,
+ ),
+ tm: (
+ width: 20px,
+ height: 14px,
+ offset: -5087px,
+ ),
+ tn: (
+ width: 20px,
+ height: 14px,
+ offset: -5109px,
+ ),
+ to: (
+ width: 20px,
+ height: 10px,
+ offset: -5131px,
+ ),
+ tr: (
+ width: 20px,
+ height: 14px,
+ offset: -5153px,
+ ),
+ tt: (
+ width: 20px,
+ height: 12px,
+ offset: -5175px,
+ ),
+ tv: (
+ width: 20px,
+ height: 10px,
+ offset: -5197px,
+ ),
+ tw: (
+ width: 20px,
+ height: 14px,
+ offset: -5219px,
+ ),
+ tz: (
+ width: 20px,
+ height: 14px,
+ offset: -5241px,
+ ),
+ ua: (
+ width: 20px,
+ height: 14px,
+ offset: -5263px,
+ ),
+ ug: (
+ width: 20px,
+ height: 14px,
+ offset: -5285px,
+ ),
+ uk: (
+ width: 20px,
+ height: 10px,
+ offset: -5307px,
+ ),
+ um: (
+ width: 20px,
+ height: 11px,
+ offset: -5329px,
+ ),
+ un: (
+ width: 20px,
+ height: 14px,
+ offset: -5351px,
+ ),
+ us: (
+ width: 20px,
+ height: 11px,
+ offset: -5373px,
+ ),
+ uy: (
+ width: 20px,
+ height: 14px,
+ offset: -5395px,
+ ),
+ uz: (
+ width: 20px,
+ height: 10px,
+ offset: -5417px,
+ ),
+ va: (
+ width: 15px,
+ height: 15px,
+ offset: -5439px,
+ ),
+ vc: (
+ width: 20px,
+ height: 14px,
+ offset: -5456px,
+ ),
+ ve: (
+ width: 20px,
+ height: 14px,
+ offset: -5478px,
+ ),
+ vg: (
+ width: 20px,
+ height: 10px,
+ offset: -5500px,
+ ),
+ vi: (
+ width: 20px,
+ height: 14px,
+ offset: -5522px,
+ ),
+ vn: (
+ width: 20px,
+ height: 14px,
+ offset: -5544px,
+ ),
+ vu: (
+ width: 20px,
+ height: 12px,
+ offset: -5566px,
+ ),
+ wf: (
+ width: 20px,
+ height: 14px,
+ offset: -5588px,
+ ),
+ ws: (
+ width: 20px,
+ height: 10px,
+ offset: -5610px,
+ ),
+ xk: (
+ width: 20px,
+ height: 15px,
+ offset: -5632px,
+ ),
+ ye: (
+ width: 20px,
+ height: 14px,
+ offset: -5654px,
+ ),
+ yt: (
+ width: 20px,
+ height: 14px,
+ offset: -5676px,
+ ),
+ za: (
+ width: 20px,
+ height: 14px,
+ offset: -5698px,
+ ),
+ zm: (
+ width: 20px,
+ height: 14px,
+ offset: -5720px,
+ ),
+ zw: (
+ width: 20px,
+ height: 10px,
+ offset: -5742px,
+ ),
+);
+
+// ! DO NOT EDIT This file is autogenerated DO NOT EDIT !//
\ No newline at end of file
diff --git a/assets/partners.scss b/assets/partners.scss
index 3b4f3eb..91a60bc 100644
--- a/assets/partners.scss
+++ b/assets/partners.scss
@@ -412,23 +412,25 @@
display: flex;
flex-direction: column;
border: 1px solid #D7D7D7;
+ border-radius: $borderRadius;
.certificate-line {
display: block;
- width: 170px;
+ //width: 170px;
position: absolute;
top: -1px;
right: -1px;
color: #fff;
font-size: 14px;
text-transform: capitalize;
- padding: 7px 10px 7px 40px;
+ padding: 7px 15px 7px 40px;
border: 1px solid #D7D7D7;
border-bottom-left-radius: 5px;
-webkit-border-bottom-left-radius: 5px;
background-image: url('../img/subtract.svg');
background-repeat: no-repeat;
background-position: left 13px center;
+ border-radius: 0 $borderRadius;
&.platinum {
background-color: #204C65;
@@ -476,6 +478,15 @@
line-height: 17px;
margin: 0px;
}
+
+ ul {
+ color: #6C6C6C;
+ font-size: 12px;
+ line-height: 17px;
+ margin: 0px;
+ padding-left: 11px;
+ margin-top: 8px;
+ }
}
.partner-info {
diff --git a/assets/theme.scss b/assets/theme.scss
index edb022a..103b7cb 100644
--- a/assets/theme.scss
+++ b/assets/theme.scss
@@ -63,6 +63,10 @@ a:hover {
text-decoration: none;
}
+a:active, a:hover {
+ color: $mainColorDarker;
+}
+
*:not(iframe):not(section):focus {
outline: 1px solid #000;
}
@@ -95,10 +99,18 @@ body {
line-height: 1.6;
}
+.jpPunctuation {
+ font-family: 'Open Sans', sans-serif !important;
+}
+
.wrapper {
position: relative;
width: 100%;
overflow-x: hidden;
+
+ &.wrapper_simplified {
+ padding-top: 6rem;
+ }
}
h1 {
@@ -182,6 +194,31 @@ ol {
}
+.disabled {
+ a, button {
+ opacity: 0.5;
+ cursor: not-allowed !important;
+ }
+}
+
+.widthFitContent {
+ width: fit-content;
+}
+
+.marginAuto {
+ margin: auto !important;
+}
+
+.noPadding {
+ padding: 0 !important;
+}
+
+.w100 {
+ img {
+ width: 100%;
+ }
+}
+
.blueGradientSection {
.overlay-gradient {
position: absolute;
@@ -194,6 +231,19 @@ ol {
}
}
+.lightBlueGradient {
+ .overlay-gradient {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ background: $lightBlueGradient;
+ top: 0;
+ left: 0;
+ //opacity: 0.6;
+ }
+}
+
+
.btn-hub-announcement-video {
img {
width: 220px;
@@ -202,14 +252,14 @@ ol {
.c-btn, .btn-primary {
display: inline-block;
- min-width: 242px;
+ min-width: 215px;
padding: 12px 2rem;
color: #fff;
font-size: 16px;
font-weight: 600;
line-height: 22px;
border: 2px solid $mainColor;
- border-radius: 25px;
+ border-radius: $borderRadius;
background-color: $mainColor;
text-align: center;
transition: all .3s ease;
@@ -264,6 +314,7 @@ ol {
line-height: 27px;
height: auto !important;
font-size: 13px;
+ border-radius: $borderRadiusSmall;
&:hover {
color: #0082c9;
@@ -288,12 +339,19 @@ ol {
color: #0082c9;
background-color: #fff;
}
-
}
-}
+ &.btn-small {
+ min-width: auto;
+ padding: 0px 17px !important;
+ line-height: 27px;
+ height: auto !important;
+ font-size: 13px !important;
+ border-radius: $borderRadiusSmall;
+ }
+}
.section-404 {
padding: 6rem 0px;
@@ -403,7 +461,6 @@ ol {
border: 1px solid #fff;
background-color: #fff;
border-radius: 35px;
- -webkit-border-radius: 35px;
color: #30B6FF;
font-size: 18px;
font-weight: 600;
@@ -437,6 +494,34 @@ ol {
}
+.livestream_schedule {
+ ul {
+
+ li.list-group-item {
+ span {
+ margin-bottom: 6px;
+ }
+
+ &.opened, &:hover {
+ .text-muted {
+ color: $mainColor !important;
+ }
+ }
+ }
+
+ .badge-light {
+ color: #212529;
+ background-color: #f8f9fa;
+ }
+ .badge-success {
+ color: #fff;
+ background-color: #28a745;
+ }
+ }
+}
+
+
+
.heading-form-holder {
margin-bottom: 1rem;
@@ -459,7 +544,7 @@ ol {
color: #fff;
font-weight: 700;
font-size: 3rem;
- line-height: 3.3rem;
+ line-height: 130%;
margin: 0px 0px 20px;
}
@@ -583,7 +668,6 @@ ol {
padding: 40px 15px;
border: 2px solid transparent;
border-radius: 10px;
- -webkit-border-radius: 10px;
text-align: center;
-webkit-box-shadow: 0px 8px 30px 0px rgba(0, 116, 178, 0.08);
-moz-box-shadow: 0px 8px 30px 0px rgba(0, 116, 178, 0.08);
@@ -696,7 +780,6 @@ ol {
height: 7px;
background-color: #30B6FF;
border-radius: 50%;
- -webkit-border-radius: 50%;
}
}
}
@@ -738,7 +821,6 @@ ol {
padding: 15px 25px;
border: 2px solid transparent;
border-radius: 20px;
- -webkit-border-radius: 20px;
&.simple-box {
justify-content: flex-start;
@@ -809,7 +891,6 @@ ol {
top: -50px;
border: none;
border-radius: 50%;
- -webkit-border-radius: 50%;
background-color: #004871;
background-image: url('../img/arrow01.svg');
background-repeat: no-repeat;
@@ -935,7 +1016,6 @@ ol {
border: 2px solid transparent;
background-color: #fff;
border-radius: 20px;
- -webkit-border-radius: 20px;
-webkit-box-shadow: 0px 8px 30px 0px rgba(0, 116, 178, 0.08);
-moz-box-shadow: 0px 8px 30px 0px rgba(0, 116, 178, 0.08);
box-shadow: 0px 8px 30px 0px rgba(0, 116, 178, 0.08);
@@ -1114,7 +1194,6 @@ ol {
max-width: 100%;
height: auto;
border-radius: 10px;
- -webkit-border-radius: 10px;
-webkit-box-shadow: 0px 3px 30px 0px rgba(0, 0, 0, 0.15);
-moz-box-shadow: 0px 3px 30px 0px rgba(0, 0, 0, 0.15);
box-shadow: 0px 3px 30px 0px rgba(0, 0, 0, 0.15);
@@ -1128,7 +1207,6 @@ ol {
padding-top: 56.25%;
overflow: hidden;
border-radius: 10px;
- -webkit-border-radius: 10px;
-webkit-box-shadow: 0px 3px 30px 0px rgba(0, 0, 0, 0.15);
-moz-box-shadow: 0px 3px 30px 0px rgba(0, 0, 0, 0.15);
box-shadow: 0px 3px 30px 0px rgba(0, 0, 0, 0.15);
@@ -1185,8 +1263,7 @@ ol {
height: 37px;
top: -50px;
border: none;
- border-radius: 50%;
- -webkit-border-radius: 50%;
+ border-radius: $borderRadius;
background-color: #004871;
background-image: url('../img/arrow01.svg');
background-repeat: no-repeat;
@@ -1220,7 +1297,6 @@ ol {
height: 100%;
padding: 35px 30px;
border-radius: 10px;
- -webkit-border-radius: 10px;
background-image: url('../img/bg09.jpg');
background-repeat: no-repeat;
background-position: center center;
@@ -1340,7 +1416,6 @@ ol {
img {
border-radius: 50%;
- -webkit-border-radius: 50%;
-webkit-box-shadow: 10px 15px 40px 0px rgba(0, 0, 0, 0.25);
-moz-box-shadow: 10px 15px 40px 0px rgba(0, 0, 0, 0.25);
box-shadow: 10px 15px 40px 0px rgba(0, 0, 0, 0.25);
@@ -1604,7 +1679,6 @@ ol {
.col-hub-generic-background {
//has background image, 16/9 aspect ratio
-
.vc_column-inner {
background-size: 100% auto;
border-radius: 15px;
@@ -1663,7 +1737,6 @@ ol {
top: -140px;
border: none;
border-radius: 50%;
- -webkit-border-radius: 50%;
background-color: #004871;
background-repeat: no-repeat;
background-position: left 26px center;
@@ -2207,6 +2280,8 @@ ol {
width: 100%;
text-align: center;
z-index: 5;
+ max-width: 14rem;
+ margin: auto;
&:before {
content: '';
@@ -2265,6 +2340,7 @@ ol {
line-height: 166.2%;
font-weight: 600;
margin: 0px;
+ font-style: normal;
&:before {
content: '';
@@ -2278,9 +2354,12 @@ ol {
span {
display: block;
+ /*
font-size: 18px;
line-height: 166.2%;
margin: 0px 0px 0px;
+ */
+ font-size: 0.9em;
}
a {
@@ -2307,7 +2386,7 @@ ol {
&:before {
top: -15px;
left:0;
- bottom: 28%;
+ bottom: 19%;
}
}
@@ -2499,11 +2578,41 @@ ol {
}
}
+
+.nc_vertical_tabs {
+ li {
+
+ a{
+ display: block;
+ color: $textColor !important;
+ font-weight: bold;
+
+ &:focus {
+ outline: none;
+ }
+
+ span {
+ font-weight: normal;
+ }
+ }
+
+ &.opened, &:hover {
+ background-color: $communityColor;
+
+ a{
+ color: $mainColor !important;
+ }
+ }
+ }
+}
+
+
+
.columns4-section {
padding: 0px 0px 75px;
.section-title {
- padding-top: 100px;
+ padding-top: 20px;
text-align: center;
h6 {
@@ -2516,7 +2625,7 @@ ol {
}
.spacer {
- padding: 75px 0px;
+ padding: 20px 0px;
}
.image-slider {
@@ -2636,7 +2745,7 @@ ol {
}
.c-btn {
- margin-top: 30px;
+ //margin-top: 30px;
}
quote {
@@ -4190,7 +4299,7 @@ ol {
padding: 12px 2rem;
min-width: 220px;
margin: 0px 15px 15px 0px;
- border-radius: 28px;
+ border-radius: $borderRadius;
color: #000;
//font-size: 18px;
font-weight: 600;
@@ -6612,7 +6721,7 @@ ol {
.btn_container {
margin-top: 15px;
- text-align: center;
+ //text-align: center;
}
}
@@ -7073,8 +7182,227 @@ ol {
}
}
}
+
+}
+
+
+
+.wrapper_single_event {
+ &.exhibition {
+
+ .single-hero-section {
+
+ &.custom_header_image {
+ &:before {
+ background: $pageHeroGradient;
+ }
+ }
+
+
+ .section-title {
+ text-align: left;
+ padding-bottom: 3rem;
+
+ .event_label {
+ color: $mainColor;
+ background-color: #fff;
+ border-radius: 9px;
+ padding: 2px 20px;
+ display: inline-block;
+ margin-bottom: 1rem;
+ font-weight: bold;
+ }
+
+ h1 {
+ font-size: 3rem;
+ line-height: 130%;
+ }
+
+ }
+
+ .event_info {
+ text-align: left;
+ color: #fff;
+
+ ul {
+ list-style: none;
+ padding: 0;
+ margin: 0;
+
+ li {
+ display: inline-block;
+ margin-right: 2rem;
+
+ &:before {
+ font-family: "Font Awesome 5 Free";
+ font-weight: 400;
+ margin-right: 4px;
+ }
+
+ &.date {
+ &:before {
+ content: "\f073";
+ }
+ }
+
+ &.location {
+ &:before {
+ //content: "\f3c5";
+ }
+ }
+
+ &.booth {
+ &:before {
+ //content: "\f1ad";
+ }
+ }
+
+ .label {
+ font-size: 0.8em;
+ }
+
+ p {
+ font-size: 1.2em;
+ font-weight: bold;
+ }
+ }
+
+ }
+ }
+
+
+ .title_col {
+ @media screen and (min-width: $tablet-breakpoint) {
+ padding-right: 2.5rem;
+ }
+
+ }
+
+ }
+
+
+ .post-single-section {
+ padding: 2.5rem 0;
+
+
+ .event_content_col {
+ @media screen and (min-width: $tablet-breakpoint) {
+ padding-right: 2.5rem;
+ }
+ }
+
+ .event_reg_col {
+ .event_reg_content {
+ margin-top: 3rem;
+
+ @media screen and (min-width: $tablet-breakpoint) {
+ & {
+ margin-top: -20rem;
+ z-index: 3;
+ position: relative;
+ }
+ }
+
+
+ background: #fff;
+ border-radius: $borderRadius;
+ box-shadow: $boxShadow;
+ overflow: hidden;
+
+
+ h3 {
+ font-weight: bold;
+ font-size: 1.4rem;
+ background-color: $communityColor;
+ padding: 0.7rem 1.3rem;
+ text-align: center;
+
+ }
+
+ .form-body {
+ padding: 0.7rem 1.3rem;
+
+ .nf-form-title {
+ margin: 0;
+ height: 0;
+ padding: 0;
+ }
+
+ .nf-response-msg {
+ margin: 1rem auto;
+ }
+ }
+
+ }
+ }
+ }
+
+
+ .social_media_sharing {
+
+ .share-block {
+ padding: 15px 0px 0px;
+ text-align: center;
+ display: flex;
+ justify-content: center;
+
+ a {
+ transition: all 0.3s ease;
+ margin: 0px 5px;
+ background-repeat: no-repeat;
+ border-radius: $borderRadius;
+ padding: 4px 22px;
+ background: $mainColor;
+ display: flex;
+ align-items: center;
+ border: 1px solid $mainColor;
+
+ .a2a_svg {
+ margin-right: 5px;
+ svg {
+ height: 30px;
+
+
+ }
+ }
+
+ .a2a_label {
+ color: #fff;
+ }
+
+
+ &:hover, &:focus {
+ background-color: #fff;
+ color: $mainColor;
+ outline: none;
+
+ .a2a_label {
+ color: $mainColor;
+ }
+
+ svg {
+ path {
+ fill: $mainColor;
+ }
+ }
+ }
+ }
+ }
+
+ }
+
+
+ }
+
}
+
+
+
+
+
+
+
.related-posts-section {
padding: 60px 0px 80px;
@@ -7177,7 +7505,7 @@ ol {
border: 1px solid rgba(12, 7, 38, 0.15);
color: #000;
font-size: 16px;
- border-radius: 25px;
+ border-radius: $borderRadius;
}
.search-submit {
@@ -7377,7 +7705,8 @@ ol {
margin-bottom: 10px;
li {
- display: inline;
+ display: inline-block;
+ vertical-align: middle;
&:not(:last-child){
margin-right:10px;
@@ -7391,6 +7720,19 @@ ol {
}
}
+ .webinar_lang {
+ //margin-bottom: 6px;
+ display: inline-block;
+ vertical-align: middle;
+ //font-size: 0.8em;
+
+ img {
+ max-width: 15px;
+ margin-right: 5px;
+ }
+ }
+
+
h4 {
color: $mainColor;
font-size: 24px;
@@ -7745,6 +8087,56 @@ ol {
}
}
+
+.nc_form_container {
+
+ &.centered {
+ .search-form {
+ margin-left: auto;
+ margin-right: auto;
+ }
+ }
+
+ .search-form {
+ width: 100%;
+ max-width: 400px;
+ margin-bottom: 20px;
+ position: relative;
+
+ label {
+ width: 100%;
+ }
+
+ .search-field {
+ width: 100%;
+ height: 55px;
+ padding: 0px 90px 0px 30px;
+ border: 1px solid rgba(12, 7, 38, 0.15);
+ color: #000;
+ font-size: 16px;
+ border-radius: 38px;
+ -webkit-border-radius: 38px;
+ }
+
+ .search-submit {
+ position: absolute;
+ top: 2px;
+ right: 2px;
+ width: 73px;
+ height: 51px;
+ background-color: #fff;
+ border: none;
+ border-radius: 50%;
+ -webkit-border-radius: 50%;
+ font-size: 0px;
+ background-image: url('../img/search.svg');
+ background-repeat: no-repeat;
+ background-position: center center;
+ }
+ }
+}
+
+
.post-single-section {
padding: 100px 0px 110px;
@@ -7835,8 +8227,6 @@ ol {
.wp-block-media-text__content {
padding-right: 8%;
padding-left: 0;
- //text-align: right;
-
@media screen and (max-width: $sm-breakpoint600) {
& {
@@ -7869,7 +8259,7 @@ ol {
}
a {
- display: block;
+ display: inline-block;
height: 100%;
}
@@ -7956,10 +8346,10 @@ ol {
.search-submit {
position: absolute;
- top: 1px;
- right: 1px;
+ top: 2px;
+ right: 2px;
width: 73px;
- height: 53px;
+ height: 51px;
background-color: #fff;
border: none;
border-radius: 50%;
@@ -7986,7 +8376,7 @@ ol {
}
h2 {
- margin: 3rem 0px 2rem;
+ margin: 2rem 0px 2rem;
}
h3 {
@@ -8065,9 +8455,12 @@ ol {
background-color: $mainColor;
text-decoration: none !important;
border: 2px solid $mainColor;
- padding: 10px 20px;
+ padding: 12px 2rem;
font-size: 16px;
transition: all .3s ease;
+ font-weight: 600;
+ line-height: 22px;
+ min-width: 215px;
&:hover {
background-color: #fff;
@@ -8712,8 +9105,7 @@ ol {
@media (max-width: 991.98px) {
.squote2-section .round-block {
padding: 40px;
- border-radius: 25px;
- -webkit-border-radius: 25px;
+ border-radius: $borderRadius;
height: auto;
.round-inner {
@@ -8724,8 +9116,7 @@ ol {
.analysis-section .quote-circle {
padding: 40px;
- border-radius: 25px;
- -webkit-border-radius: 25px;
+ border-radius: $borderRadius;
height: auto;
.quote-inner {
@@ -9436,6 +9827,19 @@ ol {
background: $mainColor;
}
+
+ &.enterprise_day {
+ padding-top: 15rem !important;
+ padding-bottom: 5rem !important;
+ background-position: top 0 left 0;
+
+ @media screen and (max-width: $md-breakpoint) {
+ & {
+ padding-top: 12rem !important;
+ }
+ }
+ }
+
&.conference {
padding-top: 15rem !important;
padding-bottom: 5rem !important;
@@ -9587,15 +9991,32 @@ ol {
}
+
+ &.bottom-right-shape-divider {
+ background: $mainColor;
+ background-image: url('/c/uploads/2024/07/shape-bg-hero-bottom.svg'); /* fallback */
+ background-image: url('/c/uploads/2024/07/shape-bg-hero-bottom.svg'), $blueGradient; /* W3C */
+ //background-size: 100% auto;
+ background-position: bottom 0 right 0;
+ background-repeat: no-repeat;
+
+ .overlay-gradient {
+ background: none;
+ }
+
+ }
+
+
.page-title{
- margin-bottom: 15px !important;
+ margin-bottom: 20px !important;
+ margin-top: 20px !important;
color: #fff;
h1 {
color: #fff;
font-weight: 700;
font-size: 3rem;
- line-height: 3.3rem;
+ line-height: 100%;
@media screen and (max-width: $md-breakpoint) {
&{
@@ -9612,6 +10033,9 @@ ol {
.page-subtitle {
color: #fff;
+ margin-top: 1rem !important;
+ margin-bottom: 1.5rem !important;
+
i.fa-map-marker-alt {
margin-left: 20px;
}
@@ -9902,7 +10326,7 @@ ol {
position: relative;
img {
- height: 37px;
+ height: 30px;
width: fit-content;
position: absolute;
@@ -9972,10 +10396,8 @@ ol {
border-color: $mainColor;
color: #fff;
font-size: 16px;
- //font-weight: 600;
- border-radius: 25px;
+ border-radius: $borderRadius;
padding: 12px 2rem;
- border-width: 2px;
&.vc_btn3-icon-left {
padding-left: 48px;
@@ -10030,8 +10452,7 @@ ol {
.vc_btn3.vc_btn3-color-grey.vc_btn3-style-modern
{
font-size: 16px;
- //font-weight: 600;
- border-radius: 25px;
+ border-radius: $borderRadius;
padding: 12px 2rem;
color: $textColor;
background-color: #fff;
@@ -10057,11 +10478,21 @@ ol {
.btn-white-outline {
+ &.icon_only {
+ .vc_btn3.vc_btn3-color-grey.vc_btn3-style-modern{
+ padding: 9px 20px !important;
+
+ i {
+ font-size: 12px !important;
+ }
+ }
+ }
+
.vc_btn3.vc_btn3-color-grey.vc_btn3-style-modern
{
font-size: 16px;
background: none;
- border-radius: 25px;
+ border-radius: $borderRadius;
padding: 12px 2rem;
color: #fff;
border-color: #fff;
@@ -10077,12 +10508,12 @@ ol {
}
.btn-outline {
-
+
.vc_btn3.vc_btn3-color-grey.vc_btn3-style-modern
{
font-size: 16px;
background: none;
- border-radius: 25px;
+ border-radius: $borderRadius;
padding: 12px 2rem;
color: $mainColor;
border-color: $mainColor;
@@ -10124,11 +10555,16 @@ ol {
}
&.vc_btn3-icon-left {
- padding-left: 35px !important;
+ padding-left: 32px !important;
+
i {
left: 11px !important;
}
}
+
+ i {
+ font-size: 13px;
+ }
}
}
@@ -10183,7 +10619,7 @@ ol {
}
.borderRadius {
- border-radius: $borderRadius;
+ border-radius: $borderRadiusSection;
}
.boxShadow {
@@ -10267,7 +10703,7 @@ ol {
&.hub-icons {
img {
- height: 25px !important;
+ height: 30px !important;
width: auto;
}
}
@@ -10693,6 +11129,11 @@ table.advantages {
width: 100%;
max-width: 100%;
+
+ .price_meta {
+ display: inline;
+ }
+
tbody {
width: 100%;
display: block;
@@ -10700,10 +11141,27 @@ table.advantages {
tr {
-
display: flex;
width: 100%;
+ &.price {
+
+ th {
+ @media screen and (min-width: $tablet-breakpoint) {
+ justify-content: flex-end;
+ }
+ }
+
+ th, td {
+ display: flex;
+ align-items: center;
+ }
+
+ td {
+ justify-content: center;
+ }
+ }
+
th, td {
width: 25%;
padding: 1rem 1.6rem;
@@ -10796,9 +11254,6 @@ table.advantages {
font-size: 0.8em;
}
- &:last-child {
- //width: 80%;
- }
}
}
@@ -10830,8 +11285,18 @@ table.advantages {
}
&.buttons {
+ align-items: stretch;
+
+ td {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+
a {
- white-space: nowrap;
+ @media screen and (min-width: $tablet-breakpoint) {
+ white-space: nowrap;
+ }
br {
display: none;
@@ -10931,7 +11396,7 @@ table.advantages {
th:nth-child(2), td:nth-child(2) {
width: auto;
- display: none;
+ //display: none;
}
}
@@ -11024,7 +11489,14 @@ table.advantages {
font-size: 16px;
}
}
+ }
+ h6 {
+ @media screen and (max-width: $md-breakpoint) {
+ & {
+ font-size: 14px;
+ }
+ }
}
p {
@@ -11593,14 +12065,12 @@ table.advantages {
.case_studies {
margin-top: 5rem;
-
&.centered {
justify-content: center;
text-align: left;
}
.quotes_carousel {
-
margin-bottom: 3rem;
.owl-stage-outer {
@@ -11753,15 +12223,13 @@ table.advantages {
}
.organization {
- padding-left: 4rem;
+ padding-left: 3.5rem;
position: relative;
min-height: 57px;
- margin-bottom: 35px !important;
line-height: normal;
-
display: flex;
align-items: center;
-
+ font-size: 0.85em;
@media screen and (min-width: $xl-breakpoint) and (max-width: 1400px) {
&{
@@ -11770,20 +12238,15 @@ table.advantages {
}
.wpb_wrapper {
- //position: absolute;
- //top: 0;
- //bottom: 0;
- //margin: auto;
height: fit-content;
h4 {
font-weight: 700;
- font-size: 1rem;
+ margin-bottom: 2px;
+ font-size: 1.3rem;
}
}
-
-
&:before {
left: 0;
@@ -11793,33 +12256,48 @@ table.advantages {
content: "\f10d";
font-size: 3.4rem;
color: #BCDEF1;
- //align vertical center
top:0;
bottom: 0;
margin: auto;
height: fit-content;
}
+ &.calendar {
+ &:before {
+ content: "\f073" !important;
+ font-size: 3rem;
+ }
+ }
+
&.testimonial_quote {
.wpb_wrapper {
position: relative;
}
-
- &:before {
- //bottom: auto !important;
- }
}
+ }
+
-
+ .keynote_speaker {
+ background: $communityColor;
+ padding: 3px 14px;
+ border-radius: 7px;
+ // color: white;
+ width: fit-content;
+ font-size: 0.8em;
+ //margin-bottom: 20px;
+ display: block;
+ margin-top: 6px;
}
-
+
.quote {
+ //margin-top: 20px !important;
font-size: 15px;
- //line-height: 1.4;
+ margin-bottom: 0;
}
+
.vc_btn3-container {
position: absolute;
bottom: 20px;
@@ -11830,8 +12308,6 @@ table.advantages {
}
-
-
&.testimonial {
.vc_column-inner {
@@ -11842,23 +12318,21 @@ table.advantages {
}
}
- }
-
-
+ &.default {
+ .vc_column-inner {
+ background-color: #eee !important;
+ }
+ }
- /*
- &.speakers {
- .image_top {
- padding: 0;
- overflow: hidden;
+ }
- figure {
- padding: 0 !important;
+ &.white {
+ .case_study {
+ .vc_column-inner {
+ background-color: #fff;
}
-
}
}
- */
}
@@ -11945,6 +12419,14 @@ table.advantages {
}
}
+
+}
+
+
+.sameHeightItemsCarousel {
+ .owl-stage {
+ display: flex;
+ }
}
@@ -11994,6 +12476,18 @@ table.advantages {
}
+ &.event_speakers {
+ margin-top: 7rem;
+
+ .case_study {
+ .vc_column-inner {
+ background-color: #fff !important;
+ padding-bottom: 10px !important;
+ }
+ }
+
+ }
+
}
@@ -12086,7 +12580,7 @@ table.advantages {
content: "";
display: block;
position: absolute;
- bottom: -16px;
+ bottom: -15px;
width: 0;
right: 0;
margin: auto;
@@ -12145,6 +12639,19 @@ table.advantages {
}
}
+
+.vc_message_box.vc_message_box-standard {
+ border-radius: $borderRadius !important;
+ border: none !important;
+ background-color: $communityColor !important;
+ color: $textColor !important;
+
+ .vc_message_box-icon {
+ color: $mainColor !important;
+ }
+}
+
+
.vc_message_box.price_notice_box {
width: fit-content;
position: absolute;
@@ -12157,6 +12664,7 @@ table.advantages {
margin-top: 7px;
padding: 12px 21px 12px 3em;
overflow: visible;
+ bottom: -120%;
@media screen and(max-width: $xl-breakpoint) {
@@ -12167,8 +12675,10 @@ table.advantages {
@media screen and(max-width: $tablet-breakpoint) {
& {
+ /*
position: relative;
bottom: -10px !important;
+ */
}
}
@@ -12218,7 +12728,6 @@ table.advantages {
color: white;
.overlay-gradient {
-
position: absolute;
width: 100%;
height: 100%;
@@ -12228,6 +12737,22 @@ table.advantages {
opacity: 0.75;
}
}
+
+
+ &.full-width {
+ width: 100vw;
+ position: relative;
+ left: 50%;
+ right: 50%;
+ margin-left: -50vw;
+ margin-right: -50vw;
+ margin-top: 4rem;
+ margin-bottom: 4rem;
+ padding-top: 3rem;
+ padding-bottom: 3rem;
+ }
+
+
}
.nc_text_as_separator {
@@ -12322,7 +12847,7 @@ table.advantages {
top: 0;
height: 100%;
width: 100%;
- background-color: rgba(0,130,201,0.5);
+ background-color: rgba(0,130,201,0.3);
z-index: 1;
transition: all 0.3s ease;
}
@@ -12350,7 +12875,7 @@ table.advantages {
&:hover {
.overlay, .overlay-screenshot {
- background-color: rgba(0,130,201,0.65);
+ background-color: rgba(0,130,201,0.4);
}
.play-icon, .screenshot-icon {
@@ -12475,44 +13000,117 @@ table.advantages {
-.nc_products_section {
- &.hub_products {
- .product_tabs_preview {
- position: relative;
- padding: 1.5rem !important;
+.nc_tabs {
+ box-shadow: $boxShadow;
+
+ .vc_tta-tab {
+ //border-radius: 10px 10px 0 0 !important;
+ //overflow: hidden;
- &:before {
- content: "";
- position: absolute;
- height: 100%;
- border-radius: 15px;
- top:0;
- bottom: 0;
- right: 0;
- width: 51vw;
- background-color: $lightBG;
- }
+ a {
+ border-radius: 10px 10px 0 0 !important;
+ border: 0 !important;
+ background-color: #fff !important;
+ font-weight: bold;
- .feature_list {
- margin-bottom: 0 !important;
+ &:hover {
+ //background-color: #fff !important;
}
}
-
- .right_tabs{
- padding: 1.5rem !important;
+ &.vc_active {
+ a {
+ //background-color: $communityColor !important;
+ color: $mainColor !important;
+
+ }
}
+
+
}
-}
+ .vc_tta-panels {
+ background: none !important;
+ border: 0 !important;
-.svg_h350 {
- .vc_figure {
- img {
- height: 350px;
+ .vc_tta-panel {
+
+ .vc_tta-panel-body {
+ //border-radius: $borderRadius !important;
+ }
+
+ &:first {
+ &.vc_active {
+ .vc_tta-panel-body {
+ //border-radius: 0 15px 15px 15px !important;
+ }
+ }
+
+ }
+
+ &.vc_active {
+ .vc_tta-panel-body {
+ //background-color: $communityColor !important;
+ background-color: white;
+
+ }
+ }
+ }
+
+ }
+
+
+}
+
+
+
+.nc_products_section {
+
+ &.hub_products {
+
+ .product_tabs_preview {
+ position: relative;
+ padding: 1.5rem !important;
+
+ &:before {
+ content: "";
+ position: absolute;
+ height: 100%;
+ border-radius: 15px;
+ top:0;
+ bottom: 0;
+ right: 0;
+ width: 51vw;
+ background-color: $lightBG;
+ }
+
+ @media screen and (max-width: $md-breakpoint) {
+ &:before {
+ width: 100vw;
+ }
+ }
+
+ .feature_list {
+ margin-bottom: 0 !important;
+ }
+ }
+
+
+ .right_tabs{
+ padding: 1.5rem !important;
+ }
+ }
+}
+
+
+
+.svg_h350 {
+ .vc_figure {
+ img {
+ height: 350px;
width: auto;
}
}
@@ -12685,10 +13283,31 @@ hr.wp-block-separator.nc-separator {
}
+
+.solution_box {
+ position: relative;
+
+ &.with_bg {
+ padding: 5px 9px;
+ border-radius: 9px;
+ background-color: $communityColor;
+ }
+
+ p {
+ &:before {
+ content: "\f058";
+ color: $mainColor;
+ font-family: 'Font Awesome 5 Free';
+ font-weight: 900;
+ margin-right: 5px;
+ }
+ }
+}
+
+
.feature_iconbox {
height: 100%;
padding-bottom: 1rem;
-
a, .link_replacement {
height: 100%;
@@ -12719,7 +13338,7 @@ hr.wp-block-separator.nc-separator {
margin-bottom: 1rem;
img {
- max-height: 50px;
+ max-height: 33px;
height: auto;
max-width: 100px;
display: inline;
@@ -12763,6 +13382,12 @@ hr.wp-block-separator.nc-separator {
}
+ &.lightBlueBG {
+ a, .link_replacement {
+ background-color: $communityColor;
+ }
+ }
+
&.wide_img {
.icon {
min-height: 90px;
@@ -12781,6 +13406,30 @@ hr.wp-block-separator.nc-separator {
}
+ &.wider_img {
+ .icon {
+ min-height: 90px;
+ position: relative;
+
+ img {
+ //max-height: initial !important;
+ //max-width: 153px !important;
+ height: auto !important;
+ position: relative !important;
+ //max-width: 150px !important;
+ max-width: initial !important;
+ min-height: 161px !important;
+ }
+ }
+ }
+
+ &.full_height {
+ .nc_iconbox {
+ height: 100%;
+ }
+ }
+
+
&.hub_release {
a, .link_replacement {
background: #fff url("../img/confetti-background.svg");
@@ -12797,7 +13446,6 @@ hr.wp-block-separator.nc-separator {
&.feature_iconbox_custom {
-
height: auto;
.vc_column-inner {
@@ -12830,16 +13478,10 @@ hr.wp-block-separator.nc-separator {
}
-
-
-
-
}
-
-
-
}
+
&.icon_left {
@@ -13259,11 +13901,11 @@ hr.wp-block-separator.nc-separator {
.hub-hero-image {
- margin-bottom: -7rem !important;
+ margin-bottom: -4rem !important;
@media screen and (max-width: $md-breakpoint) {
&{
- margin-bottom: -4rem !important;
+ margin-bottom: -3rem !important;
}
}
}
@@ -13347,8 +13989,6 @@ ul.list_compliance {
}
}
-
-
.app_store_btn {
width: fit-content;
display: inline;
@@ -13402,11 +14042,11 @@ ul.list_compliance {
margin-bottom: 2rem !important;
figure {
- aspect-ratio: 1;
+ //aspect-ratio: 1;
overflow: hidden;
border-radius: 50%;
border: 9px solid $mainColor;
- margin-right: 2rem !important;
+ //margin-right: 2rem !important;
img {
margin: 0 !important;
@@ -13414,13 +14054,66 @@ ul.list_compliance {
object-fit: cover;
}
}
+
+ .wp-block-media-text__content {
+ a {
+ text-decoration: none;
+ }
+ }
+}
+
+
+.section_ed_france_right_col {
+ position: relative;
+ height: 100%;
+ display: block;
+
+ &:before {
+ content: " ";
+ position: absolute;
+ left: 0;
+ top: 0;
+ height: 100%;
+ display: block;
+ width: 100%;
+ background: linear-gradient(45deg, #DBEDF8 20%, rgba(0, 130, 201, 0.1));
+ z-index: 2;
+ display: block;
+ }
+}
+
+.row_with_gradient {
+ position: relative;
+
+ &.ed_france {
+ background-image:linear-gradient(45deg, #DBEDF8 20%, rgba(0, 130, 201, 0.1)), url('https://nextcloud.com/c/uploads/2024/09/Paris-EnterpriseDay-2024-scaled.jpg');
+ background-size: cover !important;
+ background-position: left 0 top -87% !important;
+ }
+
+ &.ed_germany {
+ background-image:linear-gradient(45deg, #DBEDF8 20%, rgba(0, 130, 201, 0.1)), url('https://nextcloud.com/c/uploads/2024/08/frankfurt-sunset-skyline-1.jpg');
+ background-size: cover !important;
+ background-position: left 0 top 17% !important;
+ }
+
+ background-size: cover !important;
+ background-position: left 0 top -87% !important;
}
+
.rounded {
border-radius: $borderRadius !important;
}
+.assistant_backgrounds_row {
+ .vc_column-inner {
+ padding-left: 10px !important;
+ padding-right: 10px !important;
+ }
+}
+
.wpb_single_image {
a {
display: block;
@@ -13710,7 +14403,7 @@ $line: 4px;
button {
padding: 6px 23px;
- border-radius: 27px;
+ border-radius: $borderRadius;
transition: all 0.3s ease;
@@ -13789,10 +14482,6 @@ $line: 4px;
}
-
-
-
-
table.comparison_table {
font-size: 0.8em;
border-collapse: collapse;
@@ -13800,15 +14489,6 @@ $line: 4px;
thead {
- //position: relative;
-
- /*
- &.is-affixed {
- td:not(:first-child) {
- background-color: #fff;
- }
- }
- */
tr.platform_logos {
position: relative;
@@ -13821,8 +14501,7 @@ $line: 4px;
padding: 1rem;
text-align: center;
//position: relative;
-
-
+
position: -webkit-sticky;
position: sticky;
top: 0; /* Don't forget this, required for the stickiness */
@@ -13830,23 +14509,11 @@ $line: 4px;
background: #fff;
background-clip: padding-box;
padding-top: 3.5rem;
-
-
-
- &:first-child {
- //background-color: #F6F6F6;
- //min-width: 175px;
- }
-
- &:not(:first-child) {
- //width: 150px;
- }
&:not(:last-child) {
border-right: 1px solid #DFDFDF;
}
-
.check {
position: relative;
display: block;
@@ -13874,7 +14541,7 @@ $line: 4px;
&:before {
border-radius: 50%;
- border: 1px solid #e6e6e6;
+ border: 1px solid #999;
background: #fff;
transition: background-color 0.3s, transform 0.3s, border-color 0.3s;
}
@@ -13917,6 +14584,14 @@ $line: 4px;
max-height: 36px;
}
+ &.teams {
+ min-height: 33px;
+ }
+
+ &.maxHeight47 {
+ max-height: 47px;
+ }
+
}
}
@@ -14035,6 +14710,9 @@ $line: 4px;
&.filtered {
+
+ width: 100%;
+
th:not(:first-child):not(.td_selected) {
opacity: 0;
visibility: hidden;
@@ -14279,7 +14957,7 @@ $line: 4px;
margin: 3px;
background:$mainColor;
- border-radius: 25px;
+ border-radius: $borderRadius;
padding: 2px 17px;
color: #fff;
font-weight: bold;
@@ -14422,8 +15100,6 @@ ul.press_releases {
border-radius: 10px;
img {
- //width: 4em;
- //height: 4em;
position: relative;
max-width: 100%;
height: auto;
@@ -14629,10 +15305,32 @@ ul.press_releases {
.btns-inline {
+ .wpb_wrapper {
+ display: flex;
+ align-items: center;
+ }
+
+
+ &.right {
+ .wpb_wrapper {
+ justify-content: flex-end;
+ }
+ }
+
@media screen and (max-width: $md-breakpoint) {
& {
text-align: center;
- }
+ }
+
+ .wpb_wrapper {
+ justify-content: center;
+ }
+
+ &.right {
+ .wpb_wrapper {
+ justify-content: center;
+ }
+ }
}
.btn-main, .btn-white, .vc_btn3-container {
@@ -14747,7 +15445,6 @@ table.color_table {
.single-whitepapers, .single-case_studies, .single-data_sheets {
.single-hero-section {
-
.section-title {
padding-bottom: 25px;
text-align: left;
@@ -14756,8 +15453,7 @@ table.color_table {
.whitepaper-label {
color: $mainColor;
background-color: #fff;
- border-radius: 10px;
-
+ border-radius: $borderRadius;
padding: 4px 14px;
display: inline-block;
margin-bottom: 1rem;
@@ -14790,9 +15486,7 @@ table.color_table {
.post-single-section {
padding-top: 50px;
-
.whitepaper_desc_col {
-
padding-right: 4rem;
margin-bottom: 2.5rem;
@@ -14804,8 +15498,6 @@ table.color_table {
}
.download_whitepaper_col {
-
-
.download_whitepaper_content {
@media screen and (min-width: $tablet-breakpoint) {
@@ -14840,8 +15532,6 @@ table.color_table {
}
}
-
-
}
@@ -14860,6 +15550,10 @@ table.color_table {
color: #fff;
background: $mainColor;
padding: 0px 5px;
+
+ @media screen and (max-width: $md-breakpoint){
+ display: block;
+ }
}
.titlebar-icon {
@@ -14956,7 +15650,6 @@ table.color_table {
.events_table {
-
//display: block;
overflow-x: auto;
@@ -14964,6 +15657,25 @@ table.color_table {
border-radius: $borderRadius;
//overflow: hidden;
box-shadow: $boxShadow;
+
+
+ .webinar_lang {
+ display: inline;
+ vertical-align: middle;
+ font-size: 0.8em;
+ margin-bottom: 4px;
+
+ .flag_icon {
+ max-width: 15px;
+ margin-right: 5px;
+ }
+ }
+
+ a {
+ display: block;
+ }
+
+
}
th, td {
@@ -15013,22 +15725,130 @@ table.color_table {
}
-.no_events_found {
- text-align: center;
- padding: 1rem;
-}
-
-.nc_success_message {
- background: $successBGColor;
- color: #fff;
- padding: 15px;
- border-radius: $borderRadius;
- position: relative;
+.webinar_details {
+ padding: 0px;
+ margin: 0px 0px 20px;
+ list-style: none;
- p {
- margin: 0;
- }
-}
+ li {
+
+ .show_local_time {
+ margin-left: 6px;
+ color: $mainColor;
+ display: inline-block;
+ font-size: 0.8em;
+
+ &:hover {
+ cursor: pointer;
+ text-decoration: underline;
+ }
+ }
+
+ i, span {
+ margin-right: 5px;
+ }
+ }
+
+
+}
+
+
+.edt_time {
+ opacity: 60%;
+ font-size: 0.9em;
+}
+
+
+.next-webinar {
+
+ .post-img {
+ a {
+ position: relative;
+ }
+ }
+
+ .coming_next {
+ background: $communityColor;
+ border-radius: $borderRadiusLarger;
+ padding: 1px 12px;
+ display: inline-block;
+ margin-bottom: 8px;
+ font-size: 0.9em;
+ position: absolute;
+ z-index: 9;
+ top: 15px;
+ right: 4%;
+ color: $textColor;
+ box-shadow: $boxShadow;
+
+
+ i {
+ margin-left: 5px;
+ }
+ }
+
+
+ .post-body {
+ padding: 13px 23px 22px;
+
+ .webinar_details {
+ margin-bottom: 0;
+ }
+
+ .webinar_lang {
+ font-style: normal;
+ font-size: 1em !important;
+ margin-bottom: 0 !important;
+
+ span {
+ display: inline;
+ vertical-align: middle;
+ }
+
+ i, img{
+ margin-right: 5px;
+ }
+ }
+
+ .webinar_excerpt {
+ margin-top:10px;
+ margin-bottom: 10px;
+ }
+
+ .c-btn {
+ position: relative;
+ font-size: 13px;
+ padding: 9px 23px;
+ bottom: auto;
+ left: auto;
+ }
+
+ }
+
+
+
+
+
+
+}
+
+
+.no_events_found {
+ text-align: center;
+ padding: 1rem;
+}
+
+.nc_success_message {
+ background: $successBGColor;
+ color: #fff;
+ padding: 15px;
+ border-radius: $borderRadius;
+ position: relative;
+
+ p {
+ margin: 0;
+ }
+}
.nc_success_message_alt {
@@ -15489,13 +16309,17 @@ blockquote.wp-block-quote {
font-weight: bold;
padding: 4px 22px;
display: inline-block;
- border-radius: 25px;
+ border-radius: $borderRadius;
&.simple {
background: none;
padding: 0;
}
+ &.textBlack {
+ color: $textColor;
+ }
+
i {
margin-right: 5px;
@@ -15517,6 +16341,8 @@ blockquote.wp-block-quote {
+
+
.countdown {
display: flex;
text-align: center;
@@ -15957,6 +16783,75 @@ blockquote.wp-block-quote {
}
+.single_quotes_carousel {
+ position: relative;
+
+ .owl-stage-outer {
+ @media screen and (max-width: $tablet-breakpoint) {
+ padding-top: 4rem;
+ }
+ }
+
+ .nc_single_quote {
+ margin-bottom: 0 !important;
+
+ @media screen and (max-width: $tablet-breakpoint) {
+ padding: 7rem 1.5rem;
+
+ .quote_image {
+ left: 0 !important;
+ right: 0 !important;
+ bottom: auto !important;
+ margin: auto;
+ top: -5rem !important;
+ }
+
+ &.imageCenter {
+ padding-top: 9rem;
+ }
+ }
+
+
+ }
+
+ .owl-nav {
+ right: 0;
+ left: 0;
+ margin:auto;
+ text-align: center;
+
+ button {
+ margin: 10px;
+ width: 30px;
+ height: 30px;
+ background: rgba(0,130,201,0.34) !important;
+ color: #fff !important;
+ border-radius: 50%;
+ //line-height: 10px;
+ font-size: 1.5rem !important;
+ position: relative;
+ transition: all 0.3s ease;
+
+ &:hover {
+ background: rgba(0,130,201,0.8);
+ }
+
+ span {
+ position: absolute;
+ left: 0;
+ right: 0;
+ margin: auto;
+ top: 0;
+ bottom: 0;
+ width: fit-content;
+ line-height: 23px;
+ }
+ }
+ }
+
+}
+
+
.nc_single_quote {
background: $communityColor;
border-radius: $borderRadius;
@@ -15977,16 +16872,34 @@ blockquote.wp-block-quote {
align-content: center;
align-items: center;
justify-content: center;
+ box-shadow: $boxShadow;
img {
width: auto;
max-width: 100%;
}
+ }
+
+ &.imageCenter {
+ .quote_image {
+ top:0;
+ bottom: 0;
+ margin: auto;
+ left: -6.5rem;
+ width: 13rem;
+ }
+ }
+ &.speaker {
+ .quote_image {
+ padding: 0;
+ overflow: hidden;
+ }
}
+
.title_position {
- margin-bottom: 2rem;
+ margin-bottom: 1.3rem;
.quote_title {
font-weight: bold;
@@ -16001,8 +16914,10 @@ blockquote.wp-block-quote {
}
}
- .quote {
+ .quote_btn{
+ margin-bottom: 0 !important;
+ margin-top: 1rem;
}
&:after {
@@ -16012,7 +16927,6 @@ blockquote.wp-block-quote {
font-weight: 900;
content: "\f10d";
font-size: 6rem;
- //background-color: #fff;
color: #BCDEF1;
bottom: -1rem;
margin: auto;
@@ -16031,11 +16945,16 @@ blockquote.wp-block-quote {
& {
padding: 7rem 1.5rem;
+ &.imageCenter{
+ padding-top: 9rem;
+ }
+
.quote_image {
- left: 0;
- right: 0;
+ left: 0 !important;
+ right: 0 !important;
+ bottom: auto !important;
margin: auto;
- top: -5rem;
+ top: -5rem !important;
}
.title_position {
@@ -16136,7 +17055,7 @@ blockquote.wp-block-quote {
a {
padding: 5px 15px;
- border-radius: 25px;
+ border-radius: $borderRadius;
background: white;
white-space: nowrap;
display: inline-block;
@@ -16267,7 +17186,7 @@ blockquote.wp-block-quote {
input[type=text] {
border: 1px solid #D7D7D7;
- border-radius: 25px;
+ border-radius: $borderRadius;
width: 100%;
padding: 12px 22px;
background: #fff;
@@ -16293,9 +17212,8 @@ blockquote.wp-block-quote {
display: block;
border: 1px solid $communityColor;
background: $communityColor;
- //color: white;
margin: 5px;
- border-radius: 25px;
+ border-radius: $borderRadius;
padding: 7px 20px;
font-size: 0.8em;
transition: all 0.3s ease;
@@ -16516,12 +17434,12 @@ section.all_features {
top: 0;
height: 100%;
width: 100%;
- background-color: rgba(0,130,201,0.5);
+ background-color: rgba(0,130,201,0.35);
z-index: 1;
transition: all 0.3s ease;
&:hover {
- background-color: rgba(0,130,201,0.7);
+ background-color: rgba(0,130,201,0.65);
}
}
@@ -16790,7 +17708,7 @@ section.all_features {
background: $communityColor;
display: inline-block;
padding: 6px;
- border-radius: 25px;
+ border-radius: $borderRadius;
position: relative;
//color: $mainColor;
padding-left: 37px;
@@ -17064,7 +17982,6 @@ section.all_features {
}
-
.white-popup {
position: relative;
background: #fff;
@@ -17106,6 +18023,294 @@ section.all_features {
}
+.providers_carousel {
+
+ .owl-stage-outer {
+ overflow: visible !important;
+ }
+
+ .owl-stage{
+ display: flex;
+ }
+
+ .owl-item, .item.provider {
+ max-width: 250px;
+ }
+
+ .item.provider {
+ display: flex;
+ flex: 1 0 auto;
+ height: 100%;
+ }
+
+ .partner-col {
+ height: 100%;
+ display: flex;
+ width: 100%;
+
+ &.see_all_providers {
+ a {
+ background-color: $communityColor;
+ transition: all 0.3s ease;
+ display: block;
+ width: 100%;
+
+ .partner-box {
+ padding: 0 25px;
+
+ .partner-text {
+ display: flex;
+ align-items: center;
+ height: 100%;
+ justify-content: center;
+
+ h4 {
+ margin: 0 !important;
+ color: $textColor !important;
+ transition: all 0.3s ease;
+ }
+ }
+
+ }
+
+ &:hover, &:active {
+
+ .partner-box {
+ .partner-text {
+ h4 {
+ color: $mainColor !important;
+ }
+ }
+ }
+
+ }
+
+ }
+ }
+
+
+ a {
+ border-radius: $borderRadius;
+
+
+ .partner-box {
+ position: relative;
+ height: 100%;
+ padding: 45px 25px 21px;
+ display: flex;
+ flex-direction: column;
+ //border: 1px solid #D7D7D7;
+ border-radius: $borderRadius;
+ box-shadow: $boxShadow;
+
+ .certificate-line {
+ display: block;
+ //width: 170px;
+ position: absolute;
+ top: -1px;
+ right: -1px;
+ color: #fff;
+ font-size: 11px;
+ text-transform: capitalize;
+ padding: 7px 15px 7px 40px;
+ //border: 1px solid #D7D7D7;
+ border-bottom-left-radius: 5px;
+ -webkit-border-bottom-left-radius: 5px;
+ background-image: url('../img/subtract.svg');
+ background-repeat: no-repeat;
+ background-position: left 13px center;
+ border-radius: 0 $borderRadius;
+
+ &.platinum {
+ background-color: #204C65;
+ }
+
+ &.gold {
+ background-color: #D3AE43;
+ }
+
+ &.silver {
+ background-color: #8C9AA1;
+ }
+
+ &.bronze {
+ background-color: #CB7F3B;
+ }
+ }
+
+ .partner-logo {
+ width: 100%;
+ height: 70px;
+ margin: 0px 0px 15px;
+ display: flex;
+ align-items: center;
+
+ img {
+ max-height: 100%;
+ max-width: 100%;
+ width: auto;
+ height: auto;
+ margin: 0px;
+ }
+ }
+
+ .partner-text {
+ margin: 0px;
+
+ h4 {
+ color: #0082C9;
+ font-size: 18px;
+ margin: 0px 0px 15px;
+ }
+
+ p {
+ color: #6C6C6C;
+ font-size: 12px;
+ line-height: 17px;
+ margin: 0px;
+
+ overflow: hidden;
+ display: -webkit-box;
+ -webkit-line-clamp: 4; /* number of lines to show */
+ line-clamp: 4;
+ -webkit-box-orient: vertical;
+ }
+
+ }
+
+ .provider_type {
+ font-size: 0.8em;
+ color: $textColor;
+ //font-weight: bold;
+ margin-top: 10px;
+
+ span {
+ display: inline-block;
+ background-color: $communityColor;
+ padding: 1px 8px;
+ margin: 2px;
+ border-radius: 5px;
+ }
+
+ }
+
+ .partner-info {
+ margin: auto 0px 0px;
+ padding: 25px 0px 0px;
+ list-style: none;
+ display: flex;
+ align-items: center;
+ flex-direction: row;
+
+ li {
+
+ &.service_text {
+ margin: 0px auto 20px 0px;
+ color: rgba(108, 108, 108, 0.5);
+ font-size: 14px;
+ line-height: 17px;
+ }
+
+ &.website_link {
+ flex: 0 0 130px;
+ max-width: 130px;
+ margin: 0px 0px 20px auto;
+
+ a {
+ display: block;
+ width: 100%;
+ background-color: #0082C9;
+ color: #fff;
+ font-size: 10px;
+ text-align: center;
+ padding: 8px 10px 9px;
+ transition: all 0.3s ease;
+ -webkit-transition: all 0.3s ease;
+ border-radius: 16px;
+ -webkit-border-radius: 16px;
+
+ &:after {
+ content: '';
+ display: inline-block;
+ width: 14px;
+ height: 14px;
+ margin-left: 5px;
+ background-image: url('../img/external-icon.svg');
+ background-repeat: no-repeat;
+ background-position: center center;
+ background-size: 100% 100%;
+ vertical-align: middle;
+ }
+
+ &:hover {
+ opacity: 0.7;
+ text-decoration: none;
+ }
+ }
+ }
+ }
+ }
+ }
+
+ }
+
+
+ }
+
+
+ .owl-nav {
+ position: absolute;
+ top: -4rem;
+ right: 0;
+
+ @media screen and (max-width: $md-breakpoint) {
+ &{
+ top: auto !important;
+ bottom: -70px !important;
+ right: 0;
+ left: 0;
+ margin: auto;
+ text-align: center;
+ }
+ }
+
+ button {
+ margin: 10px;
+ width: 30px;
+ height: 30px;
+ background: rgba(0,130,201,0.34) !important;
+ color: #fff !important;
+ border-radius: 50%;
+ font-size: 1.5rem;
+ position: relative;
+ transition: all 0.3s ease;
+
+ &:hover {
+ background: rgba(0,130,201,0.8);
+ }
+
+ span {
+ position: absolute;
+ left: 0;
+ right: 0;
+ margin: auto;
+ top: 0;
+ bottom: 0;
+ width: fit-content;
+ line-height: 23px;
+ }
+ }
+ }
+
+
+}
+
+
+
+
+
+
+
@media screen and (min-width: $tablet-breakpoint) {
.side_padding_centered_row {
diff --git a/assets/variables.scss b/assets/variables.scss
index 1dbd428..282107f 100644
--- a/assets/variables.scss
+++ b/assets/variables.scss
@@ -22,9 +22,14 @@ $errorColor: #FE5252;
$warningColor: #ffe3b0;
$youtube: #FF0000;
$lightBG: rgba(0,130,201,0.14);
-$borderRadius:15px;
-$borderRadiusLarger:25px;
+
$boxShadow: 0 0 25px rgba(0,130, 201, 0.12);
$youtubeColor: #c4302b;
$blueGradient: linear-gradient(45deg, #0082c9 20%, #1cafff);
-$blueGradient2: linear-gradient(45deg, #0082c9, #1CAFFF);
\ No newline at end of file
+$blueGradient2: linear-gradient(45deg, #0082c9, #1CAFFF);
+$pageHeroGradient: linear-gradient(45deg, #0082c9 20%, rgba(0, 130, 201, 0.15));
+$lightBlueGradient: linear-gradient(45deg, #DBEDF8 20%, rgba(0, 130, 201, 0.1));
+$borderRadius: 8px;
+$borderRadiusSmall: 5px;
+$borderRadiusSection:15px;
+$borderRadiusLarger:25px;
\ No newline at end of file
diff --git a/blocks/analysis.php b/blocks/analysis.php
index 0f139d4..69b5b10 100644
--- a/blocks/analysis.php
+++ b/blocks/analysis.php
@@ -24,49 +24,49 @@
echo ' ';
echo '
';
}
- ?>
+?>
' . $title . '';
- }
- if (!empty($text)) {
- echo wpautop($text);
- }
- if (!empty($form)) {
- echo '
';
- echo do_shortcode($form);
- echo '
';
- }
- ?>
+ if (!empty($title)) {
+ echo '
' . $title . ' ';
+ }
+if (!empty($text)) {
+ echo wpautop($text);
+}
+if (!empty($form)) {
+ echo '
';
+ echo do_shortcode($form);
+ echo '
';
+}
+?>
';
- echo wpautop($quote);
- echo '
';
- }
- echo '
';
- if (!empty($name)) {
- echo '
' . $name . ' ';
- }
- if (!empty($pos)) {
- echo '
' . $pos . ' ';
- }
- if ($link) {
- $link_url = $link['url'];
- $link_title = $link['title'];
- $link_target = $link['target'] ? $link['target'] : '_self';
- echo '
' . esc_html($link_title) . ' ';
- }
- echo '
';
- ?>
+ if (!empty($quote)) {
+ echo '
';
+ echo wpautop($quote);
+ echo '
';
+ }
+echo '
';
+if (!empty($name)) {
+ echo '
' . $name . ' ';
+}
+if (!empty($pos)) {
+ echo '
' . $pos . ' ';
+}
+if ($link) {
+ $link_url = $link['url'];
+ $link_title = $link['title'];
+ $link_target = $link['target'] ? $link['target'] : '_self';
+ echo '
' . esc_html($link_title) . ' ';
+}
+echo '
';
+?>
diff --git a/blocks/benefits.php b/blocks/benefits.php
index a98f523..0166341 100644
--- a/blocks/benefits.php
+++ b/blocks/benefits.php
@@ -16,7 +16,7 @@
if (!empty($title)) {
echo '
' . $title . ' ';
}
- ?>
+?>
@@ -44,32 +44,32 @@
}
echo '';
}
- ?>
+?>
';
- echo '';
- echo '
';
- echo wpautop($text);
- echo '
';
- echo '
';
- echo '';
- } else {
- echo '
';
- }
- if ($link) {
- $link_url = $link['url'];
- $link_title = $link['title'];
- $link_target = $link['target'] ? $link['target'] : '_self';
- echo '
';
- }
- echo '
';
- ?>
+ if (!empty($text)) {
+ echo '
';
+ echo '
';
+ echo '
';
+ echo wpautop($text);
+ echo '
';
+ echo '
';
+ echo '
';
+ } else {
+ echo '
';
+ }
+if ($link) {
+ $link_url = $link['url'];
+ $link_title = $link['title'];
+ $link_target = $link['target'] ? $link['target'] : '_self';
+ echo '
';
+}
+echo '
';
+?>
\ No newline at end of file
diff --git a/blocks/benefits2.php b/blocks/benefits2.php
index 0f6c8ec..c4835ac 100644
--- a/blocks/benefits2.php
+++ b/blocks/benefits2.php
@@ -15,7 +15,7 @@
if (!empty($title)) {
echo '
' . $title . ' ';
}
- ?>
+?>
@@ -27,34 +27,34 @@
echo ' ';
echo '';
}
- ?>
+?>
';
- while (have_rows('benefits_list')) {
- the_row();
- $icon = get_sub_field('icon');
- $header = get_sub_field('the_title');
- $cont = get_sub_field('the_text');
- echo '
';
- echo '
';
- if (!empty($icon)) {
- echo '
';
- }
- if (!empty($header)) {
- echo '
' . $header . ' ';
- }
- if (!empty($cont)) {
- echo wpautop($cont);
- }
- echo '
';
- echo '
';
- }
- echo '
';
- }
- ?>
+if (have_rows('benefits_list')) {
+ echo '';
+ while (have_rows('benefits_list')) {
+ the_row();
+ $icon = get_sub_field('icon');
+ $header = get_sub_field('the_title');
+ $cont = get_sub_field('the_text');
+ echo '
';
+ echo '
';
+ if (!empty($icon)) {
+ echo '
';
+ }
+ if (!empty($header)) {
+ echo '
' . $header . ' ';
+ }
+ if (!empty($cont)) {
+ echo wpautop($cont);
+ }
+ echo '
';
+ echo '
';
+ }
+ echo '
';
+}
+?>
diff --git a/blocks/benefits3.php b/blocks/benefits3.php
index 1826706..1ca1534 100644
--- a/blocks/benefits3.php
+++ b/blocks/benefits3.php
@@ -16,10 +16,10 @@
if (!empty($title)) {
echo '' . $title . ' ';
}
- if (!empty($text)) {
- echo wpautop($text);
- }
- ?>
+if (!empty($text)) {
+ echo wpautop($text);
+}
+?>
@@ -49,7 +49,7 @@
}
echo '';
}
- ?>
+?>
diff --git a/blocks/blog-list.php b/blocks/blog-list.php
index de29c8b..c5f7412 100644
--- a/blocks/blog-list.php
+++ b/blocks/blog-list.php
@@ -8,147 +8,146 @@
';
- if (!empty($title)) {
- echo '
';
- echo '
';
- echo '
';
-
- if(isset($_GET['webinars'])) {
-
- if( strip_tags($_GET['webinars']) == 'upcoming') {
- echo __('Upcoming webinars','nextcloud');
- } else {
- echo __('Webinar recordings','nextcloud');
- }
+if (!empty($title)) {
+ echo '';
+ echo '
';
+ echo '
';
+
+ if(isset($_GET['webinars'])) {
+
+ if(strip_tags($_GET['webinars']) == 'upcoming') {
+ echo __('Upcoming webinars', 'nextcloud');
+ } else {
+ echo __('Webinar recordings', 'nextcloud');
+ }
- } else {
- echo $title;
- }
+ } else {
+ echo $title;
+ }
- echo ' ';
- echo '';
- echo '
';
- }
- if (function_exists('wpes_search_form')) {
- echo '';
- echo '
';
- wpes_search_form(array(
- 'wpessid' => 1612
- ));
- echo '
';
- echo '
';
- }
- echo ' ';
- ?>
+ echo '';
+ echo '
';
+ echo '
';
+}
+if (function_exists('wpes_search_form')) {
+ echo '';
+ echo '
';
+ wpes_search_form([
+ 'wpessid' => 1612
+ ]);
+ echo '
';
+ echo '
';
+}
+echo '';
+?>
array('post', 'event'),
- 'posts_per_page' => $default_posts_per_page,
- 'post_status' => 'publish',
- 'orderby' => 'date',
- //'order' => 'DESC',
- 'paged=' . $paged,
- 'tag__not_in' => array(269),
- 'category__not_in'=> array(225, 226) //exclude Private category
- );
- date_default_timezone_set('Europe/Berlin');
- $current_date_time = date('Y-m-d H:i:s', time());
-
-
- if( isset($_GET['webinars'])) {
-
- $args['post_type'] = array('event');
- $args['tax_query'] = array(
- array(
- 'taxonomy' => 'event_categories',
- 'field' => 'slug',
- 'terms' => 'webinars',
- )
- );
-
- if( strip_tags($_GET['webinars']) == 'upcoming'){
+ $default_posts_per_page = get_option('posts_per_page');
+
+$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
+// The Query
+$args = [
+ //'post_type' => array('post', 'event'),
+ 'posts_per_page' => $default_posts_per_page,
+ 'post_status' => 'publish',
+ 'orderby' => 'date',
+ //'order' => 'DESC',
+ 'paged=' . $paged,
+ 'tag__not_in' => [269],
+ 'category__not_in' => [225, 226] //exclude Private category
+];
+date_default_timezone_set('Europe/Berlin');
+$current_date_time = date('Y-m-d H:i:s', time());
+
+
+if(isset($_GET['webinars'])) {
+
+ $args['post_type'] = ['event'];
+ $args['tax_query'] = [
+ [
+ 'taxonomy' => 'event_categories',
+ 'field' => 'slug',
+ 'terms' => 'webinars',
+ ]
+ ];
+
+ if(strip_tags($_GET['webinars']) == 'upcoming') {
- $args['meta_query'] = array(
- array(
- 'key' => 'event_start_date_and_time',
- 'value' => $current_date_time,
- 'compare' => '>=',
- 'type' => 'DATETIME'
- ),
- );
- $args['order'] = 'DESC';
-
- } else if ( strip_tags($_GET['webinars']) == 'past') {
-
- $args['meta_query'] = array(
- 'relation' => 'AND',
+ $args['meta_query'] = [
+ [
+ 'key' => 'event_start_date_and_time',
+ 'value' => $current_date_time,
+ 'compare' => '>=',
+ 'type' => 'DATETIME'
+ ],
+ ];
+ $args['order'] = 'DESC';
+
+ } elseif (strip_tags($_GET['webinars']) == 'past') {
+
+ $args['meta_query'] = [
+ 'relation' => 'AND',
- array(
- 'key' => 'event_start_date_and_time',
- 'value' => $current_date_time,
- 'compare' => '<',
- 'type' => 'DATETIME'
- ),
+ [
+ 'key' => 'event_start_date_and_time',
+ 'value' => $current_date_time,
+ 'compare' => '<',
+ 'type' => 'DATETIME'
+ ],
- array(
- 'key' => 'download_available',
- 'value' => '',
- 'compare' => '!=',
- ),
+ [
+ 'key' => 'download_available',
+ 'value' => '',
+ 'compare' => '!=',
+ ],
- );
- $args['order'] = 'ASC';
+ ];
+ $args['order'] = 'ASC';
- }
+ }
- }
- else {
- $args['post_type'] = array('post', 'event');
- $args['order'] = 'DESC';
- }
+} else {
+ $args['post_type'] = ['post', 'event'];
+ $args['order'] = 'DESC';
+}
- $the_query = new WP_Query($args);
- $count = $the_query->found_posts;
+$the_query = new WP_Query($args);
+$count = $the_query->found_posts;
- // The Loop
- if ($the_query->have_posts()) {
- while ($the_query->have_posts()) {
- $the_query->the_post();
+// The Loop
+if ($the_query->have_posts()) {
+ while ($the_query->have_posts()) {
+ $the_query->the_post();
- get_template_part('inc/blog_loop_single');
- }
- } else {
- // no posts found
- ?>
+ get_template_part('inc/blog_loop_single');
+ }
+} else {
+ // no posts found
+ ?>
+?>
$default_posts_per_page) { ?>
diff --git a/blocks/boxes.php b/blocks/boxes.php
index 22f2e84..b2fe8a0 100644
--- a/blocks/boxes.php
+++ b/blocks/boxes.php
@@ -44,7 +44,7 @@
$i++;
}
}
- ?>
+?>
\ No newline at end of file
diff --git a/blocks/capabilities.php b/blocks/capabilities.php
index 23792bd..485e027 100644
--- a/blocks/capabilities.php
+++ b/blocks/capabilities.php
@@ -16,10 +16,10 @@
if (!empty($title)) {
echo '' . $title . ' ';
}
- if (!empty($text)) {
- echo wpautop($text);
- }
- ?>
+if (!empty($text)) {
+ echo wpautop($text);
+}
+?>
@@ -59,15 +59,15 @@
}
echo '';
}
- if (!empty($subtext)) {
- echo '';
- echo '
';
- echo '
';
- echo wpautop($subtext);
- echo '
';
- echo '
';
- echo '
';
- }
- ?>
+if (!empty($subtext)) {
+ echo '';
+ echo '
';
+ echo '
';
+ echo wpautop($subtext);
+ echo '
';
+ echo '
';
+ echo '
';
+}
+?>
\ No newline at end of file
diff --git a/blocks/capabilities2.php b/blocks/capabilities2.php
index 210ad9d..05b655c 100644
--- a/blocks/capabilities2.php
+++ b/blocks/capabilities2.php
@@ -7,20 +7,20 @@
$text = get_field('text');
$link = get_field('link');
-if( isset( $block['data']['preview_image_help'] ) ) : /* rendering in inserter preview */
- echo ' ';
+if(isset($block['data']['preview_image_help'])) : /* rendering in inserter preview */
+ echo ' ';
else : /* rendering in editor body */
-?>
+ ?>
' . $title . '';
- }
- ?>
+ if (!empty($title)) {
+ echo '
' . $title . ' ';
+ }
+ ?>
@@ -36,38 +36,38 @@
}
echo '';
}
- ?>
+ ?>
';
- while (have_rows('notation_list')) {
- the_row();
- $bullet = get_sub_field('list_item');
- echo '
' . $bullet . ' ';
- }
- echo '';
- }
- ?>
+ if (have_rows('notation_list')) {
+ echo '
';
+ while (have_rows('notation_list')) {
+ the_row();
+ $bullet = get_sub_field('list_item');
+ echo '' . $bullet . ' ';
+ }
+ echo ' ';
+ }
+ ?>
diff --git a/blocks/cards.php b/blocks/cards.php
index d7594c9..d32f388 100644
--- a/blocks/cards.php
+++ b/blocks/cards.php
@@ -120,6 +120,6 @@
echo '';
}
}
- ?>
+?>
\ No newline at end of file
diff --git a/blocks/carousel_slider.php b/blocks/carousel_slider.php
index ec1ee65..7e50876 100644
--- a/blocks/carousel_slider.php
+++ b/blocks/carousel_slider.php
@@ -1,68 +1,72 @@
-';
-
-else : /* rendering in editor body */
-?>
+';
+
+else : /* rendering in editor body */
+ ?>
+}
+?>
diff --git a/blocks/data-sheet.php b/blocks/data-sheet.php
index 2dcd7aa..ff5e81b 100644
--- a/blocks/data-sheet.php
+++ b/blocks/data-sheet.php
@@ -16,10 +16,10 @@
if (!empty($title)) {
echo '' . $title . ' ';
}
- if (!empty($subtext)) {
- echo wpautop($subtext);
- }
- ?>
+if (!empty($subtext)) {
+ echo wpautop($subtext);
+}
+?>
@@ -32,7 +32,7 @@
foreach ($studies as $study) {
$post_id = $study->ID;
$link = get_the_permalink($study->ID);
- $featured_image = get_the_post_thumbnail($post_id, 'large', array( 'class' => 'feat_img' ));
+ $featured_image = get_the_post_thumbnail($post_id, 'large', [ 'class' => 'feat_img' ]);
$img = wp_get_attachment_url(get_post_thumbnail_id($study->ID) ?: 0) ?: '';
$header = get_the_title($study->ID);
@@ -53,7 +53,7 @@
}
echo '';
echo '';
@@ -74,6 +74,6 @@
echo '';
echo '';
}
- ?>
+?>
diff --git a/blocks/documentation.php b/blocks/documentation.php
index 906e791..796f07e 100644
--- a/blocks/documentation.php
+++ b/blocks/documentation.php
@@ -42,68 +42,68 @@
echo '';
}
}
- ?>
+?>
';
- while (have_rows('help_column')) {
- the_row();
- $hicon = get_sub_field('help_icon');
- $htitle = get_sub_field('help_title');
- $htext = get_sub_field('help_text');
- $hmoretext = get_sub_field('help_additional_text');
- $hlink = get_sub_field('help_button_link');
- echo '
';
- echo '
';
- if (!empty($hicon)) {
- echo '
';
- }
- if (!empty($htitle)) {
- echo '
' . $htitle . ' ';
- }
- if (!empty($htext)) {
- echo '
' . $htext . '
';
- }
- if (have_rows('help_links')) {
- echo '
';
- while (have_rows('help_links')) {
- the_row();
- $slink = get_sub_field('the_link');
- $himg = get_sub_field('the_icon');
- if ($slink) {
- $link_url = $slink['url'];
- $link_title = $slink['title'];
- $link_target = $slink['target'] ? $slink['target'] : '_self';
- echo '' . esc_html($link_title) . ' ';
- }
- }
- echo ' ';
- }
- echo '
';
- echo '
';
- echo '
';
- echo '
';
- if (!empty($hmoretext)) {
- echo wpautop($hmoretext);
- }
- echo '
';
- echo '
';
- echo '
';
- if ($hlink) {
- $link_url = $hlink['url'];
- $link_title = $hlink['title'];
- $link_target = $hlink['target'] ? $hlink['target'] : '_self';
- echo '
';
- }
- echo '
';
- }
- echo '
';
+if (have_rows('help_column')) {
+ echo '';
+ while (have_rows('help_column')) {
+ the_row();
+ $hicon = get_sub_field('help_icon');
+ $htitle = get_sub_field('help_title');
+ $htext = get_sub_field('help_text');
+ $hmoretext = get_sub_field('help_additional_text');
+ $hlink = get_sub_field('help_button_link');
+ echo '
';
+ echo '
';
+ if (!empty($hicon)) {
+ echo '
';
+ }
+ if (!empty($htitle)) {
+ echo '
' . $htitle . ' ';
+ }
+ if (!empty($htext)) {
+ echo '
' . $htext . '
';
+ }
+ if (have_rows('help_links')) {
+ echo '
';
+ while (have_rows('help_links')) {
+ the_row();
+ $slink = get_sub_field('the_link');
+ $himg = get_sub_field('the_icon');
+ if ($slink) {
+ $link_url = $slink['url'];
+ $link_title = $slink['title'];
+ $link_target = $slink['target'] ? $slink['target'] : '_self';
+ echo '' . esc_html($link_title) . ' ';
}
- ?>
+ }
+ echo ' ';
+ }
+ echo '
';
+ echo '
';
+ echo '
';
+ echo '
';
+ if (!empty($hmoretext)) {
+ echo wpautop($hmoretext);
+ }
+ echo '
';
+ echo '
';
+ echo '
';
+ if ($hlink) {
+ $link_url = $hlink['url'];
+ $link_title = $hlink['title'];
+ $link_target = $hlink['target'] ? $hlink['target'] : '_self';
+ echo '
';
+ }
+ echo '
';
+ }
+ echo '
';
+}
+?>
diff --git a/blocks/enterprise.php b/blocks/enterprise.php
index 22662ac..71bb7e7 100644
--- a/blocks/enterprise.php
+++ b/blocks/enterprise.php
@@ -16,10 +16,10 @@
if (!empty($title)) {
echo '' . $title . ' ';
}
- if (!empty($text)) {
- echo wpautop($text);
- }
- ?>
+if (!empty($text)) {
+ echo wpautop($text);
+}
+?>
@@ -52,17 +52,17 @@
}
echo '';
}
- ?>
+?>
';
- echo '';
- echo '
';
- echo wpautop($subtext);
- echo '
';
- echo '
';
- echo '';
- }
- ?>
+if (!empty($subtext)) {
+ echo '';
+ echo '
';
+ echo '
';
+ echo wpautop($subtext);
+ echo '
';
+ echo '
';
+ echo '
';
+}
+?>
\ No newline at end of file
diff --git a/blocks/events.php b/blocks/events.php
index 5119d04..e3569f8 100644
--- a/blocks/events.php
+++ b/blocks/events.php
@@ -16,10 +16,10 @@
if (!empty($title)) {
echo '' . $title . ' ';
}
- if (!empty($text)) {
- echo wpautop($text);
- }
- ?>
+if (!empty($text)) {
+ echo wpautop($text);
+}
+?>
@@ -42,20 +42,20 @@
}
echo '';
}
- ?>
+?>
';
- echo '';
- echo '';
- }
- ?>
+if ($link) {
+ $link_url = $link['url'];
+ $link_title = $link['title'];
+ $link_target = $link['target'] ? $link['target'] : '_self';
+ echo '';
+}
+?>
\ No newline at end of file
diff --git a/blocks/extend.php b/blocks/extend.php
index f84d2e8..ad7eed9 100644
--- a/blocks/extend.php
+++ b/blocks/extend.php
@@ -16,25 +16,25 @@
if (!empty($title)) {
echo '' . $title . ' ';
}
- if (!empty($text)) {
- echo wpautop($text);
- }
- if (have_rows('bullets')) {
- echo '';
- while (have_rows('bullets')) {
- the_row();
- $bullet = get_sub_field('bullet_text');
- echo '' . $bullet . ' ';
- }
- echo ' ';
- }
- if ($link) {
- $link_url = $link['url'];
- $link_title = $link['title'];
- $link_target = $link['target'] ? $link['target'] : '_self';
- echo '' . esc_html($link_title) . ' ';
- }
- ?>
+if (!empty($text)) {
+ echo wpautop($text);
+}
+if (have_rows('bullets')) {
+ echo '';
+ while (have_rows('bullets')) {
+ the_row();
+ $bullet = get_sub_field('bullet_text');
+ echo '' . $bullet . ' ';
+ }
+ echo ' ';
+}
+if ($link) {
+ $link_url = $link['url'];
+ $link_title = $link['title'];
+ $link_target = $link['target'] ? $link['target'] : '_self';
+ echo '' . esc_html($link_title) . ' ';
+}
+?>
diff --git a/blocks/faq.php b/blocks/faq.php
index f6a0250..a9cba04 100644
--- a/blocks/faq.php
+++ b/blocks/faq.php
@@ -51,9 +51,9 @@
}
$i++;
endwhile;
- echo '';
- endif;
- ?>
+echo '';
+endif;
+?>
diff --git a/blocks/footnote.php b/blocks/footnote.php
index 4d7c043..e2f2ca3 100644
--- a/blocks/footnote.php
+++ b/blocks/footnote.php
@@ -14,7 +14,7 @@
if (!empty($text)) {
echo wpautop($text);
}
- ?>
+?>
diff --git a/blocks/get-started.php b/blocks/get-started.php
index 6dc4e98..b87a8e4 100644
--- a/blocks/get-started.php
+++ b/blocks/get-started.php
@@ -15,23 +15,23 @@
if (!empty($title)) {
echo '' . $title . ' ';
}
- if (!empty($text)) {
- echo wpautop($text);
- }
- if (have_rows('links')) {
- while (have_rows('links')) {
- the_row();
- $link = get_sub_field('link');
- $type = get_sub_field('button_type');
- if ($link) {
- $link_url = $link['url'];
- $link_title = $link['title'];
- $link_target = $link['target'] ? $link['target'] : '_self';
- echo '' . esc_html($link_title) . ' ';
- }
- }
- }
- ?>
+if (!empty($text)) {
+ echo wpautop($text);
+}
+if (have_rows('links')) {
+ while (have_rows('links')) {
+ the_row();
+ $link = get_sub_field('link');
+ $type = get_sub_field('button_type');
+ if ($link) {
+ $link_url = $link['url'];
+ $link_title = $link['title'];
+ $link_target = $link['target'] ? $link['target'] : '_self';
+ echo '' . esc_html($link_title) . ' ';
+ }
+ }
+}
+?>
diff --git a/blocks/get-started2.php b/blocks/get-started2.php
index 4083893..64ffb11 100644
--- a/blocks/get-started2.php
+++ b/blocks/get-started2.php
@@ -20,23 +20,23 @@
if (!empty($title)) {
echo '' . $title . ' ';
}
- if (!empty($text)) {
- echo wpautop($text);
- }
- if (have_rows('links')) {
- while (have_rows('links')) {
- the_row();
- $link = get_sub_field('link');
- $type = get_sub_field('button_type');
- if ($link) {
- $link_url = $link['url'];
- $link_title = $link['title'];
- $link_target = $link['target'] ? $link['target'] : '_self';
- echo '' . esc_html($link_title) . ' ';
- }
- }
- }
- ?>
+if (!empty($text)) {
+ echo wpautop($text);
+}
+if (have_rows('links')) {
+ while (have_rows('links')) {
+ the_row();
+ $link = get_sub_field('link');
+ $type = get_sub_field('button_type');
+ if ($link) {
+ $link_url = $link['url'];
+ $link_title = $link['title'];
+ $link_target = $link['target'] ? $link['target'] : '_self';
+ echo '' . esc_html($link_title) . ' ';
+ }
+ }
+}
+?>
diff --git a/blocks/home-hero.php b/blocks/home-hero.php
index af75f83..cf479a5 100644
--- a/blocks/home-hero.php
+++ b/blocks/home-hero.php
@@ -21,25 +21,25 @@
if (!empty($title)) {
echo '' . $title . ' ';
}
- if (!empty($text)) {
- echo '' . $text . '
';
- }
- if ($link) {
- $link_url = $link['url'];
- $link_title = $link['title'];
- $link_target = $link['target'] ? $link['target'] : '_self';
- echo '' . esc_html($link_title) . ' ';
- }
- ?>
+if (!empty($text)) {
+ echo '' . $text . '
';
+}
+if ($link) {
+ $link_url = $link['url'];
+ $link_title = $link['title'];
+ $link_target = $link['target'] ? $link['target'] : '_self';
+ echo '' . esc_html($link_title) . ' ';
+}
+?>
';
- }
- ?>
+if (!empty($img)) {
+ echo '
';
+}
+?>
diff --git a/blocks/hosting.php b/blocks/hosting.php
index 341edcc..e39553f 100644
--- a/blocks/hosting.php
+++ b/blocks/hosting.php
@@ -14,7 +14,7 @@
if (!empty($title)) {
echo '' . $title . ' ';
}
- ?>
+?>
@@ -42,6 +42,6 @@
}
echo '';
}
- ?>
+?>
\ No newline at end of file
diff --git a/blocks/hosting2.php b/blocks/hosting2.php
index 425f531..9f76dc7 100644
--- a/blocks/hosting2.php
+++ b/blocks/hosting2.php
@@ -14,7 +14,7 @@
if (!empty($title)) {
echo '' . $title . ' ';
}
- ?>
+?>
@@ -42,6 +42,6 @@
}
echo '';
}
- ?>
+?>
\ No newline at end of file
diff --git a/blocks/img-cols.php b/blocks/img-cols.php
index 884f8f1..9eb23eb 100644
--- a/blocks/img-cols.php
+++ b/blocks/img-cols.php
@@ -8,7 +8,9 @@
$center = get_field('center_content');
$custom_css = get_field('custom_css_classes');
?>
-
+
';
echo '
';
}
- ?>
+?>
';
- $count = count(get_field('column'));
- while (have_rows('column')) {
- the_row();
- $img_id = get_sub_field('column_image');
- $img2 = wp_get_attachment_image( $img_id, 'full', "", array( "class" => "img-responsive" ) );
- $img_url = wp_get_attachment_image_url( $img_id, 'full' );
- $text = get_sub_field('column_text');
- if ($count == '1') {
- echo '';
- } elseif ($count == '2') {
- echo '
';
- } elseif ($count == '3') {
- echo '
';
- } else {
- echo '
';
- }
- if ($center) {
- echo '
';
- } else {
- echo '
';
- }
- if (!empty($img_id)) {
- echo '
';
- echo '';
- echo '
';
- }
- if (!empty($text)) {
- echo $text;
- }
- echo '
';
- echo '
';
- }
+if (have_rows('column')) {
+ echo '
';
+ $count = count(get_field('column'));
+ while (have_rows('column')) {
+ the_row();
+ $img_id = get_sub_field('column_image');
+ $img2 = wp_get_attachment_image($img_id, 'full', "", [ "class" => "img-responsive" ]);
+ $img_url = wp_get_attachment_image_url($img_id, 'full');
+ $text = get_sub_field('column_text');
+ if ($count == '1') {
+ echo '
';
+ } elseif ($count == '2') {
+ echo '
';
+ } elseif ($count == '3') {
+ echo '
';
+ } else {
+ echo '
';
+ }
+ if ($center) {
+ echo '
';
+ } else {
+ echo '
';
+ }
+ if (!empty($img_id)) {
+ echo '
';
+ echo '';
echo '
';
}
- ?>
+ if (!empty($text)) {
+ echo $text;
+ }
+ echo '
';
+ echo '
';
+ }
+ echo '
';
+}
+?>
\ No newline at end of file
diff --git a/blocks/industries.php b/blocks/industries.php
index a1df447..c2b28cc 100644
--- a/blocks/industries.php
+++ b/blocks/industries.php
@@ -12,44 +12,42 @@
$col_class = '';
if ($columns == 4) {
$col_class = 'col-lg-3';
-} else if ($columns == 3) {
+} elseif ($columns == 3) {
$col_class = 'col-lg-4';
-}
-else if ($columns == 2) {
+} elseif ($columns == 2) {
$col_class = 'col-lg-6';
-}
-else {
+} else {
$col_class = 'col-lg-4';
}
-if( isset( $block['data']['preview_image_help'] ) ) : /* rendering in inserter preview */
- echo '
';
+if(isset($block['data']['preview_image_help'])) : /* rendering in inserter preview */
+ echo '
';
else : /* rendering in editor body */
-?>
+ ?>
';
- echo '
';
- echo '
';
- echo '
' . $tagline . '
';
- echo '
';
- echo '
';
- echo '
';
- }
- ?>
+ if (!empty($tagline)) {
+ echo '';
+ echo '
';
+ echo '
';
+ echo '
' . $tagline . '
';
+ echo '
';
+ echo '
';
+ echo '
';
+ }
+ ?>
' . $title . '';
- }
- if (!empty($text)) {
- echo wpautop($text);
- }
- ?>
+ if (!empty($title)) {
+ echo '
' . $title . ' ';
+ }
+ if (!empty($text)) {
+ echo wpautop($text);
+ }
+ ?>
@@ -92,7 +90,7 @@
echo ' ';
}
}
- ?>
+ ?>
diff --git a/blocks/info.php b/blocks/info.php
index 9e6b1e3..134d5c4 100644
--- a/blocks/info.php
+++ b/blocks/info.php
@@ -12,10 +12,10 @@
';
- if (!empty($text)) {
- echo wpautop($text);
- }
- ?>
+if (!empty($text)) {
+ echo wpautop($text);
+}
+?>
diff --git a/blocks/integration.php b/blocks/integration.php
index 7829c2f..bc92156 100644
--- a/blocks/integration.php
+++ b/blocks/integration.php
@@ -14,7 +14,7 @@
if (!empty($title)) {
echo '
' . $title . ' ';
}
- ?>
+?>
@@ -42,7 +42,7 @@
}
}
}
- ?>
+?>
\ No newline at end of file
diff --git a/blocks/involved.php b/blocks/involved.php
index 82a3744..5e026c9 100644
--- a/blocks/involved.php
+++ b/blocks/involved.php
@@ -15,10 +15,10 @@
if (!empty($icon)) {
echo ' ';
}
- if (!empty($title)) {
- echo '' . $title . ' ';
- }
- ?>
+if (!empty($title)) {
+ echo '' . $title . ' ';
+}
+?>
@@ -61,44 +61,44 @@
echo '';
}
}
- ?>
+?>
';
- if (!empty($text)) {
- echo wpautop($text);
- }
- if (have_rows('client_links')) {
- echo '
';
- while (have_rows('client_links')) {
- the_row();
- $clink = get_sub_field('the_link');
- $himg = get_sub_field('the_icon');
- if ($clink) {
- $link_url = $clink['url'];
- $link_title = $clink['title'];
- $link_target = $clink['target'] ? $clink['target'] : '_self';
- echo '' . esc_html($link_title) . ' ';
- }
- }
- echo ' ';
- }
- if ($textlink) {
- $link_url = $textlink['url'];
- $link_title = $textlink['title'];
- $link_target = $textlink['target'] ? $textlink['target'] : '_self';
- echo '
' . esc_html($link_title) . ' ';
- }
- echo '
';
- }
+if (have_rows('test_clients_column')) {
+ while (have_rows('test_clients_column')) {
+ the_row();
+ $text = get_sub_field('text');
+ $textlink = get_sub_field('text_link');
+ echo '';
+ if (!empty($text)) {
+ echo wpautop($text);
+ }
+ if (have_rows('client_links')) {
+ echo '
';
+ while (have_rows('client_links')) {
+ the_row();
+ $clink = get_sub_field('the_link');
+ $himg = get_sub_field('the_icon');
+ if ($clink) {
+ $link_url = $clink['url'];
+ $link_title = $clink['title'];
+ $link_target = $clink['target'] ? $clink['target'] : '_self';
+ echo '' . esc_html($link_title) . ' ';
}
- ?>
+ }
+ echo ' ';
+ }
+ if ($textlink) {
+ $link_url = $textlink['url'];
+ $link_title = $textlink['title'];
+ $link_target = $textlink['target'] ? $textlink['target'] : '_self';
+ echo '
' . esc_html($link_title) . ' ';
+ }
+ echo '
';
+ }
+}
+?>
diff --git a/blocks/ionos.php b/blocks/ionos.php
index 5bdb9ad..70b2cae 100644
--- a/blocks/ionos.php
+++ b/blocks/ionos.php
@@ -48,11 +48,11 @@
+?>
+//}
+?>
more
@@ -94,6 +94,6 @@
-->
+?>
\ No newline at end of file
diff --git a/blocks/jobs.php b/blocks/jobs.php
index a43c3f7..f196639 100644
--- a/blocks/jobs.php
+++ b/blocks/jobs.php
@@ -14,7 +14,7 @@
if (!empty($title)) {
echo '' . $title . ' ';
}
- ?>
+?>
@@ -44,7 +44,7 @@
echo '';
}
}
- ?>
+?>
diff --git a/blocks/map.php b/blocks/map.php
index f952600..1304ba4 100644
--- a/blocks/map.php
+++ b/blocks/map.php
@@ -14,18 +14,18 @@
if (!empty($map)) {
echo ' ';
}
- if (have_rows('locations')) {
- echo '';
- while (have_rows('locations')) {
- the_row();
- $text = get_sub_field('location_text');
- echo '';
- echo wpautop($text);
- echo ' ';
- }
- echo ' ';
- }
- ?>
+if (have_rows('locations')) {
+ echo '';
+ while (have_rows('locations')) {
+ the_row();
+ $text = get_sub_field('location_text');
+ echo '';
+ echo wpautop($text);
+ echo ' ';
+ }
+ echo ' ';
+}
+?>
diff --git a/blocks/marketing.php b/blocks/marketing.php
index ca248a9..9114c6d 100644
--- a/blocks/marketing.php
+++ b/blocks/marketing.php
@@ -15,10 +15,10 @@
if (!empty($title)) {
echo '' . $title . ' ';
}
- if (!empty($text)) {
- echo wpautop($text);
- }
- ?>
+if (!empty($text)) {
+ echo wpautop($text);
+}
+?>
diff --git a/blocks/more-about.php b/blocks/more-about.php
index 0c8e945..8e59f5a 100644
--- a/blocks/more-about.php
+++ b/blocks/more-about.php
@@ -14,7 +14,7 @@
if (!empty($title)) {
echo '
' . $title . ' ';
}
- ?>
+?>
@@ -47,18 +47,18 @@
echo '';
}
}
- ?>
+?>
+ $x = 1;
+ while (have_rows('more_boxes')) {
+ the_row();
+ $the_video = get_sub_field('box_video');
+ if (!empty($the_video)) {
+ ?>
@@ -75,7 +75,7 @@
\ No newline at end of file
diff --git a/blocks/muchmore.php b/blocks/muchmore.php
index 5f3de05..1ea0469 100644
--- a/blocks/muchmore.php
+++ b/blocks/muchmore.php
@@ -15,7 +15,7 @@
if (!empty($title)) {
echo '
' . $title . ' ';
}
- ?>
+?>
@@ -42,20 +42,20 @@
}
echo '';
}
- ?>
+?>
diff --git a/blocks/nc-video-embed.php b/blocks/nc-video-embed.php
index 646aa89..cf2a0ad 100644
--- a/blocks/nc-video-embed.php
+++ b/blocks/nc-video-embed.php
@@ -1,41 +1,41 @@
-
+
-' . $title . '';
- }
- if (!empty($text)) {
- echo wpautop($text);
- }
-
- if (!empty($video)) {
- ?>
+' . $title . '';
+ }
+if (!empty($text)) {
+ echo wpautop($text);
+}
+
+if (!empty($video)) {
+ ?>
-
+
-
+
-
+
-
+
diff --git a/blocks/nc_note.php b/blocks/nc_note.php
index 829a478..6672b99 100644
--- a/blocks/nc_note.php
+++ b/blocks/nc_note.php
@@ -1,46 +1,46 @@
-
+
-
+
-
+
-
+
- ';
- }
-
- echo wp_get_attachment_image( $image_id, 'full' );
-
- if($link) {
- echo '';
- }
- ?>
+ ';
+}
+
+ echo wp_get_attachment_image($image_id, 'full');
+
+ if($link) {
+ echo '';
+ }
+ ?>
-
+
diff --git a/blocks/needs.php b/blocks/needs.php
index 4cb3ab5..4822399 100644
--- a/blocks/needs.php
+++ b/blocks/needs.php
@@ -15,10 +15,10 @@
if (!empty($title)) {
echo '
' . $title . ' ';
}
- if (!empty($text)) {
- echo wpautop($text);
- }
- ?>
+if (!empty($text)) {
+ echo wpautop($text);
+}
+?>
@@ -56,7 +56,7 @@
}
echo '';
}
- ?>
+?>
diff --git a/blocks/needs2.php b/blocks/needs2.php
index d72dd34..91bce57 100644
--- a/blocks/needs2.php
+++ b/blocks/needs2.php
@@ -15,10 +15,10 @@
if (!empty($title)) {
echo '' . $title . ' ';
}
- if (!empty($text)) {
- echo wpautop($text);
- }
- ?>
+if (!empty($text)) {
+ echo wpautop($text);
+}
+?>
@@ -48,7 +48,7 @@
}
echo '';
}
- ?>
+?>
diff --git a/blocks/order-form.php b/blocks/order-form.php
index 0625a75..cbb3c54 100644
--- a/blocks/order-form.php
+++ b/blocks/order-form.php
@@ -113,6 +113,6 @@
-->
+?>
\ No newline at end of file
diff --git a/blocks/page-hero-background.php b/blocks/page-hero-background.php
index aec423a..2e786b9 100644
--- a/blocks/page-hero-background.php
+++ b/blocks/page-hero-background.php
@@ -21,13 +21,13 @@
if (!empty($title)) {
echo '' . $title . ' ';
}
- if ($link) {
- $link_url = $link['url'];
- $link_title = $link['title'];
- $link_target = $link['target'] ? $link['target'] : '_self';
- echo '' . esc_html($link_title) . ' ';
- }
- ?>
+if ($link) {
+ $link_url = $link['url'];
+ $link_title = $link['title'];
+ $link_target = $link['target'] ? $link['target'] : '_self';
+ echo '' . esc_html($link_title) . ' ';
+}
+?>
@@ -35,8 +35,8 @@
';
- if (!empty($text)) { ?>
+ echo '';
+ if (!empty($text)) { ?>
@@ -48,5 +48,5 @@
';
- }
+ echo '';
+}
diff --git a/blocks/page-hero.php b/blocks/page-hero.php
index 8ce54a2..36cda5e 100644
--- a/blocks/page-hero.php
+++ b/blocks/page-hero.php
@@ -20,16 +20,16 @@
if (!empty($title)) {
echo '
' . $title . ' ';
}
- if (!empty($text)) {
- echo '
' . $text . '
';
- }
- if ($link) {
- $link_url = $link['url'];
- $link_title = $link['title'];
- $link_target = $link['target'] ? $link['target'] : '_self';
- echo '
' . esc_html($link_title) . ' ';
- }
- ?>
+if (!empty($text)) {
+ echo '
' . $text . '
';
+}
+if ($link) {
+ $link_url = $link['url'];
+ $link_title = $link['title'];
+ $link_target = $link['target'] ? $link['target'] : '_self';
+ echo '
' . esc_html($link_title) . ' ';
+}
+?>
diff --git a/blocks/partner-form.php b/blocks/partner-form.php
index c442966..d1356c1 100644
--- a/blocks/partner-form.php
+++ b/blocks/partner-form.php
@@ -17,7 +17,7 @@
echo '';
echo '';
}
- ?>
+?>
diff --git a/blocks/partners.php b/blocks/partners.php
index acf932e..76530b2 100644
--- a/blocks/partners.php
+++ b/blocks/partners.php
@@ -1,32 +1,32 @@
-
+
- ' . $title . '';
- }
- if ($link) {
- $link_url = $link['url'];
- $link_title = $link['title'];
- $link_target = $link['target'] ? $link['target'] : '_self';
- echo '
' . esc_html($link_title) . ' ';
- }
- ?>
+ ' . $title . '';
+ }
+if ($link) {
+ $link_url = $link['url'];
+ $link_title = $link['title'];
+ $link_target = $link['target'] ? $link['target'] : '_self';
+ echo '
' . esc_html($link_title) . ' ';
+}
+?>
@@ -40,10 +40,10 @@
@@ -53,29 +53,29 @@
-
+
- ' . $cert . '';
- }
- ?>
+ ' . $cert . '';
+}
+?>
- ';
-
- foreach ($logos as $lg) {
- echo '
';
- }
- echo '';
- }
- ?>
+ ';
+
+ foreach ($logos as $lg) {
+ echo '
';
+ }
+ echo '';
+ }
+?>
@@ -86,78 +86,78 @@
@@ -30,16 +30,16 @@
' . esc_html($link_title) . '';
- }
- ?>
+if (!empty($text)) {
+ echo wpautop($text);
+}
+if ($link) {
+ $link_url = $link['url'];
+ $link_title = $link['title'];
+ $link_target = $link['target'] ? $link['target'] : '_self';
+ echo '
' . esc_html($link_title) . ' ';
+}
+?>
@@ -53,7 +53,7 @@
echo $video;
echo '
';
}
- ?>
+?>
diff --git a/blocks/podcast.php b/blocks/podcast.php
index 7f05222..26af7ec 100644
--- a/blocks/podcast.php
+++ b/blocks/podcast.php
@@ -1,12 +1,12 @@
-
+
- ';
- echo '
';
- echo '
';
- echo '
' . $title . ' ';
- echo '';
- echo '
';
- echo '
';
- }
- ?>
+ ';
+ echo '';
+ echo '
';
+ echo '
' . $title . ' ';
+ echo '';
+ echo '
';
+ echo '';
+ }
+?>
- ';
- echo '';
- echo '
';
- echo 'Subscribe now! ';
- while (have_rows('subs_links')) {
- the_row();
- $link = get_sub_field('link');
- if ($link) {
- $link_url = $link['url'];
- $link_title = $link['title'];
- $link_target = $link['target'] ? $link['target'] : '_self';
- echo '' . esc_html($link_title) . ' ';
- }
- }
- echo ' ';
- echo '
';
- echo '';
- }
- ?>
+ ';
+ echo '';
+ echo '
';
+ echo 'Subscribe now! ';
+ while (have_rows('subs_links')) {
+ the_row();
+ $link = get_sub_field('link');
+ if ($link) {
+ $link_url = $link['url'];
+ $link_title = $link['title'];
+ $link_target = $link['target'] ? $link['target'] : '_self';
+ echo '' . esc_html($link_title) . ' ';
+ }
+ }
+ echo ' ';
+ echo '
';
+ echo '';
+}
+?>
-
+
- ';
- echo '
';
- echo '
';
- echo '
Previous episodes ';
- echo '';
- echo '
';
- echo '
';
- ?>
+ ';
+ echo '';
+ echo '
';
+ echo '
Previous episodes ';
+ echo '';
+ echo '
';
+ echo '';
+ ?>
- query(array(
- 'post_type' => 'post',
- 'category_name' => 'podcast',
- 'posts_per_page' => -1,
- 'post_status' => 'publish',
- 'orderby' => 'date',
- 'order' => 'DSC',
- ));
- foreach ($onepost as $onepostsingle) {
- $img = wp_get_attachment_url(get_post_thumbnail_id($onepostsingle->ID) ?: 0) ?: '';
- $title = $onepostsingle->post_title;
- $date = (string)get_the_date('F d, Y', $onepostsingle->ID);
- $cat = get_the_category($onepostsingle->ID);
- $link = get_permalink($onepostsingle->ID) ?: '';
- $author_id = (int)$onepostsingle->post_author;
- echo '
';
- echo '
';
- echo '
';
- echo '
';
- echo 'posted in ';
- foreach ($cat as $c) {
- // $category_link = get_category_link($c->term_id);
- echo '' . $c->cat_name . ', ';
- }
- echo 'by ' . get_the_author_meta('display_name', $author_id) . ' ';
- echo ' ';
- echo '
' . $title . ' ';
- echo '
';
- echo '' . $date . ' ';
- echo 'Read More ';
- echo ' ';
- echo '
';
- echo '
';
- echo '
';
- }
- wp_reset_query();
- ?>
+ query([
+ 'post_type' => 'post',
+ 'category_name' => 'podcast',
+ 'posts_per_page' => -1,
+ 'post_status' => 'publish',
+ 'orderby' => 'date',
+ 'order' => 'DSC',
+ ]);
+ foreach ($onepost as $onepostsingle) {
+ $img = wp_get_attachment_url(get_post_thumbnail_id($onepostsingle->ID) ?: 0) ?: '';
+ $title = $onepostsingle->post_title;
+ $date = (string)get_the_date('F d, Y', $onepostsingle->ID);
+ $cat = get_the_category($onepostsingle->ID);
+ $link = get_permalink($onepostsingle->ID) ?: '';
+ $author_id = (int)$onepostsingle->post_author;
+ echo '
';
+ echo '
';
+ echo '
';
+ echo '
';
+ echo 'posted in ';
+ foreach ($cat as $c) {
+ // $category_link = get_category_link($c->term_id);
+ echo '' . $c->cat_name . ', ';
+ }
+ echo 'by ' . get_the_author_meta('display_name', $author_id) . ' ';
+ echo ' ';
+ echo '
' . $title . ' ';
+ echo '
';
+ echo '' . $date . ' ';
+ echo 'Read More ';
+ echo ' ';
+ echo '
';
+ echo '
';
+ echo '
';
+ }
+ wp_reset_query();
+ ?>
diff --git a/blocks/price-tab.php b/blocks/price-tab.php
index 1fdb653..ebddd45 100644
--- a/blocks/price-tab.php
+++ b/blocks/price-tab.php
@@ -15,10 +15,10 @@
if (!empty($title)) {
echo '' . $title . ' ';
}
- if (!empty($subtext)) {
- echo $subtext;
- }
- ?>
+if (!empty($subtext)) {
+ echo $subtext;
+}
+?>
@@ -26,73 +26,73 @@
';
- while (have_rows('plans')) {
- the_row();
- $plan = get_sub_field('plan_name');
- if ($i == 1) {
- echo '
' . $plan . ' ';
- } else {
- echo '
' . $plan . ' ';
- }
- $i++;
+if (have_rows('plans')) {
+ $i = 1;
+ echo '
';
+}
+if (have_rows('plans')) {
+ $x = 1;
+ while (have_rows('plans')) {
+ the_row();
+ $plan = get_sub_field('plan_name');
+ $plan_desc = get_sub_field('plan_description');
+ $link = get_sub_field('plan_link');
+ echo '
';
+ echo '
';
+ echo '
';
+ echo '
' . $plan . ' ';
+ echo '
' . $plan_desc . '
';
+ echo '
';
+ echo '
';
+ if (have_rows('plan_feats')) {
+ while (have_rows('plan_feats')) {
+ the_row();
+ $feat_title = get_sub_field('feat_title');
+ echo '
';
+ echo '
' . $feat_title . ' ';
+ if (have_rows('feat_list')) {
+ echo '
';
+ while (have_rows('feat_list')) {
+ the_row();
+ $item = get_sub_field('list_item');
+ $tr = get_sub_field('transparent');
+ if ($tr) {
+ echo '' . $item . ' ';
+ } else {
+ echo '' . $item . ' ';
}
- echo ' ';
}
- if (have_rows('plans')) {
- $x = 1;
- while (have_rows('plans')) {
- the_row();
- $plan = get_sub_field('plan_name');
- $plan_desc = get_sub_field('plan_description');
- $link = get_sub_field('plan_link');
- echo '
';
- echo '
';
- echo '
';
- echo '
' . $plan . ' ';
- echo '
' . $plan_desc . '
';
- echo '
';
- echo '
';
- if (have_rows('plan_feats')) {
- while (have_rows('plan_feats')) {
- the_row();
- $feat_title = get_sub_field('feat_title');
- echo '
';
- echo '
' . $feat_title . ' ';
- if (have_rows('feat_list')) {
- echo '
';
- while (have_rows('feat_list')) {
- the_row();
- $item = get_sub_field('list_item');
- $tr = get_sub_field('transparent');
- if ($tr) {
- echo '' . $item . ' ';
- } else {
- echo '' . $item . ' ';
- }
- }
- echo ' ';
- echo '
';
- }
- }
- }
- echo '';
- echo '
';
- echo '
';
- echo '
';
- $x++;
- }
- }
- ?>
+ echo '';
+ echo '
';
+ }
+ }
+ }
+ echo '';
+ echo '
';
+ echo '
';
+ echo '
';
+ $x++;
+ }
+}
+?>
diff --git a/blocks/pricing.php b/blocks/pricing.php
index 750922c..a062758 100644
--- a/blocks/pricing.php
+++ b/blocks/pricing.php
@@ -19,13 +19,13 @@
if (!empty($title)) {
echo '' . $title . ' ';
}
- if (!empty($subtitle)) {
- echo '' . $subtitle . ' ';
- }
- if (!empty($text)) {
- echo wpautop($text);
- }
- ?>
+if (!empty($subtitle)) {
+ echo '' . $subtitle . ' ';
+}
+if (!empty($text)) {
+ echo wpautop($text);
+}
+?>
@@ -33,10 +33,10 @@
+if (!empty($price)) {
+ echo wpautop($price);
+}
+?>
';
}
- ?>
+?>
+ if (!empty($desc)) {
+ echo wpautop($desc);
+ }
+?>
diff --git a/blocks/products.php b/blocks/products.php
index c553d6f..c7fb3c6 100644
--- a/blocks/products.php
+++ b/blocks/products.php
@@ -15,7 +15,7 @@
if (!empty($title)) {
echo '' . $title . ' ';
}
- ?>
+?>
';
}
- ?>
+?>
';
echo '';
}
- ?>
+?>
+ ?>
\ No newline at end of file
diff --git a/blocks/promo.php b/blocks/promo.php
index 15daf8e..a9e10e5 100644
--- a/blocks/promo.php
+++ b/blocks/promo.php
@@ -9,13 +9,21 @@
$wide = get_field('wide_section');
$image_icon = get_field('image_icon');
$bg_image = get_field('background_image');
+$css_classes = get_field('custom_css_classes');
-if( isset( $block['data']['preview_image_help'] ) ) : /* rendering in inserter preview */
- echo '
';
+
+if(isset($block['data']['preview_image_help'])) : /* rendering in inserter preview */
+ echo '
';
else : /* rendering in editor body */
-?>
-
diff --git a/blocks/promo2.php b/blocks/promo2.php
index 18a8830..f89319c 100644
--- a/blocks/promo2.php
+++ b/blocks/promo2.php
@@ -16,15 +16,15 @@
if (!empty($title)) {
echo '' . $title . ' ';
}
- echo '';
- if ($appstore) {
- echo '
';
- }
- if ($playstore) {
- echo '
';
- }
- echo '
';
- ?>
+echo '';
+if ($appstore) {
+ echo '
';
+}
+if ($playstore) {
+ echo '
';
+}
+echo '
';
+?>
diff --git a/blocks/promo3.php b/blocks/promo3.php
index 01c70e9..530c22e 100644
--- a/blocks/promo3.php
+++ b/blocks/promo3.php
@@ -16,16 +16,16 @@
if (!empty($title)) {
echo '' . $title . ' ';
}
- if (!empty($text)) {
- echo wpautop($text);
- }
- if ($link) {
- $link_url = $link['url'];
- $link_title = $link['title'];
- $link_target = $link['target'] ? $link['target'] : '_self';
- echo '' . esc_html($link_title) . ' ';
- }
- ?>
+if (!empty($text)) {
+ echo wpautop($text);
+}
+if ($link) {
+ $link_url = $link['url'];
+ $link_title = $link['title'];
+ $link_target = $link['target'] ? $link['target'] : '_self';
+ echo '' . esc_html($link_title) . ' ';
+}
+?>
diff --git a/blocks/providers.php b/blocks/providers.php
index bec97c2..47124f2 100644
--- a/blocks/providers.php
+++ b/blocks/providers.php
@@ -40,7 +40,7 @@
echo '';
}
}
- ?>
+?>
\ No newline at end of file
diff --git a/blocks/signup.php b/blocks/signup.php
index 32c0c09..8cc3e85 100644
--- a/blocks/signup.php
+++ b/blocks/signup.php
@@ -1,60 +1,60 @@
-city($ip)->location;
-} catch (\Exception $e) {
- $location = false;
- $ip = null;
-}
-
-$registerL10n = [
- 'subscribe' => __('Subscribe to our newsletter', 'nextcloud'),
- 'email' => __('Your email address', 'nextcloud'),
- 'success' => __('Success! Redirecting you to the provider', 'nextcloud'),
- 'error' => __('Error:', 'nextcloud'),
- 'processing' => __('Creating your account', 'nextcloud'),
- 'register' => __('Sign up', 'nextcloud'),
- 'change' => __('change provider', 'nextcloud'),
- 'close' => __('close', 'nextcloud'),
- 'far' => __('Far far away', 'nextcloud'),
- 'geterror' => __('Error while retrieving the providers list.', 'nextcloud'),
- 'tos' => __('Terms of service', 'nextcloud'),
- 'tosagree' => __('I agree to the %tos%', 'nextcloud'),
- 'toserror' => __('Please agree to the terms of service', 'nextcloud')
-];
-
-$officialApps = [
- 'files' => __('Files', 'nextcloud'),
- 'calendar' => __('Calendar', 'nextcloud'),
- 'contacts' => __('Contacts', 'nextcloud'),
- 'spreed' => __('Talk' , 'nextcloud'),
- 'mail' => __('Mail', 'nextcloud'),
- 'tasks' => __('Tasks', 'nextcloud'),
- 'notes' => __('Notes', 'nextcloud'),
- 'news' => __('News', 'nextcloud'),
- 'twofactor_totp' => __('Two-factor authentication', 'nextcloud'),
- 'twofactor_u2f' => __('Two-factor U2F', 'nextcloud'),
- 'gallery' => __('Gallery','nextcloud'),
- 'photos' => __('Photos','nextcloud'),
- 'collabora' => __('Collabora Online', 'nextcloud'),
- 'onlyoffice' => __('Onlyoffice', 'nextcloud'),
- 'deck' => __('Deck', 'nextcloud'),
- 'fulltextsearch' => __('Full text search', 'nextcloud'),
- 'mindmaps' => __('Mindmaps', 'nextcloud'),
- 'passman' => __('Passman', 'nextcloud'),
- 'drawio' => __('Draw.io', 'nextcloud'),
- 'bookmarks' => __('Bookmarks', 'nextcloud'),
- 'audioplayer' => __('Audioplayer', 'nextcloud'),
- 'appointments' => __('Appointments', 'nextcloud')
-];
-
-$coreApps = ['files', 'calendar', 'contacts', 'spreed', 'mail', 'tasks', 'notes'];
-?>
+city($ip)->location;
+} catch (\Exception $e) {
+ $location = false;
+ $ip = null;
+}
+
+$registerL10n = [
+ 'subscribe' => __('Subscribe to our newsletter', 'nextcloud'),
+ 'email' => __('Your email address', 'nextcloud'),
+ 'success' => __('Success! Redirecting you to the provider', 'nextcloud'),
+ 'error' => __('Error:', 'nextcloud'),
+ 'processing' => __('Creating your account', 'nextcloud'),
+ 'register' => __('Sign up', 'nextcloud'),
+ 'change' => __('change provider', 'nextcloud'),
+ 'close' => __('close', 'nextcloud'),
+ 'far' => __('Far far away', 'nextcloud'),
+ 'geterror' => __('Error while retrieving the providers list.', 'nextcloud'),
+ 'tos' => __('Terms of service', 'nextcloud'),
+ 'tosagree' => __('I agree to the %tos%', 'nextcloud'),
+ 'toserror' => __('Please agree to the terms of service', 'nextcloud')
+];
+
+$officialApps = [
+ 'files' => __('Files', 'nextcloud'),
+ 'calendar' => __('Calendar', 'nextcloud'),
+ 'contacts' => __('Contacts', 'nextcloud'),
+ 'spreed' => __('Talk', 'nextcloud'),
+ 'mail' => __('Mail', 'nextcloud'),
+ 'tasks' => __('Tasks', 'nextcloud'),
+ 'notes' => __('Notes', 'nextcloud'),
+ 'news' => __('News', 'nextcloud'),
+ 'twofactor_totp' => __('Two-factor authentication', 'nextcloud'),
+ 'twofactor_u2f' => __('Two-factor U2F', 'nextcloud'),
+ 'gallery' => __('Gallery', 'nextcloud'),
+ 'photos' => __('Photos', 'nextcloud'),
+ 'collabora' => __('Collabora Online', 'nextcloud'),
+ 'onlyoffice' => __('Onlyoffice', 'nextcloud'),
+ 'deck' => __('Deck', 'nextcloud'),
+ 'fulltextsearch' => __('Full text search', 'nextcloud'),
+ 'mindmaps' => __('Mindmaps', 'nextcloud'),
+ 'passman' => __('Passman', 'nextcloud'),
+ 'drawio' => __('Draw.io', 'nextcloud'),
+ 'bookmarks' => __('Bookmarks', 'nextcloud'),
+ 'audioplayer' => __('Audioplayer', 'nextcloud'),
+ 'appointments' => __('Appointments', 'nextcloud')
+];
+
+$coreApps = ['files', 'calendar', 'contacts', 'spreed', 'mail', 'tasks', 'notes'];
+?>
diff --git a/blocks/simple_slider.php b/blocks/simple_slider.php
index 1abe569..d803aee 100644
--- a/blocks/simple_slider.php
+++ b/blocks/simple_slider.php
@@ -1,39 +1,39 @@
-
-';
-
-else : /* rendering in editor body */
-?>
+
+';
+
+else : /* rendering in editor body */
+ ?>
-
+
-
+
-
-
+
+
- '.wp_get_attachment_caption($image_id).'
';
- }?>
+ '.wp_get_attachment_caption($image_id).'
';
+ }?>
-
+
-
+
- __('Theme General Settings'),
- 'menu_title' => __('Theme Settings'),
- 'redirect' => false,
- ));
- }
-}
-add_action('acf/init', 'my_acf_op_init');
-
-
-function my_theme_block_category($categories, $post) {
- return array_merge(
- $categories,
- array(
- array(
- 'slug' => 'theme-blocks',
- 'title' => __('Theme Blocks', 'theme-blocks'),
- ),
- )
- );
-}
-
-add_filter('block_categories', 'my_theme_block_category', 10, 2);
-
-function register_acf_block_types() {
- // register a Home Hero Block
- acf_register_block_type(array(
- 'name' => 'home-hero-block',
- 'title' => __('Home Hero Block'),
- 'description' => __('Home Hero Block'),
- 'render_template' => 'blocks/home-hero.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'desktop',
- 'keywords' => array('home', 'hero'),
- ));
- // register a Page Hero Block
- acf_register_block_type(array(
- 'name' => 'page-hero-block',
- 'title' => __('Page Hero Block'),
- 'description' => __('Page Hero Block'),
- 'render_template' => 'blocks/page-hero.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'desktop',
- 'keywords' => array('page', 'hero'),
- ));
- // register a Page Hero Block Background
- acf_register_block_type(array(
- 'name' => 'page-hero-block-background',
- 'title' => __('Page Hero Block Background'),
- 'description' => __('Page Hero Block Background'),
- 'render_template' => 'blocks/page-hero-background.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'desktop',
- 'keywords' => array('page', 'hero-background'),
- ));
- // register a Collaboration Block
- acf_register_block_type(array(
- 'name' => 'collaboration-block',
- 'title' => __('Collaboration Block'),
- 'description' => __('Collaboration Block'),
- 'render_template' => 'blocks/collaboration.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'admin-site-alt2',
- 'keywords' => array('collaboration', 'content'),
- ));
- // register a Why Nextcloud Block
- acf_register_block_type(array(
- 'name' => 'why-block',
- 'title' => __('Why Nextcloud Block'),
- 'description' => __('Why Nextcloud Block'),
- 'render_template' => 'blocks/why.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('why', 'content'),
- ));
- // register a Needs Block
- acf_register_block_type(array(
- 'name' => 'needs-block',
- 'title' => __('Needs Block'),
- 'description' => __('Needs Block'),
- 'render_template' => 'blocks/needs.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('needs', 'content'),
- ));
- // register a Needs 2 Block
- acf_register_block_type(array(
- 'name' => 'needs2-block',
- 'title' => __('Needs 2 Block'),
- 'description' => __('Needs 2 Block'),
- 'render_template' => 'blocks/needs2.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('needs', 'content'),
- ));
- // register a Products Block
- acf_register_block_type(array(
- 'name' => 'products-block',
- 'title' => __('Products Block'),
- 'description' => __('Products Block'),
- 'render_template' => 'blocks/products.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('products', 'content'),
- ));
- // register a Columns Block
- acf_register_block_type(array(
- 'name' => 'columns-block',
- 'title' => __('Columns Block'),
- 'description' => __('Columns Block'),
- 'render_template' => 'blocks/columns.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('columns', 'content'),
- ));
- // register a Columns 2 Block
- acf_register_block_type(array(
- 'name' => 'columns2-block',
- 'title' => __('Columns 2 Block'),
- 'description' => __('Columns 2 Block'),
- 'render_template' => 'blocks/columns2.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('columns', 'content'),
- ));
- // register a Columns 3 Block
- acf_register_block_type(array(
- 'name' => 'columns3-block',
- 'title' => __('Columns 3 Block'),
- 'description' => __('Columns 3 Block'),
- 'render_template' => 'blocks/columns3.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('columns', 'content'),
- ));
- // register a Columns 4 Block
- acf_register_block_type(array(
- 'name' => 'columns4-block',
- 'title' => __('Columns 4 Block'),
- 'description' => __('Columns 4 Block'),
- 'render_template' => 'blocks/columns4.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('columns', 'content'),
- ));
- // register a Columns 5 Block
- acf_register_block_type(array(
- 'name' => 'columns5-block',
- 'title' => __('Columns 5 Block'),
- 'description' => __('Columns 5 Block'),
- 'render_template' => 'blocks/columns5.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('columns', 'content'),
- ));
- // register a Columns 6 Block
- acf_register_block_type(array(
- 'name' => 'columns6-block',
- 'title' => __('Columns 6 Block'),
- 'description' => __('Columns 6 Block'),
- 'render_template' => 'blocks/columns6.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('columns', 'content'),
- ));
- // register a Compliant Block
- acf_register_block_type(array(
- 'name' => 'compliant-block',
- 'title' => __('Compliant Block'),
- 'description' => __('Compliant Block'),
- 'render_template' => 'blocks/compliant.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('compliant', 'content'),
- ));
- // register a Promo Block
- acf_register_block_type(array(
- 'name' => 'promo-block',
- 'title' => __('Promo Block'),
- 'description' => __('Promo Block'),
- 'render_template' => 'blocks/promo.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('promo', 'content'),
- 'example' => array(
- 'attributes' => array(
- 'mode' => 'preview',
- 'data' => array(
- 'preview_image_help' => get_stylesheet_directory_uri().'/blocks/previews/promo_block_preview.png',
- )
- )
- )
- ));
-
- // register a Webinar Promo Block
- acf_register_block_type(array(
- 'name' => 'webinar-promo-block',
- 'title' => __('Webinar Promo Block'),
- 'description' => __('Webinar Promo Block with Ninja form'),
- 'render_template' => 'blocks/webinar_promo.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('webinar', 'promo', 'content'),
- 'example' => array(
- 'attributes' => array(
- 'mode' => 'preview',
- 'data' => array(
- 'preview_image_help' => get_stylesheet_directory_uri().'/blocks/previews/webinar_registration_promo_block_preview.png',
- )
- )
- )
- ));
-
- // register a Promo 2 Block
- acf_register_block_type(array(
- 'name' => 'promo2-block',
- 'title' => __('Promo 2 Block'),
- 'description' => __('Promo 2 Block'),
- 'render_template' => 'blocks/promo2.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('promo', 'content'),
- ));
- // register a Promo 3 Block
- acf_register_block_type(array(
- 'name' => 'promo3-block',
- 'title' => __('Promo 3 Block'),
- 'description' => __('Promo 3 Block'),
- 'render_template' => 'blocks/promo3.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('promo', 'content'),
- ));
- // register a More About Block
- acf_register_block_type(array(
- 'name' => 'more-about-block',
- 'title' => __('More About Block'),
- 'description' => __('More About Block'),
- 'render_template' => 'blocks/more-about.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('about', 'content'),
- ));
- // register a Subscribe Block
- acf_register_block_type(array(
- 'name' => 'subs-block',
- 'title' => __('Subscribe Block'),
- 'description' => __('Subscribe Block'),
- 'render_template' => 'blocks/subs.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'email-alt2',
- 'keywords' => array('subscribe', 'content'),
- ));
- // register a Subscribe 2 Block
- acf_register_block_type(array(
- 'name' => 'subs2-block',
- 'title' => __('Subscribe 2 Block'),
- 'description' => __('Subscribe 2 Block'),
- 'render_template' => 'blocks/subs2.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'email-alt2',
- 'keywords' => array('subscribe', 'content'),
- ));
-
-
- // register a Video Block
- acf_register_block_type(array(
- 'name' => 'video-block-embed',
- 'title' => __('NC Video Embed Block'),
- 'description' => __('Video Block embedded'),
- 'render_template' => 'blocks/nc-video-embed.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'video-alt3',
- 'keywords' => array('video', 'content'),
- ));
-
- // register a Video Block
- acf_register_block_type(array(
- 'name' => 'video-block',
- 'title' => __('Video Block'),
- 'description' => __('Video Block'),
- 'render_template' => 'blocks/video.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'video-alt3',
- 'keywords' => array('video', 'content'),
- ));
- // register a Video 2 Block
- acf_register_block_type(array(
- 'name' => 'video2-block',
- 'title' => __('Video 2 Block'),
- 'description' => __('Video 2 Block'),
- 'render_template' => 'blocks/video2.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'video-alt3',
- 'keywords' => array('video', 'content'),
- ));
- // register a Video 3 Block
- acf_register_block_type(array(
- 'name' => 'video3-block',
- 'title' => __('Video 3 Block'),
- 'description' => __('Video 3 Block'),
- 'render_template' => 'blocks/video3.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'video-alt3',
- 'keywords' => array('video', 'content'),
- ));
- // register a Video 4 Block
- acf_register_block_type(array(
- 'name' => 'video4-block',
- 'title' => __('Video 4 Block'),
- 'description' => __('Video 4 Block'),
- 'render_template' => 'blocks/video4.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'video-alt3',
- 'keywords' => array('video', 'content'),
- ));
- // register a Solution Block
- acf_register_block_type(array(
- 'name' => 'solution-block',
- 'title' => __('Solution Block'),
- 'description' => __('Solution Block'),
- 'render_template' => 'blocks/solution.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('solution', 'content'),
- ));
-
- // register a Solution Block
- acf_register_block_type(array(
- 'name' => 'solution-4columns-block',
- 'title' => __('Solution Block 4 Columns'),
- 'description' => __('Solution 4 Columns Block'),
- 'render_template' => 'blocks/solution-4columns.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('solution', 'content'),
- ));
-
- // register a Integration Block
- acf_register_block_type(array(
- 'name' => 'integration-block',
- 'title' => __('Integration Block'),
- 'description' => __('Integration Block'),
- 'render_template' => 'blocks/integration.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('integration', 'content'),
- ));
- // register a Why Hub Block
- acf_register_block_type(array(
- 'name' => 'whyhub-block',
- 'title' => __('Why Hub Block'),
- 'description' => __('Why Hub Block'),
- 'render_template' => 'blocks/whyhub.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('why hub', 'content'),
- ));
- // register a Capabilities Block
- acf_register_block_type(array(
- 'name' => 'capabilities-block',
- 'title' => __('Capabilities Block'),
- 'description' => __('Capabilities Block'),
- 'render_template' => 'blocks/capabilities.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('capabilities', 'content'),
- ));
- // register a Capabilities 2 Block
- acf_register_block_type(array(
- 'name' => 'capabilities2-block',
- 'title' => __('Capabilities 2 Block'),
- 'description' => __('Capabilities 2 Block'),
- 'render_template' => 'blocks/capabilities2.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('capabilities', 'content'),
- 'example' => array(
- 'attributes' => array(
- 'mode' => 'preview',
- 'data' => array(
- 'preview_image_help' => get_stylesheet_directory_uri().'/blocks/previews/capabilities block-block.png',
- )
- )
- )
- ));
- // register a Collaboration Block
- acf_register_block_type(array(
- 'name' => 'collaboration2-block',
- 'title' => __('Collaboration 2 Block'),
- 'description' => __('Collaboration 2 Block'),
- 'render_template' => 'blocks/collaboration2.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'admin-site-alt2',
- 'keywords' => array('collaboration', 'content'),
- ));
-
-
- // register a Collaboration Slider Block
- acf_register_block_type(array(
- 'name' => 'collaboration3-block',
- 'title' => __('Collaboration Slider Block'),
- 'description' => __('Collaboration Slider Block'),
- 'render_template' => 'blocks/collaboration3.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('collaboration', 'slider', 'content'),
- ));
-
-
- // register a Simple Slider Block
- acf_register_block_type(array(
- 'name' => 'simple-slider-block',
- 'title' => __('Simple Slider Block'),
- 'description' => __('Simple Slider Block'),
- 'render_template' => 'blocks/simple_slider.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('simple', 'slider', 'content', 'slideshow'),
- 'example' => array(
- 'attributes' => array(
- 'mode' => 'preview',
- 'data' => array(
- 'preview_image_help' => get_stylesheet_directory_uri().'/blocks/previews/simple-slider-block-preview.png',
- )
- )
- )
- ));
-
-
-
- // register a Carousel Slider Block
- acf_register_block_type(array(
- 'name' => 'carousel-slider-block',
- 'title' => __('Carousel Slider Block'),
- 'description' => __('Carousel Slider Block'),
- 'render_template' => 'blocks/carousel_slider.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('carousel', 'slider', 'content', 'slideshow', 'partners', 'clients'),
- 'example' => array(
- 'attributes' => array(
- 'mode' => 'preview',
- 'data' => array(
- 'preview_image_help' => get_stylesheet_directory_uri().'/blocks/previews/carousel_block_preview.png',
- )
- )
- )
- ));
-
-
-
-
- // register a What Can Hub Block
- acf_register_block_type(array(
- 'name' => 'whatcanhub-block',
- 'title' => __('What Can Hub Block'),
- 'description' => __('What Can Hub Block'),
- 'render_template' => 'blocks/whatcanhub.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('what can hub', 'content'),
- ));
- // register a Self Hosting Block
- acf_register_block_type(array(
- 'name' => 'hosting-block',
- 'title' => __('Self Hosting Block'),
- 'description' => __('Self Hosting Block'),
- 'render_template' => 'blocks/hosting.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('hosting', 'content'),
- ));
- // register a Self Hosting Block
- acf_register_block_type(array(
- 'name' => 'hosting2-block',
- 'title' => __('Self Hosting 2 Block'),
- 'description' => __('Self Hosting 2 Block'),
- 'render_template' => 'blocks/hosting2.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('hosting', 'content'),
- ));
- // register a Extend Block
- acf_register_block_type(array(
- 'name' => 'extend-block',
- 'title' => __('Extend Block'),
- 'description' => __('Extend Block'),
- 'render_template' => 'blocks/extend.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('extend', 'content'),
- ));
- // register a Benefits Block
- acf_register_block_type(array(
- 'name' => 'benefits-block',
- 'title' => __('Benefits Block'),
- 'description' => __('Benefits Block'),
- 'render_template' => 'blocks/benefits.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('benefits', 'content'),
- ));
- // register a Benefits 2 Block
- acf_register_block_type(array(
- 'name' => 'benefits2-block',
- 'title' => __('Benefits 2 Block'),
- 'description' => __('Benefits 2 Block'),
- 'render_template' => 'blocks/benefits2.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('benefits', 'content'),
- ));
- // register a Benefits 3 Block
- acf_register_block_type(array(
- 'name' => 'benefits3-block',
- 'title' => __('Benefits 3 Block'),
- 'description' => __('Benefits 3 Block'),
- 'render_template' => 'blocks/benefits3.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('benefits', 'content'),
- ));
- // register a What Sets Apart Block
- acf_register_block_type(array(
- 'name' => 'whatsets-block',
- 'title' => __('What Sets Apart Block'),
- 'description' => __('What Sets Apart Block'),
- 'render_template' => 'blocks/whatsets.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('what sets apart', 'content'),
- ));
- // register a Much More Block
- acf_register_block_type(array(
- 'name' => 'muchmore-block',
- 'title' => __('Much More Block'),
- 'description' => __('Much More Block'),
- 'render_template' => 'blocks/muchmore.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('much more', 'content'),
- ));
- // register a Unique Column Block
- acf_register_block_type(array(
- 'name' => 'ucol-block',
- 'title' => __('Unique Column Block'),
- 'description' => __('Unique Column Block'),
- 'render_template' => 'blocks/ucol.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('unique column', 'content'),
- ));
- // register a Compliance Slider Block
- acf_register_block_type(array(
- 'name' => 'compliance-block',
- 'title' => __('Compliance Slider Block'),
- 'description' => __('Compliance Slider Block'),
- 'render_template' => 'blocks/compliance.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('compliance', 'content'),
- ));
- // register a Single Quote Block
- acf_register_block_type(array(
- 'name' => 'squote-block',
- 'title' => __('Single Quote Block'),
- 'description' => __('Single Quote Block'),
- 'render_template' => 'blocks/squote.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('quote', 'content'),
- ));
- // register a Single Quote Block
- acf_register_block_type(array(
- 'name' => 'squote2-block',
- 'title' => __('Single Quote 2 Block'),
- 'description' => __('Single Quote 2 Block'),
- 'render_template' => 'blocks/squote2.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('quote', 'content'),
- ));
-
- // register a Single Quote Block
- acf_register_block_type(array(
- 'name' => 'squote3-block',
- 'title' => __('Single Quote 3 Block'),
- 'description' => __('Single Quote 3 Block'),
- 'render_template' => 'blocks/squote3.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('quote', 'content'),
- 'example' => array(
- 'attributes' => array(
- 'mode' => 'preview',
- 'data' => array(
- 'preview_image_help' => get_stylesheet_directory_uri().'/blocks/previews/single-quote-3-preview.png',
- )
- )
- )
- ));
-
-
- // register a Platform Block
- acf_register_block_type(array(
- 'name' => 'platform-block',
- 'title' => __('Platform Block'),
- 'description' => __('Platform Block'),
- 'render_template' => 'blocks/platform.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('platform', 'content'),
- ));
- // register a Enterprise Block
- acf_register_block_type(array(
- 'name' => 'enterprise-block',
- 'title' => __('Enterprise Block'),
- 'description' => __('Enterprise Block'),
- 'render_template' => 'blocks/enterprise.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('enterprise', 'content'),
- ));
- // register a Pricing Block
- acf_register_block_type(array(
- 'name' => 'pricing-block',
- 'title' => __('Pricing Block'),
- 'description' => __('Pricing Block'),
- 'render_template' => 'blocks/pricing.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('pricing', 'content'),
- ));
- // register a Get Started Block
- acf_register_block_type(array(
- 'name' => 'started-block',
- 'title' => __('Get Started Block'),
- 'description' => __('Get Started Block'),
- 'render_template' => 'blocks/get-started.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('get started', 'content'),
- ));
- // register a Single Text Block
- acf_register_block_type(array(
- 'name' => 'singles-block',
- 'title' => __('Single Text Block'),
- 'description' => __('Single Text Block'),
- 'render_template' => 'blocks/singles.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('text', 'content'),
- ));
- // register a Content 1 Block
- acf_register_block_type(array(
- 'name' => 'content1-block',
- 'title' => __('Content 1 Block'),
- 'description' => __('Content 1 Block'),
- 'render_template' => 'blocks/content1.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('text', 'content'),
- ));
- // register a Content 2 Block
- acf_register_block_type(array(
- 'name' => 'content2-block',
- 'title' => __('Content 2 Block'),
- 'description' => __('Content 2 Block'),
- 'render_template' => 'blocks/content2.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('text', 'content'),
- ));
- // register a Documentation Block
- acf_register_block_type(array(
- 'name' => 'documentation-block',
- 'title' => __('Documentation Block'),
- 'description' => __('Documentation Block'),
- 'render_template' => 'blocks/documentation.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('documentation', 'content'),
- ));
- // register a Get Involved Block
- acf_register_block_type(array(
- 'name' => 'involved-block',
- 'title' => __('Get Involved Block'),
- 'description' => __('Get Involved Block'),
- 'render_template' => 'blocks/involved.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('involved', 'content'),
- ));
- // register a Content Cards Block
- acf_register_block_type(array(
- 'name' => 'cards-block',
- 'title' => __('Content Cards Block'),
- 'description' => __('Content Cards Block'),
- 'render_template' => 'blocks/cards.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('cards', 'content'),
- ));
- // register a Contact Block
- acf_register_block_type(array(
- 'name' => 'contact-block',
- 'title' => __('Contact Block'),
- 'description' => __('Contact Block'),
- 'render_template' => 'blocks/contact.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('contact', 'content'),
- ));
- // register a Contact Block
- acf_register_block_type(array(
- 'name' => 'map-block',
- 'title' => __('Map Block'),
- 'description' => __('Map Block'),
- 'render_template' => 'blocks/map.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('map', 'content'),
- ));
- // register a Get Quote Form Block
- acf_register_block_type(array(
- 'name' => 'quote-form-block',
- 'title' => __('Get Quote Form Block'),
- 'description' => __('Get Quote Form Block'),
- 'render_template' => 'blocks/quote-form.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('quote', 'content'),
- ));
- // register a Info Block
- acf_register_block_type(array(
- 'name' => 'info-block',
- 'title' => __('Info Block'),
- 'description' => __('Info Block'),
- 'render_template' => 'blocks/info.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('info', 'content'),
- ));
- // register a Get Quote Form Block
- acf_register_block_type(array(
- 'name' => 'trial-form-block',
- 'title' => __('Trial Form Block'),
- 'description' => __('Trial Form Block'),
- 'render_template' => 'blocks/trial-form.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('trial', 'content'),
- ));
- // register a Partner Form Block
- acf_register_block_type(array(
- 'name' => 'partner-form-block',
- 'title' => __('Partner Form Block'),
- 'description' => __('Partner Form Block'),
- 'render_template' => 'blocks/partner-form.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('partner', 'content'),
- ));
- // register a Marketing Block
- acf_register_block_type(array(
- 'name' => 'marketing-block',
- 'title' => __('Marketing Block'),
- 'description' => __('Marketing Block'),
- 'render_template' => 'blocks/marketing.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('marketing', 'content'),
- ));
- // register a Text Block
- acf_register_block_type(array(
- 'name' => 'text1-block',
- 'title' => __('Text Block'),
- 'description' => __('Text Block'),
- 'render_template' => 'blocks/text1.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('text', 'content'),
- ));
- // register a Text 2 Block
- acf_register_block_type(array(
- 'name' => 'text2-block',
- 'title' => __('Text 2 Block'),
- 'description' => __('Text 2 Block'),
- 'render_template' => 'blocks/text2.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('text', 'content'),
- ));
- // register a Order Form Block
- acf_register_block_type(array(
- 'name' => 'order-form-block',
- 'title' => __('Order Form Block'),
- 'description' => __('Order Form Block'),
- 'render_template' => 'blocks/order-form.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('order', 'content'),
- ));
- // register a Boxes Block
- acf_register_block_type(array(
- 'name' => 'boxes-block',
- 'title' => __('Boxes Block'),
- 'description' => __('Boxes Block'),
- 'render_template' => 'blocks/boxes.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('boxes', 'content'),
- ));
- // register a Ionos Form Block
- acf_register_block_type(array(
- 'name' => 'ionos-block',
- 'title' => __('Ionos Form Block'),
- 'description' => __('Ionos Form Block'),
- 'render_template' => 'blocks/ionos.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('ionos', 'content'),
- ));
- // register a Ionos Form Block
- acf_register_block_type(array(
- 'name' => 'ionos-form-block',
- 'title' => __('Ionos Form Block New'),
- 'description' => __('Ionos Form Block Ninja Forms'),
- 'render_template' => 'blocks/ionos-form.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('ionos', 'content'),
- ));
- // register a Sign Up Form Block
- acf_register_block_type(array(
- 'name' => 'signup-block',
- 'title' => __('Sign Up Form Block'),
- 'description' => __('Sign Up Form Block'),
- 'render_template' => 'blocks/signup.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('signup', 'content'),
- ));
- // register a Providers Block
- acf_register_block_type(array(
- 'name' => 'providers-block',
- 'title' => __('Providers Block'),
- 'description' => __('Providers Block'),
- 'render_template' => 'blocks/providers.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('providers', 'content'),
- ));
- // register a Industries Content Block
- acf_register_block_type(array(
- 'name' => 'industries-block',
- 'title' => __('Industries / Emoji Boxes Content Block'),
- 'description' => __('Industries and Emoji Boxes Content Block'),
- 'render_template' => 'blocks/industries.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('industries', 'emoji', 'boxes', 'content', 'iconbox'),
- 'example' => array(
- 'attributes' => array(
- 'mode' => 'preview',
- 'data' => array(
- 'preview_image_help' => get_stylesheet_directory_uri().'/blocks/previews/industries-block-preview.png',
- )
- )
- )
- ));
- // register a Analysis Block
- acf_register_block_type(array(
- 'name' => 'analysis-block',
- 'title' => __('Analysis Block'),
- 'description' => __('Analysis Block'),
- 'render_template' => 'blocks/analysis.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('analysis', 'content'),
- ));
- // register a Case Study Listing Block
- acf_register_block_type(array(
- 'name' => 'case-study-block',
- 'title' => __('Case Study Listing Block'),
- 'description' => __('Case Study Listing Block'),
- 'render_template' => 'blocks/case-study.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('case study', 'content'),
- ));
- // register a Whitepaper Listing Block
- acf_register_block_type(array(
- 'name' => 'whitepaper-block',
- 'title' => __('Whitepaper Listing Block'),
- 'description' => __('Whitepaper Listing Block'),
- 'render_template' => 'blocks/whitepaper.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('whitepaper', 'content'),
- ));
- // register a Data Sheet Listing Block
- acf_register_block_type(array(
- 'name' => 'data-sheet-block',
- 'title' => __('Data Sheet Listing Block'),
- 'description' => __('Data Sheet Listing Block'),
- 'render_template' => 'blocks/data-sheet.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('data sheet', 'content'),
- ));
- // register a Team Listing Block
- acf_register_block_type(array(
- 'name' => 'team-list-block',
- 'title' => __('Team Listing Block'),
- 'description' => __('Team Listing Block'),
- 'render_template' => 'blocks/team-list.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('team', 'content'),
- ));
- // register a Blog Listing Block
- acf_register_block_type(array(
- 'name' => 'blog-list-block',
- 'title' => __('Blog Listing Block'),
- 'description' => __('Blog Listing Block'),
- 'render_template' => 'blocks/blog-list.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('blog', 'content'),
- ));
- // register a FAQ Block
- acf_register_block_type(array(
- 'name' => 'faq-block',
- 'title' => __('FAQ Block'),
- 'description' => __('FAQ Block'),
- 'render_template' => 'blocks/faq.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('faq', 'content'),
- ));
- // register a Jobs Block
- acf_register_block_type(array(
- 'name' => 'jobs-block',
- 'title' => __('Jobs Block'),
- 'description' => __('Jobs Block'),
- 'render_template' => 'blocks/jobs.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('jobs', 'content'),
- ));
- // register a Single Post Content Block
- acf_register_block_type(array(
- 'name' => 'single-block',
- 'title' => __('Single Post Content Block'),
- 'description' => __('Single Post Content Block'),
- 'render_template' => 'blocks/single.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('single', 'content'),
- ));
- // register a Whitepaper Blog Posts Block
- acf_register_block_type(array(
- 'name' => 'white-post-block',
- 'title' => __('Whitepaper Blog Posts Block'),
- 'description' => __('Whitepaper Blog Posts Block'),
- 'render_template' => 'blocks/whitepaper-list.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('whitepaper', 'content'),
- ));
- // register a Image Columns Block
- acf_register_block_type(array(
- 'name' => 'img-cols-block',
- 'title' => __('Image Columns Block'),
- 'description' => __('Image Columns Block'),
- 'render_template' => 'blocks/img-cols.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('image', 'content'),
- ));
- // register a Get Started 2 Block
- acf_register_block_type(array(
- 'name' => 'started2-block',
- 'title' => __('Get Started 2 Block'),
- 'description' => __('Get Started 2 Block'),
- 'render_template' => 'blocks/get-started2.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('get started', 'content'),
- ));
- // register a Events Block
- acf_register_block_type(array(
- 'name' => 'events-block',
- 'title' => __('Events Block'),
- 'description' => __('Events Block'),
- 'render_template' => 'blocks/events.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('events', 'content'),
- ));
- // register a Counter Block
- acf_register_block_type(array(
- 'name' => 'counter-block',
- 'title' => __('Counter Block'),
- 'description' => __('Counter Block'),
- 'render_template' => 'blocks/counter.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('counter', 'content'),
- ));
- // register a Pricing Tabs Block
- acf_register_block_type(array(
- 'name' => 'price-tab-block',
- 'title' => __('Pricing Tabs Block'),
- 'description' => __('Pricing Tabs Block'),
- 'render_template' => 'blocks/price-tab.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('pricing', 'content'),
- ));
- // register a Footnote Block
- acf_register_block_type(array(
- 'name' => 'footnote-block',
- 'title' => __('Footnote Block'),
- 'description' => __('Footnote Block'),
- 'render_template' => 'blocks/footnote.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('footnote', 'content'),
- ));
-
- // register a Note Block
- acf_register_block_type(array(
- 'name' => 'note-block',
- 'title' => __('Nextcloud Note Block'),
- 'description' => __('Footnote Block'),
- 'render_template' => 'blocks/nc_note.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('note', 'content'),
- ));
-
-
- // register a Testimonial Block
- acf_register_block_type(array(
- 'name' => 'testimonial-block',
- 'title' => __('Testimonial Block'),
- 'description' => __('Testimonial Block'),
- 'render_template' => 'blocks/testimonial.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('testimonial', 'content'),
- ));
- // register a Partners Block
- acf_register_block_type(array(
- 'name' => 'partners-block',
- 'title' => __('Partners Block'),
- 'description' => __('Partners Block'),
- 'render_template' => 'blocks/partners.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('partners', 'content'),
- ));
- // register a Podcast Block
- acf_register_block_type(array(
- 'name' => 'podcast-block',
- 'title' => __('Podcast Block'),
- 'description' => __('Podcast Block'),
- 'render_template' => 'blocks/podcast.php',
- 'category' => 'theme-blocks',
- 'mode' => 'edit',
- 'icon' => 'welcome-write-blog',
- 'keywords' => array('podcast', 'content'),
- ));
-}
-
-// Check if function exists and hook into setup.
-if (function_exists('acf_register_block_type')) {
- add_action('acf/init', 'register_acf_block_types');
-}
\ No newline at end of file
+ __('Theme General Settings'),
+ 'menu_title' => __('Theme Settings'),
+ 'redirect' => false,
+ ]);
+ }
+}
+add_action('acf/init', 'my_acf_op_init');
+
+
+function my_theme_block_category($categories, $post) {
+ return array_merge(
+ $categories,
+ [
+ [
+ 'slug' => 'theme-blocks',
+ 'title' => __('Theme Blocks', 'theme-blocks'),
+ ],
+ ]
+ );
+}
+
+add_filter('block_categories', 'my_theme_block_category', 10, 2);
+
+function register_acf_block_types() {
+ // register a Home Hero Block
+ acf_register_block_type([
+ 'name' => 'home-hero-block',
+ 'title' => __('Home Hero Block'),
+ 'description' => __('Home Hero Block'),
+ 'render_template' => 'blocks/home-hero.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'desktop',
+ 'keywords' => ['home', 'hero'],
+ ]);
+ // register a Page Hero Block
+ acf_register_block_type([
+ 'name' => 'page-hero-block',
+ 'title' => __('Page Hero Block'),
+ 'description' => __('Page Hero Block'),
+ 'render_template' => 'blocks/page-hero.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'desktop',
+ 'keywords' => ['page', 'hero'],
+ ]);
+ // register a Page Hero Block Background
+ acf_register_block_type([
+ 'name' => 'page-hero-block-background',
+ 'title' => __('Page Hero Block Background'),
+ 'description' => __('Page Hero Block Background'),
+ 'render_template' => 'blocks/page-hero-background.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'desktop',
+ 'keywords' => ['page', 'hero-background'],
+ ]);
+ // register a Collaboration Block
+ acf_register_block_type([
+ 'name' => 'collaboration-block',
+ 'title' => __('Collaboration Block'),
+ 'description' => __('Collaboration Block'),
+ 'render_template' => 'blocks/collaboration.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'admin-site-alt2',
+ 'keywords' => ['collaboration', 'content'],
+ ]);
+ // register a Why Nextcloud Block
+ acf_register_block_type([
+ 'name' => 'why-block',
+ 'title' => __('Why Nextcloud Block'),
+ 'description' => __('Why Nextcloud Block'),
+ 'render_template' => 'blocks/why.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['why', 'content'],
+ ]);
+ // register a Needs Block
+ acf_register_block_type([
+ 'name' => 'needs-block',
+ 'title' => __('Needs Block'),
+ 'description' => __('Needs Block'),
+ 'render_template' => 'blocks/needs.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['needs', 'content'],
+ ]);
+ // register a Needs 2 Block
+ acf_register_block_type([
+ 'name' => 'needs2-block',
+ 'title' => __('Needs 2 Block'),
+ 'description' => __('Needs 2 Block'),
+ 'render_template' => 'blocks/needs2.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['needs', 'content'],
+ ]);
+ // register a Products Block
+ acf_register_block_type([
+ 'name' => 'products-block',
+ 'title' => __('Products Block'),
+ 'description' => __('Products Block'),
+ 'render_template' => 'blocks/products.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['products', 'content'],
+ ]);
+ // register a Columns Block
+ acf_register_block_type([
+ 'name' => 'columns-block',
+ 'title' => __('Columns Block'),
+ 'description' => __('Columns Block'),
+ 'render_template' => 'blocks/columns.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['columns', 'content'],
+ ]);
+ // register a Columns 2 Block
+ acf_register_block_type([
+ 'name' => 'columns2-block',
+ 'title' => __('Columns 2 Block'),
+ 'description' => __('Columns 2 Block'),
+ 'render_template' => 'blocks/columns2.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['columns', 'content'],
+ ]);
+ // register a Columns 3 Block
+ acf_register_block_type([
+ 'name' => 'columns3-block',
+ 'title' => __('Columns 3 Block'),
+ 'description' => __('Columns 3 Block'),
+ 'render_template' => 'blocks/columns3.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['columns', 'content'],
+ ]);
+ // register a Columns 4 Block
+ acf_register_block_type([
+ 'name' => 'columns4-block',
+ 'title' => __('Columns 4 Block'),
+ 'description' => __('Columns 4 Block'),
+ 'render_template' => 'blocks/columns4.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['columns', 'content'],
+ ]);
+ // register a Columns 5 Block
+ acf_register_block_type([
+ 'name' => 'columns5-block',
+ 'title' => __('Columns 5 Block'),
+ 'description' => __('Columns 5 Block'),
+ 'render_template' => 'blocks/columns5.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['columns', 'content'],
+ ]);
+ // register a Columns 6 Block
+ acf_register_block_type([
+ 'name' => 'columns6-block',
+ 'title' => __('Columns 6 Block'),
+ 'description' => __('Columns 6 Block'),
+ 'render_template' => 'blocks/columns6.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['columns', 'content'],
+ ]);
+ // register a Compliant Block
+ acf_register_block_type([
+ 'name' => 'compliant-block',
+ 'title' => __('Compliant Block'),
+ 'description' => __('Compliant Block'),
+ 'render_template' => 'blocks/compliant.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['compliant', 'content'],
+ ]);
+ // register a Promo Block
+ acf_register_block_type([
+ 'name' => 'promo-block',
+ 'title' => __('Promo Block'),
+ 'description' => __('Promo Block'),
+ 'render_template' => 'blocks/promo.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['promo', 'content'],
+ 'example' => [
+ 'attributes' => [
+ 'mode' => 'preview',
+ 'data' => [
+ 'preview_image_help' => get_stylesheet_directory_uri().'/blocks/previews/promo_block_preview.png',
+ ]
+ ]
+ ]
+ ]);
+
+ // register a Webinar Promo Block
+ acf_register_block_type([
+ 'name' => 'webinar-promo-block',
+ 'title' => __('Webinar Promo Block'),
+ 'description' => __('Webinar Promo Block with Ninja form'),
+ 'render_template' => 'blocks/webinar_promo.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['webinar', 'promo', 'content'],
+ 'example' => [
+ 'attributes' => [
+ 'mode' => 'preview',
+ 'data' => [
+ 'preview_image_help' => get_stylesheet_directory_uri().'/blocks/previews/webinar_registration_promo_block_preview.png',
+ ]
+ ]
+ ]
+ ]);
+
+ // register a Promo 2 Block
+ acf_register_block_type([
+ 'name' => 'promo2-block',
+ 'title' => __('Promo 2 Block'),
+ 'description' => __('Promo 2 Block'),
+ 'render_template' => 'blocks/promo2.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['promo', 'content'],
+ ]);
+ // register a Promo 3 Block
+ acf_register_block_type([
+ 'name' => 'promo3-block',
+ 'title' => __('Promo 3 Block'),
+ 'description' => __('Promo 3 Block'),
+ 'render_template' => 'blocks/promo3.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['promo', 'content'],
+ ]);
+ // register a More About Block
+ acf_register_block_type([
+ 'name' => 'more-about-block',
+ 'title' => __('More About Block'),
+ 'description' => __('More About Block'),
+ 'render_template' => 'blocks/more-about.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['about', 'content'],
+ ]);
+ // register a Subscribe Block
+ acf_register_block_type([
+ 'name' => 'subs-block',
+ 'title' => __('Subscribe Block'),
+ 'description' => __('Subscribe Block'),
+ 'render_template' => 'blocks/subs.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'email-alt2',
+ 'keywords' => ['subscribe', 'content'],
+ ]);
+ // register a Subscribe 2 Block
+ acf_register_block_type([
+ 'name' => 'subs2-block',
+ 'title' => __('Subscribe 2 Block'),
+ 'description' => __('Subscribe 2 Block'),
+ 'render_template' => 'blocks/subs2.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'email-alt2',
+ 'keywords' => ['subscribe', 'content'],
+ ]);
+
+
+ // register a Video Block
+ acf_register_block_type([
+ 'name' => 'video-block-embed',
+ 'title' => __('NC Video Embed Block'),
+ 'description' => __('Video Block embedded'),
+ 'render_template' => 'blocks/nc-video-embed.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'video-alt3',
+ 'keywords' => ['video', 'content'],
+ ]);
+
+ // register a Video Block
+ acf_register_block_type([
+ 'name' => 'video-block',
+ 'title' => __('Video Block'),
+ 'description' => __('Video Block'),
+ 'render_template' => 'blocks/video.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'video-alt3',
+ 'keywords' => ['video', 'content'],
+ ]);
+ // register a Video 2 Block
+ acf_register_block_type([
+ 'name' => 'video2-block',
+ 'title' => __('Video 2 Block'),
+ 'description' => __('Video 2 Block'),
+ 'render_template' => 'blocks/video2.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'video-alt3',
+ 'keywords' => ['video', 'content'],
+ ]);
+ // register a Video 3 Block
+ acf_register_block_type([
+ 'name' => 'video3-block',
+ 'title' => __('Video 3 Block'),
+ 'description' => __('Video 3 Block'),
+ 'render_template' => 'blocks/video3.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'video-alt3',
+ 'keywords' => ['video', 'content'],
+ ]);
+ // register a Video 4 Block
+ acf_register_block_type([
+ 'name' => 'video4-block',
+ 'title' => __('Video 4 Block'),
+ 'description' => __('Video 4 Block'),
+ 'render_template' => 'blocks/video4.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'video-alt3',
+ 'keywords' => ['video', 'content'],
+ ]);
+ // register a Solution Block
+ acf_register_block_type([
+ 'name' => 'solution-block',
+ 'title' => __('Solution Block'),
+ 'description' => __('Solution Block'),
+ 'render_template' => 'blocks/solution.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['solution', 'content'],
+ ]);
+
+ // register a Solution Block
+ acf_register_block_type([
+ 'name' => 'solution-4columns-block',
+ 'title' => __('Solution Block 4 Columns'),
+ 'description' => __('Solution 4 Columns Block'),
+ 'render_template' => 'blocks/solution-4columns.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['solution', 'content'],
+ ]);
+
+ // register a Integration Block
+ acf_register_block_type([
+ 'name' => 'integration-block',
+ 'title' => __('Integration Block'),
+ 'description' => __('Integration Block'),
+ 'render_template' => 'blocks/integration.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['integration', 'content'],
+ ]);
+ // register a Why Hub Block
+ acf_register_block_type([
+ 'name' => 'whyhub-block',
+ 'title' => __('Why Hub Block'),
+ 'description' => __('Why Hub Block'),
+ 'render_template' => 'blocks/whyhub.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['why hub', 'content'],
+ ]);
+ // register a Capabilities Block
+ acf_register_block_type([
+ 'name' => 'capabilities-block',
+ 'title' => __('Capabilities Block'),
+ 'description' => __('Capabilities Block'),
+ 'render_template' => 'blocks/capabilities.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['capabilities', 'content'],
+ ]);
+ // register a Capabilities 2 Block
+ acf_register_block_type([
+ 'name' => 'capabilities2-block',
+ 'title' => __('Capabilities 2 Block'),
+ 'description' => __('Capabilities 2 Block'),
+ 'render_template' => 'blocks/capabilities2.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['capabilities', 'content'],
+ 'example' => [
+ 'attributes' => [
+ 'mode' => 'preview',
+ 'data' => [
+ 'preview_image_help' => get_stylesheet_directory_uri().'/blocks/previews/capabilities block-block.png',
+ ]
+ ]
+ ]
+ ]);
+ // register a Collaboration Block
+ acf_register_block_type([
+ 'name' => 'collaboration2-block',
+ 'title' => __('Collaboration 2 Block'),
+ 'description' => __('Collaboration 2 Block'),
+ 'render_template' => 'blocks/collaboration2.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'admin-site-alt2',
+ 'keywords' => ['collaboration', 'content'],
+ ]);
+
+
+ // register a Collaboration Slider Block
+ acf_register_block_type([
+ 'name' => 'collaboration3-block',
+ 'title' => __('Collaboration Slider Block'),
+ 'description' => __('Collaboration Slider Block'),
+ 'render_template' => 'blocks/collaboration3.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['collaboration', 'slider', 'content'],
+ ]);
+
+
+ // register a Simple Slider Block
+ acf_register_block_type([
+ 'name' => 'simple-slider-block',
+ 'title' => __('Simple Slider Block'),
+ 'description' => __('Simple Slider Block'),
+ 'render_template' => 'blocks/simple_slider.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['simple', 'slider', 'content', 'slideshow'],
+ 'example' => [
+ 'attributes' => [
+ 'mode' => 'preview',
+ 'data' => [
+ 'preview_image_help' => get_stylesheet_directory_uri().'/blocks/previews/simple-slider-block-preview.png',
+ ]
+ ]
+ ]
+ ]);
+
+
+
+ // register a Carousel Slider Block
+ acf_register_block_type([
+ 'name' => 'carousel-slider-block',
+ 'title' => __('Carousel Slider Block'),
+ 'description' => __('Carousel Slider Block'),
+ 'render_template' => 'blocks/carousel_slider.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['carousel', 'slider', 'content', 'slideshow', 'partners', 'clients'],
+ 'example' => [
+ 'attributes' => [
+ 'mode' => 'preview',
+ 'data' => [
+ 'preview_image_help' => get_stylesheet_directory_uri().'/blocks/previews/carousel_block_preview.png',
+ ]
+ ]
+ ]
+ ]);
+
+
+
+
+ // register a What Can Hub Block
+ acf_register_block_type([
+ 'name' => 'whatcanhub-block',
+ 'title' => __('What Can Hub Block'),
+ 'description' => __('What Can Hub Block'),
+ 'render_template' => 'blocks/whatcanhub.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['what can hub', 'content'],
+ ]);
+ // register a Self Hosting Block
+ acf_register_block_type([
+ 'name' => 'hosting-block',
+ 'title' => __('Self Hosting Block'),
+ 'description' => __('Self Hosting Block'),
+ 'render_template' => 'blocks/hosting.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['hosting', 'content'],
+ ]);
+ // register a Self Hosting Block
+ acf_register_block_type([
+ 'name' => 'hosting2-block',
+ 'title' => __('Self Hosting 2 Block'),
+ 'description' => __('Self Hosting 2 Block'),
+ 'render_template' => 'blocks/hosting2.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['hosting', 'content'],
+ ]);
+ // register a Extend Block
+ acf_register_block_type([
+ 'name' => 'extend-block',
+ 'title' => __('Extend Block'),
+ 'description' => __('Extend Block'),
+ 'render_template' => 'blocks/extend.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['extend', 'content'],
+ ]);
+ // register a Benefits Block
+ acf_register_block_type([
+ 'name' => 'benefits-block',
+ 'title' => __('Benefits Block'),
+ 'description' => __('Benefits Block'),
+ 'render_template' => 'blocks/benefits.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['benefits', 'content'],
+ ]);
+ // register a Benefits 2 Block
+ acf_register_block_type([
+ 'name' => 'benefits2-block',
+ 'title' => __('Benefits 2 Block'),
+ 'description' => __('Benefits 2 Block'),
+ 'render_template' => 'blocks/benefits2.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['benefits', 'content'],
+ ]);
+ // register a Benefits 3 Block
+ acf_register_block_type([
+ 'name' => 'benefits3-block',
+ 'title' => __('Benefits 3 Block'),
+ 'description' => __('Benefits 3 Block'),
+ 'render_template' => 'blocks/benefits3.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['benefits', 'content'],
+ ]);
+ // register a What Sets Apart Block
+ acf_register_block_type([
+ 'name' => 'whatsets-block',
+ 'title' => __('What Sets Apart Block'),
+ 'description' => __('What Sets Apart Block'),
+ 'render_template' => 'blocks/whatsets.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['what sets apart', 'content'],
+ ]);
+ // register a Much More Block
+ acf_register_block_type([
+ 'name' => 'muchmore-block',
+ 'title' => __('Much More Block'),
+ 'description' => __('Much More Block'),
+ 'render_template' => 'blocks/muchmore.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['much more', 'content'],
+ ]);
+ // register a Unique Column Block
+ acf_register_block_type([
+ 'name' => 'ucol-block',
+ 'title' => __('Unique Column Block'),
+ 'description' => __('Unique Column Block'),
+ 'render_template' => 'blocks/ucol.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['unique column', 'content'],
+ ]);
+ // register a Compliance Slider Block
+ acf_register_block_type([
+ 'name' => 'compliance-block',
+ 'title' => __('Compliance Slider Block'),
+ 'description' => __('Compliance Slider Block'),
+ 'render_template' => 'blocks/compliance.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['compliance', 'content'],
+ ]);
+ // register a Single Quote Block
+ acf_register_block_type([
+ 'name' => 'squote-block',
+ 'title' => __('Single Quote Block'),
+ 'description' => __('Single Quote Block'),
+ 'render_template' => 'blocks/squote.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['quote', 'content'],
+ ]);
+ // register a Single Quote Block
+ acf_register_block_type([
+ 'name' => 'squote2-block',
+ 'title' => __('Single Quote 2 Block'),
+ 'description' => __('Single Quote 2 Block'),
+ 'render_template' => 'blocks/squote2.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['quote', 'content'],
+ ]);
+
+ // register a Single Quote Block
+ acf_register_block_type([
+ 'name' => 'squote3-block',
+ 'title' => __('Single Quote 3 Block'),
+ 'description' => __('Single Quote 3 Block'),
+ 'render_template' => 'blocks/squote3.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['quote', 'content'],
+ 'example' => [
+ 'attributes' => [
+ 'mode' => 'preview',
+ 'data' => [
+ 'preview_image_help' => get_stylesheet_directory_uri().'/blocks/previews/single-quote-3-preview.png',
+ ]
+ ]
+ ]
+ ]);
+
+
+ // register a Platform Block
+ acf_register_block_type([
+ 'name' => 'platform-block',
+ 'title' => __('Platform Block'),
+ 'description' => __('Platform Block'),
+ 'render_template' => 'blocks/platform.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['platform', 'content'],
+ ]);
+ // register a Enterprise Block
+ acf_register_block_type([
+ 'name' => 'enterprise-block',
+ 'title' => __('Enterprise Block'),
+ 'description' => __('Enterprise Block'),
+ 'render_template' => 'blocks/enterprise.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['enterprise', 'content'],
+ ]);
+ // register a Pricing Block
+ acf_register_block_type([
+ 'name' => 'pricing-block',
+ 'title' => __('Pricing Block'),
+ 'description' => __('Pricing Block'),
+ 'render_template' => 'blocks/pricing.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['pricing', 'content'],
+ ]);
+ // register a Get Started Block
+ acf_register_block_type([
+ 'name' => 'started-block',
+ 'title' => __('Get Started Block'),
+ 'description' => __('Get Started Block'),
+ 'render_template' => 'blocks/get-started.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['get started', 'content'],
+ ]);
+ // register a Single Text Block
+ acf_register_block_type([
+ 'name' => 'singles-block',
+ 'title' => __('Single Text Block'),
+ 'description' => __('Single Text Block'),
+ 'render_template' => 'blocks/singles.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['text', 'content'],
+ ]);
+ // register a Content 1 Block
+ acf_register_block_type([
+ 'name' => 'content1-block',
+ 'title' => __('Content 1 Block'),
+ 'description' => __('Content 1 Block'),
+ 'render_template' => 'blocks/content1.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['text', 'content'],
+ ]);
+ // register a Content 2 Block
+ acf_register_block_type([
+ 'name' => 'content2-block',
+ 'title' => __('Content 2 Block'),
+ 'description' => __('Content 2 Block'),
+ 'render_template' => 'blocks/content2.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['text', 'content'],
+ ]);
+ // register a Documentation Block
+ acf_register_block_type([
+ 'name' => 'documentation-block',
+ 'title' => __('Documentation Block'),
+ 'description' => __('Documentation Block'),
+ 'render_template' => 'blocks/documentation.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['documentation', 'content'],
+ ]);
+ // register a Get Involved Block
+ acf_register_block_type([
+ 'name' => 'involved-block',
+ 'title' => __('Get Involved Block'),
+ 'description' => __('Get Involved Block'),
+ 'render_template' => 'blocks/involved.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['involved', 'content'],
+ ]);
+ // register a Content Cards Block
+ acf_register_block_type([
+ 'name' => 'cards-block',
+ 'title' => __('Content Cards Block'),
+ 'description' => __('Content Cards Block'),
+ 'render_template' => 'blocks/cards.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['cards', 'content'],
+ ]);
+ // register a Contact Block
+ acf_register_block_type([
+ 'name' => 'contact-block',
+ 'title' => __('Contact Block'),
+ 'description' => __('Contact Block'),
+ 'render_template' => 'blocks/contact.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['contact', 'content'],
+ ]);
+ // register a Contact Block
+ acf_register_block_type([
+ 'name' => 'map-block',
+ 'title' => __('Map Block'),
+ 'description' => __('Map Block'),
+ 'render_template' => 'blocks/map.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['map', 'content'],
+ ]);
+ // register a Get Quote Form Block
+ acf_register_block_type([
+ 'name' => 'quote-form-block',
+ 'title' => __('Get Quote Form Block'),
+ 'description' => __('Get Quote Form Block'),
+ 'render_template' => 'blocks/quote-form.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['quote', 'content'],
+ ]);
+ // register a Info Block
+ acf_register_block_type([
+ 'name' => 'info-block',
+ 'title' => __('Info Block'),
+ 'description' => __('Info Block'),
+ 'render_template' => 'blocks/info.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['info', 'content'],
+ ]);
+ // register a Get Quote Form Block
+ acf_register_block_type([
+ 'name' => 'trial-form-block',
+ 'title' => __('Trial Form Block'),
+ 'description' => __('Trial Form Block'),
+ 'render_template' => 'blocks/trial-form.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['trial', 'content'],
+ ]);
+ // register a Partner Form Block
+ acf_register_block_type([
+ 'name' => 'partner-form-block',
+ 'title' => __('Partner Form Block'),
+ 'description' => __('Partner Form Block'),
+ 'render_template' => 'blocks/partner-form.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['partner', 'content'],
+ ]);
+ // register a Marketing Block
+ acf_register_block_type([
+ 'name' => 'marketing-block',
+ 'title' => __('Marketing Block'),
+ 'description' => __('Marketing Block'),
+ 'render_template' => 'blocks/marketing.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['marketing', 'content'],
+ ]);
+ // register a Text Block
+ acf_register_block_type([
+ 'name' => 'text1-block',
+ 'title' => __('Text Block'),
+ 'description' => __('Text Block'),
+ 'render_template' => 'blocks/text1.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['text', 'content'],
+ ]);
+ // register a Text 2 Block
+ acf_register_block_type([
+ 'name' => 'text2-block',
+ 'title' => __('Text 2 Block'),
+ 'description' => __('Text 2 Block'),
+ 'render_template' => 'blocks/text2.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['text', 'content'],
+ ]);
+ // register a Order Form Block
+ acf_register_block_type([
+ 'name' => 'order-form-block',
+ 'title' => __('Order Form Block'),
+ 'description' => __('Order Form Block'),
+ 'render_template' => 'blocks/order-form.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['order', 'content'],
+ ]);
+ // register a Boxes Block
+ acf_register_block_type([
+ 'name' => 'boxes-block',
+ 'title' => __('Boxes Block'),
+ 'description' => __('Boxes Block'),
+ 'render_template' => 'blocks/boxes.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['boxes', 'content'],
+ ]);
+ // register a Ionos Form Block
+ acf_register_block_type([
+ 'name' => 'ionos-block',
+ 'title' => __('Ionos Form Block'),
+ 'description' => __('Ionos Form Block'),
+ 'render_template' => 'blocks/ionos.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['ionos', 'content'],
+ ]);
+ // register a Ionos Form Block
+ acf_register_block_type([
+ 'name' => 'ionos-form-block',
+ 'title' => __('Ionos Form Block New'),
+ 'description' => __('Ionos Form Block Ninja Forms'),
+ 'render_template' => 'blocks/ionos-form.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['ionos', 'content'],
+ ]);
+ // register a Sign Up Form Block
+ acf_register_block_type([
+ 'name' => 'signup-block',
+ 'title' => __('Sign Up Form Block'),
+ 'description' => __('Sign Up Form Block'),
+ 'render_template' => 'blocks/signup.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['signup', 'content'],
+ ]);
+ // register a Providers Block
+ acf_register_block_type([
+ 'name' => 'providers-block',
+ 'title' => __('Providers Block'),
+ 'description' => __('Providers Block'),
+ 'render_template' => 'blocks/providers.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['providers', 'content'],
+ ]);
+ // register a Industries Content Block
+ acf_register_block_type([
+ 'name' => 'industries-block',
+ 'title' => __('Industries / Emoji Boxes Content Block'),
+ 'description' => __('Industries and Emoji Boxes Content Block'),
+ 'render_template' => 'blocks/industries.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['industries', 'emoji', 'boxes', 'content', 'iconbox'],
+ 'example' => [
+ 'attributes' => [
+ 'mode' => 'preview',
+ 'data' => [
+ 'preview_image_help' => get_stylesheet_directory_uri().'/blocks/previews/industries-block-preview.png',
+ ]
+ ]
+ ]
+ ]);
+ // register a Analysis Block
+ acf_register_block_type([
+ 'name' => 'analysis-block',
+ 'title' => __('Analysis Block'),
+ 'description' => __('Analysis Block'),
+ 'render_template' => 'blocks/analysis.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['analysis', 'content'],
+ ]);
+ // register a Case Study Listing Block
+ acf_register_block_type([
+ 'name' => 'case-study-block',
+ 'title' => __('Case Study Listing Block'),
+ 'description' => __('Case Study Listing Block'),
+ 'render_template' => 'blocks/case-study.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['case study', 'content'],
+ ]);
+ // register a Whitepaper Listing Block
+ acf_register_block_type([
+ 'name' => 'whitepaper-block',
+ 'title' => __('Whitepaper Listing Block'),
+ 'description' => __('Whitepaper Listing Block'),
+ 'render_template' => 'blocks/whitepaper.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['whitepaper', 'content'],
+ ]);
+ // register a Data Sheet Listing Block
+ acf_register_block_type([
+ 'name' => 'data-sheet-block',
+ 'title' => __('Data Sheet Listing Block'),
+ 'description' => __('Data Sheet Listing Block'),
+ 'render_template' => 'blocks/data-sheet.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['data sheet', 'content'],
+ ]);
+ // register a Team Listing Block
+ acf_register_block_type([
+ 'name' => 'team-list-block',
+ 'title' => __('Team Listing Block'),
+ 'description' => __('Team Listing Block'),
+ 'render_template' => 'blocks/team-list.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['team', 'content'],
+ ]);
+ // register a Blog Listing Block
+ acf_register_block_type([
+ 'name' => 'blog-list-block',
+ 'title' => __('Blog Listing Block'),
+ 'description' => __('Blog Listing Block'),
+ 'render_template' => 'blocks/blog-list.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['blog', 'content'],
+ ]);
+ // register a FAQ Block
+ acf_register_block_type([
+ 'name' => 'faq-block',
+ 'title' => __('FAQ Block'),
+ 'description' => __('FAQ Block'),
+ 'render_template' => 'blocks/faq.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['faq', 'content'],
+ ]);
+ // register a Jobs Block
+ acf_register_block_type([
+ 'name' => 'jobs-block',
+ 'title' => __('Jobs Block'),
+ 'description' => __('Jobs Block'),
+ 'render_template' => 'blocks/jobs.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['jobs', 'content'],
+ ]);
+ // register a Single Post Content Block
+ acf_register_block_type([
+ 'name' => 'single-block',
+ 'title' => __('Single Post Content Block'),
+ 'description' => __('Single Post Content Block'),
+ 'render_template' => 'blocks/single.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['single', 'content'],
+ ]);
+ // register a Whitepaper Blog Posts Block
+ acf_register_block_type([
+ 'name' => 'white-post-block',
+ 'title' => __('Whitepaper Blog Posts Block'),
+ 'description' => __('Whitepaper Blog Posts Block'),
+ 'render_template' => 'blocks/whitepaper-list.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['whitepaper', 'content'],
+ ]);
+ // register a Image Columns Block
+ acf_register_block_type([
+ 'name' => 'img-cols-block',
+ 'title' => __('Image Columns Block'),
+ 'description' => __('Image Columns Block'),
+ 'render_template' => 'blocks/img-cols.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['image', 'content'],
+ ]);
+ // register a Get Started 2 Block
+ acf_register_block_type([
+ 'name' => 'started2-block',
+ 'title' => __('Get Started 2 Block'),
+ 'description' => __('Get Started 2 Block'),
+ 'render_template' => 'blocks/get-started2.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['get started', 'content'],
+ ]);
+ // register a Events Block
+ acf_register_block_type([
+ 'name' => 'events-block',
+ 'title' => __('Events Block'),
+ 'description' => __('Events Block'),
+ 'render_template' => 'blocks/events.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['events', 'content'],
+ ]);
+ // register a Counter Block
+ acf_register_block_type([
+ 'name' => 'counter-block',
+ 'title' => __('Counter Block'),
+ 'description' => __('Counter Block'),
+ 'render_template' => 'blocks/counter.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['counter', 'content'],
+ ]);
+ // register a Pricing Tabs Block
+ acf_register_block_type([
+ 'name' => 'price-tab-block',
+ 'title' => __('Pricing Tabs Block'),
+ 'description' => __('Pricing Tabs Block'),
+ 'render_template' => 'blocks/price-tab.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['pricing', 'content'],
+ ]);
+ // register a Footnote Block
+ acf_register_block_type([
+ 'name' => 'footnote-block',
+ 'title' => __('Footnote Block'),
+ 'description' => __('Footnote Block'),
+ 'render_template' => 'blocks/footnote.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['footnote', 'content'],
+ ]);
+
+ // register a Note Block
+ acf_register_block_type([
+ 'name' => 'note-block',
+ 'title' => __('Nextcloud Note Block'),
+ 'description' => __('Footnote Block'),
+ 'render_template' => 'blocks/nc_note.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['note', 'content'],
+ ]);
+
+
+ // register a Testimonial Block
+ acf_register_block_type([
+ 'name' => 'testimonial-block',
+ 'title' => __('Testimonial Block'),
+ 'description' => __('Testimonial Block'),
+ 'render_template' => 'blocks/testimonial.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['testimonial', 'content'],
+ ]);
+ // register a Partners Block
+ acf_register_block_type([
+ 'name' => 'partners-block',
+ 'title' => __('Partners Block'),
+ 'description' => __('Partners Block'),
+ 'render_template' => 'blocks/partners.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['partners', 'content'],
+ ]);
+ // register a Podcast Block
+ acf_register_block_type([
+ 'name' => 'podcast-block',
+ 'title' => __('Podcast Block'),
+ 'description' => __('Podcast Block'),
+ 'render_template' => 'blocks/podcast.php',
+ 'category' => 'theme-blocks',
+ 'mode' => 'edit',
+ 'icon' => 'welcome-write-blog',
+ 'keywords' => ['podcast', 'content'],
+ ]);
+}
+
+// Check if function exists and hook into setup.
+if (function_exists('acf_register_block_type')) {
+ add_action('acf/init', 'register_acf_block_types');
+}
diff --git a/inc/blog_loop_single.php b/inc/blog_loop_single.php
index d9808cd..4f1adb8 100644
--- a/inc/blog_loop_single.php
+++ b/inc/blog_loop_single.php
@@ -1,51 +1,86 @@
'feat_img' ));
-
-$date_format = get_option( 'date_format' ); // e.g. "F j, Y"
+$featured_image = get_the_post_thumbnail($post_id, 'large', [ 'class' => 'feat_img' ]);
+$date_format = get_option('date_format'); // e.g. "F j, Y"
$date = (string)get_the_date($date_format);
$cat = get_the_category($post_id);
-if ( 'event' == get_post_type() ) {
- $cat = wp_get_object_terms( $post_id, 'event_categories', array() );
+
+if (get_post_type() == 'event') {
+ $cat = wp_get_object_terms($post_id, 'event_categories', []);
$event_start_datetime = get_field('event_start_date_and_time', $post_id, false);
if($event_start_datetime) {
$date = date_i18n($date_format, strtotime($event_start_datetime));
}
}
+$webinar_recording = false;
+if(get_post_type() == 'event' && get_post_meta($post_id, 'download_available', true)) {
+ $webinar_recording = true;
+}
+
+
$cats = '';
if($cat) {
foreach ($cat as $c) {
- if($c->term_id != 243 && $c->term_id != 1 ) { // exclude Uncategorized
+ if($c->term_id != 243 && $c->term_id != 1) { // exclude Uncategorized
$category_link = get_category_link($c->term_id);
$cats .= '' . $c->name . ' ';
}
}
} else {
- if ( 'event' == get_post_type() ) {
- $cats = '' . __('Events','nextcloud') . ' ';
- } else if ('podcast' == get_post_type()) {
- $cats = '' . __('Podcasts','nextcloud') . ' ';
- }
+ if (get_post_type() == 'event') {
+ $cats = '' . __('Events', 'nextcloud') . ' ';
+ } elseif (get_post_type() == 'podcast') {
+ $cats = '' . __('Podcasts', 'nextcloud') . ' ';
+ }
}
$meta_icon = "far fa-calendar-alt";
-if('event' == get_post_type() && get_post_meta($post_id, 'download_available', true) ){
+if($webinar_recording) {
$meta_icon = "fa fa-video";
}
- echo '';
- echo '
';
- echo '
';
- echo '
';
- echo '
';
- echo '
';
- echo '
' . $post_excerpt . '
';
- echo '
'.__('Read More', 'nextcloud').' ';
- echo '
';
- echo '
';
- echo '
';
+
+
+$webinar_language_details = apply_filters('wpml_post_language_details', null, $post_id);
+$flag_path = "https://nextcloud.com/p/sitepress-multilingual-cms/res/flags/";
+$flag_full_url = $flag_path.$webinar_language_details['language_code'].".png";
+
+
+echo '';
+echo '
';
+echo '
';
+echo '
';
+echo '
';
+if(get_post_type() != 'event') {
+ echo ' '.$date.' ';
+}
+echo ' '.$cats.' ';
+
+if($webinar_recording) {
+ echo "";
+ echo ' '.$webinar_language_details['display_name'];
+ echo " ";
+}
+echo ' ';
+
+echo '
';
+
+/*
+if('event' == get_post_type()){
+ echo "
";
+ echo ' '.$webinar_language_details['display_name'];
+ echo " ";
+}
+*/
+
+echo '
' . $post_excerpt . '
';
+echo '
'.__('Read more', 'nextcloud').' ';
+echo '
';
+echo '
';
+echo '
';
diff --git a/inc/cookie_banner.php b/inc/cookie_banner.php
index dc73c5c..0fe3f5e 100644
--- a/inc/cookie_banner.php
+++ b/inc/cookie_banner.php
@@ -9,8 +9,8 @@
Privacy Policy for more information.", "nextcloud"); ?>
-
+ See our
Privacy Policy for more information.", "nextcloud"); ?>
+
@@ -22,7 +22,7 @@
@@ -34,7 +34,7 @@
-
+
@@ -87,7 +87,7 @@
-
+
@@ -125,10 +125,10 @@
-
+
-
Matomo','nextcloud')?>
+
Matomo', 'nextcloud')?>
@@ -148,11 +148,13 @@
_pk_ses*:
- _pk_id*:
+ _pk_id*:
+ mtm_cookie_consent:
_pk_ses*: 30
- _pk_id*: 28
+ _pk_id*: 28
+ mtm_cookie_consent: 30
@@ -172,7 +174,7 @@
-
+
@@ -192,7 +194,7 @@
-
+
-
@@ -209,7 +211,7 @@
-
+
-
@@ -234,53 +236,36 @@
-
+
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/inc/custom_columns.php b/inc/custom_columns.php
index fab48bb..2095896 100644
--- a/inc/custom_columns.php
+++ b/inc/custom_columns.php
@@ -1,47 +1,57 @@
-
+
+
leave a nice review on WordPress. It will be a tremendous help for us!', 'mailtpm'), 'https://wordpress.org/support/view/plugin-reviews/email-templates?filter=5');?>
+
+
Placeholders
+
+
">
+ %%BLOG_URL%%
+ %%HOME_URL%%
+ %%BLOG_NAME%%
+ %%BLOG_DESCRIPTION%%
+ %%ADMIN_EMAIL%%
+ %%DATE%%
+ %%TIME%%
+ %%USER_EMAIL%% (not on sendgrid)
+
\ No newline at end of file
diff --git a/inc/email-templates/admin/partials/email-content.php b/inc/email-templates/admin/partials/email-content.php
new file mode 100644
index 0000000..25e11d8
--- /dev/null
+++ b/inc/email-templates/admin/partials/email-content.php
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Powered by Email Templates Plugin
+
+
+
+
+
+