Commit fce18734 authored by Rafael Chaves Freitas's avatar Rafael Chaves Freitas

Merge remote-tracking branch 'origin/featured-overlap'

parents fe973a68 2d936a59
......@@ -12,7 +12,9 @@ class PostsList extends \SiteOrigin_Widget {
function __construct($id='', $name='', $widget_options = array(), $control_options = array(), $form_options = array(), $base_folder = false) {
$css_classes = [
'full-width' => __('Destaque com degradê e imagem na direita'),
'featured' => __('Destaque', 'guaraci'),
'featured-overlap' => __('Destaque com sobreposição', 'guaraci'),
'horizontal' => __('Lista horizontal', 'guaraci'),
'list' => __('Lista vertical', 'guaraci'),
];
......@@ -35,6 +37,7 @@ class PostsList extends \SiteOrigin_Widget {
'type' => 'checkbox',
'label' => __('Não exibir categorias', 'guaraci'),
],
'show_images' => [
'type' => 'radio',
'label' => __( 'Exibição de imagens', 'guaraci' ),
......
......@@ -4,7 +4,7 @@ $i = 0;
?>
<div class="posts-list <?= $css_classes ?>">
<div class="row">
<?php
<?php
while ($query->have_posts()):
$i++;
$query->the_post();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment