This commit is contained in:
g
2020-08-13 14:48:16 +03:00
parent a72e5c32e3
commit 1f4ab5490a
3 changed files with 46 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
<?php
get_header();
$post = get_post();
?>
<?=$post->ID ?>
<?=get_the_title($post); ?>
<?=get_post_meta($post->ID,'title2',true); ?>
<?=get_the_post_thumbnail_url(); ?>
<?=get_permalink(); ?>
<?php $categories = get_the_category();
foreach($categories as $category):?>
<?=$category->term_id; ?>
<?=$category->slug; ?>
<?php endforeach;?>
<br>
<?php
get_footer();