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

    Hello,
    is it possible to show the author in the blog grid view?
    I tried the solution from post #1288952 but that didn’t help.

    I want it as follows:

    Title
    Date, Author
    Text
    readmore

    Thank you in advance!

    Best regards
    Peter

    #1318856

    Hey Peter,
    Thank you for your patience and the link to your site, this solution should work for you, I tested it by trying to match your layout.
    First go to WordPress ▸ Appearance ▸ Theme Editor and choose the Enfold file config-templatebuilder/avia-shortcodes/postslider/postslider.php
    search for the line: $meta .= "<time class='slide-meta-time updated' $markup>" . get_the_time( get_option( 'date_format' ), $the_id ) . '</time>'; around line 916
    then add this below:

    	$author = get_the_author_meta( 'display_name', $entry->post_author );
    	$meta .= "<span class='slide-meta-author updated'>" . $author."</span>";

    it should look like this:
    2021-08-29_002.jpg
    if you still have trouble please include an admin login in the Private Content area so we can try to help.

    Best regards,
    Mike

    #1318959

    Hello Mike,

    that’s it!!
    Thank you so much.

    Best regards,

    Peter
    Topic can be closed.

    #1318973

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Show Author in blog grid’ is closed to new replies.