diff --git a/archive.php b/archive.php
index 85b8eb8..e9877b8 100644
--- a/archive.php
+++ b/archive.php
@@ -15,12 +15,8 @@ get_header();
-
+
rewrite['slug'];
- echo $post_type_slug;
- };
-}
-
function ofisuport_class_posttype (){
if( is_post_type_archive( array('ofisuport-ajut') )) {
echo ' archive-custom-post-type-';
- ofisuport_echo_posttype_slug();
+ printf(get_post_type_object( get_post_type() )->rewrite['slug'] );
}
}
diff --git a/template-parts/section-eachpost.php b/template-parts/section-eachpost.php
new file mode 100644
index 0000000..e1493c8
--- /dev/null
+++ b/template-parts/section-eachpost.php
@@ -0,0 +1,36 @@
+
+
+ >
+
+
+
+
+
+
+
+
diff --git a/template-parts/section-featured.php b/template-parts/section-featured.php
index 9acc75a..7458fc8 100644
--- a/template-parts/section-featured.php
+++ b/template-parts/section-featured.php
@@ -40,33 +40,7 @@
have_posts() ) : ?>
have_posts() ) : $the_query->the_post(); ?>
-
-
-
-
-
-
-
-
-
-
+