From 42927ccbf91e56c47517635f96573065f0832c63 Mon Sep 17 00:00:00 2001 From: jorge-vitrubio Date: Mon, 30 Jan 2023 18:17:37 +0100 Subject: [PATCH] edited how to show faqs and its labels --- page-templates/faqs-page.php | 9 ++++++--- template-parts/section-eachpost.php | 2 ++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/page-templates/faqs-page.php b/page-templates/faqs-page.php index 94a7349..6fbe614 100644 --- a/page-templates/faqs-page.php +++ b/page-templates/faqs-page.php @@ -42,8 +42,11 @@ get_header(); endif; ?> - - + + + + + 'post', - 'category' => 'faq', + 'category_name' => 'faq', 'post_per_page' => '8' ) ); ?> diff --git a/template-parts/section-eachpost.php b/template-parts/section-eachpost.php index a331a3c..abac53f 100644 --- a/template-parts/section-eachpost.php +++ b/template-parts/section-eachpost.php @@ -36,7 +36,9 @@ + 'os_fund_call') ); ?> +