Browse Source

Fix theme

pull/255/head v2.7.1
Danang Probo Sayekti 10 years ago
parent
commit
cd54414321
5 changed files with 5 additions and 5 deletions
  1. +1
    -1
      themes/clean/main.html.php
  2. +1
    -1
      themes/default/main.html.php
  3. +1
    -1
      themes/logs/main.html.php
  4. +1
    -1
      themes/twentyfifteen/main.html.php
  5. +1
    -1
      themes/twentysixteen/main.html.php

+ 1
- 1
themes/clean/main.html.php View File

@ -61,7 +61,7 @@
<div class="teaser-body" itemprop="articleBody">
<?php echo get_thumbnail($p->body) ?>
<?php echo get_teaser($p->body, $p->url) ?>
<?php if (config('teaser.type') === 'trimmed'):?><a href="<?php echo $p->url;?>#more">Read more</a><?php endif;?>
<?php if (config('teaser.type') === 'trimmed'):?><a href="<?php echo $p->url;?>">Read more</a><?php endif;?>
</div>
</div>
</div>


+ 1
- 1
themes/default/main.html.php View File

@ -61,7 +61,7 @@
<div class="teaser-body" itemprop="articleBody">
<?php echo get_thumbnail($p->body) ?>
<?php echo get_teaser($p->body, $p->url) ?>
<?php if (config('teaser.type') === 'trimmed'):?><a href="<?php echo $p->url;?>#more">Read more</a><?php endif;?>
<?php if (config('teaser.type') === 'trimmed'):?><a href="<?php echo $p->url;?>">Read more</a><?php endif;?>
</div>
</div>
</div>


+ 1
- 1
themes/logs/main.html.php View File

@ -61,7 +61,7 @@
<div class="teaser-body" itemprop="articleBody">
<?php echo get_thumbnail($p->body) ?>
<?php echo get_teaser($p->body, $p->url) ?>
<?php if (config('teaser.type') === 'trimmed'):?><a href="<?php echo $p->url;?>#more">Read more</a><?php endif;?>
<?php if (config('teaser.type') === 'trimmed'):?><a href="<?php echo $p->url;?>">Read more</a><?php endif;?>
</div>
</div>
</div>


+ 1
- 1
themes/twentyfifteen/main.html.php View File

@ -46,7 +46,7 @@
<?php } ?>
<div class="entry-content">
<?php echo get_teaser($p->body, $p->url); ?>
<?php if (config('teaser.type') === 'trimmed'):?><a class="more-link" href="<?php echo $p->url; ?>#more">Continue reading</a><?php endif;?>
<?php if (config('teaser.type') === 'trimmed'):?><a class="more-link" href="<?php echo $p->url; ?>">Continue reading</a><?php endif;?>
</div>
<footer class="entry-footer">
<span class="posted-on">


+ 1
- 1
themes/twentysixteen/main.html.php View File

@ -42,7 +42,7 @@
<span class="embed-soundcloud"><iframe width="100%" height="200px" class="embed-responsive-item" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=<?php echo $p->audio;?>&amp;auto_play=false&amp;visual=true"></iframe></span>
<?php endif; ?>
<?php echo get_teaser($p->body, $p->url);?>
<?php if (config('teaser.type') === 'trimmed'):?><a class="more-link" href="<?php echo $p->url; ?>#more">Continue reading</a><?php endif;?>
<?php if (config('teaser.type') === 'trimmed'):?><a class="more-link" href="<?php echo $p->url; ?>">Continue reading</a><?php endif;?>
</div>
</div>
</div>


Loading…
Cancel
Save