diff --git a/archive.php b/archive.php index 84a13f8..85b8eb8 100644 --- a/archive.php +++ b/archive.php @@ -16,11 +16,11 @@ 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(); + } +} diff --git a/page-templates/front-page.php.off b/page-templates/front-page.php.off new file mode 100644 index 0000000..bb159e3 --- /dev/null +++ b/page-templates/front-page.php.off @@ -0,0 +1,53 @@ + + +
+ + +
+

+
+ + +
+ +