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

    Hi, On our site I can’t find a way to display the author in our blog page and the single posts.
    Our blog is here: http://sftr.com.au/blog/
    You can see here how I would like to display the author.

    View post on imgur.com

    Are you able to assist with the code?

    #603028

    Hey ruralcomputerservices!

    Thank you for using Enfold.

    The author is not included in the grid style because there’s not enough space in the post meta info container when the columns option is set to more than 2. If you really need the author, please edit the config-templatebuilder > aviashortcodes > postslider.php file, add this code below line 440:

    $author_name = apply_filters('avf_author_name', get_the_author_meta('display_name', $entry->post_author), $entry->post_author);
    						$author_email = apply_filters('avf_author_email', get_the_author_meta('email', $entry->post_author), $entry->post_author);
    						$link = get_author_posts_url($entry->post_author);
    
    						$meta .= "<div class='slide-meta-del'>/</div><a href='{$link}' class='slide-meta-author'>".$author_name."</a>";

    Best regards,
    Ismael

    #623475

    Could you please give us how to do this in the child theme’s custom functions file?

    #624392

    Hey!

    I’m sorry but you can’t modify shortcodes in a child theme. You can do the following but it’s not really update proof. http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.