From a27e6af5db92a5221311d7137a120c1672d3e807 Mon Sep 17 00:00:00 2001 From: Pascal Martineau Date: Wed, 28 Jan 2026 21:10:26 -0500 Subject: [PATCH] fix: term_order and default WPGraphQL settings --- wp-content/themes/moonshine/functions.php | 4 ++++ .../moonshine/includes/vendors/wpgraphql.php | 17 +++++++++++++++++ .../includes/wpgraphql/term-connection.php | 13 +++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 wp-content/themes/moonshine/includes/vendors/wpgraphql.php create mode 100644 wp-content/themes/moonshine/includes/wpgraphql/term-connection.php diff --git a/wp-content/themes/moonshine/functions.php b/wp-content/themes/moonshine/functions.php index d5e23dd..173c936 100644 --- a/wp-content/themes/moonshine/functions.php +++ b/wp-content/themes/moonshine/functions.php @@ -6,3 +6,7 @@ require_once __DIR__ . '/includes/core/theme-setup.php'; // Vendors require_once __DIR__ . '/includes/vendors/acf.php'; require_once __DIR__ . '/includes/vendors/tinymce.php'; +require_once __DIR__ . '/includes/vendors/wpgraphql.php'; + +// WPGraphQL +require_once __DIR__ . '/includes/wpgraphql/term-connection.php'; diff --git a/wp-content/themes/moonshine/includes/vendors/wpgraphql.php b/wp-content/themes/moonshine/includes/vendors/wpgraphql.php new file mode 100644 index 0000000..6bbab97 --- /dev/null +++ b/wp-content/themes/moonshine/includes/vendors/wpgraphql.php @@ -0,0 +1,17 @@ +