fix templates
This commit is contained in:
parent
db2bb224c1
commit
fe58f3c73f
|
@ -3,7 +3,7 @@
|
|||
* Plugin Name: FediEmbedi
|
||||
* Plugin URI: https://git.feneas.org/mediaformat/fediembedi
|
||||
* Description: Widgets and shortcodes to show your Fediverse profile timeline
|
||||
* Version: 0.10.5
|
||||
* Version: 0.10.6
|
||||
* Author: mediaformat
|
||||
* Author URI: https://mediaformat.org
|
||||
* License: GPLv3
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!-- mastodon -->
|
||||
<div class="scrollable" <?php if ($height) : echo 'style="height: $height;"'; ?>>
|
||||
<div class="scrollable" <?php if ($height) : echo 'style="height: $height;"'; endif; ?>>
|
||||
<div role="feed">
|
||||
<?php if($show_header): ?>
|
||||
<div class="account-timeline__header">
|
||||
|
@ -112,3 +112,4 @@
|
|||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
|
@ -1,5 +1,5 @@
|
|||
<!-- peertube -->
|
||||
<div class="scrollable" <?php if ($height) : echo 'style="height: $height;"'; ?>>
|
||||
<div class="scrollable" <?php if ($height) : echo 'style="height: $height;"'; endif; ?>>
|
||||
<div role="feed">
|
||||
<?php if($show_header): ?>
|
||||
<div class="peertube-timeline__header">
|
||||
|
@ -51,3 +51,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
|
@ -1,5 +1,5 @@
|
|||
<!-- pixelfed -->
|
||||
<div class="scrollable" <?php if ($height) : echo 'style="height: $height;"'; ?>>
|
||||
<div class="scrollable" <?php if ($height) : echo 'style="height: $height;"'; endif; ?>>
|
||||
<div role="feed" class="embed-card pixelfed">
|
||||
<div class="pixelfed-inner card status-card-embed card-md-rounded-0 border">
|
||||
<?php if($show_header): ?>
|
||||
|
@ -47,7 +47,7 @@
|
|||
</a><?php
|
||||
elseif($attachment->type === 'video'): ?>
|
||||
<video src="<?php echo $attachment->url; ?>" controls poster="<?php echo $attachment->preview_url; ?>" class='media-gallery__item' alt="<?php echo $attachment->description; ?>">;
|
||||
endif; ?>
|
||||
<?php endif; ?>
|
||||
</article>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
@ -60,3 +60,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
Loading…
Reference in New Issue