Hello! Is it possible to have the categories assigned to each blog post displayed on the blog overview page fed by the Blog Post element in Advanced Layout Builder? I have transitioned a site to Enfold, and while the client had this option on the old site, I’m not seeing how to make this happen with Enfold.
Please see private content for links.
As always, thanks so much for your help!
Hey bewelltended,
Sorry for the very late reply and thanks for the links, please add the following filter in your child theme functions.php to display the categories on a grid layout:
add_filter('avf_postslider_show_catergories', 'avf_postslider_show_catergories_mod', 10, 1);
function avf_postslider_show_catergories_mod($category) {
$category = 'show_business'; // or show_elegant
return $category;
}
Best regards,
Mike
Hi Mike! Thanks so much for your reply. Your code worked perfectly…you can close out this thread.
Thanks again! I appreciate your help!
Nikole
Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.
For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)
Best regards,
Mike