forked from friendica/friendica-wp-theme
Fix popups and add last news in homepage
- popup submenu item full width and left aligned - minimum width for the popup submenu - popup submenu closer to parent item. should fix popup issues. - images in posts have max-width to 100% - show last news in homepage
This commit is contained in:
parent
6c7b8f98fd
commit
5f63119ef0
8 changed files with 102 additions and 14 deletions
19
entry-home.php
Normal file
19
entry-home.php
Normal file
|
@ -0,0 +1,19 @@
|
|||
<article id="post-<?php the_ID(); ?>" <?php post_class("6u 12u$(medium)"); ?>>
|
||||
<?php if (has_post_thumbnail()) {?>
|
||||
<div class="image fit">
|
||||
<img src="<?php the_post_thumbnail_url('medium_large'); ?>" alt="Stack">
|
||||
</div>
|
||||
<?php } ?>
|
||||
<header>
|
||||
<h3 class="entry-title">
|
||||
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark">
|
||||
<?php the_title(); ?>
|
||||
</a>
|
||||
</h3>
|
||||
<?php get_template_part( 'entry', 'meta' ); ?>
|
||||
</header>
|
||||
<?php get_template_part( 'entry', 'summary' ); ?>
|
||||
<footer>
|
||||
<a href="<?php the_permalink(); ?>" class="button special">More</a>
|
||||
</footer>
|
||||
</article>
|
Loading…
Add table
Add a link
Reference in a new issue