From dbdd3c3b51257bc83ea4df01f51ec160bbeb0394 Mon Sep 17 00:00:00 2001 From: jorge-vitrubio Date: Thu, 29 Dec 2022 16:58:39 +0100 Subject: [PATCH] standarized values in php --- template-parts/content-ofisuport-ajut.php | 51 ++++++++++++++++++++ template-parts/content-post.php | 57 +++++++++++++++++++++++ template-parts/section-featured.php | 12 ++--- template-parts/section-list-checkbox.php | 8 ++-- 4 files changed, 118 insertions(+), 10 deletions(-) create mode 100644 template-parts/content-ofisuport-ajut.php create mode 100644 template-parts/content-post.php diff --git a/template-parts/content-ofisuport-ajut.php b/template-parts/content-ofisuport-ajut.php new file mode 100644 index 0000000..0720007 --- /dev/null +++ b/template-parts/content-ofisuport-ajut.php @@ -0,0 +1,51 @@ + + +
> +
+ ', '' ); ?> + + + + +
+ +
+ "%s"', 'ofisuport' ), + array( + 'span' => array( + 'class' => array(), + ), + ) + ), + wp_kses_post( get_the_title() ) + ) + ); + + wp_link_pages( + array( + 'before' => '', + ) + ); + ?> +
+ +
+ +
+
diff --git a/template-parts/content-post.php b/template-parts/content-post.php new file mode 100644 index 0000000..6d8389b --- /dev/null +++ b/template-parts/content-post.php @@ -0,0 +1,57 @@ + + +
> +
+ ', '' ); + + if ( 'post' === get_post_type() ) : + ?> + + +
+ +
+ "%s"', 'ofisuport' ), + array( + 'span' => array( + 'class' => array(), + ), + ) + ), + wp_kses_post( get_the_title() ) + ) + ); + + wp_link_pages( + array( + 'before' => '', + ) + ); + ?> +
+ +
+ +
+
diff --git a/template-parts/section-featured.php b/template-parts/section-featured.php index 40ca83d..9acc75a 100644 --- a/template-parts/section-featured.php +++ b/template-parts/section-featured.php @@ -56,12 +56,12 @@