Override file code of a widget
-
Hi
I’m using “premium blog” widget in my site and I would need to change the order of the card content.
For example I want the title on top of the featured image.
I saw that changing che code inside
premium-addons-for-elementor/includes/class-premium-template-tags.php
is the way I can achieve my goal but I don’t want to change the core code of the plugin.So my question is: there is a way to change the code of this file, maybe overriding this file inside my theme child?
I tried recreating the folder
theme-child/premium-addons-for-elementor/includes/
and put inside this folder the class-premium-template-tags.php file.
I’ve changed the code in the file, however my changes are ignored.There is a way to reach this goal? thanks
- The topic ‘Override file code of a widget’ is closed to new replies.