diff options
| author | Max | 2019-02-17 17:20:43 +0100 |
|---|---|---|
| committer | Max | 2019-02-17 17:20:43 +0100 |
| commit | c4b2eb526c5733cc32b0550eb76fd072531e223c (patch) | |
| tree | 9e3355627357ca392ae26574c81181bf33bd028e /loop-templates/content-angebote.php | |
| parent | 43a8c0fe50529a6b4161d12f087925c06ce37574 (diff) | |
| download | fuselkoenig_de-c4b2eb526c5733cc32b0550eb76fd072531e223c.tar.gz | |
Creates custom post type and custom taxonomy and renders them correctly.
Diffstat (limited to 'loop-templates/content-angebote.php')
| -rw-r--r-- | loop-templates/content-angebote.php | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/loop-templates/content-angebote.php b/loop-templates/content-angebote.php new file mode 100644 index 0000000..76c6bbd --- /dev/null +++ b/loop-templates/content-angebote.php @@ -0,0 +1,51 @@ +<?php +/** + * Single post partial template. + * + * @package understrap + */ + +if ( ! defined( 'ABSPATH' ) ) { + exit; // Exit if accessed directly. +} +?> + +<article <?php post_class(array('')); ?> id="post-<?php the_ID(); ?>"> + + <header class="entry-header"> + + <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?> + + <?php echo get_the_post_thumbnail( $post->ID, 'large', array( 'class' => 'mx-auto d-block border rounded' ) ); ?> + + <div class="entry-meta entry-meta-single text-muted"> + + <?php understrap_posted_on(); ?> + + </div><!-- .entry-meta --> + <footer class="entry-footer"> + + <div class="row"> + <?php understrap_entry_footer(); ?> + </div> + + </footer><!-- .entry-footer --> + + </header><!-- .entry-header --> +<hr> + + <div class="entry-content"> + + <?php the_content(); ?> + + <?php + wp_link_pages( array( + 'before' => '<div class="page-links">' . __( 'Pages:', 'understrap' ), + 'after' => '</div>', + ) ); + ?> + + </div><!-- .entry-content --> + + +</article><!-- #post-## --> |
