From abadb3cea2c94d98db22a76db6b18170702b148e Mon Sep 17 00:00:00 2001 From: jorge-vitrubio Date: Thu, 29 Dec 2022 10:50:00 +0100 Subject: [PATCH] updated gitignore, removed development files --- .gitignore | 2 +- template-parts/acf-queries.php | 70 --------------- .../section-posts-from-category.php | 89 ------------------- .../section-posts-from-custom-type.php | 73 --------------- 4 files changed, 1 insertion(+), 233 deletions(-) delete mode 100644 template-parts/acf-queries.php delete mode 100644 template-parts/section-posts-from-category.php delete mode 100644 template-parts/section-posts-from-custom-type.php diff --git a/.gitignore b/.gitignore index 28f9a35..bd82b0e 100644 --- a/.gitignore +++ b/.gitignore @@ -28,4 +28,4 @@ node_modules/ .vscode/ .DS_Store theme/ - +_gitignore* diff --git a/template-parts/acf-queries.php b/template-parts/acf-queries.php deleted file mode 100644 index 5509880..0000000 --- a/template-parts/acf-queries.php +++ /dev/null @@ -1,70 +0,0 @@ - - - - 'ofisuport-ajut', - 'post_per_page' => '4' - ) ); - ?> - have_posts() ) : ?> - have_posts() ) : $the_query->the_post(); ?> -
-

- - - -

-
- - - -
    -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - - - - - -
  • -
-
-
- - - -

- diff --git a/template-parts/section-posts-from-category.php b/template-parts/section-posts-from-category.php deleted file mode 100644 index 44eda53..0000000 --- a/template-parts/section-posts-from-category.php +++ /dev/null @@ -1,89 +0,0 @@ - - - 'news', 'post_per_page' => '3' ) ); - $thiscategory = $args['category_name']; - $howmanyposts = $args['post_per_page']; - ?> - -
-
-

- -

-
-
- $thiscategory, 'posts_per_page' => $howmanyposts ) ); ?> - have_posts() ) : ?> - have_posts() ) : $the_query->the_post(); ?> - - -
- - - -

- - - -
diff --git a/template-parts/section-posts-from-custom-type.php b/template-parts/section-posts-from-custom-type.php deleted file mode 100644 index e6005cc..0000000 --- a/template-parts/section-posts-from-custom-type.php +++ /dev/null @@ -1,73 +0,0 @@ - - - - 'news', 'post_per_page' => '3' ) ); - $thiscustomposttype = get_post_type( get_the_ID() ); - $howmanyposts = $args['post_per_page']; -?> -
-
-

- -

-
-
- $thiscustomposttype, 'posts_per_page' => $howmanyposts ) ); ?> - have_posts() ) : ?> - have_posts() ) : $the_query->the_post(); ?> - - - - - -

- -
- -