Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #178514

    Where I can find the template to edit the position of the titles on the posts list?
    http://enic.raddar.com.br/goias/

    We need to put the title up featured images.

    Any suggestion?

    #179410

    Hi brunostersa!

    Open /config-templatebuilder/avia-shortcodes/postslider.php:

    Replace line 333-341:

    $markup = avia_markup_helper(array('context' => 'entry','echo'=>false));
    $output .= "<article class='slide-entry flex_column {$style} {$post_class} {$grid} {$extraClass} {$thumb_class}' $markup>";
    $output .= $thumbnail ? "<a href='{$link}' data-rel='slide-".avia_post_slider::$slide."' class='slide-image' title=''>{$thumbnail}</a>" : "";
    $output .= "<div class='slide-content'>";
    
    $markup = avia_markup_helper(array('context' => 'entry_title','echo'=>false));
    $output .= '<header class="entry-content-header">';
    $output .= !empty($title) ? "<h3 class='slide-entry-title entry-title' $markup><a href='{$link}' title='".esc_attr(strip_tags($title))."'>".$title."</a></h3>" : '';
    $output .= '</header>';

    By this:

    $markup = avia_markup_helper(array('context' => 'entry','echo'=>false));
    $output .= "<article class='slide-entry flex_column {$style} {$post_class} {$grid} {$extraClass} {$thumb_class}' $markup>";
    $markup = avia_markup_helper(array('context' => 'entry_title','echo'=>false));
    $output .= '<header class="entry-content-header">';
    $output .= !empty($title) ? "<h3 class='slide-entry-title entry-title' $markup><a href='{$link}' title='".esc_attr(strip_tags($title))."'>".$title."</a></h3>" : '';
    $output .= '</header>';
    
    $output .= $thumbnail ? "<a href='{$link}' data-rel='slide-".avia_post_slider::$slide."' class='slide-image' title=''>{$thumbnail}</a>" : "";
    $output .= "<div class='slide-content'>";

    Cheers!
    Josue

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘We need to put the title up featured images.’ is closed to new replies.