Up-to-date

This commit is contained in:
rumperuu 2017-05-25 18:57:33 +00:00
parent 98ea090b9f
commit 1958efe40f
10 changed files with 185 additions and 100 deletions

View file

@ -10,8 +10,8 @@
<div class="col-m-6 col-4 col-w-3">
<a href="<?php the_permalink(); ?>">
<article id="post-<?php the_ID(); ?>" class="index-item" style="background-image: url('<?php the_post_thumbnail_url(); ?>');">
<header class="entry-header">
<article id="post-<?php the_ID(); ?>" class="index-item" style="background-image: url('<?php the_post_thumbnail_url(); ?>'); background-position: <?php if ($position = get_post_meta(get_the_ID(), 'Header Image Position', true)) echo $position; else echo 'centre'; ?>;">
<header class="entry-header <?php if (has_tag('ohwhatohjeez')) echo 'ohwhatohjeez' ?>">
<div class="post-header-details">
<?php
if (strlen(get_the_title()) > 70) $small= "vsmall";