Actualiza listas y resaltado de sintaxis código

Detalle:
  - Se revisan las listas y se crea una nueva plantilla sólo para
    páginas recientes.
  - Se sustituye el plugin de resaltado de sintaxis por otro que usa
    Prism.js y se integra bien con Enfold. Se ajustan estilos.
  - Se actualizan algunos estilos básicos.
This commit is contained in:
Manuel Cillero 2020-07-20 21:01:47 +02:00
parent 29d3a19129
commit 516b5f4413
7 changed files with 504 additions and 18 deletions

View file

@ -1,11 +1,11 @@
<?php
/**
* Flexible Posts Widget: Old Default widget template
*
*
* @since 1.0.0
*
* This is the ORIGINAL default template used by the plugin.
* There is a new default template (default.php) that will be
* There is a new default template (default.php) that will be
* used by default if no template was specified in a widget.
*/
@ -36,7 +36,7 @@ if( $flexible_posts->have_posts() ):
}
?>
<h4 class="title"><?php the_title(); ?></h4>
<p class="meta"><?php echo 'desde '; the_time('F \d\e Y'); ?></p>
<p class="meta"><?php echo 'desde '; the_time('F \d\e Y'); ?></p>
</a>
</li>
<?php endwhile; ?>
@ -45,7 +45,7 @@ if( $flexible_posts->have_posts() ):
<div class="dpe-flexible-posts no-posts">
<p><?php _e( 'No post found', 'flexible-posts-widget' ); ?></p>
</div>
<?php
<?php
endif; // End have_posts()
echo $after_widget;