first commit without licensingg

This commit is contained in:
kbe
2025-08-21 14:40:43 +02:00
commit fa8d4e58a4
130 changed files with 82163 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
<?php
/**
* Template part for displaying posts
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package Revision
*/
$options = get_query_var( 'options' );
// Set post class.
$post_class = __return_empty_string();
?>
<article <?php post_class( $post_class ); ?> data-scheme="inverse">
<div class="cs-entry__outer cs-entry__overlay cs-overlay-ratio cs-ratio-landscape-16-9" >
<div class="cs-entry__inner cs-entry__thumbnail" >
<div class="cs-overlay-background">
<?php
if ( has_post_thumbnail() ) {
the_post_thumbnail( 'csco-medium-uncropped' );
}
?>
</div>
<?php csco_the_post_format_icon(); ?>
</div>
<div class="cs-entry__inner cs-entry__content cs-overlay-content">
<div class="cs-entry__content-top">
<div class="cs-overlay-post-meta cs-meta-overlay-transparent"><?php csco_get_post_meta( array( 'category', 'reading_time' ), true, $options['meta'] ); ?></div>
</div>
<div class="cs-entry__content-body">
<?php csco_get_post_meta( array( 'author', 'date', 'comments', 'views' ), true, $options['meta'] ); ?>
<?php the_title( '<h2 class="cs-entry__title"><a href="' . esc_url( get_permalink() ) . '"><span>', '</span></a></h2>' ); ?>
<?php
if ( $options['excerpt'] ) {
$excerpt = csco_get_the_excerpt( 150 );
if ( $excerpt ) {
?>
<div class="cs-entry__excerpt">
<?php echo esc_html( $excerpt ); ?>
</div>
<?php
}
}
?>
<?php if ( $options['discover_more'] ) { ?>
<?php csco_discover_more_button(); ?>
<?php } ?>
</div>
</div>
<a class="cs-overlay-link" href="<?php echo esc_url( get_permalink() ); ?>" title="<?php echo esc_attr( the_title() ); ?>"></a>
</div>
</article>