forked from LiveCarta/LiveCartaWP
LAW-3559
This commit is contained in:
19
htdocs/wp-content/themes/lawcarta/single.php
Normal file
19
htdocs/wp-content/themes/lawcarta/single.php
Normal 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();
|
||||
Reference in New Issue
Block a user