Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1158137

    Hello,

    Normally when we update Enfold, we add some code into the postslider.php file in config-templatebuilder > aviashortcodes, to display the date the way we want it. However, after recently updating, we noticed that the code has changed above the place where we usually put it.

    We normally add this code:

    $output .= “<time class=’slide-meta-time updated’ $markup>” .get_the_time(get_option(‘date_format’), $the_id).”</time>”;

    Below this code:

    $output .= ”
    <h3 class=’slide-entry-title entry-title’ $markup>“.$title.”</h3>
    “;

    However, the above code has changed. The code at line 600 in the postslider.php file is now this:

    $output .= “<{$heading} class=’slide-entry-title entry-title {$css}’ $markup>“.$title.”</{$heading}>”;

    It’s very similar but different. Is it okay to still add the same code as before? I hope that’s clear.

    Thanks,

    Del

    #1158552

    Hey goingthewholehogg,

    Yes, it is ok to still add the code, you just need to add it in the appropriate place.

    Best regards,
    Victoria

    #1158561

    Hey Victoria,

    We’ve added that code back in and all seems fine.

    Thanks again,

    Del

    #1158986

    Hi Del,

    We’re glad to hear that :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Add date to blog post title’ is closed to new replies.