Modify main-modules.php in Divi child Theme
-
Hello!
My first post here, I’ve been searching a lot today looking for a solution to my problem. Hope we can work this out! ??
I’m developing a new WP site using Divi (as usual) and I want to change the way divi shows the information in the “Blog” (4 most recent posts) module.
I’ve managed to do a lot, but now I need to modify this core file:
wp-content/themes/Divi/includes/builder/main-modules.php
In here Divi creates the <article> list and I want to change the information shown in each <article>. For example:
– The featured image is shown as a <img> inside a link. I need this to be shown as a background-image of the <article> element.
I already tried a lot but I can make WP ‘read’ my “custom-main-modules.php” located in the child-theme.
Is there any way we can modify the .php in the /includes folder?
Thanks a lot for your support!
- The topic ‘Modify main-modules.php in Divi child Theme’ is closed to new replies.