Home › Forums › Jevelin Theme › How to customize an existent widget in my child theme?
Hello!
I am trying to modify the widget “recent-posts” but I have no success.
I have copied the files to my child theme, and I’ve applied changes to “recent-posts\view\widget.php” to remove H6 tag from the post list.
Child theme widget is not read, it still read the widget from Jevelin theme.
Is there any way to get this work?
Regards,
Solution for this topic
Hi @jemzsoluciones,
I hope you are well today and thank you for your question.
You have to overwrite whole following folder in the child theme in the same directory structure.
/jevelin/inc/widgets/recent-posts/
Then in the widget file class-widget-recent-posts.php on line number 23 change function call get_template_directory to get_stylesheet_directory
Best regards, Shufflehound team
Thanks a lot friends. Ticket solved. Have a good day!
You are most welcome here 🙂
Log in or Sign up with your theme purchase code
If you need services beyond standard support, we've got your back!
If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.
We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.
More complex styling changes, theme option modifications, and third-party integrations.
If you need something that's not included in the theme, we can code it for you.
Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.
Full website builds, custom theme development, or plugin creation from scratch.
We'll provide a clear quote based on what you need. No hidden fees.