• 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!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi, we had same problem on how to customize the main-module on the builder.

    i can`t even update my client website due this matter also i tried to do the same path on my child theme but still not working.

    Bump for having the same issue.

    We need to put the pagination below the blog headline. It can easily be done with the parent ‘main-modules.php’ file, but it won’t get recognized as a file from the child-theme.

    Anybody figure this out? I’m having the same issue -can you provide a solution?

    I just found this post and shortly after, found this article from ElegantTweaks:

    http://www.eleganttweaks.com/divi/change-replace-modules/

    I haven’t fully reviewed it, but it looks promising in solving our dilemmas. Good luck!

    Best,
    DAY

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

The topic ‘Modify main-modules.php in Divi child Theme’ is closed to new replies.