feat: Initial plugins and theme
All checks were successful
WordPress deployment / deploy (push) Successful in 9s

This commit is contained in:
2025-08-27 10:46:59 -04:00
parent 79b4fc7565
commit d225837d7b
49 changed files with 9448 additions and 6 deletions

4
.gitignore vendored
View File

@@ -1,6 +1,8 @@
/*
!/.gitea
!/.gitignore
!/.vscode/
!/CLAUDE.md
!/composer.*
!/phpcs.xml
!/wp-content/
@@ -16,4 +18,4 @@
!/wp-content/themes/
/wp-content/themes/*
!/wp-content/themes/.gitkeep
#!/wp-content/themes/wp-skeleton/
!/wp-content/themes/ccat/

5
.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,5 @@
{
"recommendations": [
"graphql.vscode-graphql-syntax"
]
}

9
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,9 @@
{
"files.associations": {
"*.css": "tailwindcss"
},
"editor.quickSuggestions": {
"strings": "on"
},
"graphql-config.load.rootDir": "wp-content/themes/ccat"
}

View File

@@ -1,6 +1,10 @@
{
"name": "wp-sites/wp-skeleton",
"name": "wp-sites/ccat",
"repositories": [
{
"type": "composer",
"url": "https://satis.ledevsimple.ca"
},
{
"type": "composer",
"url": "https://wpackagist.org"
@@ -14,5 +18,20 @@
"preferred-install": "dist",
"sort-packages": true
},
"require": {}
}
"require": {
"lewebsimple/acf-extended-pro": "*",
"lewebsimple/acf-polylang": "*",
"lewebsimple/admin-site-enhancements-pro": "*",
"lewebsimple/advanced-custom-fields-pro": "6.4.3",
"lewebsimple/ithemes-security-pro": "*",
"lewebsimple/kaliroots": "*",
"lewebsimple/wp-offload-ses": "*",
"wp-graphql/wp-graphql-jwt-authentication": "*",
"wpackagist-plugin/clean-image-filenames": "*",
"wpackagist-plugin/disable-comments": "*",
"wpackagist-plugin/redirection": "*",
"wpackagist-plugin/user-switching": "*",
"wpackagist-plugin/wp-graphql": "*",
"wpackagist-plugin/wpgraphql-acf": "*"
}
}

496
composer.lock generated
View File

@@ -4,8 +4,500 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "4aa995413150b1483d96d7b2d8d8e272",
"packages": [],
"content-hash": "7404139a6c60217cf6e5f80ac88be31f",
"packages": [
{
"name": "composer/installers",
"version": "v2.3.0",
"source": {
"type": "git",
"url": "https://github.com/composer/installers.git",
"reference": "12fb2dfe5e16183de69e784a7b84046c43d97e8e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/composer/installers/zipball/12fb2dfe5e16183de69e784a7b84046c43d97e8e",
"reference": "12fb2dfe5e16183de69e784a7b84046c43d97e8e",
"shasum": ""
},
"require": {
"composer-plugin-api": "^1.0 || ^2.0",
"php": "^7.2 || ^8.0"
},
"require-dev": {
"composer/composer": "^1.10.27 || ^2.7",
"composer/semver": "^1.7.2 || ^3.4.0",
"phpstan/phpstan": "^1.11",
"phpstan/phpstan-phpunit": "^1",
"symfony/phpunit-bridge": "^7.1.1",
"symfony/process": "^5 || ^6 || ^7"
},
"type": "composer-plugin",
"extra": {
"class": "Composer\\Installers\\Plugin",
"branch-alias": {
"dev-main": "2.x-dev"
},
"plugin-modifies-install-path": true
},
"autoload": {
"psr-4": {
"Composer\\Installers\\": "src/Composer/Installers"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Kyle Robinson Young",
"email": "kyle@dontkry.com",
"homepage": "https://github.com/shama"
}
],
"description": "A multi-framework Composer library installer",
"homepage": "https://composer.github.io/installers/",
"keywords": [
"Dolibarr",
"Eliasis",
"Hurad",
"ImageCMS",
"Kanboard",
"Lan Management System",
"MODX Evo",
"MantisBT",
"Mautic",
"Maya",
"OXID",
"Plentymarkets",
"Porto",
"RadPHP",
"SMF",
"Starbug",
"Thelia",
"Whmcs",
"WolfCMS",
"agl",
"annotatecms",
"attogram",
"bitrix",
"cakephp",
"chef",
"cockpit",
"codeigniter",
"concrete5",
"concreteCMS",
"croogo",
"dokuwiki",
"drupal",
"eZ Platform",
"elgg",
"expressionengine",
"fuelphp",
"grav",
"installer",
"itop",
"known",
"kohana",
"laravel",
"lavalite",
"lithium",
"magento",
"majima",
"mako",
"matomo",
"mediawiki",
"miaoxing",
"modulework",
"modx",
"moodle",
"osclass",
"pantheon",
"phpbb",
"piwik",
"ppi",
"processwire",
"puppet",
"pxcms",
"reindex",
"roundcube",
"shopware",
"silverstripe",
"sydes",
"sylius",
"tastyigniter",
"wordpress",
"yawik",
"zend",
"zikula"
],
"support": {
"issues": "https://github.com/composer/installers/issues",
"source": "https://github.com/composer/installers/tree/v2.3.0"
},
"funding": [
{
"url": "https://packagist.com",
"type": "custom"
},
{
"url": "https://github.com/composer",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/composer/composer",
"type": "tidelift"
}
],
"time": "2024-06-24T20:46:46+00:00"
},
{
"name": "firebase/php-jwt",
"version": "v6.11.1",
"source": {
"type": "git",
"url": "https://github.com/firebase/php-jwt.git",
"reference": "d1e91ecf8c598d073d0995afa8cd5c75c6e19e66"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/firebase/php-jwt/zipball/d1e91ecf8c598d073d0995afa8cd5c75c6e19e66",
"reference": "d1e91ecf8c598d073d0995afa8cd5c75c6e19e66",
"shasum": ""
},
"require": {
"php": "^8.0"
},
"require-dev": {
"guzzlehttp/guzzle": "^7.4",
"phpspec/prophecy-phpunit": "^2.0",
"phpunit/phpunit": "^9.5",
"psr/cache": "^2.0||^3.0",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0"
},
"suggest": {
"ext-sodium": "Support EdDSA (Ed25519) signatures",
"paragonie/sodium_compat": "Support EdDSA (Ed25519) signatures when libsodium is not present"
},
"type": "library",
"autoload": {
"psr-4": {
"Firebase\\JWT\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"authors": [
{
"name": "Neuman Vong",
"email": "neuman+pear@twilio.com",
"role": "Developer"
},
{
"name": "Anant Narayanan",
"email": "anant@php.net",
"role": "Developer"
}
],
"description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.",
"homepage": "https://github.com/firebase/php-jwt",
"keywords": [
"jwt",
"php"
],
"support": {
"issues": "https://github.com/firebase/php-jwt/issues",
"source": "https://github.com/firebase/php-jwt/tree/v6.11.1"
},
"time": "2025-04-09T20:32:01+00:00"
},
{
"name": "lewebsimple/acf-extended-pro",
"version": "v0.9.1",
"source": {
"type": "git",
"url": "ssh://git@gitlab.ledevsimple.ca:222/wp-plugins/acf-extended-pro.git",
"reference": "123a9cb62feeb020b495f9963ce0c78529970d89"
},
"dist": {
"type": "zip",
"url": "https://satis.ledevsimple.ca/dist/lewebsimple/acf-extended-pro/lewebsimple-acf-extended-pro-v0.9.1-72f8d5.zip",
"reference": "123a9cb62feeb020b495f9963ce0c78529970d89",
"shasum": "9fb98d03a632cd9310c32cb7185431ebce6cc337"
},
"type": "wordpress-plugin",
"time": "2025-02-25T14:28:04+00:00"
},
{
"name": "lewebsimple/acf-polylang",
"version": "v1.4.0",
"source": {
"type": "git",
"url": "ssh://git@gitlab.ledevsimple.ca:222/wp-plugins/acf-polylang.git",
"reference": "3998e44ccc400bd6233c98364df03a4f6db4f7b0"
},
"dist": {
"type": "zip",
"url": "https://satis.ledevsimple.ca/dist/lewebsimple/acf-polylang/lewebsimple-acf-polylang-v1.4.0-d64a6e.zip",
"reference": "3998e44ccc400bd6233c98364df03a4f6db4f7b0",
"shasum": "1cb04729c3991e538bc38b3ef2371f9cbe47aea6"
},
"type": "wordpress-plugin",
"time": "2025-04-11T12:05:23+00:00"
},
{
"name": "lewebsimple/admin-site-enhancements-pro",
"version": "v7.9.2",
"source": {
"type": "git",
"url": "ssh://git@gitlab.ledevsimple.ca:222/wp-plugins/admin-site-enhancements-pro.git",
"reference": "01b95e4a6da08543cd69b0d30485b221e032352e"
},
"dist": {
"type": "zip",
"url": "https://satis.ledevsimple.ca/dist/lewebsimple/admin-site-enhancements-pro/lewebsimple-admin-site-enhancements-pro-v7.9.2-83c8f1.zip",
"reference": "01b95e4a6da08543cd69b0d30485b221e032352e",
"shasum": "6a447b4255483b32a9c1e319d2fbbbb7e58e5d18"
},
"type": "wordpress-plugin",
"time": "2025-07-22T14:09:35+00:00"
},
{
"name": "lewebsimple/advanced-custom-fields-pro",
"version": "v6.4.3",
"source": {
"type": "git",
"url": "ssh://git@gitlab.ledevsimple.ca:222/wp-plugins/advanced-custom-fields-pro.git",
"reference": "9e4bb1f624589e4718cb4b58e44916ebc859f659"
},
"dist": {
"type": "zip",
"url": "https://satis.ledevsimple.ca/dist/lewebsimple/advanced-custom-fields-pro/lewebsimple-advanced-custom-fields-pro-v6.4.3-eea950.zip",
"reference": "9e4bb1f624589e4718cb4b58e44916ebc859f659",
"shasum": "4c027c55c91e54dc1d207d9c3adf53398fcb1348"
},
"type": "wordpress-plugin",
"time": "2025-07-22T14:16:09+00:00"
},
{
"name": "lewebsimple/ithemes-security-pro",
"version": "v8.5.8",
"source": {
"type": "git",
"url": "ssh://git@gitlab.ledevsimple.ca:222/wp-plugins/ithemes-security-pro.git",
"reference": "d9b6bd9368baef4b8775928c04eaa5d1bdfb004d"
},
"dist": {
"type": "zip",
"url": "https://satis.ledevsimple.ca/dist/lewebsimple/ithemes-security-pro/lewebsimple-ithemes-security-pro-v8.5.8-c0732d.zip",
"reference": "d9b6bd9368baef4b8775928c04eaa5d1bdfb004d",
"shasum": "2940032a3bfb6f7c7773e4e210fdfed2df554985"
},
"type": "wordpress-plugin",
"time": "2025-07-22T14:11:07+00:00"
},
{
"name": "lewebsimple/kaliroots",
"version": "v0.9.17",
"source": {
"type": "git",
"url": "ssh://git@gitlab.ledevsimple.ca:222/wp-themes/kaliroots.git",
"reference": "a9cf1340420b4c36800e67dbb6641141d1d27b9b"
},
"dist": {
"type": "zip",
"url": "https://satis.ledevsimple.ca/dist/lewebsimple/kaliroots/lewebsimple-kaliroots-v0.9.17-b18806.zip",
"reference": "a9cf1340420b4c36800e67dbb6641141d1d27b9b",
"shasum": "88a98020c7feb584b055d3aae30e937461933095"
},
"type": "wordpress-theme",
"time": "2025-04-10T12:17:27+00:00"
},
{
"name": "lewebsimple/wp-offload-ses",
"version": "v1.6.8",
"source": {
"type": "git",
"url": "ssh://git@gitlab.ledevsimple.ca:222/wp-plugins/wp-offload-ses.git",
"reference": "7b6046d329e96da3a5f6714cd73e14172d9e7840"
},
"dist": {
"type": "zip",
"url": "https://satis.ledevsimple.ca/dist/lewebsimple/wp-offload-ses/lewebsimple-wp-offload-ses-v1.6.8-368121.zip",
"reference": "7b6046d329e96da3a5f6714cd73e14172d9e7840",
"shasum": "dd0d6ff96a3c6cd6abe248ad53287a47b6f78de3"
},
"type": "wordpress-plugin",
"time": "2025-01-09T15:43:07+00:00"
},
{
"name": "wp-graphql/wp-graphql-jwt-authentication",
"version": "v0.7.0",
"source": {
"type": "git",
"url": "https://github.com/wp-graphql/wp-graphql-jwt-authentication.git",
"reference": "5de35ce97efcae2beeb9118e1ad458480ae6187b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/wp-graphql/wp-graphql-jwt-authentication/zipball/5de35ce97efcae2beeb9118e1ad458480ae6187b",
"reference": "5de35ce97efcae2beeb9118e1ad458480ae6187b",
"shasum": ""
},
"require": {
"firebase/php-jwt": "^6.1.0"
},
"require-dev": {
"codeception/module-asserts": "^1.0",
"codeception/module-cli": "^1.0",
"codeception/module-db": "^1.0",
"codeception/module-filesystem": "^1.0",
"codeception/module-phpbrowser": "^1.0",
"codeception/module-rest": "^1.2",
"codeception/module-webdriver": "^1.0",
"codeception/util-universalframework": "^1.0",
"lucatume/wp-browser": "3.1.0",
"phpunit/phpunit": "^8.5"
},
"type": "wordpress-plugin",
"autoload": {
"psr-4": {
"WPGraphQL\\JWT_Authentication\\": "src/"
},
"classmap": [
"src/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-3.0+"
],
"authors": [
{
"name": "jasonbahl",
"email": "jasonbahl@mac.com"
}
],
"description": "JWT Authentication for WPGraphQL",
"support": {
"issues": "https://github.com/wp-graphql/wp-graphql-jwt-authentication/issues",
"source": "https://github.com/wp-graphql/wp-graphql-jwt-authentication/tree/v0.7.0"
},
"time": "2023-03-31T21:57:48+00:00"
},
{
"name": "wpackagist-plugin/clean-image-filenames",
"version": "1.5",
"source": {
"type": "svn",
"url": "https://plugins.svn.wordpress.org/clean-image-filenames/",
"reference": "tags/1.5"
},
"dist": {
"type": "zip",
"url": "https://downloads.wordpress.org/plugin/clean-image-filenames.1.5.zip"
},
"require": {
"composer/installers": "^1.0 || ^2.0"
},
"type": "wordpress-plugin",
"homepage": "https://wordpress.org/plugins/clean-image-filenames/"
},
{
"name": "wpackagist-plugin/disable-comments",
"version": "2.5.2",
"source": {
"type": "svn",
"url": "https://plugins.svn.wordpress.org/disable-comments/",
"reference": "tags/2.5.2"
},
"dist": {
"type": "zip",
"url": "https://downloads.wordpress.org/plugin/disable-comments.2.5.2.zip"
},
"require": {
"composer/installers": "^1.0 || ^2.0"
},
"type": "wordpress-plugin",
"homepage": "https://wordpress.org/plugins/disable-comments/"
},
{
"name": "wpackagist-plugin/redirection",
"version": "5.5.2",
"source": {
"type": "svn",
"url": "https://plugins.svn.wordpress.org/redirection/",
"reference": "tags/5.5.2"
},
"dist": {
"type": "zip",
"url": "https://downloads.wordpress.org/plugin/redirection.5.5.2.zip"
},
"require": {
"composer/installers": "^1.0 || ^2.0"
},
"type": "wordpress-plugin",
"homepage": "https://wordpress.org/plugins/redirection/"
},
{
"name": "wpackagist-plugin/user-switching",
"version": "1.10.0",
"source": {
"type": "svn",
"url": "https://plugins.svn.wordpress.org/user-switching/",
"reference": "tags/1.10.0"
},
"dist": {
"type": "zip",
"url": "https://downloads.wordpress.org/plugin/user-switching.1.10.0.zip"
},
"require": {
"composer/installers": "^1.0 || ^2.0"
},
"type": "wordpress-plugin",
"homepage": "https://wordpress.org/plugins/user-switching/"
},
{
"name": "wpackagist-plugin/wp-graphql",
"version": "2.3.3",
"source": {
"type": "svn",
"url": "https://plugins.svn.wordpress.org/wp-graphql/",
"reference": "tags/2.3.3"
},
"dist": {
"type": "zip",
"url": "https://downloads.wordpress.org/plugin/wp-graphql.2.3.3.zip"
},
"require": {
"composer/installers": "^1.0 || ^2.0"
},
"type": "wordpress-plugin",
"homepage": "https://wordpress.org/plugins/wp-graphql/"
},
{
"name": "wpackagist-plugin/wpgraphql-acf",
"version": "2.4.1",
"source": {
"type": "svn",
"url": "https://plugins.svn.wordpress.org/wpgraphql-acf/",
"reference": "tags/2.4.1"
},
"dist": {
"type": "zip",
"url": "https://downloads.wordpress.org/plugin/wpgraphql-acf.2.4.1.zip"
},
"require": {
"composer/installers": "^1.0 || ^2.0"
},
"type": "wordpress-plugin",
"homepage": "https://wordpress.org/plugins/wpgraphql-acf/"
}
],
"packages-dev": [],
"aliases": [],
"minimum-stability": "stable",

26
wp-content/themes/ccat/.gitignore vendored Normal file
View File

@@ -0,0 +1,26 @@
# Nuxt dev/build outputs
.output
.data
.nuxt
.nitro
.cache
dist
# Node dependencies
node_modules
# Logs
logs
*.log
# Misc
.DS_Store
.fleet
.idea
# Local env files
.env
.env.*
!.env.example
.wrangler

View File

@@ -0,0 +1,7 @@
module.exports = {
templates: `../kaliroots/_templates`,
helpers: {
description: "CCAT",
textdomain: "ccat",
},
};

View File

@@ -0,0 +1,144 @@
<?php
__( "Abstract &#8211; Builder", 'ccat' );
__( "Abstract &#8211; Credits", 'ccat' );
__( "Abstract &#8211; Entity", 'ccat' );
__( "Abstract &#8211; Gallery", 'ccat' );
__( "Abstract &#8211; Offer", 'ccat' );
__( "Abstract &#8211; Social", 'ccat' );
__( "Add File", 'ccat' );
__( "Address", 'ccat' );
__( "Adultes (18+)", 'ccat' );
__( "Ajouter un élément", 'ccat' );
__( "Alternative title(s)", 'ccat' );
__( "Attendance mode", 'ccat' );
__( "Auteur", 'ccat' );
__( "Bar", 'ccat' );
__( "Billing", 'ccat' );
__( "Builder", 'ccat' );
__( "Cancelled", 'ccat' );
__( "Categorie(s)", 'ccat' );
__( "Category", 'ccat' );
__( "Complete", 'ccat' );
__( "Compositeur", 'ccat' );
__( "Configuration", 'ccat' );
__( "Configuration name", 'ccat' );
__( "Confirmed", 'ccat' );
__( "Content", 'ccat' );
__( "Contribution type(s)", 'ccat' );
__( "Contribution(s)", 'ccat' );
__( "Contributor", 'ccat' );
__( "Contributor type", 'ccat' );
__( "Credits", 'ccat' );
__( "Date / time", 'ccat' );
__( "Date range", 'ccat' );
__( "Day(s)", 'ccat' );
__( "Description", 'ccat' );
__( "Discipline(s)", 'ccat' );
__( "Document type", 'ccat' );
__( "Document(s)", 'ccat' );
__( "Email", 'ccat' );
__( "Email preferences", 'ccat' );
__( "End date", 'ccat' );
__( "End month", 'ccat' );
__( "End time", 'ccat' );
__( "Enfants", 'ccat' );
__( "Entity", 'ccat' );
__( "Event", 'ccat' );
__( "Event type", 'ccat' );
__( "Event type(s)", 'ccat' );
__( "Exposition", 'ccat' );
__( "Failed", 'ccat' );
__( "Familial", 'ccat' );
__( "Festival", 'ccat' );
__( "File", 'ccat' );
__( "Form", 'ccat' );
__( "Free", 'ccat' );
__( "Gallery", 'ccat' );
__( "H:i", 'ccat' );
__( "Hybrid", 'ccat' );
__( "Identifier(s)", 'ccat' );
__( "Image", 'ccat' );
__( "In-person", 'ccat' );
__( "Individual day(s)", 'ccat' );
__( "Individual profile", 'ccat' );
__( "Interprète", 'ccat' );
__( "Is asynchronous", 'ccat' );
__( "Language(s)", 'ccat' );
__( "Locality", 'ccat' );
__( "Location", 'ccat' );
__( "Location type", 'ccat' );
__( "MRC", 'ccat' );
__( "Managed contributor", 'ccat' );
__( "Media type", 'ccat' );
__( "Media(s)", 'ccat' );
__( "Membership plan", 'ccat' );
__( "Membership(s)", 'ccat' );
__( "Membre (individu)", 'ccat' );
__( "Membre (organisation)", 'ccat' );
__( "Message", 'ccat' );
__( "Minimum price", 'ccat' );
__( "Moral entity", 'ccat' );
__( "Multiple day(s)", 'ccat' );
__( "Name", 'ccat' );
__( "Notification(s)", 'ccat' );
__( "Offer", 'ccat' );
__( "Offer status", 'ccat' );
__( "Online", 'ccat' );
__( "Options page &#8211; CCAT", 'ccat' );
__( "Organization profile", 'ccat' );
__( "Period", 'ccat' );
__( "Person name", 'ccat' );
__( "Phone", 'ccat' );
__( "Physical person", 'ccat' );
__( "Planned", 'ccat' );
__( "Possible configuration(s)", 'ccat' );
__( "Post &#8211; Article", 'ccat' );
__( "Post &#8211; Contributor", 'ccat' );
__( "Post &#8211; Event", 'ccat' );
__( "Post &#8211; Location", 'ccat' );
__( "Post &#8211; Membership", 'ccat' );
__( "Post &#8211; Page", 'ccat' );
__( "Post &#8211; Project", 'ccat' );
__( "Post &#8211; Representation", 'ccat' );
__( "Post &#8211; Resource", 'ccat' );
__( "Post &#8211; Template", 'ccat' );
__( "Postponed", 'ccat' );
__( "Pricing", 'ccat' );
__( "Profile(s)", 'ccat' );
__( "Range", 'ccat' );
__( "Rechercher une adresse...", 'ccat' );
__( "Registration", 'ccat' );
__( "Salle de spectacle", 'ccat' );
__( "Schedule type", 'ccat' );
__( "Search for address...", 'ccat' );
__( "Section(s)", 'ccat' );
__( "Select", 'ccat' );
__( "Sent", 'ccat' );
__( "Sent status", 'ccat' );
__( "Social", 'ccat' );
__( "Spectacle", 'ccat' );
__( "Start date", 'ccat' );
__( "Start date / time", 'ccat' );
__( "Start month", 'ccat' );
__( "Subject", 'ccat' );
__( "Target audience", 'ccat' );
__( "Term &#8211; Discipline", 'ccat' );
__( "Text block", 'ccat' );
__( "This event is asynchronous", 'ccat' );
__( "This event is free", 'ccat' );
__( "This event is wordless", 'ccat' );
__( "Title", 'ccat' );
__( "Tout public", 'ccat' );
__( "URI", 'ccat' );
__( "URL", 'ccat' );
__( "Universal access", 'ccat' );
__( "Upcoming", 'ccat' );
__( "User Profile", 'ccat' );
__( "Virtual location", 'ccat' );
__( "Where", 'ccat' );
__( "Wordless", 'ccat' );
__( "Y-m", 'ccat' );
__( "Y-m-d", 'ccat' );
__( "Y-m-d H:i:s", 'ccat' );
__( "YouTube URL", 'ccat' );
__( "YouTube video", 'ccat' );

View File

@@ -0,0 +1,103 @@
{
"key": "group_abstract_builder",
"title": "Abstract - Builder",
"fields": [
{
"key": "field_6852f7543a59d",
"label": "Section(s)",
"name": "sections",
"aria-label": "",
"type": "flexible_content",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layouts": {
"layout_6852f761e95b0": {
"key": "layout_6852f761e95b0",
"name": "text_block",
"label": "Text block",
"display": "block",
"sub_fields": [
{
"key": "field_6852f7963a59e",
"label": "Content",
"name": "content",
"aria-label": "",
"type": "wysiwyg",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"allow_in_bindings": 0,
"tabs": "all",
"toolbar": "full",
"media_upload": 1,
"delay": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "content",
"graphql_non_null": 0,
"acfe_wysiwyg_auto_init": 0,
"acfe_wysiwyg_height": 300,
"acfe_wysiwyg_min_height": 300,
"acfe_wysiwyg_max_height": "",
"acfe_wysiwyg_valid_elements": "",
"acfe_wysiwyg_custom_style": "",
"acfe_wysiwyg_disable_wp_style": 0,
"acfe_wysiwyg_autoresize": 0,
"acfe_wysiwyg_disable_resize": 0,
"acfe_wysiwyg_remove_path": 0,
"acfe_wysiwyg_menubar": 0,
"acfe_wysiwyg_transparent": 0,
"acfe_wysiwyg_merge_toolbar": 0,
"acfe_wysiwyg_custom_toolbar": 0,
"acfe_wysiwyg_toolbar_buttons": []
}
],
"min": "",
"max": ""
}
},
"min": "",
"max": "",
"button_label": "Ajouter un élément",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "sections",
"graphql_non_null": 0
}
],
"location": [
[
{
"param": "abstract"
}
]
],
"menu_order": 0,
"position": "acf_after_title",
"style": "seamless",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": [
"the_content"
],
"active": true,
"description": "",
"show_in_rest": 0,
"show_in_graphql": 1,
"graphql_field_name": "abstractBuilder",
"map_graphql_types_from_location_rules": 0,
"graphql_types": "",
"modified": 1750345147
}

View File

@@ -0,0 +1,141 @@
{
"key": "group_abstract_credits",
"title": "Abstract - Credits",
"fields": [
{
"key": "field_6855a1d0023fe",
"label": "Contribution(s)",
"name": "contributions",
"aria-label": "",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 0,
"layout": "table",
"pagination": 0,
"min": 0,
"max": 0,
"collapsed": "",
"button_label": "Ajouter un élément",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "contributions",
"graphql_non_null": 0,
"rows_per_page": 20,
"sub_fields": [
{
"key": "field_6855a215023ff",
"label": "Contribution type(s)",
"name": "contributionTypes",
"aria-label": "",
"type": "checkbox",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"Auteur": "Auteur",
"Compositeur": "Compositeur",
"Interprète": "Interprète"
},
"default_value": [],
"return_format": "value",
"min": "",
"max": "",
"required_message": "",
"allow_custom": 0,
"allow_in_bindings": 0,
"layout": "vertical",
"toggle": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "contributionTypes",
"graphql_non_null": 0,
"save_custom": 0,
"custom_choice_button_text": "Add new choice",
"parent_repeater": "field_6855a1d0023fe"
},
{
"key": "field_6855a32b94ad2",
"label": "Contributor",
"name": "contributor",
"aria-label": "",
"type": "post_object",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"post_type": [
"contributor"
],
"post_status": "",
"taxonomy": "",
"return_format": "object",
"multiple": 0,
"max": "",
"save_custom": 0,
"save_post_status": "publish",
"acfe_add_post": 0,
"acfe_edit_post": 0,
"acfe_bidirectional": {
"acfe_bidirectional_enabled": "0"
},
"allow_null": 0,
"allow_in_bindings": 0,
"bidirectional": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "contributor",
"graphql_connection_type": "one_to_many",
"ui": 1,
"bidirectional_target": [],
"save_post_type": "",
"min": "",
"parent_repeater": "field_6855a1d0023fe"
}
]
}
],
"location": [
[
{
"param": "abstract"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"acfe_autosync": [
"json"
],
"acfe_form": 0,
"acfe_display_title": "",
"show_in_graphql": 1,
"graphql_field_name": "abstractCredits",
"map_graphql_types_from_location_rules": 0,
"graphql_types": "",
"acfe_meta": "",
"acfe_note": "",
"modified": 1750771257
}

View File

@@ -0,0 +1,78 @@
{
"key": "group_abstract_entity",
"title": "Abstract - Entity",
"fields": [
{
"key": "field_685413d5154cf",
"label": "Identifier(s)",
"name": "identifiers",
"aria-label": "",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "table",
"pagination": 0,
"min": 0,
"max": 0,
"collapsed": "",
"button_label": "Ajouter un élément",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "identifiers",
"graphql_non_null": 0,
"rows_per_page": 20,
"sub_fields": [
{
"key": "field_685413ff154d0",
"label": "URI",
"name": "uri",
"aria-label": "",
"type": "url",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"allow_in_bindings": 0,
"placeholder": "",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "uri",
"graphql_non_null": 1,
"parent_repeater": "field_685413d5154cf"
}
]
}
],
"location": [
[
{
"param": "abstract"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"show_in_graphql": 1,
"graphql_field_name": "abstractEntity",
"map_graphql_types_from_location_rules": 0,
"graphql_types": "",
"modified": 1750344613
}

View File

@@ -0,0 +1,178 @@
{
"key": "group_abstract_gallery",
"title": "Abstract - Gallery",
"fields": [
{
"key": "field_6855a1d3e7299",
"label": "Media(s)",
"name": "medias",
"aria-label": "",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 0,
"layout": "block",
"pagination": 0,
"min": 0,
"max": 0,
"collapsed": "",
"button_label": "Ajouter un élément",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "medias",
"graphql_non_null": 0,
"rows_per_page": 20,
"sub_fields": [
{
"key": "field_6855a3abe729a",
"label": "Media type",
"name": "mediaType",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"image": "Image",
"youtube": "YouTube video"
},
"default_value": false,
"return_format": "value",
"multiple": 0,
"max": "",
"prepend": "",
"append": "",
"required_message": "",
"allow_null": 0,
"allow_in_bindings": 0,
"ui": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "mediaType",
"graphql_non_null": 1,
"ajax": 0,
"placeholder": "",
"create_options": 0,
"save_options": 0,
"allow_custom": 0,
"search_placeholder": "",
"min": "",
"parent_repeater": "field_6855a1d3e7299"
},
{
"key": "field_6855a3f1e729b",
"label": "Image",
"name": "image",
"aria-label": "",
"type": "image",
"instructions": "",
"required": 1,
"conditional_logic": [
[
{
"field": "field_6855a3abe729a",
"operator": "==",
"value": "image"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"uploader": "",
"return_format": "id",
"library": "all",
"upload_folder": "gallery",
"acfe_thumbnail": 0,
"required_message": "",
"min_width": "",
"min_height": "",
"min_size": "",
"max_width": "",
"max_height": "",
"max_size": "",
"mime_types": "",
"allow_in_bindings": 0,
"preview_size": "medium",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "image",
"parent_repeater": "field_6855a1d3e7299"
},
{
"key": "field_6855a40de729c",
"label": "YouTube URL",
"name": "youtube_url",
"aria-label": "",
"type": "url",
"instructions": "",
"required": 1,
"conditional_logic": [
[
{
"field": "field_6855a3abe729a",
"operator": "==",
"value": "youtube"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"required_message": "",
"allow_in_bindings": 0,
"placeholder": "",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "youtubeUrl",
"graphql_non_null": 1,
"parent_repeater": "field_6855a1d3e7299"
}
]
}
],
"location": [
[
{
"param": "abstract"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"acfe_autosync": [
"json"
],
"acfe_form": 0,
"acfe_display_title": "",
"show_in_graphql": 1,
"graphql_field_name": "abstractGallery",
"map_graphql_types_from_location_rules": 0,
"graphql_types": "",
"acfe_meta": "",
"acfe_note": "",
"modified": 1750771280
}

View File

@@ -0,0 +1,676 @@
{
"key": "group_abstract_offer",
"title": "Abstract - Offer",
"fields": [
{
"key": "field_6855a468a9535",
"label": "Attendance mode",
"name": "attendance_mode",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"offline": "In-person",
"online": "Online",
"mixed": "Hybrid"
},
"default_value": false,
"return_format": "value",
"multiple": 0,
"max": "",
"prepend": "",
"append": "",
"allow_null": 0,
"allow_in_bindings": 0,
"ui": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "attendanceMode",
"graphql_non_null": 1,
"ajax": 0,
"placeholder": "",
"create_options": 0,
"save_options": 0,
"allow_custom": 0,
"search_placeholder": "",
"min": ""
},
{
"key": "field_6893742e14a5d",
"label": "Is asynchronous",
"name": "is_async",
"aria-label": "",
"type": "true_false",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_6855a468a9535",
"operator": "==",
"value": "online"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "This event is asynchronous",
"default_value": 0,
"allow_in_bindings": 0,
"ui": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "isAsync",
"graphql_non_null": 0,
"ui_on_text": "",
"ui_off_text": "",
"style": ""
},
{
"key": "field_6855a4cba9536",
"label": "Offer status",
"name": "offer_status",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"upcoming": "Upcoming",
"confirmed": "Confirmed",
"complette": "Complete",
"cancelled": "Cancelled",
"postponed": "Postponed"
},
"default_value": false,
"return_format": "value",
"multiple": 0,
"max": "",
"prepend": "",
"append": "",
"allow_null": 0,
"allow_in_bindings": 0,
"ui": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "offerStatus",
"graphql_non_null": 0,
"ajax": 0,
"placeholder": "",
"create_options": 0,
"save_options": 0,
"allow_custom": 0,
"search_placeholder": "",
"min": ""
},
{
"key": "field_6855a52fa9537",
"label": "Where",
"name": "where",
"aria-label": "",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_6855a468a9535",
"operator": "==",
"value": "offline"
}
],
[
{
"field": "field_6855a468a9535",
"operator": "==",
"value": "mixed"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 0,
"acfe_group_modal": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "where",
"graphql_non_null": 0,
"acfe_group_modal_close": 0,
"acfe_group_modal_button": "",
"acfe_group_modal_size": "large",
"sub_fields": [
{
"key": "field_6855a55fa9539",
"label": "Location",
"name": "location",
"aria-label": "",
"type": "post_object",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"post_type": [
"location"
],
"post_status": "",
"taxonomy": "",
"return_format": "object",
"multiple": 0,
"max": "",
"save_custom": 0,
"save_post_status": "publish",
"acfe_add_post": 0,
"acfe_edit_post": 0,
"acfe_bidirectional": {
"acfe_bidirectional_enabled": "0"
},
"allow_null": 0,
"allow_in_bindings": 0,
"bidirectional": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "location",
"graphql_connection_type": "one_to_many",
"ui": 1,
"bidirectional_target": [],
"save_post_type": "",
"min": ""
},
{
"key": "field_6855a57aa953a",
"label": "Configuration",
"name": "configuration",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": [],
"default_value": false,
"return_format": "value",
"multiple": 0,
"max": "",
"prepend": "",
"append": "",
"allow_null": 0,
"allow_in_bindings": 0,
"ui": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "configuration",
"graphql_non_null": 0,
"ajax": 0,
"placeholder": "",
"create_options": 0,
"save_options": 0,
"allow_custom": 0,
"search_placeholder": "",
"min": ""
}
]
},
{
"key": "field_6855a5b71c2fc",
"label": "Pricing",
"name": "pricing",
"aria-label": "",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "table",
"acfe_seamless_style": 0,
"acfe_group_modal": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "pricing",
"graphql_non_null": 0,
"acfe_group_modal_close": 0,
"acfe_group_modal_button": "",
"acfe_group_modal_size": "large",
"sub_fields": [
{
"key": "field_6855a5c81c2fd",
"label": "Free",
"name": "is_free",
"aria-label": "",
"type": "true_false",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "This event is free",
"default_value": 0,
"allow_in_bindings": 0,
"ui": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "isFree",
"graphql_non_null": 0,
"ui_on_text": "",
"ui_off_text": "",
"style": ""
},
{
"key": "field_6855a5ef1c2fe",
"label": "Minimum price",
"name": "min_price",
"aria-label": "",
"type": "number",
"instructions": "",
"required": 1,
"conditional_logic": [
[
{
"field": "field_6855a5c81c2fd",
"operator": "!=",
"value": "1"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"required_message": "",
"min": 0,
"max": "",
"allow_in_bindings": 0,
"placeholder": "",
"step": "",
"prepend": "",
"append": "",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "minPrice",
"graphql_non_null": 0
}
]
},
{
"key": "field_685413d61fcd7",
"label": "Registration",
"name": "registration",
"aria-label": "",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "registration",
"graphql_non_null": 0,
"acfe_seamless_style": 0,
"acfe_group_modal": 0,
"acfe_group_modal_close": 0,
"acfe_group_modal_button": "",
"acfe_group_modal_size": "large",
"sub_fields": [
{
"key": "field_685414eaf5192",
"label": "Form",
"name": "form",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": [],
"default_value": false,
"return_format": "value",
"multiple": 0,
"max": "",
"prepend": "",
"append": "",
"allow_null": 0,
"allow_in_bindings": 0,
"ui": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "form",
"graphql_non_null": 1,
"ajax": 0,
"placeholder": "",
"create_options": 0,
"save_options": 0,
"allow_custom": 0,
"search_placeholder": "",
"min": ""
},
{
"key": "field_68541509f5193",
"label": "URL",
"name": "url",
"aria-label": "",
"type": "url",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"allow_in_bindings": 0,
"placeholder": "",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "url",
"graphql_non_null": 1
},
{
"key": "field_6855a6d81c300",
"label": "Email",
"name": "email",
"aria-label": "",
"type": "email",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"graphql_field_name": "email",
"default_value": "",
"allow_in_bindings": 0,
"placeholder": "",
"prepend": "",
"append": "",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_non_null": 0
},
{
"key": "field_6855a68f1c2ff",
"label": "Phone",
"name": "phone",
"aria-label": "",
"type": "acfe_phone_number",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"countries": [
"ca"
],
"preferred_countries": "",
"default_country": "ca",
"geolocation": 0,
"native": 0,
"national": 1,
"dropdown": 0,
"dial_code": 0,
"default_value": "",
"placeholder": "",
"return_format": "number",
"allow_in_bindings": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "phone",
"graphql_non_null": 0,
"geolocation_token": ""
}
]
},
{
"key": "field_6855a6fd1c301",
"label": "Notification(s)",
"name": "notifications",
"aria-label": "",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 0,
"layout": "block",
"pagination": 0,
"min": 0,
"max": 0,
"collapsed": "",
"button_label": "Ajouter un élément",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "notifications",
"graphql_non_null": 0,
"rows_per_page": 20,
"sub_fields": [
{
"key": "field_6855a70c1c302",
"label": "Date \/ time",
"name": "date_time",
"aria-label": "",
"type": "date_time_picker",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"display_format": "Y-m-d H:i:s",
"return_format": "Y-m-d H:i:s",
"first_day": 0,
"placeholder": "",
"min_date": "",
"max_date": "",
"min_time": "",
"max_time": "",
"no_weekends": 0,
"min_hour": "",
"max_hour": "",
"min_min": "",
"max_min": "",
"min_sec": "",
"max_sec": "",
"required_message": "",
"allow_in_bindings": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "dateTime",
"graphql_non_null": 1,
"parent_repeater": "field_6855a6fd1c301"
},
{
"key": "field_6855a7491c303",
"label": "Subject",
"name": "subject",
"aria-label": "",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"required_message": "",
"maxlength": "",
"allow_in_bindings": 0,
"placeholder": "",
"prepend": "",
"append": "",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "subject",
"graphql_non_null": 1,
"parent_repeater": "field_6855a6fd1c301"
},
{
"key": "field_6855a7551c304",
"label": "Message",
"name": "message",
"aria-label": "",
"type": "wysiwyg",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"acfe_wysiwyg_auto_init": 0,
"acfe_wysiwyg_height": 300,
"acfe_wysiwyg_max_height": "",
"acfe_wysiwyg_valid_elements": "",
"acfe_wysiwyg_custom_style": "",
"acfe_wysiwyg_disable_wp_style": 0,
"acfe_wysiwyg_autoresize": 0,
"acfe_wysiwyg_disable_resize": 0,
"acfe_wysiwyg_remove_path": 0,
"acfe_wysiwyg_menubar": 0,
"acfe_wysiwyg_transparent": 0,
"acfe_wysiwyg_merge_toolbar": 0,
"acfe_wysiwyg_custom_toolbar": 0,
"allow_in_bindings": 0,
"tabs": "all",
"toolbar": "basic",
"media_upload": 0,
"delay": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "message",
"graphql_non_null": 1,
"acfe_wysiwyg_min_height": 300,
"acfe_wysiwyg_toolbar_buttons": [],
"parent_repeater": "field_6855a6fd1c301"
},
{
"key": "field_6855a7771c305",
"label": "Sent status",
"name": "sent_status",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"planned": "Planned",
"sent": "Sent",
"failed": "Failed"
},
"default_value": "planned",
"return_format": "value",
"multiple": 0,
"max": "",
"prepend": "",
"append": "",
"allow_null": 0,
"allow_in_bindings": 0,
"ui": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "sentStatus",
"graphql_non_null": 1,
"ajax": 0,
"placeholder": "",
"create_options": 0,
"save_options": 0,
"allow_custom": 0,
"search_placeholder": "",
"min": "",
"parent_repeater": "field_6855a6fd1c301"
}
]
}
],
"location": [
[
{
"param": "abstract"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"acfe_autosync": [
"json"
],
"acfe_form": 0,
"acfe_display_title": "",
"show_in_graphql": 1,
"graphql_field_name": "abstractOffer",
"map_graphql_types_from_location_rules": 0,
"graphql_types": "",
"acfe_meta": "",
"acfe_note": "",
"modified": 1754494059
}

View File

@@ -0,0 +1,86 @@
{
"key": "group_abstract_social",
"title": "Abstract - Social",
"fields": [
{
"key": "field_6855a1d643408",
"label": "Profile(s)",
"name": "profiles",
"aria-label": "",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 0,
"layout": "table",
"pagination": 0,
"min": 0,
"max": 0,
"collapsed": "",
"button_label": "Ajouter un élément",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "profiles",
"graphql_non_null": 1,
"rows_per_page": 20,
"sub_fields": [
{
"key": "field_6855a7e143409",
"label": "URL",
"name": "url",
"aria-label": "",
"type": "url",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"allow_in_bindings": 0,
"placeholder": "",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "url",
"graphql_non_null": 1,
"parent_repeater": "field_6855a1d643408"
}
]
}
],
"location": [
[
{
"param": "abstract"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "default",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"acfe_autosync": [
"json"
],
"acfe_form": 0,
"acfe_display_title": "",
"show_in_graphql": 1,
"graphql_field_name": "abstractSocial",
"map_graphql_types_from_location_rules": 0,
"graphql_types": "",
"acfe_meta": "",
"acfe_note": "",
"modified": 1756232042
}

View File

@@ -0,0 +1,64 @@
{
"key": "group_options_page_ccat",
"title": "Options page - CCAT",
"fields": [
{
"key": "field_68adf40b2137e",
"label": "Social",
"name": "social",
"aria-label": "",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"graphql_field_name": "social",
"clone": [
"group_abstract_social"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0,
"acfe_seamless_style": 0,
"acfe_clone_modal": 0,
"acfe_clone_modal_close": 0,
"acfe_clone_modal_button": "",
"acfe_clone_modal_size": "large"
}
],
"location": [
[
{
"param": "options_page",
"operator": "==",
"value": "site-options"
}
]
],
"menu_order": 0,
"position": "acf_after_title",
"style": "seamless",
"label_placement": "left",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"acfe_autosync": [
"json"
],
"acfe_form": 0,
"acfe_display_title": "",
"show_in_graphql": 1,
"graphql_field_name": "ccat",
"map_graphql_types_from_location_rules": 0,
"graphql_types": "",
"acfe_meta": "",
"acfe_note": "",
"modified": 1756231316
}

View File

@@ -0,0 +1,66 @@
{
"key": "group_post_article",
"title": "Post - Article",
"fields": [
{
"key": "field_6854179875ccc",
"label": "Builder",
"name": "builder",
"aria-label": "",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"graphql_field_name": "builder",
"clone": [
"group_abstract_builder"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0,
"acfe_seamless_style": 0,
"acfe_clone_modal": 0,
"acfe_clone_modal_close": 0,
"acfe_clone_modal_button": "",
"acfe_clone_modal_size": "large"
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "post"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "seamless",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": [
"the_content"
],
"active": true,
"description": "",
"show_in_rest": 0,
"acfe_autosync": [
"json"
],
"acfe_form": 0,
"acfe_display_title": "",
"show_in_graphql": 1,
"graphql_field_name": "postArticle",
"map_graphql_types_from_location_rules": 0,
"graphql_types": "",
"acfe_meta": "",
"acfe_note": "",
"modified": 1750444933
}

View File

@@ -0,0 +1,359 @@
{
"key": "group_post_contributor",
"title": "Post - Contributor",
"fields": [
{
"key": "field_6855abf989365",
"label": "Contributor type",
"name": "contributor_type",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"individual": "Physical person",
"organisation": "Moral entity"
},
"default_value": false,
"return_format": "value",
"multiple": 0,
"max": "",
"allow_custom": 0,
"placeholder": "",
"search_placeholder": "",
"prepend": "",
"append": "",
"allow_null": 0,
"allow_in_bindings": 0,
"ui": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "contributorType",
"graphql_non_null": 1,
"ajax": 0,
"create_options": 0,
"save_options": 0,
"min": ""
},
{
"key": "field_685aa139687d0",
"label": "Alternative title(s)",
"name": "alternative_titles",
"aria-label": "",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 0,
"layout": "table",
"pagination": 0,
"min": 0,
"max": 0,
"collapsed": "",
"button_label": "Ajouter un élément",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "alternativeTitles",
"graphql_non_null": 0,
"rows_per_page": 20,
"sub_fields": [
{
"key": "field_685aa143687d1",
"label": "Name",
"name": "name",
"aria-label": "",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"required_message": "",
"maxlength": "",
"allow_in_bindings": 0,
"placeholder": "",
"prepend": "",
"append": "",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "name",
"graphql_non_null": 0,
"parent_repeater": "field_685aa139687d0"
}
]
},
{
"key": "field_6855acbe89366",
"label": "Description",
"name": "description",
"aria-label": "",
"type": "wysiwyg",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"acfe_wysiwyg_auto_init": 0,
"acfe_wysiwyg_height": 300,
"acfe_wysiwyg_max_height": "",
"acfe_wysiwyg_valid_elements": "",
"acfe_wysiwyg_custom_style": "",
"acfe_wysiwyg_disable_wp_style": 0,
"acfe_wysiwyg_autoresize": 0,
"acfe_wysiwyg_disable_resize": 0,
"acfe_wysiwyg_remove_path": 0,
"acfe_wysiwyg_menubar": 0,
"acfe_wysiwyg_transparent": 0,
"acfe_wysiwyg_merge_toolbar": 0,
"acfe_wysiwyg_custom_toolbar": 0,
"allow_in_bindings": 0,
"tabs": "all",
"toolbar": "basic",
"media_upload": 0,
"delay": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "description",
"graphql_non_null": 0,
"acfe_wysiwyg_min_height": 300,
"acfe_wysiwyg_toolbar_buttons": []
},
{
"key": "field_685aa158687d2",
"label": "Locality",
"name": "locality",
"aria-label": "",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 0,
"layout": "table",
"pagination": 0,
"min": 0,
"max": 0,
"collapsed": "",
"button_label": "Ajouter un élément",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "locality",
"graphql_non_null": 0,
"rows_per_page": 20,
"sub_fields": [
{
"key": "field_685aa164687d3",
"label": "Address",
"name": "address",
"aria-label": "",
"type": "acfe_address",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"graphql_field_name": "address",
"placeholder": "Rechercher une adresse...",
"countries": "",
"search_type": "(cities)",
"geolocation": 1,
"custom_address": 0,
"prepend": "",
"append": "",
"api_key": "",
"fields": {
"row-2": {
"field": "country_short",
"name": "country"
},
"row-1": {
"field": "state",
"name": "state"
},
"685aa185687d4": {
"field": "city",
"name": "city"
}
},
"allow_in_bindings": 0,
"default_value": "",
"parent_repeater": "field_685aa158687d2"
}
]
},
{
"key": "field_686d1b6d1d312",
"label": "Discipline(s)",
"name": "disciplines",
"aria-label": "",
"type": "taxonomy",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"taxonomy": "discipline",
"add_term": 0,
"save_terms": 1,
"load_terms": 1,
"return_format": "id",
"field_type": "multi_select",
"min": "",
"max": "",
"allow_null": 0,
"acfe_bidirectional": {
"acfe_bidirectional_enabled": "0"
},
"allow_in_bindings": 0,
"bidirectional": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "disciplines",
"multiple": 0,
"bidirectional_target": []
},
{
"key": "field_685413d729ff3",
"label": "Entity",
"name": "entity",
"aria-label": "",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"graphql_field_name": "entity",
"clone": [
"group_abstract_entity"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0,
"acfe_seamless_style": 0,
"acfe_clone_modal": 0,
"acfe_clone_modal_close": 0,
"acfe_clone_modal_button": "",
"acfe_clone_modal_size": "large"
},
{
"key": "field_6855abc477aa4",
"label": "Gallery",
"name": "gallery",
"aria-label": "",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"graphql_field_name": "gallery",
"clone": [
"group_abstract_gallery"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0,
"acfe_seamless_style": 0,
"acfe_clone_modal": 0,
"acfe_clone_modal_close": 0,
"acfe_clone_modal_button": "",
"acfe_clone_modal_size": "large"
},
{
"key": "field_6855abd377aa5",
"label": "Social",
"name": "social",
"aria-label": "",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"graphql_field_name": "social",
"clone": [
"group_abstract_social"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0,
"acfe_seamless_style": 0,
"acfe_clone_modal": 0,
"acfe_clone_modal_close": 0,
"acfe_clone_modal_button": "",
"acfe_clone_modal_size": "large"
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "contributor"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "seamless",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"acfe_autosync": [
"json"
],
"acfe_form": 0,
"acfe_display_title": "",
"show_in_graphql": 1,
"graphql_field_name": "postContributor",
"map_graphql_types_from_location_rules": 0,
"graphql_types": "",
"acfe_meta": "",
"acfe_note": "",
"modified": 1751980995
}

View File

@@ -0,0 +1,375 @@
{
"key": "group_post_event",
"title": "Post - Event",
"fields": [
{
"key": "field_6855acf55b1f5",
"label": "Event type",
"name": "event_type",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"Exposition": "Exposition",
"Festival": "Festival",
"Spectacle": "Spectacle"
},
"default_value": false,
"return_format": "value",
"multiple": 0,
"max": "",
"allow_custom": 0,
"search_placeholder": "",
"prepend": "",
"append": "",
"allow_null": 0,
"allow_in_bindings": 0,
"ui": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "eventType",
"graphql_non_null": 1,
"ajax": 0,
"placeholder": "",
"create_options": 0,
"save_options": 0,
"min": ""
},
{
"key": "field_6855ad5b6f027",
"label": "Target audience",
"name": "target_audience",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"Tout public": "Tout public",
"Enfants": "Enfants",
"Familial": "Familial",
"Adultes (18+)": "Adultes (18+)"
},
"default_value": "Tout public",
"return_format": "value",
"multiple": 0,
"max": "",
"prepend": "",
"append": "",
"allow_null": 0,
"allow_in_bindings": 0,
"ui": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "targetAudience",
"graphql_non_null": 1,
"ajax": 0,
"placeholder": "",
"create_options": 0,
"save_options": 0,
"allow_custom": 0,
"search_placeholder": "",
"min": ""
},
{
"key": "field_6855ad2d6f026",
"label": "Description",
"name": "description",
"aria-label": "",
"type": "wysiwyg",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"acfe_wysiwyg_auto_init": 0,
"acfe_wysiwyg_height": 300,
"acfe_wysiwyg_max_height": "",
"acfe_wysiwyg_valid_elements": "",
"acfe_wysiwyg_custom_style": "",
"acfe_wysiwyg_disable_wp_style": 0,
"acfe_wysiwyg_autoresize": 0,
"acfe_wysiwyg_disable_resize": 0,
"acfe_wysiwyg_remove_path": 0,
"acfe_wysiwyg_menubar": 0,
"acfe_wysiwyg_transparent": 0,
"acfe_wysiwyg_merge_toolbar": 0,
"acfe_wysiwyg_custom_toolbar": 0,
"allow_in_bindings": 0,
"tabs": "all",
"toolbar": "basic",
"media_upload": 0,
"delay": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "description",
"graphql_non_null": 0,
"acfe_wysiwyg_min_height": 300,
"acfe_wysiwyg_toolbar_buttons": []
},
{
"key": "field_685413d860b90",
"label": "Discipline(s)",
"name": "disciplines",
"aria-label": "",
"type": "taxonomy",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"taxonomy": "discipline",
"add_term": 0,
"save_terms": 1,
"load_terms": 1,
"return_format": "id",
"field_type": "multi_select",
"allow_null": 0,
"allow_in_bindings": 0,
"bidirectional": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "disciplines",
"multiple": 0,
"bidirectional_target": [],
"min": "",
"max": ""
},
{
"key": "field_6855adf26f028",
"label": "Wordless",
"name": "is_wordless",
"aria-label": "",
"type": "true_false",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"message": "This event is wordless",
"default_value": 0,
"allow_in_bindings": 0,
"ui": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "isWordless",
"graphql_non_null": 0,
"ui_on_text": "",
"ui_off_text": "",
"style": ""
},
{
"key": "field_6855ae0d6f029",
"label": "Language(s)",
"name": "languages",
"aria-label": "",
"type": "acfe_languages",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_6855adf26f028",
"operator": "!=",
"value": "1"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"languages": "",
"field_type": "select",
"min": "",
"max": "",
"default_value": [],
"return_format": "name",
"display_format": "{name}",
"continents": 0,
"allow_null": 0,
"multiple": 1,
"ui": 0,
"allow_in_bindings": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "languages",
"graphql_non_null": 0,
"multilang": 0,
"flags": 0,
"choices": [],
"ajax": 0,
"placeholder": "",
"search_placeholder": "",
"layout": "",
"toggle": 0,
"allow_custom": 0,
"other_choice": 0
},
{
"key": "field_6855ae4e6f02a",
"label": "Entity",
"name": "entity",
"aria-label": "",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"graphql_field_name": "entity",
"clone": [
"group_abstract_entity"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0,
"acfe_seamless_style": 0,
"acfe_clone_modal": 0,
"acfe_clone_modal_close": 0,
"acfe_clone_modal_button": "",
"acfe_clone_modal_size": "large"
},
{
"key": "field_6855ae626f02b",
"label": "Social",
"name": "social",
"aria-label": "",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"graphql_field_name": "social",
"clone": [
"group_abstract_social"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0,
"acfe_seamless_style": 0,
"acfe_clone_modal": 0,
"acfe_clone_modal_close": 0,
"acfe_clone_modal_button": "",
"acfe_clone_modal_size": "large"
},
{
"key": "field_6855ae7b6f02c",
"label": "Gallery",
"name": "gallery",
"aria-label": "",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"graphql_field_name": "gallery",
"clone": [
"group_abstract_gallery"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0,
"acfe_seamless_style": 0,
"acfe_clone_modal": 0,
"acfe_clone_modal_close": 0,
"acfe_clone_modal_button": "",
"acfe_clone_modal_size": "large"
},
{
"key": "field_6855ae896f02d",
"label": "Credits",
"name": "credits",
"aria-label": "",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"graphql_field_name": "credits",
"clone": [
"group_abstract_credits"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0,
"acfe_seamless_style": 0,
"acfe_clone_modal": 0,
"acfe_clone_modal_close": 0,
"acfe_clone_modal_button": "",
"acfe_clone_modal_size": "large"
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "event"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "seamless",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"acfe_autosync": [
"json"
],
"acfe_form": 0,
"acfe_display_title": "",
"show_in_graphql": 1,
"graphql_field_name": "postEvent",
"map_graphql_types_from_location_rules": 0,
"graphql_types": "",
"acfe_meta": "",
"acfe_note": "",
"modified": 1750769168
}

View File

@@ -0,0 +1,356 @@
{
"key": "group_post_location",
"title": "Post - Location",
"fields": [
{
"key": "field_6855aedbda241",
"label": "Location type",
"name": "location_type",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"virtual": "Virtual location",
"Bar": "Bar",
"Salle de spectacle": "Salle de spectacle"
},
"default_value": false,
"return_format": "value",
"multiple": 0,
"max": "",
"allow_custom": 0,
"placeholder": "",
"search_placeholder": "",
"prepend": "",
"append": "",
"allow_null": 0,
"allow_in_bindings": 0,
"ui": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "locationType",
"graphql_non_null": 1,
"ajax": 0,
"create_options": 0,
"save_options": 0,
"min": ""
},
{
"key": "field_685416534c0a3",
"label": "Description",
"name": "description",
"aria-label": "",
"type": "wysiwyg",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"allow_in_bindings": 0,
"tabs": "all",
"toolbar": "basic",
"media_upload": 0,
"delay": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "description",
"graphql_non_null": 0,
"acfe_wysiwyg_auto_init": 0,
"acfe_wysiwyg_height": 300,
"acfe_wysiwyg_min_height": 300,
"acfe_wysiwyg_max_height": "",
"acfe_wysiwyg_valid_elements": "",
"acfe_wysiwyg_custom_style": "",
"acfe_wysiwyg_disable_wp_style": 0,
"acfe_wysiwyg_autoresize": 0,
"acfe_wysiwyg_disable_resize": 0,
"acfe_wysiwyg_remove_path": 0,
"acfe_wysiwyg_menubar": 0,
"acfe_wysiwyg_transparent": 0,
"acfe_wysiwyg_merge_toolbar": 0,
"acfe_wysiwyg_custom_toolbar": 0,
"acfe_wysiwyg_toolbar_buttons": []
},
{
"key": "field_6855af4cda243",
"label": "Address",
"name": "address",
"aria-label": "",
"type": "acfe_address",
"instructions": "",
"required": 1,
"conditional_logic": [
[
{
"field": "field_6855aedbda241",
"operator": "!=",
"value": "virtual"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"graphql_field_name": "address",
"placeholder": "Search for address...",
"countries": [
"ca"
],
"search_type": "establishment",
"geolocation": 0,
"custom_address": 1,
"prepend": "",
"append": "",
"api_key": "",
"fields": {
"row-0": {
"field": "address",
"name": "full"
},
"row-1": {
"field": "city",
"name": "city"
},
"row-2": {
"field": "post_code",
"name": "postal_code"
},
"6855af79da244": {
"field": "place_id",
"name": "place_id"
},
"6855b005da245": {
"field": "lat",
"name": "lat"
},
"6855b009da246": {
"field": "lng",
"name": "lng"
}
},
"allow_in_bindings": 0,
"default_value": ""
},
{
"key": "field_6855b0c3c5a81",
"label": "Possible configuration(s)",
"name": "configurations",
"aria-label": "",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_6855aedbda241",
"operator": "!=",
"value": "virtual"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 0,
"layout": "table",
"pagination": 0,
"min": 0,
"max": 0,
"collapsed": "",
"button_label": "Ajouter un élément",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "configurations",
"graphql_non_null": 0,
"rows_per_page": 20,
"sub_fields": [
{
"key": "field_6855b0e7c5a82",
"label": "Configuration name",
"name": "name",
"aria-label": "",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"required_message": "",
"maxlength": "",
"allow_in_bindings": 0,
"placeholder": "",
"prepend": "",
"append": "",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "name",
"graphql_non_null": 1,
"parent_repeater": "field_6855b0c3c5a81"
}
]
},
{
"key": "field_686d1beae742d",
"label": "Universal access",
"name": "universal_access",
"aria-label": "",
"type": "checkbox",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": [],
"default_value": [],
"return_format": "label",
"min": "",
"max": "",
"allow_custom": 0,
"allow_in_bindings": 0,
"layout": "vertical",
"toggle": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "universalAccess",
"graphql_non_null": 0,
"save_custom": 0,
"custom_choice_button_text": "Add new choice"
},
{
"key": "field_6855b117c5a83",
"label": "Entity",
"name": "entity",
"aria-label": "",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"graphql_field_name": "entity",
"clone": [
"group_abstract_entity"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0,
"acfe_seamless_style": 0,
"acfe_clone_modal": 0,
"acfe_clone_modal_close": 0,
"acfe_clone_modal_button": "",
"acfe_clone_modal_size": "large"
},
{
"key": "field_6855b129c5a84",
"label": "Social",
"name": "social",
"aria-label": "",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"graphql_field_name": "social",
"clone": [
"group_abstract_social"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0,
"acfe_seamless_style": 0,
"acfe_clone_modal": 0,
"acfe_clone_modal_close": 0,
"acfe_clone_modal_button": "",
"acfe_clone_modal_size": "large"
},
{
"key": "field_6855b136c5a85",
"label": "Gallery",
"name": "gallery",
"aria-label": "",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"graphql_field_name": "gallery",
"clone": [
"group_abstract_gallery"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0,
"acfe_seamless_style": 0,
"acfe_clone_modal": 0,
"acfe_clone_modal_close": 0,
"acfe_clone_modal_button": "",
"acfe_clone_modal_size": "large"
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "location"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "seamless",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"acfe_autosync": [
"json"
],
"acfe_form": 0,
"acfe_display_title": "",
"show_in_graphql": 1,
"graphql_field_name": "postLocation",
"map_graphql_types_from_location_rules": 0,
"graphql_types": "",
"acfe_meta": "",
"acfe_note": "",
"modified": 1751981084
}

View File

@@ -0,0 +1,350 @@
{
"key": "group_post_membership",
"title": "Post - Membership",
"fields": [
{
"key": "field_6855b1f1c65bf",
"label": "Membership plan",
"name": "membership_plan",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"Membre (individu)": "Membre (individu)",
"Membre (organisation)": "Membre (organisation)"
},
"default_value": false,
"return_format": "value",
"multiple": 0,
"max": "",
"prepend": "",
"append": "",
"required_message": "",
"allow_null": 0,
"allow_in_bindings": 0,
"ui": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "membershipPlan",
"graphql_non_null": 1,
"ajax": 0,
"placeholder": "",
"create_options": 0,
"save_options": 0,
"allow_custom": 0,
"search_placeholder": "",
"min": ""
},
{
"key": "field_6855ab54c65bc",
"label": "Managed contributor",
"name": "contributor",
"aria-label": "",
"type": "post_object",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"post_type": [
"contributor"
],
"post_status": "",
"taxonomy": "",
"return_format": "id",
"multiple": 0,
"save_custom": 0,
"save_post_status": "publish",
"acfe_add_post": 0,
"acfe_edit_post": 0,
"acfe_bidirectional": {
"acfe_bidirectional_enabled": "0"
},
"allow_null": 0,
"allow_in_bindings": 0,
"bidirectional": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "contributor",
"graphql_connection_type": "one_to_many",
"ui": 1,
"bidirectional_target": [],
"save_post_type": "",
"min": "",
"max": ""
},
{
"key": "field_686d1fab5de85",
"label": "Billing",
"name": "billing",
"aria-label": "",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 0,
"acfe_group_modal": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "payment",
"graphql_non_null": 0,
"sub_fields": [
{
"key": "field_686d20578e1b5",
"label": "Person name",
"name": "person_name",
"aria-label": "",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"required_message": "",
"maxlength": "",
"allow_in_bindings": 0,
"placeholder": "",
"prepend": "",
"append": "",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "personName",
"graphql_non_null": 1
},
{
"key": "field_686d208c8e1b6",
"label": "Email",
"name": "email",
"aria-label": "",
"type": "email",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"allow_in_bindings": 0,
"placeholder": "",
"prepend": "",
"append": "",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "email",
"graphql_non_null": 1
},
{
"key": "field_686d20a08e1b7",
"label": "Phone",
"name": "phone",
"aria-label": "",
"type": "acfe_phone_number",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"countries": [
"ca"
],
"preferred_countries": "",
"default_country": "ca",
"geolocation": 0,
"native": 0,
"national": 1,
"dropdown": 0,
"dial_code": 0,
"default_value": "",
"placeholder": "",
"return_format": "number",
"allow_in_bindings": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "phone",
"graphql_non_null": 1,
"geolocation_token": ""
},
{
"key": "field_686d20d48e1b8",
"label": "Address",
"name": "address",
"aria-label": "",
"type": "acfe_address",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"graphql_field_name": "address",
"placeholder": "Rechercher une adresse...",
"countries": [
"ca"
],
"search_type": "address",
"geolocation": 1,
"custom_address": 1,
"prepend": "",
"append": "",
"api_key": "",
"fields": {
"row-0": {
"field": "street_number",
"name": "street_number"
},
"686d21068e1b9": {
"field": "street_number",
"name": "street_name"
},
"686d210f8e1ba": {
"field": "city",
"name": "city"
},
"row-1": {
"field": "state",
"name": "state"
},
"row-2": {
"field": "country_short",
"name": "country"
},
"686d21198e1bb": {
"field": "post_code",
"name": "post_code"
}
},
"allow_in_bindings": 0,
"default_value": ""
}
],
"acfe_group_modal_close": 0,
"acfe_group_modal_button": "",
"acfe_group_modal_size": "large"
},
{
"key": "field_686d1ffa5de87",
"label": "Individual profile",
"name": "individual_profile",
"aria-label": "",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_6855b1f1c65bf",
"operator": "==",
"value": "Membre (individu)"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 0,
"acfe_group_modal": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "individualProfile",
"graphql_non_null": 0,
"sub_fields": [],
"acfe_group_modal_close": 0,
"acfe_group_modal_button": "",
"acfe_group_modal_size": "large"
},
{
"key": "field_686d20215de88",
"label": "Organization profile",
"name": "organization_profile",
"aria-label": "",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_6855b1f1c65bf",
"operator": "==",
"value": "Membre (organisation)"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 0,
"acfe_group_modal": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "organizationProfile",
"graphql_non_null": 0,
"sub_fields": [],
"acfe_group_modal_close": 0,
"acfe_group_modal_button": "",
"acfe_group_modal_size": "large"
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "membership"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "seamless",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"acfe_autosync": [
"json"
],
"acfe_form": 0,
"acfe_display_title": "",
"show_in_graphql": 1,
"graphql_field_name": "postMembership",
"map_graphql_types_from_location_rules": 0,
"graphql_types": "",
"acfe_meta": "",
"acfe_note": "",
"modified": 1751982478
}

View File

@@ -0,0 +1,66 @@
{
"key": "group_post_page",
"title": "Post - Page",
"fields": [
{
"key": "field_6854179a6e5c2",
"label": "Builder",
"name": "builder",
"aria-label": "",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"graphql_field_name": "builder",
"clone": [
"group_abstract_builder"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0,
"acfe_seamless_style": 0,
"acfe_clone_modal": 0,
"acfe_clone_modal_close": 0,
"acfe_clone_modal_button": "",
"acfe_clone_modal_size": "large"
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "page"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "seamless",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": [
"the_content"
],
"active": true,
"description": "",
"show_in_rest": 0,
"acfe_autosync": [
"json"
],
"acfe_form": 0,
"acfe_display_title": "",
"show_in_graphql": 1,
"graphql_field_name": "postPage",
"map_graphql_types_from_location_rules": 0,
"graphql_types": "",
"acfe_meta": "",
"acfe_note": "",
"modified": 1750446725
}

View File

@@ -0,0 +1,180 @@
{
"key": "group_post_project",
"title": "Post - Project",
"fields": [
{
"key": "field_685413d901253",
"label": "Categorie(s)",
"name": "project_categories",
"aria-label": "",
"type": "taxonomy",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"taxonomy": "project_category",
"add_term": 0,
"save_terms": 1,
"load_terms": 1,
"return_format": "id",
"field_type": "multi_select",
"min": "",
"max": "",
"allow_null": 0,
"acfe_bidirectional": {
"acfe_bidirectional_enabled": "0"
},
"required_message": "",
"allow_in_bindings": 0,
"bidirectional": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "projectCategories",
"multiple": 0,
"bidirectional_target": []
},
{
"key": "field_6855b32b39bc3",
"label": "Period",
"name": "period",
"aria-label": "",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "table",
"acfe_seamless_style": 0,
"acfe_group_modal": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "period",
"graphql_non_null": 0,
"acfe_group_modal_close": 0,
"acfe_group_modal_button": "",
"acfe_group_modal_size": "large",
"sub_fields": [
{
"key": "field_6855b33839bc4",
"label": "Start month",
"name": "start_month",
"aria-label": "",
"type": "date_picker",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"display_format": "F Y",
"return_format": "Y-m",
"first_day": 0,
"placeholder": "",
"min_date": "",
"max_date": "",
"no_weekends": 0,
"allow_in_bindings": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "startMonth",
"graphql_non_null": 1
},
{
"key": "field_6855b38a39bc5",
"label": "End month",
"name": "end_month",
"aria-label": "",
"type": "date_picker",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"display_format": "F Y",
"return_format": "Y-m",
"first_day": 0,
"placeholder": "",
"min_date": "",
"max_date": "",
"no_weekends": 0,
"allow_in_bindings": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "startMonth",
"graphql_non_null": 0
}
]
},
{
"key": "field_6855b3cad89f9",
"label": "Builder",
"name": "builder",
"aria-label": "",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"graphql_field_name": "builder",
"clone": [
"group_abstract_builder"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0,
"acfe_seamless_style": 0,
"acfe_clone_modal": 0,
"acfe_clone_modal_close": 0,
"acfe_clone_modal_button": "",
"acfe_clone_modal_size": "large"
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "project"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "seamless",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"acfe_autosync": [
"json"
],
"acfe_form": 0,
"acfe_display_title": "",
"show_in_graphql": 1,
"graphql_field_name": "postProject",
"map_graphql_types_from_location_rules": 0,
"graphql_types": "",
"acfe_meta": "",
"acfe_note": "",
"modified": 1750769378
}

View File

@@ -0,0 +1,384 @@
{
"key": "group_post_representation",
"title": "Post - Representation",
"fields": [
{
"key": "field_685413dd0c066",
"label": "Event",
"name": "event",
"aria-label": "",
"type": "post_object",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"post_type": [
"event"
],
"post_status": "",
"taxonomy": "",
"return_format": "id",
"multiple": 0,
"allow_null": 0,
"allow_in_bindings": 0,
"bidirectional": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "event",
"graphql_connection_type": "one_to_many",
"ui": 1,
"bidirectional_target": [],
"save_custom": 0,
"save_post_type": "",
"save_post_status": "",
"acfe_add_post": 0,
"acfe_edit_post": 0,
"min": "",
"max": ""
},
{
"key": "field_6855b3e73f262",
"label": "Description",
"name": "description",
"aria-label": "",
"type": "wysiwyg",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"acfe_wysiwyg_auto_init": 0,
"acfe_wysiwyg_height": 300,
"acfe_wysiwyg_max_height": "",
"acfe_wysiwyg_valid_elements": "",
"acfe_wysiwyg_custom_style": "",
"acfe_wysiwyg_disable_wp_style": 0,
"acfe_wysiwyg_autoresize": 0,
"acfe_wysiwyg_disable_resize": 0,
"acfe_wysiwyg_remove_path": 0,
"acfe_wysiwyg_menubar": 0,
"acfe_wysiwyg_transparent": 0,
"acfe_wysiwyg_merge_toolbar": 0,
"acfe_wysiwyg_custom_toolbar": 0,
"allow_in_bindings": 0,
"tabs": "all",
"toolbar": "basic",
"media_upload": 0,
"delay": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "description",
"graphql_non_null": 0,
"acfe_wysiwyg_min_height": 300,
"acfe_wysiwyg_toolbar_buttons": []
},
{
"key": "field_6855b41f3f264",
"label": "Schedule type",
"name": "schedule_type",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"range": "Date range",
"days": "Individual day(s)",
"multiple": "Multiple day(s)"
},
"default_value": false,
"return_format": "value",
"multiple": 0,
"max": "",
"prepend": "",
"append": "",
"required_message": "",
"allow_null": 0,
"allow_in_bindings": 0,
"ui": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "scheduleType",
"graphql_non_null": 1,
"ajax": 0,
"placeholder": "",
"create_options": 0,
"save_options": 0,
"allow_custom": 0,
"search_placeholder": "",
"min": ""
},
{
"key": "field_6855b49a3f265",
"label": "Range",
"name": "range",
"aria-label": "",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_6855b41f3f264",
"operator": "==",
"value": "range"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "table",
"acfe_seamless_style": 0,
"acfe_group_modal": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "range",
"graphql_non_null": 0,
"acfe_group_modal_close": 0,
"acfe_group_modal_button": "",
"acfe_group_modal_size": "large",
"sub_fields": [
{
"key": "field_6855b4b13f266",
"label": "Start date",
"name": "start_date",
"aria-label": "",
"type": "date_picker",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"display_format": "Y-m-d",
"return_format": "Y-m-d",
"first_day": 0,
"placeholder": "",
"min_date": "",
"max_date": "",
"no_weekends": 0,
"allow_in_bindings": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "startDate",
"graphql_non_null": 1
},
{
"key": "field_6855b4e23f267",
"label": "End date",
"name": "end_date",
"aria-label": "",
"type": "date_picker",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"display_format": "Y-m-d",
"return_format": "Y-m-d",
"first_day": 0,
"placeholder": "",
"min_date": "",
"max_date": "",
"no_weekends": 0,
"allow_in_bindings": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "endDate",
"graphql_non_null": 1
}
]
},
{
"key": "field_6855b4f93f268",
"label": "Day(s)",
"name": "days",
"aria-label": "",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": [
[
{
"field": "field_6855b41f3f264",
"operator": "==",
"value": "days"
}
],
[
{
"field": "field_6855b41f3f264",
"operator": "==",
"value": "multiple"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 0,
"layout": "table",
"pagination": 0,
"min": 0,
"max": 0,
"collapsed": "",
"button_label": "Ajouter un élément",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "days",
"graphql_non_null": 0,
"rows_per_page": 20,
"sub_fields": [
{
"key": "field_6855b5083f269",
"label": "Start date \/ time",
"name": "start_date__time",
"aria-label": "",
"type": "date_time_picker",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"display_format": "Y-m-d H:i:s",
"return_format": "Y-m-d H:i:s",
"first_day": 0,
"placeholder": "",
"min_date": "",
"max_date": "",
"min_time": "",
"max_time": "",
"no_weekends": 0,
"min_hour": "",
"max_hour": "",
"min_min": "",
"max_min": "",
"min_sec": "",
"max_sec": "",
"allow_in_bindings": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "startDateTime",
"graphql_non_null": 1,
"parent_repeater": "field_6855b4f93f268"
},
{
"key": "field_6855b52d3f26a",
"label": "End time",
"name": "end_time",
"aria-label": "",
"type": "time_picker",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"display_format": "H:i",
"return_format": "H:i",
"placeholder": "",
"min_time": "",
"max_time": "",
"min_hour": "",
"max_hour": "",
"min_min": "",
"max_min": "",
"min_sec": "",
"max_sec": "",
"allow_in_bindings": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "endTime",
"graphql_non_null": 0,
"parent_repeater": "field_6855b4f93f268"
}
]
},
{
"key": "field_6855b55f5f084",
"label": "Offer",
"name": "offer",
"aria-label": "",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"graphql_field_name": "offer",
"clone": [
"group_abstract_offer"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0,
"acfe_seamless_style": 0,
"acfe_clone_modal": 0,
"acfe_clone_modal_close": 0,
"acfe_clone_modal_button": "",
"acfe_clone_modal_size": "large"
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "representation"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "seamless",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"acfe_autosync": [
"json"
],
"acfe_form": 0,
"acfe_display_title": "",
"show_in_graphql": 1,
"graphql_field_name": "postRepresentation",
"map_graphql_types_from_location_rules": 0,
"graphql_types": "",
"acfe_meta": "",
"acfe_note": "",
"modified": 1751982621
}

View File

@@ -0,0 +1,243 @@
{
"key": "group_post_resource",
"title": "Post - Resource",
"fields": [
{
"key": "field_685413ded6377",
"label": "Category",
"name": "resource_category",
"aria-label": "",
"type": "taxonomy",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"taxonomy": "resource_category",
"add_term": 0,
"save_terms": 1,
"load_terms": 1,
"return_format": "id",
"field_type": "select",
"max": "",
"allow_null": 0,
"acfe_bidirectional": {
"acfe_bidirectional_enabled": "0"
},
"required_message": "",
"allow_in_bindings": 0,
"bidirectional": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "resourceCategory",
"multiple": 0,
"bidirectional_target": [],
"min": ""
},
{
"key": "field_6855b5ae3cfb1",
"label": "Document(s)",
"name": "documents",
"aria-label": "",
"type": "repeater",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"acfe_repeater_stylised_button": 0,
"layout": "row",
"pagination": 0,
"min": 0,
"max": 0,
"collapsed": "",
"button_label": "Ajouter un élément",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "resourceItems",
"graphql_non_null": 0,
"rows_per_page": 20,
"sub_fields": [
{
"key": "field_6855b5d43cfb2",
"label": "Title",
"name": "title",
"aria-label": "",
"type": "text",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"required_message": "",
"maxlength": "",
"allow_in_bindings": 0,
"placeholder": "",
"prepend": "",
"append": "",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "title",
"graphql_non_null": 1,
"parent_repeater": "field_6855b5ae3cfb1"
},
{
"key": "field_6855b5f13cfb3",
"label": "Document type",
"name": "document_type",
"aria-label": "",
"type": "select",
"instructions": "",
"required": 1,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": {
"file": "File",
"url": "URL"
},
"default_value": false,
"return_format": "value",
"multiple": 0,
"max": "",
"prepend": "",
"append": "",
"required_message": "",
"allow_null": 0,
"allow_in_bindings": 0,
"ui": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "documentType",
"graphql_non_null": 1,
"ajax": 0,
"placeholder": "",
"create_options": 0,
"save_options": 0,
"allow_custom": 0,
"search_placeholder": "",
"min": "",
"parent_repeater": "field_6855b5ae3cfb1"
},
{
"key": "field_6855b6153cfb4",
"label": "File",
"name": "file",
"aria-label": "",
"type": "file",
"instructions": "",
"required": 1,
"conditional_logic": [
[
{
"field": "field_6855b5f13cfb3",
"operator": "==",
"value": "file"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"uploader": "",
"return_format": "id",
"preview_style": "default",
"library": "all",
"upload_folder": "resources",
"button_label": "Add File",
"file_count": 0,
"multiple": 0,
"max": "",
"min_size": "",
"max_size": "",
"mime_types": "",
"allow_in_bindings": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "file",
"placeholder": "Select",
"stylised_button": 0,
"min": "",
"parent_repeater": "field_6855b5ae3cfb1"
},
{
"key": "field_6855b6443cfb5",
"label": "URL",
"name": "url",
"aria-label": "",
"type": "url",
"instructions": "",
"required": 1,
"conditional_logic": [
[
{
"field": "field_6855b5f13cfb3",
"operator": "==",
"value": "url"
}
]
],
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"default_value": "",
"required_message": "",
"allow_in_bindings": 0,
"placeholder": "",
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "url",
"graphql_non_null": 1,
"parent_repeater": "field_6855b5ae3cfb1"
}
]
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "resource"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "seamless",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"acfe_autosync": [
"json"
],
"acfe_form": 0,
"acfe_display_title": "",
"show_in_graphql": 1,
"graphql_field_name": "postResource",
"map_graphql_types_from_location_rules": 0,
"graphql_types": "",
"acfe_meta": "",
"acfe_note": "",
"modified": 1750769553
}

View File

@@ -0,0 +1,64 @@
{
"key": "group_post_template",
"title": "Post - Template",
"fields": [
{
"key": "field_68541877c27f5",
"label": "Builder",
"name": "builder",
"aria-label": "",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"graphql_field_name": "builder",
"clone": [
"group_abstract_builder"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0,
"acfe_seamless_style": 0,
"acfe_clone_modal": 0,
"acfe_clone_modal_close": 0,
"acfe_clone_modal_button": "",
"acfe_clone_modal_size": "large"
}
],
"location": [
[
{
"param": "post_type",
"operator": "==",
"value": "template"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "seamless",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"acfe_autosync": [
"json"
],
"acfe_form": 0,
"acfe_display_title": "",
"show_in_graphql": 1,
"graphql_field_name": "postTemplate",
"map_graphql_types_from_location_rules": 0,
"graphql_types": "",
"acfe_meta": "",
"acfe_note": "",
"modified": 1750447786
}

View File

@@ -0,0 +1,64 @@
{
"key": "group_term_discipline",
"title": "Term - Discipline",
"fields": [
{
"key": "field_685413e053d1b",
"label": "Entity",
"name": "entity",
"aria-label": "",
"type": "clone",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"graphql_field_name": "entity",
"clone": [
"group_abstract_entity"
],
"display": "seamless",
"layout": "block",
"prefix_label": 0,
"prefix_name": 0,
"acfe_seamless_style": 0,
"acfe_clone_modal": 0,
"acfe_clone_modal_close": 0,
"acfe_clone_modal_button": "",
"acfe_clone_modal_size": "large"
}
],
"location": [
[
{
"param": "taxonomy",
"operator": "==",
"value": "discipline"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "seamless",
"label_placement": "top",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"acfe_autosync": [
"json"
],
"acfe_form": 0,
"acfe_display_title": "",
"show_in_graphql": 1,
"graphql_field_name": "termDiscipline",
"map_graphql_types_from_location_rules": 0,
"graphql_types": "",
"acfe_meta": "",
"acfe_note": "",
"modified": 1750447831
}

View File

@@ -0,0 +1,224 @@
{
"key": "group_user_profile",
"title": "User Profile",
"fields": [
{
"key": "field_686d2246cf019",
"label": "Membership(s)",
"name": "memberships",
"aria-label": "",
"type": "post_object",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"post_type": [
"membership"
],
"post_status": "",
"taxonomy": "",
"return_format": "id",
"multiple": 1,
"min": "",
"max": "",
"save_custom": 0,
"save_post_status": "publish",
"acfe_add_post": 0,
"acfe_edit_post": 0,
"acfe_bidirectional": {
"acfe_bidirectional_enabled": "0"
},
"allow_null": 0,
"allow_in_bindings": 0,
"bidirectional": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "memberships",
"graphql_connection_type": "one_to_many",
"ui": 1,
"bidirectional_target": [],
"save_post_type": ""
},
{
"key": "field_686d2299cf01a",
"label": "Email preferences",
"name": "email_preferences",
"aria-label": "",
"type": "group",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"layout": "block",
"acfe_seamless_style": 1,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "emailPreferences",
"graphql_non_null": 0,
"sub_fields": [
{
"key": "field_686d2332cf01e",
"label": "Categorie(s)",
"name": "categories",
"aria-label": "",
"type": "checkbox",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": [],
"default_value": [],
"return_format": "value",
"min": "",
"max": "",
"allow_custom": 0,
"allow_in_bindings": 0,
"layout": "vertical",
"toggle": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "categories",
"graphql_non_null": 0,
"save_custom": 0,
"custom_choice_button_text": "Add new choice"
},
{
"key": "field_686d230dcf01c",
"label": "Discipline(s)",
"name": "disciplines",
"aria-label": "",
"type": "checkbox",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": [],
"default_value": [],
"return_format": "value",
"min": "",
"max": "",
"allow_custom": 0,
"allow_in_bindings": 0,
"layout": "vertical",
"toggle": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "disciplines",
"graphql_non_null": 0,
"save_custom": 0,
"custom_choice_button_text": "Add new choice"
},
{
"key": "field_686d22b4cf01b",
"label": "Event type(s)",
"name": "event_types",
"aria-label": "",
"type": "checkbox",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"graphql_field_name": "eventTypes",
"choices": [],
"default_value": [],
"return_format": "value",
"min": "",
"max": "",
"allow_custom": 0,
"allow_in_bindings": 0,
"layout": "vertical",
"toggle": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_non_null": 0,
"save_custom": 0,
"custom_choice_button_text": "Add new choice"
},
{
"key": "field_686d2323cf01d",
"label": "MRC",
"name": "mrc",
"aria-label": "",
"type": "checkbox",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "",
"class": "",
"id": ""
},
"choices": [],
"default_value": [],
"return_format": "value",
"min": "",
"max": "",
"allow_custom": 0,
"allow_in_bindings": 0,
"layout": "vertical",
"toggle": 0,
"show_in_graphql": 1,
"graphql_description": "",
"graphql_field_name": "mrc",
"graphql_non_null": 0,
"save_custom": 0,
"custom_choice_button_text": "Add new choice"
}
],
"acfe_group_modal": 0,
"acfe_group_modal_close": 0,
"acfe_group_modal_button": "",
"acfe_group_modal_size": "large"
}
],
"location": [
[
{
"param": "user_role",
"operator": "==",
"value": "all"
}
]
],
"menu_order": 0,
"position": "normal",
"style": "seamless",
"label_placement": "left",
"instruction_placement": "label",
"hide_on_screen": "",
"active": true,
"description": "",
"show_in_rest": 0,
"acfe_autosync": [
"json"
],
"acfe_form": 0,
"acfe_display_title": "",
"show_in_graphql": 1,
"graphql_field_name": "userProfile",
"map_graphql_types_from_location_rules": 0,
"graphql_types": "",
"acfe_meta": "",
"acfe_note": "",
"modified": 1751982984
}

View File

@@ -0,0 +1,25 @@
{
"key": "ui_options_page_site_options",
"title": "Options du site",
"active": true,
"menu_order": 0,
"page_title": "Options du site",
"menu_slug": "site-options",
"parent_slug": "options-general.php",
"advanced_configuration": 1,
"icon_url": "",
"menu_title": "Options du site",
"position": 0,
"redirect": false,
"description": "",
"menu_icon": [],
"update_button": "Mise à jour",
"updated_message": "Options mises à jours",
"capability": "edit_posts",
"data_storage": "options",
"post_id": "",
"autoload": 0,
"show_in_graphql": 1,
"graphql_type_name": "SiteOptions",
"modified": 1756230606
}

View File

@@ -0,0 +1,34 @@
<?php
// Administration
// Core
require_once __DIR__ . '/includes/core/theme-setup.php';
// Custom Post Types
require_once __DIR__ . '/includes/cpt/membership.php';
require_once __DIR__ . '/includes/cpt/contributor.php';
require_once __DIR__ . '/includes/cpt/event.php';
require_once __DIR__ . '/includes/cpt/location.php';
require_once __DIR__ . '/includes/cpt/project.php';
require_once __DIR__ . '/includes/cpt/representation.php';
require_once __DIR__ . '/includes/cpt/resource.php';
require_once __DIR__ . '/includes/cpt/template.php';
// Custom Taxonomies
require_once __DIR__ . '/includes/taxonomies/discipline.php';
require_once __DIR__ . '/includes/taxonomies/project-category.php';
require_once __DIR__ . '/includes/taxonomies/resource-category.php';
// Forms
// Roles
// Sections
// Shortcodes
// Vendors
require_once __DIR__ . '/includes/vendors/acf.php';
// Widgets

View File

@@ -0,0 +1,31 @@
<?php
// Setup theme
add_action( 'after_setup_theme', 'ccat_after_setup_theme' );
function ccat_after_setup_theme() {
// Load textdomain
load_theme_textdomain( 'ccat', get_theme_file_path( 'languages' ) );
// Theme features
add_theme_support( 'custom-logo' );
add_theme_support( 'editor-styles' );
add_theme_support( 'post-thumbnails' );
// add_theme_support( 'woocommerce' );
remove_theme_support( 'core-block-patterns' );
// Register menus
register_nav_menu( 'main', "Menu principal" );
register_nav_menu( 'top', "Menu du haut" );
// Register sidebars
}
// Disable unwanted permalinks
add_action( 'template_redirect', 'ccat_disable_permalinks' );
function ccat_disable_permalinks() {
global $wp_query;
if ( is_author() || is_attachment() || is_date() ) {
$wp_query->set_404();
status_header( 404 );
}
}

View File

@@ -0,0 +1,88 @@
<?php
// Register 'contributor' post type
add_action( 'init', 'ccat_contributor_register_post_type' );
function ccat_contributor_register_post_type() {
register_post_type(
'contributor',
array(
'labels' => array(
'name' => __( "Contributors", 'ccat' ),
'menu_name' => __( "Contributors", 'ccat' ),
'singular_name' => __( "Contributor", 'ccat' ),
'add_new' => __( "Add New", 'ccat' ),
'add_new_item' => __( "Add New Contributor", 'ccat' ),
'new_item' => __( "New Contributor", 'ccat' ),
'edit_item' => __( "Edit Contributor", 'ccat' ),
'view_item' => __( "View Contributor", 'ccat' ),
'view_items' => __( "View Contributors", 'ccat' ),
'search_items' => __( "Search Contributors", 'ccat' ),
'not_found' => __( "No Contributors found", 'ccat' ),
'not_found_in_trash' => __( "No Contributors found in trash", 'ccat' ),
'parent_item_colon' => __( "Parent Contributor:", 'ccat' ),
'all_items' => __( "All Contributors", 'ccat' ),
'archives' => __( "Contributor Archives", 'ccat' ),
'attributes' => __( "Contributor Attributes", 'ccat' ),
'insert_into_item' => __( "Insert into Contributor", 'ccat' ),
'uploaded_to_this_item' => __( "Uploaded to this Contributor", 'ccat' ),
'featured_image' => __( "Featured Image", 'ccat' ),
'set_featured_image' => __( "Set featured image", 'ccat' ),
'remove_featured_image' => __( "Remove featured image", 'ccat' ),
'use_featured_image' => __( "Use as featured image", 'ccat' ),
'filter_items_list' => __( "Filter Contributors list", 'ccat' ),
'items_list_navigation' => __( "Contributors list navigation", 'ccat' ),
'items_list' => __( "Contributors list", 'ccat' ),
'item_published' => __( "Contributor published.", 'ccat' ),
'item_published_privately' => __( "Contributor published privately.", 'ccat' ),
'item_reverted_to_draft' => __( "Contributor reverted to draft.", 'ccat' ),
'item_scheduled' => __( "Contributor scheduled.", 'ccat' ),
'item_updated' => __( "Contributor updated.", 'ccat' ),
),
'public' => true,
'hierarchical' => true,
'show_ui' => true,
'show_in_nav_menus' => false,
'supports' => array( 'title', 'thumbnail', 'author', 'excerpt', 'revisions' ),
'has_archive' => false,
'rewrite' => array(
'slug' => 'contributeur',
'with_front' => false,
),
'query_var' => true,
'menu_icon' => 'dashicons-art',
'show_in_rest' => true,
'rest_base' => 'contributor',
'rest_controller_class' => 'WP_REST_Posts_Controller',
'show_in_graphql' => true,
'graphql_single_name' => "Contributor",
'graphql_plural_name' => "Contributors",
'graphql_interfaces' => array( 'Node' ),
)
);
}
// Custom 'contributor' post updated messages
add_filter( 'post_updated_messages', 'ccat_contributor_post_updated_messages' );
function ccat_contributor_post_updated_messages( $messages ) {
global $post;
$permalink = get_permalink( $post );
$preview_post_link_html = sprintf( ' <a target="_blank" href="%1$s">%2$s</a>', esc_url( get_preview_post_link( $post ) ), __( "Preview Contributor", 'ccat' ) );
$scheduled_post_link_html = sprintf( ' <a target="_blank" href="%1$s">%2$s</a>', esc_url( $permalink ), __( "Preview Contributor", 'ccat' ) );
$scheduled_date = date_i18n( __( "M j, Y @ H:i", 'ccat' ), strtotime( $post->post_date ) );
$view_post_link_html = sprintf( ' <a href="%1$s">%2$s</a>', esc_url( $permalink ), __( "View Contributor", 'ccat' ) );
$messages['contributor'] = array(
0 => '',
1 => __( "Contributor updated.", 'ccat' ) . $view_post_link_html,
2 => __( "Custom field updated.", 'ccat' ),
3 => __( "Custom field deleted.", 'ccat' ),
4 => __( "Contributor updated.", 'ccat' ),
5 => isset( $_GET['revision'] ) ? sprintf( __( "Contributor restored to revision from %s", 'ccat' ), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false,
6 => __( "Contributor published.", 'ccat' ) . $view_post_link_html,
7 => __( "Contributor saved.", 'ccat' ),
8 => __( "Contributor submitted.", 'ccat' ) . $preview_post_link_html,
9 => sprintf( __( 'Contributor scheduled for: %s.' ), '<strong>' . $scheduled_date . '</strong>' ) . $scheduled_post_link_html,
10 => __( 'Contributor draft updated.' ) . $preview_post_link_html,
);
return $messages;
}

View File

@@ -0,0 +1,88 @@
<?php
// Register 'event' post type
add_action( 'init', 'ccat_event_register_post_type' );
function ccat_event_register_post_type() {
register_post_type(
'event',
array(
'labels' => array(
'name' => __( "Events", 'ccat' ),
'menu_name' => __( "Events", 'ccat' ),
'singular_name' => __( "Event", 'ccat' ),
'add_new' => __( "Add New", 'ccat' ),
'add_new_item' => __( "Add New Event", 'ccat' ),
'new_item' => __( "New Event", 'ccat' ),
'edit_item' => __( "Edit Event", 'ccat' ),
'view_item' => __( "View Event", 'ccat' ),
'view_items' => __( "View Events", 'ccat' ),
'search_items' => __( "Search Events", 'ccat' ),
'not_found' => __( "No Events found", 'ccat' ),
'not_found_in_trash' => __( "No Events found in trash", 'ccat' ),
'parent_item_colon' => __( "Parent Event:", 'ccat' ),
'all_items' => __( "All Events", 'ccat' ),
'archives' => __( "Event Archives", 'ccat' ),
'attributes' => __( "Event Attributes", 'ccat' ),
'insert_into_item' => __( "Insert into Event", 'ccat' ),
'uploaded_to_this_item' => __( "Uploaded to this Event", 'ccat' ),
'featured_image' => __( "Featured Image", 'ccat' ),
'set_featured_image' => __( "Set featured image", 'ccat' ),
'remove_featured_image' => __( "Remove featured image", 'ccat' ),
'use_featured_image' => __( "Use as featured image", 'ccat' ),
'filter_items_list' => __( "Filter Events list", 'ccat' ),
'items_list_navigation' => __( "Events list navigation", 'ccat' ),
'items_list' => __( "Events list", 'ccat' ),
'item_published' => __( "Event published.", 'ccat' ),
'item_published_privately' => __( "Event published privately.", 'ccat' ),
'item_reverted_to_draft' => __( "Event reverted to draft.", 'ccat' ),
'item_scheduled' => __( "Event scheduled.", 'ccat' ),
'item_updated' => __( "Event updated.", 'ccat' ),
),
'public' => true,
'hierarchical' => true,
'show_ui' => true,
'show_in_nav_menus' => false,
'supports' => array( 'title', 'thumbnail', 'excerpt', 'revisions', 'page-attributes' ),
'has_archive' => false,
'rewrite' => array(
'slug' => 'evenement',
'with_front' => false,
),
'query_var' => true,
'menu_icon' => 'dashicons-calendar',
'show_in_rest' => true,
'rest_base' => 'event',
'rest_controller_class' => 'WP_REST_Posts_Controller',
'show_in_graphql' => true,
'graphql_single_name' => "Event",
'graphql_plural_name' => "Events",
'graphql_interfaces' => array( 'Node' ),
)
);
}
// Custom 'event' post updated messages
add_filter( 'post_updated_messages', 'ccat_event_post_updated_messages' );
function ccat_event_post_updated_messages( $messages ) {
global $post;
$permalink = get_permalink( $post );
$preview_post_link_html = sprintf( ' <a target="_blank" href="%1$s">%2$s</a>', esc_url( get_preview_post_link( $post ) ), __( "Preview Event", 'ccat' ) );
$scheduled_post_link_html = sprintf( ' <a target="_blank" href="%1$s">%2$s</a>', esc_url( $permalink ), __( "Preview Event", 'ccat' ) );
$scheduled_date = date_i18n( __( "M j, Y @ H:i", 'ccat' ), strtotime( $post->post_date ) );
$view_post_link_html = sprintf( ' <a href="%1$s">%2$s</a>', esc_url( $permalink ), __( "View Event", 'ccat' ) );
$messages['event'] = array(
0 => '',
1 => __( "Event updated.", 'ccat' ) . $view_post_link_html,
2 => __( "Custom field updated.", 'ccat' ),
3 => __( "Custom field deleted.", 'ccat' ),
4 => __( "Event updated.", 'ccat' ),
5 => isset( $_GET['revision'] ) ? sprintf( __( "Event restored to revision from %s", 'ccat' ), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false,
6 => __( "Event published.", 'ccat' ) . $view_post_link_html,
7 => __( "Event saved.", 'ccat' ),
8 => __( "Event submitted.", 'ccat' ) . $preview_post_link_html,
9 => sprintf( __( 'Event scheduled for: %s.' ), '<strong>' . $scheduled_date . '</strong>' ) . $scheduled_post_link_html,
10 => __( 'Event draft updated.' ) . $preview_post_link_html,
);
return $messages;
}

View File

@@ -0,0 +1,89 @@
<?php
// Register 'location' post type
add_action( 'init', 'ccat_location_register_post_type' );
function ccat_location_register_post_type() {
register_post_type(
'location',
array(
'labels' => array(
'name' => __( "Locations", 'ccat' ),
'menu_name' => __( "Locations", 'ccat' ),
'singular_name' => __( "Location", 'ccat' ),
'add_new' => __( "Add New", 'ccat' ),
'add_new_item' => __( "Add New Location", 'ccat' ),
'new_item' => __( "New Location", 'ccat' ),
'edit_item' => __( "Edit Location", 'ccat' ),
'view_item' => __( "View Location", 'ccat' ),
'view_items' => __( "View Locations", 'ccat' ),
'search_items' => __( "Search Locations", 'ccat' ),
'not_found' => __( "No Locations found", 'ccat' ),
'not_found_in_trash' => __( "No Locations found in trash", 'ccat' ),
'parent_item_colon' => __( "Parent Location:", 'ccat' ),
'all_items' => __( "All Locations", 'ccat' ),
'archives' => __( "Location Archives", 'ccat' ),
'attributes' => __( "Location Attributes", 'ccat' ),
'insert_into_item' => __( "Insert into Location", 'ccat' ),
'uploaded_to_this_item' => __( "Uploaded to this Location", 'ccat' ),
'featured_image' => __( "Featured Image", 'ccat' ),
'set_featured_image' => __( "Set featured image", 'ccat' ),
'remove_featured_image' => __( "Remove featured image", 'ccat' ),
'use_featured_image' => __( "Use as featured image", 'ccat' ),
'filter_items_list' => __( "Filter Locations list", 'ccat' ),
'items_list_navigation' => __( "Locations list navigation", 'ccat' ),
'items_list' => __( "Locations list", 'ccat' ),
'item_published' => __( "Location published.", 'ccat' ),
'item_published_privately' => __( "Location published privately.", 'ccat' ),
'item_reverted_to_draft' => __( "Location reverted to draft.", 'ccat' ),
'item_scheduled' => __( "Location scheduled.", 'ccat' ),
'item_updated' => __( "Location updated.", 'ccat' ),
),
'public' => false,
'hierarchical' => true,
'show_ui' => true,
'show_in_nav_menus' => false,
'supports' => array( 'title', 'thumbnail', 'excerpt', 'revisions' ),
'has_archive' => false,
'rewrite' => array(
'slug' => 'emplacement',
'with_front' => false,
),
'query_var' => true,
'menu_icon' => 'dashicons-location',
'show_in_rest' => true,
'rest_base' => 'location',
'rest_controller_class' => 'WP_REST_Posts_Controller',
'show_in_graphql' => true,
'graphql_single_name' => "Location",
'graphql_plural_name' => "Locations",
'graphql_interfaces' => array( 'Node' ),
)
);
}
// Custom 'location' post updated messages
add_filter( 'post_updated_messages', 'ccat_location_post_updated_messages' );
function ccat_location_post_updated_messages( $messages ) {
global $post;
$permalink = get_permalink( $post );
$preview_post_link_html = sprintf( ' <a target="_blank" href="%1$s">%2$s</a>', esc_url( get_preview_post_link( $post ) ), __( "Preview Location", 'ccat' ) );
$scheduled_post_link_html = sprintf( ' <a target="_blank" href="%1$s">%2$s</a>', esc_url( $permalink ), __( "Preview Location", 'ccat' ) );
$scheduled_date = date_i18n( __( "M j, Y @ H:i", 'ccat' ), strtotime( $post->post_date ) );
$view_post_link_html = sprintf( ' <a href="%1$s">%2$s</a>', esc_url( $permalink ), __( "View Location", 'ccat' ) );
$messages['location'] = array(
0 => '',
1 => __( "Location updated.", 'ccat' ) . $view_post_link_html,
2 => __( "Custom field updated.", 'ccat' ),
3 => __( "Custom field deleted.", 'ccat' ),
4 => __( "Location updated.", 'ccat' ),
5 => isset( $_GET['revision'] ) ? sprintf( __( "Location restored to revision from %s", 'ccat' ), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false,
6 => __( "Location published.", 'ccat' ) . $view_post_link_html,
7 => __( "Location saved.", 'ccat' ),
8 => __( "Location submitted.", 'ccat' ) . $preview_post_link_html,
9 => sprintf( __( 'Location scheduled for: %s.' ), '<strong>' . $scheduled_date . '</strong>' ) . $scheduled_post_link_html,
10 => __( 'Location draft updated.' ) . $preview_post_link_html,
);
return $messages;
}

View File

@@ -0,0 +1,88 @@
<?php
// Register 'membership' post type
add_action( 'init', 'ccat_membership_register_post_type' );
function ccat_membership_register_post_type() {
register_post_type(
'membership',
array(
'labels' => array(
'name' => __( "Memberships", 'ccat' ),
'menu_name' => __( "Memberships", 'ccat' ),
'singular_name' => __( "Membership", 'ccat' ),
'add_new' => __( "Add New", 'ccat' ),
'add_new_item' => __( "Add New Membership", 'ccat' ),
'new_item' => __( "New Membership", 'ccat' ),
'edit_item' => __( "Edit Membership", 'ccat' ),
'view_item' => __( "View Membership", 'ccat' ),
'view_items' => __( "View Memberships", 'ccat' ),
'search_items' => __( "Search Memberships", 'ccat' ),
'not_found' => __( "No Memberships found", 'ccat' ),
'not_found_in_trash' => __( "No Memberships found in trash", 'ccat' ),
'parent_item_colon' => __( "Parent Membership:", 'ccat' ),
'all_items' => __( "All Memberships", 'ccat' ),
'archives' => __( "Membership Archives", 'ccat' ),
'attributes' => __( "Membership Attributes", 'ccat' ),
'insert_into_item' => __( "Insert into Membership", 'ccat' ),
'uploaded_to_this_item' => __( "Uploaded to this Membership", 'ccat' ),
'featured_image' => __( "Featured Image", 'ccat' ),
'set_featured_image' => __( "Set featured image", 'ccat' ),
'remove_featured_image' => __( "Remove featured image", 'ccat' ),
'use_featured_image' => __( "Use as featured image", 'ccat' ),
'filter_items_list' => __( "Filter Memberships list", 'ccat' ),
'items_list_navigation' => __( "Memberships list navigation", 'ccat' ),
'items_list' => __( "Memberships list", 'ccat' ),
'item_published' => __( "Membership published.", 'ccat' ),
'item_published_privately' => __( "Membership published privately.", 'ccat' ),
'item_reverted_to_draft' => __( "Membership reverted to draft.", 'ccat' ),
'item_scheduled' => __( "Membership scheduled.", 'ccat' ),
'item_updated' => __( "Membership updated.", 'ccat' ),
),
'public' => true,
'hierarchical' => false,
'show_ui' => true,
'show_in_nav_menus' => false,
'supports' => array( 'title', 'thumbnail', 'author', 'revisions' ),
'has_archive' => false,
'rewrite' => array(
'slug' => 'membre',
'with_front' => false,
),
'query_var' => true,
'menu_icon' => 'dashicons-id',
'show_in_rest' => true,
'rest_base' => 'membership',
'rest_controller_class' => 'WP_REST_Posts_Controller',
'show_in_graphql' => true,
'graphql_single_name' => "Membership",
'graphql_plural_name' => "Memberships",
'graphql_interfaces' => array( 'Node' ),
)
);
}
// Custom 'membership' post updated messages
add_filter( 'post_updated_messages', 'ccat_membership_post_updated_messages' );
function ccat_membership_post_updated_messages( $messages ) {
global $post;
$permalink = get_permalink( $post );
$preview_post_link_html = sprintf( ' <a target="_blank" href="%1$s">%2$s</a>', esc_url( get_preview_post_link( $post ) ), __( "Preview Membership", 'ccat' ) );
$scheduled_post_link_html = sprintf( ' <a target="_blank" href="%1$s">%2$s</a>', esc_url( $permalink ), __( "Preview Membership", 'ccat' ) );
$scheduled_date = date_i18n( __( "M j, Y @ H:i", 'ccat' ), strtotime( $post->post_date ) );
$view_post_link_html = sprintf( ' <a href="%1$s">%2$s</a>', esc_url( $permalink ), __( "View Membership", 'ccat' ) );
$messages['membership'] = array(
0 => '',
1 => __( "Membership updated.", 'ccat' ) . $view_post_link_html,
2 => __( "Custom field updated.", 'ccat' ),
3 => __( "Custom field deleted.", 'ccat' ),
4 => __( "Membership updated.", 'ccat' ),
5 => isset( $_GET['revision'] ) ? sprintf( __( "Membership restored to revision from %s", 'ccat' ), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false,
6 => __( "Membership published.", 'ccat' ) . $view_post_link_html,
7 => __( "Membership saved.", 'ccat' ),
8 => __( "Membership submitted.", 'ccat' ) . $preview_post_link_html,
9 => sprintf( __( 'Membership scheduled for: %s.' ), '<strong>' . $scheduled_date . '</strong>' ) . $scheduled_post_link_html,
10 => __( 'Membership draft updated.' ) . $preview_post_link_html,
);
return $messages;
}

View File

@@ -0,0 +1,88 @@
<?php
// Register 'project' post type
add_action( 'init', 'ccat_project_register_post_type' );
function ccat_project_register_post_type() {
register_post_type(
'project',
array(
'labels' => array(
'name' => __( "Projects", 'ccat' ),
'menu_name' => __( "Projects", 'ccat' ),
'singular_name' => __( "Project", 'ccat' ),
'add_new' => __( "Add New", 'ccat' ),
'add_new_item' => __( "Add New Project", 'ccat' ),
'new_item' => __( "New Project", 'ccat' ),
'edit_item' => __( "Edit Project", 'ccat' ),
'view_item' => __( "View Project", 'ccat' ),
'view_items' => __( "View Projects", 'ccat' ),
'search_items' => __( "Search Projects", 'ccat' ),
'not_found' => __( "No Projects found", 'ccat' ),
'not_found_in_trash' => __( "No Projects found in trash", 'ccat' ),
'parent_item_colon' => __( "Parent Project:", 'ccat' ),
'all_items' => __( "All Projects", 'ccat' ),
'archives' => __( "Project Archives", 'ccat' ),
'attributes' => __( "Project Attributes", 'ccat' ),
'insert_into_item' => __( "Insert into Project", 'ccat' ),
'uploaded_to_this_item' => __( "Uploaded to this Project", 'ccat' ),
'featured_image' => __( "Featured Image", 'ccat' ),
'set_featured_image' => __( "Set featured image", 'ccat' ),
'remove_featured_image' => __( "Remove featured image", 'ccat' ),
'use_featured_image' => __( "Use as featured image", 'ccat' ),
'filter_items_list' => __( "Filter Projects list", 'ccat' ),
'items_list_navigation' => __( "Projects list navigation", 'ccat' ),
'items_list' => __( "Projects list", 'ccat' ),
'item_published' => __( "Project published.", 'ccat' ),
'item_published_privately' => __( "Project published privately.", 'ccat' ),
'item_reverted_to_draft' => __( "Project reverted to draft.", 'ccat' ),
'item_scheduled' => __( "Project scheduled.", 'ccat' ),
'item_updated' => __( "Project updated.", 'ccat' ),
),
'public' => true,
'hierarchical' => false,
'show_ui' => true,
'show_in_nav_menus' => true,
'supports' => array( 'title', 'thumbnail', 'excerpt', 'revisions' ),
'has_archive' => false,
'rewrite' => array(
'slug' => 'projet',
'with_front' => false,
),
'query_var' => true,
'menu_icon' => 'dashicons-portfolio',
'show_in_rest' => true,
'rest_base' => 'project',
'rest_controller_class' => 'WP_REST_Posts_Controller',
'show_in_graphql' => true,
'graphql_single_name' => "Project",
'graphql_plural_name' => "Projects",
'graphql_interfaces' => array( 'Node' ),
)
);
}
// Custom 'project' post updated messages
add_filter( 'post_updated_messages', 'ccat_project_post_updated_messages' );
function ccat_project_post_updated_messages( $messages ) {
global $post;
$permalink = get_permalink( $post );
$preview_post_link_html = sprintf( ' <a target="_blank" href="%1$s">%2$s</a>', esc_url( get_preview_post_link( $post ) ), __( "Preview Project", 'ccat' ) );
$scheduled_post_link_html = sprintf( ' <a target="_blank" href="%1$s">%2$s</a>', esc_url( $permalink ), __( "Preview Project", 'ccat' ) );
$scheduled_date = date_i18n( __( "M j, Y @ H:i", 'ccat' ), strtotime( $post->post_date ) );
$view_post_link_html = sprintf( ' <a href="%1$s">%2$s</a>', esc_url( $permalink ), __( "View Project", 'ccat' ) );
$messages['project'] = array(
0 => '',
1 => __( "Project updated.", 'ccat' ) . $view_post_link_html,
2 => __( "Custom field updated.", 'ccat' ),
3 => __( "Custom field deleted.", 'ccat' ),
4 => __( "Project updated.", 'ccat' ),
5 => isset( $_GET['revision'] ) ? sprintf( __( "Project restored to revision from %s", 'ccat' ), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false,
6 => __( "Project published.", 'ccat' ) . $view_post_link_html,
7 => __( "Project saved.", 'ccat' ),
8 => __( "Project submitted.", 'ccat' ) . $preview_post_link_html,
9 => sprintf( __( 'Project scheduled for: %s.' ), '<strong>' . $scheduled_date . '</strong>' ) . $scheduled_post_link_html,
10 => __( 'Project draft updated.' ) . $preview_post_link_html,
);
return $messages;
}

View File

@@ -0,0 +1,85 @@
<?php
// Register 'representation' post type
add_action( 'init', 'ccat_representation_register_post_type' );
function ccat_representation_register_post_type() {
register_post_type(
'representation',
array(
'labels' => array(
'name' => __( "Representations", 'ccat' ),
'menu_name' => __( "Representations", 'ccat' ),
'singular_name' => __( "Representation", 'ccat' ),
'add_new' => __( "Add New", 'ccat' ),
'add_new_item' => __( "Add New Representation", 'ccat' ),
'new_item' => __( "New Representation", 'ccat' ),
'edit_item' => __( "Edit Representation", 'ccat' ),
'view_item' => __( "View Representation", 'ccat' ),
'view_items' => __( "View Representations", 'ccat' ),
'search_items' => __( "Search Representations", 'ccat' ),
'not_found' => __( "No Representations found", 'ccat' ),
'not_found_in_trash' => __( "No Representations found in trash", 'ccat' ),
'parent_item_colon' => __( "Parent Representation:", 'ccat' ),
'all_items' => __( "All Representations", 'ccat' ),
'archives' => __( "Representation Archives", 'ccat' ),
'attributes' => __( "Representation Attributes", 'ccat' ),
'insert_into_item' => __( "Insert into Representation", 'ccat' ),
'uploaded_to_this_item' => __( "Uploaded to this Representation", 'ccat' ),
'featured_image' => __( "Featured Image", 'ccat' ),
'set_featured_image' => __( "Set featured image", 'ccat' ),
'remove_featured_image' => __( "Remove featured image", 'ccat' ),
'use_featured_image' => __( "Use as featured image", 'ccat' ),
'filter_items_list' => __( "Filter Representations list", 'ccat' ),
'items_list_navigation' => __( "Representations list navigation", 'ccat' ),
'items_list' => __( "Representations list", 'ccat' ),
'item_published' => __( "Representation published.", 'ccat' ),
'item_published_privately' => __( "Representation published privately.", 'ccat' ),
'item_reverted_to_draft' => __( "Representation reverted to draft.", 'ccat' ),
'item_scheduled' => __( "Representation scheduled.", 'ccat' ),
'item_updated' => __( "Representation updated.", 'ccat' ),
),
'public' => false,
'hierarchical' => false,
'show_ui' => true,
'show_in_nav_menus' => false,
'supports' => array( 'title', 'revisions' ),
'has_archive' => false,
'rewrite' => false,
'query_var' => true,
'menu_icon' => 'dashicons-tickets-alt',
'show_in_rest' => true,
'rest_base' => 'representation',
'rest_controller_class' => 'WP_REST_Posts_Controller',
'show_in_graphql' => true,
'graphql_single_name' => "Representation",
'graphql_plural_name' => "Representations",
'graphql_interfaces' => array( 'Node' ),
)
);
}
// Custom 'representation' post updated messages
add_filter( 'post_updated_messages', 'ccat_representation_post_updated_messages' );
function ccat_representation_post_updated_messages( $messages ) {
global $post;
$permalink = get_permalink( $post );
$preview_post_link_html = sprintf( ' <a target="_blank" href="%1$s">%2$s</a>', esc_url( get_preview_post_link( $post ) ), __( "Preview Representation", 'ccat' ) );
$scheduled_post_link_html = sprintf( ' <a target="_blank" href="%1$s">%2$s</a>', esc_url( $permalink ), __( "Preview Representation", 'ccat' ) );
$scheduled_date = date_i18n( __( "M j, Y @ H:i", 'ccat' ), strtotime( $post->post_date ) );
$view_post_link_html = sprintf( ' <a href="%1$s">%2$s</a>', esc_url( $permalink ), __( "View Representation", 'ccat' ) );
$messages['representation'] = array(
0 => '',
1 => __( "Representation updated.", 'ccat' ) . $view_post_link_html,
2 => __( "Custom field updated.", 'ccat' ),
3 => __( "Custom field deleted.", 'ccat' ),
4 => __( "Representation updated.", 'ccat' ),
5 => isset( $_GET['revision'] ) ? sprintf( __( "Representation restored to revision from %s", 'ccat' ), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false,
6 => __( "Representation published.", 'ccat' ) . $view_post_link_html,
7 => __( "Representation saved.", 'ccat' ),
8 => __( "Representation submitted.", 'ccat' ) . $preview_post_link_html,
9 => sprintf( __( 'Representation scheduled for: %s.' ), '<strong>' . $scheduled_date . '</strong>' ) . $scheduled_post_link_html,
10 => __( 'Representation draft updated.' ) . $preview_post_link_html,
);
return $messages;
}

View File

@@ -0,0 +1,88 @@
<?php
// Register 'resource' post type
add_action( 'init', 'ccat_resource_register_post_type' );
function ccat_resource_register_post_type() {
register_post_type(
'resource',
array(
'labels' => array(
'name' => __( "Resources", 'ccat' ),
'menu_name' => __( "Resources", 'ccat' ),
'singular_name' => __( "Resource", 'ccat' ),
'add_new' => __( "Add New", 'ccat' ),
'add_new_item' => __( "Add New Resource", 'ccat' ),
'new_item' => __( "New Resource", 'ccat' ),
'edit_item' => __( "Edit Resource", 'ccat' ),
'view_item' => __( "View Resource", 'ccat' ),
'view_items' => __( "View Resources", 'ccat' ),
'search_items' => __( "Search Resources", 'ccat' ),
'not_found' => __( "No Resources found", 'ccat' ),
'not_found_in_trash' => __( "No Resources found in trash", 'ccat' ),
'parent_item_colon' => __( "Parent Resource:", 'ccat' ),
'all_items' => __( "All Resources", 'ccat' ),
'archives' => __( "Resource Archives", 'ccat' ),
'attributes' => __( "Resource Attributes", 'ccat' ),
'insert_into_item' => __( "Insert into Resource", 'ccat' ),
'uploaded_to_this_item' => __( "Uploaded to this Resource", 'ccat' ),
'featured_image' => __( "Featured Image", 'ccat' ),
'set_featured_image' => __( "Set featured image", 'ccat' ),
'remove_featured_image' => __( "Remove featured image", 'ccat' ),
'use_featured_image' => __( "Use as featured image", 'ccat' ),
'filter_items_list' => __( "Filter Resources list", 'ccat' ),
'items_list_navigation' => __( "Resources list navigation", 'ccat' ),
'items_list' => __( "Resources list", 'ccat' ),
'item_published' => __( "Resource published.", 'ccat' ),
'item_published_privately' => __( "Resource published privately.", 'ccat' ),
'item_reverted_to_draft' => __( "Resource reverted to draft.", 'ccat' ),
'item_scheduled' => __( "Resource scheduled.", 'ccat' ),
'item_updated' => __( "Resource updated.", 'ccat' ),
),
'public' => true,
'hierarchical' => false,
'show_ui' => true,
'show_in_nav_menus' => false,
'supports' => array( 'title', 'thumbnail', 'excerpt', 'revisions' ),
'has_archive' => false,
'rewrite' => array(
'slug' => 'ressource',
'with_front' => false,
),
'query_var' => true,
'menu_icon' => 'dashicons-admin-tools',
'show_in_rest' => true,
'rest_base' => 'resource',
'rest_controller_class' => 'WP_REST_Posts_Controller',
'show_in_graphql' => true,
'graphql_single_name' => "Resource",
'graphql_plural_name' => "Resources",
'graphql_interfaces' => array( 'Node' ),
)
);
}
// Custom 'resource' post updated messages
add_filter( 'post_updated_messages', 'ccat_resource_post_updated_messages' );
function ccat_resource_post_updated_messages( $messages ) {
global $post;
$permalink = get_permalink( $post );
$preview_post_link_html = sprintf( ' <a target="_blank" href="%1$s">%2$s</a>', esc_url( get_preview_post_link( $post ) ), __( "Preview Resource", 'ccat' ) );
$scheduled_post_link_html = sprintf( ' <a target="_blank" href="%1$s">%2$s</a>', esc_url( $permalink ), __( "Preview Resource", 'ccat' ) );
$scheduled_date = date_i18n( __( "M j, Y @ H:i", 'ccat' ), strtotime( $post->post_date ) );
$view_post_link_html = sprintf( ' <a href="%1$s">%2$s</a>', esc_url( $permalink ), __( "View Resource", 'ccat' ) );
$messages['resource'] = array(
0 => '',
1 => __( "Resource updated.", 'ccat' ) . $view_post_link_html,
2 => __( "Custom field updated.", 'ccat' ),
3 => __( "Custom field deleted.", 'ccat' ),
4 => __( "Resource updated.", 'ccat' ),
5 => isset( $_GET['revision'] ) ? sprintf( __( "Resource restored to revision from %s", 'ccat' ), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false,
6 => __( "Resource published.", 'ccat' ) . $view_post_link_html,
7 => __( "Resource saved.", 'ccat' ),
8 => __( "Resource submitted.", 'ccat' ) . $preview_post_link_html,
9 => sprintf( __( 'Resource scheduled for: %s.' ), '<strong>' . $scheduled_date . '</strong>' ) . $scheduled_post_link_html,
10 => __( 'Resource draft updated.' ) . $preview_post_link_html,
);
return $messages;
}

View File

@@ -0,0 +1,85 @@
<?php
// Register 'template' post type
add_action( 'init', 'ccat_template_register_post_type' );
function ccat_template_register_post_type() {
register_post_type(
'template',
array(
'labels' => array(
'name' => __( "Templates", 'ccat' ),
'menu_name' => __( "Templates", 'ccat' ),
'singular_name' => __( "Template", 'ccat' ),
'add_new' => __( "Add New", 'ccat' ),
'add_new_item' => __( "Add New Template", 'ccat' ),
'new_item' => __( "New Template", 'ccat' ),
'edit_item' => __( "Edit Template", 'ccat' ),
'view_item' => __( "View Template", 'ccat' ),
'view_items' => __( "View Templates", 'ccat' ),
'search_items' => __( "Search Templates", 'ccat' ),
'not_found' => __( "No Templates found", 'ccat' ),
'not_found_in_trash' => __( "No Templates found in trash", 'ccat' ),
'parent_item_colon' => __( "Parent Template:", 'ccat' ),
'all_items' => __( "All Templates", 'ccat' ),
'archives' => __( "Template Archives", 'ccat' ),
'attributes' => __( "Template Attributes", 'ccat' ),
'insert_into_item' => __( "Insert into Template", 'ccat' ),
'uploaded_to_this_item' => __( "Uploaded to this Template", 'ccat' ),
'featured_image' => __( "Featured Image", 'ccat' ),
'set_featured_image' => __( "Set featured image", 'ccat' ),
'remove_featured_image' => __( "Remove featured image", 'ccat' ),
'use_featured_image' => __( "Use as featured image", 'ccat' ),
'filter_items_list' => __( "Filter Templates list", 'ccat' ),
'items_list_navigation' => __( "Templates list navigation", 'ccat' ),
'items_list' => __( "Templates list", 'ccat' ),
'item_published' => __( "Template published.", 'ccat' ),
'item_published_privately' => __( "Template published privately.", 'ccat' ),
'item_reverted_to_draft' => __( "Template reverted to draft.", 'ccat' ),
'item_scheduled' => __( "Template scheduled.", 'ccat' ),
'item_updated' => __( "Template updated.", 'ccat' ),
),
'public' => false,
'hierarchical' => false,
'show_ui' => true,
'show_in_nav_menus' => false,
'supports' => array( 'title', 'revisions' ),
'has_archive' => false,
'rewrite' => false,
'query_var' => true,
'menu_icon' => 'dashicons-clipboard',
'show_in_rest' => true,
'rest_base' => 'template',
'rest_controller_class' => 'WP_REST_Posts_Controller',
'show_in_graphql' => true,
'graphql_single_name' => "Template",
'graphql_plural_name' => "Templates",
'graphql_interfaces' => array( 'Node' ),
)
);
}
// Custom 'template' post updated messages
add_filter( 'post_updated_messages', 'ccat_template_post_updated_messages' );
function ccat_template_post_updated_messages( $messages ) {
global $post;
$permalink = get_permalink( $post );
$preview_post_link_html = sprintf( ' <a target="_blank" href="%1$s">%2$s</a>', esc_url( get_preview_post_link( $post ) ), __( "Preview Template", 'ccat' ) );
$scheduled_post_link_html = sprintf( ' <a target="_blank" href="%1$s">%2$s</a>', esc_url( $permalink ), __( "Preview Template", 'ccat' ) );
$scheduled_date = date_i18n( __( "M j, Y @ H:i", 'ccat' ), strtotime( $post->post_date ) );
$view_post_link_html = sprintf( ' <a href="%1$s">%2$s</a>', esc_url( $permalink ), __( "View Template", 'ccat' ) );
$messages['template'] = array(
0 => '',
1 => __( "Template updated.", 'ccat' ) . $view_post_link_html,
2 => __( "Custom field updated.", 'ccat' ),
3 => __( "Custom field deleted.", 'ccat' ),
4 => __( "Template updated.", 'ccat' ),
5 => isset( $_GET['revision'] ) ? sprintf( __( "Template restored to revision from %s", 'ccat' ), wp_post_revision_title( (int) $_GET['revision'], false ) ) : false,
6 => __( "Template published.", 'ccat' ) . $view_post_link_html,
7 => __( "Template saved.", 'ccat' ),
8 => __( "Template submitted.", 'ccat' ) . $preview_post_link_html,
9 => sprintf( __( 'Template scheduled for: %s.' ), '<strong>' . $scheduled_date . '</strong>' ) . $scheduled_post_link_html,
10 => __( 'Template draft updated.' ) . $preview_post_link_html,
);
return $messages;
}

View File

@@ -0,0 +1,92 @@
<?php
// Register 'discipline' taxonomy
add_action( 'init', 'ccat_discipline_register_taxonomy' );
function ccat_discipline_register_taxonomy() {
register_taxonomy(
'discipline',
array( 'contributor', 'event' ),
array(
'labels' => array(
'name' => __( "Disciplines", 'ccat' ),
'singular_name' => __( "Discipline", 'ccat' ),
'search_items' => __( "Search disciplines", 'ccat' ),
'popular_items' => __( "Popular disciplines", 'ccat' ),
'all_items' => __( "All disciplines", 'ccat' ),
'parent_item' => __( "Parent discipline", 'ccat' ),
'parent_item_colon' => __( "Parent discipline:", 'ccat' ),
'edit_item' => __( "Edit discipline", 'ccat' ),
'update_item' => __( "Update discipline", 'ccat' ),
'view_item' => __( "View discipline", 'ccat' ),
'add_new_item' => __( "New discipline", 'ccat' ),
'new_item_name' => __( "New discipline", 'ccat' ),
'separate_items_with_commas' => __( "Separate disciplines with commas", 'ccat' ),
'add_or_remove_items' => __( "Add or remove disciplines", 'ccat' ),
'choose_from_most_used' => __( "Choose from the most used disciplines", 'ccat' ),
'not_found' => __( "No disciplines found.", 'ccat' ),
'no_terms' => __( "No disciplines", 'ccat' ),
'menu_name' => __( "Disciplines", 'ccat' ),
'items_list_navigation' => __( "Disciplines list navigation", 'ccat' ),
'items_list' => __( "Disciplines list", 'ccat' ),
'most_used' => __( "Most used", 'ccat' ),
'back_to_items' => __( "&larr; Back to disciplines", 'ccat' ),
),
'public' => false,
'hierarchical' => true,
'show_ui' => true,
'show_in_menu' => false,
'show_in_nav_menus' => false,
'show_admin_column' => true,
'rewrite' => false,
'query_var' => true,
'show_in_rest' => true,
'rest_base' => 'discipline',
'rest_controller_class' => 'WP_REST_Terms_Controller',
'meta_box_cb' => false,
'show_in_graphql' => true,
'graphql_single_name' => "Discipline",
'graphql_plural_name' => "Disciplines",
'graphql_interfaces' => array( 'Node' ),
)
);
}
// Custom 'discipline' term updated messages
add_filter( 'term_updated_messages', 'ccat_discipline_term_updated_messages' );
function ccat_discipline_term_updated_messages( $messages ) {
$messages['discipline'] = array(
0 => '',
1 => __( "Discipline added.", 'ccat' ),
2 => __( "Discipline deleted.", 'ccat' ),
3 => __( "Discipline updated.", 'ccat' ),
4 => __( "Discipline not added.", 'ccat' ),
5 => __( "Discipline not updated.", 'ccat' ),
6 => __( "Disciplines deleted.", 'ccat' ),
);
return $messages;
}
// Add a top-level menu for the 'discipline' taxonomy in the admin menu
add_action( 'admin_menu', 'ccat_discripline_admin_menu' );
function ccat_discripline_admin_menu() {
add_menu_page(
'Disciplines',
'Disciplines',
'manage_options',
'edit-tags.php?taxonomy=discipline',
'',
'dashicons-microphone',
5
);
}
// Set the 'discipline' taxonomy menu as active in the admin menu
add_filter( 'parent_file', 'ccat_discipline_parent_file' );
function ccat_discipline_parent_file( $parent_file ) {
global $current_screen;
if ( isset( $current_screen->taxonomy ) && $current_screen->taxonomy === 'discipline' ) {
$parent_file = 'edit-tags.php?taxonomy=discipline';
}
return $parent_file;
}

View File

@@ -0,0 +1,68 @@
<?php
// Register 'project-category' taxonomy
add_action( 'init', 'ccat_project_category_register_taxonomy' );
function ccat_project_category_register_taxonomy() {
register_taxonomy(
'project_category',
array( 'project' ),
array(
'labels' => array(
'name' => __( "Project categories", 'ccat' ),
'singular_name' => __( "Project category", 'ccat' ),
'search_items' => __( "Search project-categories", 'ccat' ),
'popular_items' => __( "Popular project-categories", 'ccat' ),
'all_items' => __( "All project-categories", 'ccat' ),
'parent_item' => __( "Parent project-category", 'ccat' ),
'parent_item_colon' => __( "Parent project-category:", 'ccat' ),
'edit_item' => __( "Edit project-category", 'ccat' ),
'update_item' => __( "Update project-category", 'ccat' ),
'view_item' => __( "View project-category", 'ccat' ),
'add_new_item' => __( "New project-category", 'ccat' ),
'new_item_name' => __( "New project-category", 'ccat' ),
'separate_items_with_commas' => __( "Separate project-categories with commas", 'ccat' ),
'add_or_remove_items' => __( "Add or remove project-categories", 'ccat' ),
'choose_from_most_used' => __( "Choose from the most used project-categories", 'ccat' ),
'not_found' => __( "No project-categories found.", 'ccat' ),
'no_terms' => __( "No project-categories", 'ccat' ),
'menu_name' => __( "Project categories", 'ccat' ),
'items_list_navigation' => __( "Project categories list navigation", 'ccat' ),
'items_list' => __( "Project categories list", 'ccat' ),
'most_used' => __( "Most used", 'ccat' ),
'back_to_items' => __( "&larr; Back to project-categories", 'ccat' ),
),
'public' => false,
'hierarchical' => false,
'show_ui' => true,
'show_in_menu' => true,
'show_in_nav_menus' => false,
'show_admin_column' => true,
'rewrite' => false,
'query_var' => true,
'show_in_rest' => true,
'rest_base' => 'project_category',
'rest_controller_class' => 'WP_REST_Terms_Controller',
'meta_box_cb' => false,
'show_in_graphql' => true,
'graphql_single_name' => "ProjectCategory",
'graphql_plural_name' => "ProjectCategories",
'graphql_interfaces' => array( 'Node' ),
)
);
}
// Custom 'project-category' term updated messages
add_filter( 'term_updated_messages', 'ccat_project_category_term_updated_messages' );
function ccat_project_category_term_updated_messages( $messages ) {
$messages['project_category'] = array(
0 => '',
1 => __( "Project category added.", 'ccat' ),
2 => __( "Project category deleted.", 'ccat' ),
3 => __( "Project category updated.", 'ccat' ),
4 => __( "Project category not added.", 'ccat' ),
5 => __( "Project category not updated.", 'ccat' ),
6 => __( "Project categories deleted.", 'ccat' ),
);
return $messages;
}

View File

@@ -0,0 +1,68 @@
<?php
// Register 'resource-category' taxonomy
add_action( 'init', 'ccat_resource_category_register_taxonomy' );
function ccat_resource_category_register_taxonomy() {
register_taxonomy(
'resource_category',
array( 'resource' ),
array(
'labels' => array(
'name' => __( "Resource categories", 'ccat' ),
'singular_name' => __( "Resource category", 'ccat' ),
'search_items' => __( "Search resource-categories", 'ccat' ),
'popular_items' => __( "Popular resource-categories", 'ccat' ),
'all_items' => __( "All resource-categories", 'ccat' ),
'parent_item' => __( "Parent resource-category", 'ccat' ),
'parent_item_colon' => __( "Parent resource-category:", 'ccat' ),
'edit_item' => __( "Edit resource-category", 'ccat' ),
'update_item' => __( "Update resource-category", 'ccat' ),
'view_item' => __( "View resource-category", 'ccat' ),
'add_new_item' => __( "New resource-category", 'ccat' ),
'new_item_name' => __( "New resource-category", 'ccat' ),
'separate_items_with_commas' => __( "Separate resource-categories with commas", 'ccat' ),
'add_or_remove_items' => __( "Add or remove resource-categories", 'ccat' ),
'choose_from_most_used' => __( "Choose from the most used resource-categories", 'ccat' ),
'not_found' => __( "No resource-categories found.", 'ccat' ),
'no_terms' => __( "No resource-categories", 'ccat' ),
'menu_name' => __( "Resource categories", 'ccat' ),
'items_list_navigation' => __( "Resource categories list navigation", 'ccat' ),
'items_list' => __( "Resource categories list", 'ccat' ),
'most_used' => __( "Most used", 'ccat' ),
'back_to_items' => __( "&larr; Back to resource-categories", 'ccat' ),
),
'public' => false,
'hierarchical' => false,
'show_ui' => true,
'show_in_menu' => true,
'show_in_nav_menus' => false,
'show_admin_column' => true,
'rewrite' => false,
'query_var' => true,
'show_in_rest' => true,
'rest_base' => 'resource_category',
'rest_controller_class' => 'WP_REST_Terms_Controller',
'meta_box_cb' => false,
'show_in_graphql' => true,
'graphql_single_name' => "ResourceCategory",
'graphql_plural_name' => "ResourceCategories",
'graphql_interfaces' => array( 'Node' ),
)
);
}
// Custom 'resource-category' term updated messages
add_filter( 'term_updated_messages', 'ccat_resource_category_term_updated_messages' );
function ccat_resource_category_term_updated_messages( $messages ) {
$messages['resource_category'] = array(
0 => '',
1 => __( "Resource category added.", 'ccat' ),
2 => __( "Resource category deleted.", 'ccat' ),
3 => __( "Resource category updated.", 'ccat' ),
4 => __( "Resource category not added.", 'ccat' ),
5 => __( "Resource category not updated.", 'ccat' ),
6 => __( "Resource categories deleted.", 'ccat' ),
);
return $messages;
}

View File

@@ -0,0 +1,20 @@
<?php
// Disable ACF / ACFE modules
add_action( 'acf/init', 'ccat_acf_init' );
function ccat_acf_init() {
acf_update_setting( 'acfe/modules/block_types', false );
acf_update_setting( 'acfe/modules/categories', false );
acf_update_setting( 'acfe/modules/forms', false );
acf_update_setting( 'acfe/modules/options_pages', false );
acf_update_setting( 'acfe/modules/post_types', false );
acf_update_setting( 'acfe/modules/taxonomies', false );
acf_update_setting( 'acfe/modules/templates', false );
}
// Google Maps API key
add_filter( 'acf/fields/google_map/api', 'ccat_acf_google_map_api' );
function ccat_acf_google_map_api( $api ) {
$api['key'] = 'AIzaSyAg30RB3c6ICeAklV_9CSJ_80uPThr4Qn8';
return $api;
}

View File

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1 @@
You are a machine translating English to French Canadian text.

View File

@@ -0,0 +1,9 @@
/*
Theme Name: CCAT
Author: Websimple <info@websimple.com>
Author URI: https://websimple.com/
Description: Conseil de la culture de l'Abitibi-Témiscamingue
Version: 0.1.0
Text Domain: ccat
Template: kaliroots
*/