I am testing Enfold to see if I can use it for a website that is like a magazine. How can I add authors bio at the bottom of each article?
Hey afarahani,
Please go to enfold/config-templatebuilder/avia-shortcodes/magazine.php file and find
$output .= "<{$titleTag} class='av-magazine-title entry-title' {$markupTitle}>{$title}</{$titleTag}>";
$output .= "</header>";
and change it to
$output .= "<{$titleTag} class='av-magazine-title entry-title' {$markupTitle}>{$title}</{$titleTag}>";
$output .= "<span class='av-mag-author'>".get_the_author()."</span>";
$output .= "</header>";<
Best regards,
Yigit
Is there any way that I can change this in child theme so every time the theme is updated this changes stays there?
Hi,
Sure, please refer to this post – http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/
Best regards,
Yigit
It didn’t work. What I wanted was to show the author’s Bio at the bottom of each post. I don’t know what you suggested would do! can you let me know?!
Hi,
It will return the author’s display name.
https://codex.wordpress.org/Function_Reference/get_the_author
If you want to include the author description and other details, use this function:
https://codex.wordpress.org/Function_Reference/the_author_meta
Best regards,
Ismael
I know this is like customization project but can anyone give me had to make the Magazine Element look like what is in here: https://demo.tagdiv.com/newspaper/
The dates must go below the title!
If the number of categories are 10 I can have a drop down menu.
Ans also I can change the color of the box and underneath the title.
thanks,
Hi,
There are not a lot we can do we are afraid.
Please do consider to hire a freelancer who will be able to help you out.
Best regards,
Basilis