How to customize an existent widget in my child theme?

Home Forums Jevelin Theme How to customize an existent widget in my child theme?

Home Forums Jevelin Theme How to customize an existent widget in my child theme?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    RESOLVED Posts
  • jemzsoluciones
    Participant

    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

    jemzsoluciones
    Participant

    Thanks a lot friends. Ticket solved.
    Have a good day!

    You are most welcome here 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form