v1.0
This commit is contained in:
parent
f53ae91057
commit
df05493b43
10 changed files with 520 additions and 619 deletions
|
@ -8,7 +8,7 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<div class="col-m-4 col-3 col-w-5">
|
||||
<div class="col-m-6 col-4 col-w-3">
|
||||
<a href="<?php the_permalink(); ?>">
|
||||
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> style="background-image: url('<?php the_post_thumbnail_url(); ?>');">
|
||||
<header class="entry-header">
|
||||
|
@ -17,9 +17,9 @@
|
|||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
if (strlen(get_the_title()) > 70) $small= "class=\"vsmall\"";
|
||||
elseif (strlen(get_the_title()) > 35) $small = "class=\"small\"";
|
||||
the_title( '<h3 '.$small.'>', '</h3>' );
|
||||
if (strlen(get_the_title()) > 70) $small= "vsmall";
|
||||
elseif (strlen(get_the_title()) > 35) $small = "small";
|
||||
the_title( '<h2 class="post-title '.$small.'">', '</h2>' );
|
||||
?>
|
||||
</header><!-- .entry-header -->
|
||||
</article><!-- #post-## -->
|
||||
|
|
Reference in a new issue