diff options
Diffstat (limited to 'loop-templates')
| -rw-r--r-- | loop-templates/content-angebote.php | 51 | ||||
| -rw-r--r-- | loop-templates/content-angebotenotitle.php | 15 |
2 files changed, 66 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-## --> diff --git a/loop-templates/content-angebotenotitle.php b/loop-templates/content-angebotenotitle.php new file mode 100644 index 0000000..11f8b0e --- /dev/null +++ b/loop-templates/content-angebotenotitle.php @@ -0,0 +1,15 @@ +<?php +/** + * Single post partial template. + * + * @package understrap + */ + +if ( ! defined( 'ABSPATH' ) ) { + exit; // Exit if accessed directly. +} +?> + +<div <?php post_class(array('offer-page')); ?> id="post-<?php the_ID(); ?>"> + <?php do_shortcode( the_content() ); ?> +</div> |
