add files
This commit is contained in:
13
template-parts/single/post-subscribe-disclaimer.php
Normal file
13
template-parts/single/post-subscribe-disclaimer.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<!--[single/post-subscribe-disclaimer]-->
|
||||
|
||||
<?php if ( get_post_type( get_queried_object_id() ) == "profile_article" ) : ?>
|
||||
|
||||
<?php get_template_part("template-parts/single/post-subscribe-disclaimer-articles") ?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<?php get_template_part("template-parts/single/post-subscribe-disclaimer-news") ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<!--[/single/post-subscribe-disclaimer]-->
|
||||
Reference in New Issue
Block a user