Hi,
so far, I am super happy with my purchase of Enfold Theme, it is even better than my wildest imaginations.
My question:
In the entry slider I would like to show the category of each post with an overlay on the preview picture. Lets say, each post of category ‘unicorn’ shows a little banderolle spelling ‘unicorn’, and so forth. Can I realise this within enfold theme?
Thank you!
Hello, I just wanted to say ‘Hi’ and ask if the above topic is doable in enfold theme and if so, how.
Thank you!
Hi,
Thank you for using Enfold.
That is possible but you have to modify one of the parent theme files. The blog grid layout is created using the config-templatebuilder > avia-shortcodes > postslider.php file.
Best regards,
Ismael
Ok, I altered the postslider.php
I would like to add it to the child theme, but don’t really now how.
Can you help?
I created /config-templatebuilder/avia-shortcodes/postslider.php in my child folder, but it wont do anything
Hi,
I’m sorry but you can’t override the shortcode in a child theme. There is a workaround but we don’t recommend it.
Best regards,
Ismael
Thank you. Is there a reason why you dont recommend it?
Hi,
We don’t recommend it because the changes or improvements on the parent shortcodes will not be reflected on update. The child theme shortcodes will override it so you have to update it again. The good news is we don’t update the shortcodes often so it’s fine.
Best regards,
Ismael