add files
This commit is contained in:
7
content-page-new.php
Normal file
7
content-page-new.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php $post = get_post(get_queried_object_id()); ?>
|
||||
<?php $adfoxDate = date("U"); ?>
|
||||
<?php if (in_array(get_post_type(), array('anew', 'yellow'))): ?>
|
||||
<?php get_template_part('content', 'page-template-anew'); ?>
|
||||
<?php else: ?>
|
||||
<?php get_template_part('content', 'page-template-profile_article'); ?>
|
||||
<?php endif; ?>
|
||||
Reference in New Issue
Block a user