-
I would like to add a couple of more custom lines to the Fortuna Contact Info widget. How would I extend this to create my own version in a child theme. I found the code I need to extend in fortuna/includes/boc_widgets.php but I don’t want to do it there and have it get overwritten in the next update.
I’d like to copy and re-name that piece of code that begins
class contact_info_widget extends WP_Widget {Duplicate it somewhere in the child theme and re-name and extend it and have it get initialized and see it in the Widgets section as a new widget. Do I create a new functions.php file in the child theme to do this? Can I use an includes/my_widgets.php file in the child?
- Theme support is offered to verified customers only. To post a topic go to your Theme Category and add your question at the page bottom.
Theme Categories
Recent Topics
- PHP 8.5.9 Fatal errors and warnings in Fortuna theme
- Alea updates
- Why "Fortune" theme is no longer available?
- PHP 8.1 Error
- Issue with WPB editor icons
- Issue with Icons and Text Alignment for Arabic Content
- Installing and Activating Plugin Fortuna Portfolio CPT (1/8)
- Testimonials page is blank
- warning boc_framework line 905
- Transparent header issue without changes