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.
Are you able to assist with the code?
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
Could you please give us how to do this in the child theme’s custom functions file?
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