forked from friendica/friendica-wp-theme
Sticky post in blog home: change style and display
For sticky post in blog home show only header with title, change background and add show ribbon
This commit is contained in:
parent
22b015a4b3
commit
daf65232f1
3 changed files with 40 additions and 5 deletions
11
archive.php
11
archive.php
|
@ -9,9 +9,14 @@
|
|||
else { printf( "<h2>%s</h2>",__( 'Archives', 'friendica' ) ); }
|
||||
?>
|
||||
</header>
|
||||
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
|
||||
<?php get_template_part( 'entry' ); ?>
|
||||
<?php endwhile; endif; ?>
|
||||
<?php
|
||||
if ( have_posts() ) {
|
||||
while ( have_posts() ) {
|
||||
the_post();
|
||||
get_template_part( 'entry' );
|
||||
}
|
||||
}
|
||||
?>
|
||||
<?php get_template_part( 'nav', 'below' ); ?>
|
||||
</div>
|
||||
<?php get_sidebar(); ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue