Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #306452

    I have a site with an entry slider (in my german version it´s “Einträge-Slider”). In the meta-info-section (div class=”slide-meta”) I miss the meta-info “author”, it is just slide-meta-comments and slide-meta-time. How – and where – can I add the meta info with the author?
    Thanks, Kathrin


    Hey InitiativeNeuland!

    Thank you for using Enfold.

    You can edit config-templatebuilder > avia-shortcodes > postslider.php, find this code on line 386:

    $output .= "<time class='slide-meta-time updated' $markup>" .get_the_time(get_option('date_format'), $the_id)."</time>";
    						$output .= "</div>";

    Replace it with:

    $output .= "<time class='slide-meta-time updated' $markup>" .get_the_time(get_option('date_format'), $the_id)."</time><div class='slide-meta-del'>/</div>";
    						$output .= "<div class='slide-meta-author' $markup>" .ucfirst(get_the_author())."</time>";
    						$output .= "</div>";



    Hi, I had to vary that a litle bit, but now it runs :)

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘slide-meta for entry slides’ is closed to new replies.